CN111290928B - Atomic service importance determining method, device, medium and equipment - Google Patents
Atomic service importance determining method, device, medium and equipment Download PDFInfo
- Publication number
- CN111290928B CN111290928B CN201811490231.XA CN201811490231A CN111290928B CN 111290928 B CN111290928 B CN 111290928B CN 201811490231 A CN201811490231 A CN 201811490231A CN 111290928 B CN111290928 B CN 111290928B
- Authority
- CN
- China
- Prior art keywords
- atomic
- service
- atomic service
- business
- directory
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/34—Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
- G06F11/3466—Performance evaluation by tracing or monitoring
- G06F11/3476—Data logging
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/34—Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
- G06F11/3447—Performance evaluation by modeling
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- Life Sciences & Earth Sciences (AREA)
- Bioinformatics & Cheminformatics (AREA)
- Bioinformatics & Computational Biology (AREA)
- Evolutionary Biology (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
- Debugging And Monitoring (AREA)
Abstract
本发明涉及互联网技术领域,特别涉及一种原子业务重要性确定方法、装置、介质和设备。本发明实施例对复杂的系统进行建模,分析粒度以业务的最小组成单元原子业务为单位。在实现时,根据接收到的原子业务目录,采集对应的原子业务日志,通过采集的原子业务日志,对原子业务目录中每个原子业务的用户体验相关指标的指标值以及每个原子业务被调用的次数进行提取,进而可以基于提取的信息确定系统中每个原子业务的重要性,实现对系统关键节点的判断。而基于每个原子业务的重要性,也就可以进一步进行关键业务性能的提升,从而有效改善系统性能,提升用户体验。
The invention relates to the technical field of the Internet, in particular to a method, device, medium and equipment for determining the importance of atomic services. The embodiment of the present invention models the complex system, and the analysis granularity is based on the atomic service, which is the smallest component unit of the service. During implementation, according to the received atomic service catalog, collect the corresponding atomic service log, through the collected atomic service log, check the index value of the user experience related indicators of each atomic service in the atomic service catalog and the invoked value of each atomic service The number of times is extracted, and then the importance of each atomic business in the system can be determined based on the extracted information, and the judgment of the key nodes of the system can be realized. Based on the importance of each atomic service, the performance of key services can be further improved, thereby effectively improving system performance and enhancing user experience.
Description
技术领域technical field
本发明涉及互联网技术领域,特别涉及一种原子业务重要性确定方法、装置、介质和设备。The invention relates to the technical field of the Internet, in particular to a method, device, medium and equipment for determining the importance of atomic services.
背景技术Background technique
目前,在用户访问业务支撑系统时,经常会出现这样那样的问题,如,无法成功办理业务,业务办理时退出系统,提示需要重新登录,页面打不开或者打开很慢,用户等待时间很长,用户投诉了维护人员会发现故障并处理故障,页面内容打开不全,影响用户使用,系统提示业务办理成功但接收到错误短信等等,用户体验较差。At present, when users access the business support system, various problems often occur, for example, the business cannot be successfully processed, the system is logged out during business processing, and a prompt needs to be logged in again, the page cannot be opened or opened very slowly, and the user waits for a long time , The user complained that the maintenance staff would find the fault and deal with it, the content of the page could not be fully opened, affecting the user's use, the system would prompt that the business was successfully processed but received an error message, etc., and the user experience was poor.
但由于业务支撑系统规模十分庞大,业务种类繁多,因此难以确定其中的关键业务,也就难以通过提升关键业务的性能,来有效改善系统性能,提升用户体验。However, due to the large scale of the business support system and various types of business, it is difficult to determine the key business, and it is also difficult to effectively improve the system performance and user experience by improving the performance of the key business.
发明内容Contents of the invention
本发明实施例提供一种原子业务重要性确定方法、装置、介质和设备,用于解决无法确定系统中关键业务的问题。Embodiments of the present invention provide a method, device, medium and equipment for determining the importance of atomic services, which are used to solve the problem that key services in the system cannot be determined.
本发明提供一种原子业务重要性确定方法,所述方法包括:The present invention provides a method for determining the importance of an atomic business, the method comprising:
接收系统对应的原子业务目录,所述原子业务为所述系统中业务的最小组成单元;receiving the atomic service directory corresponding to the system, where the atomic service is the smallest component unit of the service in the system;
采集所述原子业务目录对应的原子业务日志,所述原子业务日志中包括所述原子业务目录中每个原子业务对应的业务日志;collecting an atomic service log corresponding to the atomic service directory, where the atomic service log includes a service log corresponding to each atomic service in the atomic service directory;
根据所述原子业务日志,确定所述原子业务目录中每个原子业务对应的与用户体验相关指标的指标值,以及所述原子业务目录中每个原子业务被调用的次数;According to the atomic service log, determine the index value of the user experience-related index corresponding to each atomic service in the atomic service directory, and the number of times each atomic service in the atomic service directory is called;
针对每个原子业务,根据该原子业务对应的与用户体验相关指标的指标值,以及该原子业务被调用的次数,确定该原子业务的重要性。For each atomic service, the importance of the atomic service is determined according to the index value of the user experience-related index corresponding to the atomic service and the number of times the atomic service is invoked.
本发明还提供了一种原子业务重要性确定装置,所述装置包括:The present invention also provides a device for determining the importance of atomic services, the device comprising:
输入模块,用于接收系统对应的原子业务目录,所述原子业务为所述系统中业务的最小组成单元;以及,采集所述原子业务目录对应的原子业务日志,所述原子业务日志中包括所述原子业务目录中每个原子业务对应的业务日志;The input module is used to receive the atomic business directory corresponding to the system, the atomic business is the smallest component unit of the business in the system; and collect the atomic business log corresponding to the atomic business directory, and the atomic business log includes the atomic business log Describe the business log corresponding to each atomic business in the atomic business directory;
信息提取模块,用于根据所述原子业务日志,确定所述原子业务目录中每个原子业务对应的与用户体验相关指标的指标值,以及所述原子业务目录中每个原子业务被调用的次数;An information extraction module, configured to determine, according to the atomic service log, the index value of an indicator related to user experience corresponding to each atomic service in the atomic service catalog, and the number of times each atomic service in the atomic service catalog is invoked ;
确定模块,用于针对每个原子业务,根据该原子业务对应的与用户体验相关指标的指标值,以及该原子业务被调用的次数,确定该原子业务的重要性。The determining module is configured to, for each atomic service, determine the importance of the atomic service according to the index value of the user experience-related index corresponding to the atomic service and the number of times the atomic service is invoked.
本发明还提供了一种非易失性计算机存储介质,所述计算机存储介质存储有可执行程序,该可执行程序被处理器执行实现如上所述方法的步骤。The present invention also provides a non-volatile computer storage medium, the computer storage medium stores an executable program, and the executable program is executed by a processor to implement the steps of the above method.
本发明还提供了一种原子业务重要性确定设备,包括存储器、处理器及存储在存储器上的计算机程序,所述处理器执行所述程序时实现如上所述方法的步骤。The present invention also provides a device for determining the importance of an atomic service, including a memory, a processor, and a computer program stored on the memory, and the processor implements the steps of the above-mentioned method when executing the program.
本发明实施例对复杂的系统进行建模,分析粒度以业务的最小组成单元原子业务为单位。在实现时,根据接收到的原子业务目录,采集对应的原子业务日志,通过采集的原子业务日志,对原子业务目录中每个原子业务的用户体验相关指标的指标值以及每个原子业务被调用的次数进行提取,进而可以基于提取的信息确定系统中每个原子业务的重要性,实现对系统关键节点的判断。而基于每个原子业务的重要性,也就可以进一步进行关键业务性能的提升,从而有效改善系统性能,提升用户体验。The embodiment of the present invention models the complex system, and the analysis granularity is based on the atomic service, which is the smallest component unit of the service. During implementation, according to the received atomic service catalog, collect the corresponding atomic service log, through the collected atomic service log, the index value of the user experience related indicators of each atomic service in the atomic service catalog and the invoked value of each atomic service The number of times is extracted, and then the importance of each atomic business in the system can be determined based on the extracted information, and the judgment of the key nodes of the system can be realized. Based on the importance of each atomic service, the performance of key services can be further improved, thereby effectively improving system performance and enhancing user experience.
本发明的其它特征和优点将在随后的说明书中阐述,并且,部分地从说明书中变得显而易见,或者通过实施本发明而了解。本发明的目的和其他优点可通过在所写的说明书、权利要求书、以及附图中所特别指出的结构来实现和获得。Additional features and advantages of the invention will be set forth in the description which follows, and in part will be apparent from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention may be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
附图说明Description of drawings
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only These are some embodiments of the present invention. Those skilled in the art can also obtain other drawings based on these drawings without creative work.
图1为本发明实施例一提供的原子业务重要性确定方法的流程示意图;FIG. 1 is a schematic flowchart of a method for determining the importance of atomic services provided by Embodiment 1 of the present invention;
图2为本发明实施例一提供的原子业务之间的调用关系图;FIG. 2 is a call relationship diagram between atomic services provided by Embodiment 1 of the present invention;
图3为本发明实施例一提供的原子业务之间的调用关系图;FIG. 3 is a call relationship diagram between atomic services provided by Embodiment 1 of the present invention;
图4为本发明实施例二提供的原子业务重要性确定装置的结构示意图;FIG. 4 is a schematic structural diagram of an apparatus for determining the importance of an atomic service provided in Embodiment 2 of the present invention;
图5为本发明实施例三提供的原子业务重要性确定设备的结构示意图。FIG. 5 is a schematic structural diagram of an atomic service importance determination device provided in Embodiment 3 of the present invention.
具体实施方式Detailed ways
根据本发明实施例提供的方案,在对系统进行分析时,从大规模真实的原子业务日志(包括网络日志、业务鉴权日志和业务质量日志)中挖掘特征,进行信息提取,从而估算出不同原子业务的重要程度。使得后续可以根据原子业务的重要程度,有针对性地进行改进,有效改善用户体验,提升系统性能。According to the solutions provided by the embodiments of the present invention, when analyzing the system, features are mined from large-scale real atomic service logs (including network logs, service authentication logs, and service quality logs), and information is extracted, thereby estimating different The importance of atomic business. This enables subsequent targeted improvements based on the importance of atomic services to effectively improve user experience and system performance.
为了使本发明的目的、技术方案和优点更加清楚,下面将结合附图对本发明作进一步地详细描述,显然,所描述的实施例仅仅是本发明的一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。In order to make the purpose, technical solutions and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings. Obviously, the described embodiments are only some of the embodiments of the present invention, rather than all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.
需要说明的是,在本文中提及的“多个或者若干个”是指两个或两个以上。“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。字符“/”一般表示前后关联对象是一种“或”的关系。It should be noted that the "multiple or several" mentioned herein refers to two or more. "And/or" describes the association relationship of associated objects, indicating that there may be three types of relationships, for example, A and/or B may indicate: A exists alone, A and B exist simultaneously, and B exists independently. The character "/" generally indicates that the contextual objects are an "or" relationship.
本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的本发明的实施例能够以除了在这里图示或描述的那些以外的顺序实施。The terms "first", "second" and the like in the description and claims of the present invention and the above drawings are used to distinguish similar objects, and are not necessarily used to describe a specific sequence or sequence. It is to be understood that the data so used are interchangeable under appropriate circumstances such that the embodiments of the invention described herein can be practiced in sequences other than those illustrated or described herein.
此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。Furthermore, the terms "comprising" and "having", as well as any variations thereof, are intended to cover a non-exclusive inclusion, for example, a process, method, system, product or device comprising a sequence of steps or elements is not necessarily limited to the expressly listed instead, may include other steps or elements not explicitly listed or inherent to the process, method, product or apparatus.
实施例一Embodiment one
本发明实施例一提供一种原子业务重要性确定方法,该方法的步骤流程可以如图1所示,包括:Embodiment 1 of the present invention provides a method for determining the importance of an atomic service. The step flow of the method may be shown in FIG. 1 , including:
步骤101、接收原子业务目录。Step 101, receiving an atomic service directory.
在本步骤中,可以接收系统对应的原子业务目录,所述原子业务为所述系统中业务的最小组成单元。In this step, the atomic service directory corresponding to the system may be received, and the atomic service is the smallest component unit of the service in the system.
步骤102、采集原子业务日志。Step 102, collecting atomic service logs.
在本步骤中,可以采集所述原子业务目录对应的原子业务日志,所述原子业务日志中包括所述原子业务目录中每个原子业务对应的业务日志。In this step, the atomic service log corresponding to the atomic service directory may be collected, and the atomic service log includes a service log corresponding to each atomic service in the atomic service directory.
原子业务日志可以为任何形式的对应每个原子业务的业务日志。在本实施例中,采集所述原子业务目录对应的原子业务日志,可以但不限于包括:采集所述原子业务目录对应的网络日志、业务鉴权日志和业务质量日志。The atomic service log can be any form of service log corresponding to each atomic service. In this embodiment, collecting the atomic service log corresponding to the atomic service directory may include, but is not limited to: collecting network logs, service authentication logs, and service quality logs corresponding to the atomic service directory.
其中,所述网络日志包括所述原子业务目录中每个原子业务对应的网络质量指标及其指标值。Wherein, the network log includes the network quality index and index value corresponding to each atomic service in the atomic service directory.
例如,网络日志可以但不限于包括所述原子业务目录中每个原子业务对应的:For example, the network log may, but is not limited to, include each atomic service in the atomic service directory corresponding to:
内网各地市访问各服务器的网络时延、丢包、抖动指标及其指标值;The network delay, packet loss, jitter indicators and their index values of accessing each server in various cities on the intranet;
通过虚拟专用网络(VPN)通道访问服务器的网络时延、丢包、抖动指标及其指标值;Network delay, packet loss, jitter indicators and their indicator values when accessing the server through a virtual private network (VPN) channel;
驱动路由器进行故障隔离和驻段排查时,为故障排查提供的路由跟踪功能,包括每跳的时延、丢包指标及其指标值。When driving the router to perform fault isolation and resident troubleshooting, the route tracking function provided for troubleshooting includes the delay of each hop, packet loss index and its index value.
所述业务鉴权日志包括所述原子业务目录中每个原子业务办理时对应的登录和鉴权指标及其指标值。The service authentication log includes the login and authentication indicators and the indicator values corresponding to each atomic service in the atomic service directory.
例如,所述业务鉴权日志可以但不限于包括所述原子业务目录中每个原子业务对应的:For example, the service authentication log may include, but is not limited to, corresponding to each atomic service in the atomic service directory:
内网登陆系统的鉴权时延和成功率指标及其指标值;Intranet login system authentication delay and success rate indicators and their index values;
外网通过VPN通道登陆系统的鉴权时延和成功率指标及其指标值。The authentication delay and success rate indicators and their indicator values for logging in to the system through the VPN channel from the external network.
所述业务质量日志包括所述原子业务目录中每个原子业务对应的业务质量指标及其指标值。The service quality log includes service quality indicators and indicator values corresponding to each atomic service in the atomic service directory.
例如,所述业务质量日志可以但不限于包括所述原子业务目录中每个原子业务对应的:For example, the service quality log may include, but is not limited to, corresponding to each atomic service in the atomic service directory:
域名系统(DNS)解析时延、传输控制协议(TCP)建链时延、首字节响应时延、首屏打开时延、页面打开时延、下载速率,以及基于爬虫的资源归属指标及其指标值。Domain Name System (DNS) resolution delay, Transmission Control Protocol (TCP) link establishment delay, first byte response delay, first screen opening delay, page opening delay, download rate, and crawler-based resource attribution indicators and their Index value.
步骤103、进行信息提取。Step 103, perform information extraction.
在本步骤中,可以根据所述原子业务日志,确定所述原子业务目录中每个原子业务对应的与用户体验相关指标的指标值,以及所述原子业务目录中每个原子业务被调用的次数。In this step, the index value of the user experience-related indicators corresponding to each atomic service in the atomic service catalog and the number of times each atomic service in the atomic service catalog is called can be determined according to the atomic service log .
与用户体验相关指标可以为任意可以体现用户体验优劣的指标。例如,可以但不限于如表1所示的指标:The indicator related to user experience may be any indicator that can reflect the quality of user experience. For example, the indicators shown in Table 1 can be but not limited to:
表1Table 1
需要进一步说明的是,在确定每个原子业务被调用的次数时,可以但不限于根据所述原子业务日志,采用有向图挖掘算法确定所述原子业务目录中的原子业务之间的调用关系图,并可以进一步根据所述原子业务调用关系图,确定每个原子业务被调用的次数。It should be further explained that when determining the number of times each atomic service is invoked, it is possible, but not limited to, to use a directed graph mining algorithm to determine the calling relationship between the atomic services in the atomic service directory according to the atomic service log , and can further determine the number of times each atomic service is called according to the atomic service call relationship diagram.
即,在本实施例中,可以通过有向图挖掘算法梳理原子业务之间的调用关系,从而确定每个原子业务被调用的次数。可以理解为,本实施例提供的方案可以基于图论来确定每个原子业务被调用的次数。That is, in this embodiment, the calling relationship between atomic services may be sorted out through a directed graph mining algorithm, so as to determine the number of times each atomic service is called. It can be understood that the solution provided by this embodiment can determine the number of times each atomic service is invoked based on graph theory.
原子业务之间的调用关系图可以采用有向图表示,例如图2所示。在图2中,图G={V,E}定义为V和E的集合,其中V表示图G中所有顶点的集合,也就是原子业务的集合。E表示的是图G中所有边的集合。E可以理解为表示原子业务之间的关系,也就是两个顶点存在调用关系,带有方向信息,由调用者指向被调用者。The call relationship graph between atomic services can be represented by a directed graph, as shown in Figure 2, for example. In Fig. 2, graph G={V, E} is defined as a set of V and E, where V represents the set of all vertices in graph G, that is, the set of atomic services. E represents the set of all edges in graph G. E can be understood as representing the relationship between atomic services, that is, there is a call relationship between two vertices, with direction information, from the caller to the callee.
当然,原子业务之间的调用关系图不限于采用有向图,还可以采用其他形式,例如邻接表表示法等。图2所示的原子业务之间的调用关系图采用邻接表表示法时,可以如图3所示。Of course, the call relationship graph between atomic services is not limited to using a directed graph, and may also use other forms, such as adjacency list representation. When the adjacency list notation is used for the call relationship graph between atomic services shown in FIG. 2 , it may be shown in FIG. 3 .
不论是图2还是图3表示的原子业务之间的调用关系图,均可以理解为其表示标号分别为1~6的6个原子业务之间的调用关系。且原子业务1被原子业务2和原子业务4调用,原子业务2被原子业务5调用,原子业务3被原子业务6和原子业务5调用,原子业务4被原子业务2调用,原子业务5被原子业务4调用,原子业务6被原子业务6自身调用。No matter it is the call relationship graph between atomic services shown in FIG. 2 or FIG. 3 , it can be understood that it represents the call relationship between six atomic services with labels 1 to 6 respectively. And atomic business 1 is called by atomic business 2 and atomic business 4, atomic business 2 is called by atomic business 5, atomic business 3 is called by atomic business 6 and atomic business 5, atomic business 4 is called by atomic business 2, and atomic business 5 is called by atomic business Called by service 4, atomic service 6 is called by atomic service 6 itself.
步骤104、确定重要性。Step 104, determining importance.
在本步骤中,可以针对每个原子业务,根据该原子业务对应的与用户体验相关指标的指标值,以及该原子业务被调用的次数,确定该原子业务的重要性。In this step, for each atomic service, the importance of the atomic service can be determined according to the index value of the user experience-related index corresponding to the atomic service and the number of times the atomic service is invoked.
可以理解为根据一个原子业务对应的与用户体验相关指标的指标值,可以确定该原子业务的用户体验优劣,根据一个原子业务被调用的次数,可以确定该原子业务被调用的可能性高低,从而可以结合一个原子业务的用户体验优劣,以及被调用的可能性高低,确定该原子业务的重要性。可以理解为一个原子业务的用户体验越差,且被调用的可能性越高(即,影响范围越大,影响用户体验的可能性越大),则该原子业务的重要性越高,越需要进行性能提升。It can be understood that according to the index value of an atomic service corresponding to the user experience related index, the user experience of the atomic service can be determined, and the possibility of the atomic service being called can be determined according to the number of times an atomic service is called. Therefore, the importance of an atomic service can be determined based on the user experience of an atomic service and the possibility of being invoked. It can be understood that the worse the user experience of an atomic service, and the higher the possibility of being invoked (that is, the larger the scope of influence, the greater the possibility of affecting user experience), the higher the importance of the atomic service, the more necessary Make performance improvements.
当然,在确定原子业务的重要性时,一个原子业务对应的与用户体验相关指标的指标值,以及该原子业务被调用的次数的结合方式可以为任意方式。Of course, when determining the importance of an atomic service, the combination of the index value of an index related to user experience corresponding to an atomic service and the number of times the atomic service is invoked can be in any manner.
例如,在本步骤中,可以根据一个原子业务对应的与用户体验相关指标的指标值,确定用户感知系数,所述用户感知系数越大,表示对应的原子业务越需要改善;根据所述原子业务被调用的次数,确定原子业务权重系数,所述原子业务权重系数越大,表示对应的原子业务被调用的可能性越大;根据所述用户感知系数和所述原子业务权重系数的乘积,确定所述原子业务的重要性,其中,乘积越大,表示对应的原子业务越重要。For example, in this step, the user perception coefficient can be determined according to the index value of the user experience-related index corresponding to an atomic service. The larger the user perception coefficient, the more the corresponding atomic service needs to be improved; according to the atomic service The times of being called determine the atomic service weight coefficient, the greater the atomic service weight coefficient, the greater the possibility that the corresponding atomic service is called; according to the product of the user perception coefficient and the atomic service weight coefficient, determine The importance of the atomic service, wherein the larger the product, the more important the corresponding atomic service.
以原子业务目录对应的n个(n为正整数)原子业务的集合可以表示为X={x1,x2,…,xn},其中,xi表示该集合中的第i个原子业务(i为不大于n的正整数)为例:The set of n (n is a positive integer) atomic business corresponding to the atomic business directory can be expressed as X={x1, x2,...,xn}, where xi represents the i-th atomic business in the set (i is not positive integer greater than n) as an example:
在选择的与用户体验相关指标的指标值与用户体验优劣成正比时,即,指标值越高,用户体验越佳时,所述用户感知系数可以但不限于通过以下方式确定:When the index value of the selected index related to user experience is directly proportional to the quality of user experience, that is, the higher the index value, the better the user experience, the user perception coefficient can be determined by, but not limited to, the following method:
xi对应的m个(m为正整数)与用户体验相关指标的指标值可以用特征向量的方式表示为Xi=(xi1,xi2,…xim)。其中,xij表示原子业务xi的第j个特征值(j为不大于m的正整数)。The index values of m (m is a positive integer) related to user experience corresponding to xi can be expressed as Xi=(xi1, xi2, . . . xim) in the form of feature vectors. Wherein, xij represents the jth eigenvalue of the atomic business xi (j is a positive integer not greater than m).
用户感知系数Txi可以但不限于通过以下公式确定:The user perception coefficient Txi can be determined by but not limited to the following formula:
即,可以通过xi对应的m个与用户体验相关指标的指标值求和后取倒数的方式,确定用户感知系数Txi。That is, the user perception coefficient Txi may be determined by summing the index values of m indicators related to user experience corresponding to xi and taking the inverse.
所述原子业务权重系数可以但不限于通过以下方式确定:The atomic service weight coefficient can be determined by, but not limited to, the following methods:
根据原子业务集合X中每个原子业务被调用的次数,针对xi,可以对其被调用的次数进行归一化处理得到xi对应的原子业务权重系数ai。According to the number of calls of each atomic service in the atomic service set X, for xi, the number of calls can be normalized to obtain the atomic service weight coefficient ai corresponding to xi.
所述用户感知系数和所述原子业务权重系数的乘积P(xi)可以表示为:The product P(xi) of the user perception coefficient and the atomic service weight coefficient can be expressed as:
P(xi)=ai×TxiP(xi)=ai×Txi
P(xi)对应的计算公式可以理解为用户感知探测模型,其可以理解为反映原子业务的重要程度。P(xi)值越大,可以理解为原子业务xi的重要程度越高,这样,越需要对该原子业务进行优化整改,从而提高整个业务甚至系统的处理效率,达到提升用户满意度的目的。The calculation formula corresponding to P(xi) can be understood as a user perception detection model, which can be understood as reflecting the importance of atomic services. The larger the value of P(xi), it can be understood that the importance of the atomic business xi is higher. In this way, it is more necessary to optimize and rectify the atomic business, so as to improve the processing efficiency of the entire business and even the system, and achieve the purpose of improving user satisfaction.
与实施例一基于同一发明构思,提供以下的装置。Based on the same inventive concept as the first embodiment, the following devices are provided.
实施例二Embodiment two
本发明实施例二提供一种原子业务重要性确定装置,该装置的结构可以如图4所示,包括:Embodiment 2 of the present invention provides a device for determining the importance of an atomic service. The structure of the device may be as shown in FIG. 4 , including:
输入模块11用于接收系统对应的原子业务目录,所述原子业务为所述系统中业务的最小组成单元;以及,采集所述原子业务目录对应的原子业务日志,所述原子业务日志中包括所述原子业务目录中每个原子业务对应的业务日志;The input module 11 is used to receive the atomic business directory corresponding to the system, the atomic business is the smallest component unit of the business in the system; and collect the atomic business log corresponding to the atomic business directory, the atomic business log includes all Describe the business log corresponding to each atomic business in the atomic business directory;
信息提取模块12用于根据所述原子业务日志,确定所述原子业务目录中每个原子业务对应的与用户体验相关指标的指标值,以及所述原子业务目录中每个原子业务被调用的次数;The information extraction module 12 is used to determine, according to the atomic service log, the index value of the user experience-related indicators corresponding to each atomic service in the atomic service catalog, and the number of times each atomic service in the atomic service catalog is invoked ;
确定模块13用于针对每个原子业务,根据该原子业务对应的与用户体验相关指标的指标值,以及该原子业务被调用的次数,确定该原子业务的重要性。The determining module 13 is configured to determine the importance of the atomic service for each atomic service according to the index value of the user experience-related index corresponding to the atomic service and the number of times the atomic service is invoked.
可以理解为所述信息提取模块12和所述确定模块13均用于对输入模块11采集的信息进行处理。当然进一步的,所述确定模块13确定出每个原子业务的重要性之后,还可以对确定出的每个原子业务的重要性进行输出,以便于根据每个原子业务的重要性进行优化整改,本实施例不再赘述。It can be understood that both the information extraction module 12 and the determination module 13 are used to process the information collected by the input module 11 . Of course further, after the determination module 13 determines the importance of each atomic business, it may also output the determined importance of each atomic business, so as to optimize and rectify according to the importance of each atomic business, This embodiment will not be described in detail.
在一种可能的实现方式中,所述输入模块11采集所述原子业务目录对应的原子业务日志,包括:In a possible implementation manner, the input module 11 collects the atomic service log corresponding to the atomic service directory, including:
采集所述原子业务目录对应的网络日志、业务鉴权日志和业务质量日志;Collecting network logs, service authentication logs, and service quality logs corresponding to the atomic service directory;
其中,所述网络日志包括所述原子业务目录中每个原子业务对应的网络质量指标及其指标值;Wherein, the network log includes the network quality index and index value corresponding to each atomic service in the atomic service directory;
所述业务鉴权日志包括所述原子业务目录中每个原子业务办理时对应的登录和鉴权指标及其指标值;The service authentication log includes the login and authentication indicators and their index values corresponding to each atomic service in the atomic service directory;
所述业务质量日志包括所述原子业务目录中每个原子业务对应的业务质量指标及其指标值。The service quality log includes service quality indicators and indicator values corresponding to each atomic service in the atomic service directory.
在一种可能的实现方式中,所述信息提取模块12根据所述原子业务日志,确定所述原子业务目录中每个原子业务被调用的次数,包括:In a possible implementation manner, the information extraction module 12 determines the number of calls of each atomic service in the atomic service directory according to the atomic service log, including:
根据所述原子业务日志,采用有向图挖掘算法确定所述原子业务目录中的原子业务之间的调用关系图;According to the atomic service log, using a directed graph mining algorithm to determine a call relationship graph between atomic services in the atomic service directory;
根据所述原子业务调用关系图,确定每个原子业务被调用的次数。Determine the number of times each atomic service is called according to the atomic service call relationship graph.
在一种可能的实现方式中,所述确定模块13根据一个原子业务对应的与用户体验相关指标的指标值,以及该原子业务被调用的次数,确定该原子业务的重要性,包括:In a possible implementation, the determination module 13 determines the importance of the atomic service according to the index value of the user experience-related index corresponding to the atomic service and the number of times the atomic service is called, including:
根据一个原子业务对应的与用户体验相关指标的指标值,确定用户感知系数,所述用户感知系数越大,表示对应的原子业务越需要改善;Determine the user perception coefficient according to the index value of the user experience-related index corresponding to an atomic service, and the larger the user perception coefficient, the more the corresponding atomic service needs to be improved;
根据所述原子业务被调用的次数,确定原子业务权重系数,所述原子业务权重系数越大,表示对应的原子业务被调用的可能性越大;Determine the atomic service weight coefficient according to the number of times the atomic service is called, and the greater the atomic service weight coefficient, the greater the possibility that the corresponding atomic service is called;
根据所述用户感知系数和所述原子业务权重系数的乘积,确定所述原子业务的重要性,其中,乘积越大,表示对应的原子业务越重要。The importance of the atomic service is determined according to the product of the user perception coefficient and the atomic service weight coefficient, wherein the larger the product, the more important the corresponding atomic service is.
基于同一发明构思,本发明实施例提供以下的设备和介质。Based on the same inventive concept, embodiments of the present invention provide the following devices and media.
实施例三Embodiment three
本发明实施例三提供一种原子业务重要性确定设备,该设备的结构可以如图5所示,包括存储器21、处理器22及存储在存储器上的计算机程序,所述处理器22执行所述程序时实现本发明实施例一所述方法的步骤。Embodiment 3 of the present invention provides a device for determining the importance of atomic services. The structure of the device can be shown in FIG. The program is to realize the steps of the method described in Embodiment 1 of the present invention.
可选的,所述处理器22具体可以包括中央处理器(CPU)、特定应用集成电路(ASIC,application specific integrated circuit),可以是一个或多个用于控制程序执行的集成电路,可以是使用现场可编程门阵列(FPGA,field programmable gate array)开发的硬件电路,可以是基带处理器。Optionally, the processor 22 may specifically include a central processing unit (CPU), an application specific integrated circuit (ASIC, ASIC), which may be one or more integrated circuits used to control program execution, and may be used A hardware circuit developed by a field programmable gate array (FPGA, field programmable gate array) may be a baseband processor.
可选的,所述处理器22可以包括至少一个处理核心。Optionally, the processor 22 may include at least one processing core.
可选的,所述存储器21可以包括只读存储器(ROM,read only memory)、随机存取存储器(RAM,random access memory)和磁盘存储器。存储器21用于存储至少一个处理器22运行时所需的数据。存储器21的数量可以为一个或多个。Optionally, the memory 21 may include a read only memory (ROM, read only memory), a random access memory (RAM, random access memory) and a disk memory. The memory 21 is used to store data required by at least one processor 22 during operation. The number of storage 21 can be one or more.
本发明实施例四提供一种非易失性计算机存储介质,所述计算机存储介质存储有可执行程序,当可执行程序被处理器执行时,实现本发明实施例一提供的方法。Embodiment 4 of the present invention provides a non-volatile computer storage medium, the computer storage medium stores an executable program, and when the executable program is executed by a processor, the method provided in Embodiment 1 of the present invention is implemented.
在具体的实施过程中,计算机存储介质可以包括:通用串行总线闪存盘(USB,Universal Serial Bus flash drive)、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的存储介质。In a specific implementation process, the computer storage medium may include: a Universal Serial Bus flash drive (USB, Universal Serial Bus flash drive), a removable hard disk, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM) , Random Access Memory), magnetic disk or optical disk and other storage media that can store program codes.
在本发明实施例中,应该理解到,所揭露的设备和方法,可以通过其它的方式实现。例如,以上所描述的设备实施例仅仅是示意性的,例如,所述单元或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,设备或单元的间接耦合或通信连接,可以是电性或其它的形式。In the embodiments of the present invention, it should be understood that the disclosed devices and methods may be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of the units or units is only a logical function division, and there may be other division methods in actual implementation. For example, multiple units or components can be Incorporation may either be integrated into another system, or some features may be omitted, or not implemented. In another point, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical or other forms.
在本发明实施例中的各功能单元可以集成在一个处理单元中,或者各个单元也可以均是独立的物理模块。Each functional unit in the embodiment of the present invention may be integrated into one processing unit, or each unit may also be an independent physical module.
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明实施例的技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备,例如可以是个人计算机,服务器,或者网络设备等,或处理器(processor)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:通用串行总线闪存盘(universal serial bus flash drive)、移动硬盘、ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。If the integrated unit is realized in the form of a software function unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, all or part of the technical solutions of the embodiments of the present invention can be embodied in the form of software products, the computer software products are stored in a storage medium, including several instructions to make a computer device, for example, can be A personal computer, a server, or a network device, etc., or a processor (processor) executes all or part of the steps of the methods described in the various embodiments of the present invention. The foregoing storage medium includes: a universal serial bus flash drive (universal serial bus flash drive), a removable hard disk, a ROM, a RAM, a magnetic disk or an optical disk, and other various media capable of storing program codes.
本领域内的技术人员应明白,本发明的实施例可提供为方法、系统、或计算机程序产品。因此,本发明可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art should understand that the embodiments of the present invention may be provided as methods, systems, or computer program products. Accordingly, the present invention can take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
本发明是参照根据本发明实施例的方法、装置(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It should be understood that each procedure and/or block in the flowchart and/or block diagram, and a combination of procedures and/or blocks in the flowchart and/or block diagram can be realized by computer program instructions. These computer program instructions may be provided to a general purpose computer, special purpose computer, embedded processor, or processor of other programmable data processing equipment to produce a machine such that the instructions executed by the processor of the computer or other programmable data processing equipment produce a An apparatus for realizing the functions specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing apparatus to operate in a specific manner, such that the instructions stored in the computer-readable memory produce an article of manufacture comprising instruction means, the instructions The device realizes the function specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded onto a computer or other programmable data processing device, causing a series of operational steps to be performed on the computer or other programmable device to produce a computer-implemented process, thereby The instructions provide steps for implementing the functions specified in the flow chart or blocks of the flowchart and/or the block or blocks of the block diagrams.
尽管已描述了本发明的优选实施例,但本领域内的技术人员一旦得知了基本创造性概念,则可对这些实施例作出另外的变更和修改。所以,所附权利要求意欲解释为包括优选实施例以及落入本发明范围的所有变更和修改。While preferred embodiments of the invention have been described, additional changes and modifications to these embodiments can be made by those skilled in the art once the basic inventive concept is appreciated. Therefore, it is intended that the appended claims be construed to cover the preferred embodiment as well as all changes and modifications which fall within the scope of the invention.
显然,本领域的技术人员可以对本发明进行各种改动和变型而不脱离本发明的精神和范围。这样,倘若本发明的这些修改和变型属于本发明权利要求及其等同技术的范围之内,则本发明也意图包含这些改动和变型在内。Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalent technologies, the present invention also intends to include these modifications and variations.
Claims (8)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201811490231.XA CN111290928B (en) | 2018-12-06 | 2018-12-06 | Atomic service importance determining method, device, medium and equipment |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201811490231.XA CN111290928B (en) | 2018-12-06 | 2018-12-06 | Atomic service importance determining method, device, medium and equipment |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN111290928A CN111290928A (en) | 2020-06-16 |
| CN111290928B true CN111290928B (en) | 2023-08-01 |
Family
ID=71029766
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201811490231.XA Active CN111290928B (en) | 2018-12-06 | 2018-12-06 | Atomic service importance determining method, device, medium and equipment |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN111290928B (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN113888311A (en) * | 2021-10-14 | 2022-01-04 | 中国工商银行股份有限公司 | Risk early warning method and device, computer equipment and computer readable storage medium |
Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105207806A (en) * | 2015-08-20 | 2015-12-30 | 百度在线网络技术(北京)有限公司 | Monitoring method and apparatus of distributed service |
| CN107181721A (en) * | 2016-03-11 | 2017-09-19 | 阿里巴巴集团控股有限公司 | A kind of information processing method and device based on daily record |
Family Cites Families (10)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20070136814A1 (en) * | 2005-12-12 | 2007-06-14 | Michael Lee | Critical function monitoring and compliance auditing system |
| CN102014169B (en) * | 2010-12-22 | 2013-03-20 | 国家电网公司 | Distributed service system as well as distributed service system task execution method and device |
| US9860278B2 (en) * | 2013-01-30 | 2018-01-02 | Nippon Telegraph And Telephone Corporation | Log analyzing device, information processing method, and program |
| US10394868B2 (en) * | 2015-10-23 | 2019-08-27 | International Business Machines Corporation | Generating important values from a variety of server log files |
| CN105739408A (en) * | 2016-01-30 | 2016-07-06 | 山东大学 | Business monitoring method used for power scheduling system and business monitoring system |
| CN106326086B (en) * | 2016-08-18 | 2019-01-11 | 杭州华为数字技术有限公司 | Crucial running log extracting method and device |
| CN107563587A (en) * | 2017-07-21 | 2018-01-09 | 中国电力科学研究院 | A kind of key business recognition methods and device |
| CN108038145A (en) * | 2017-11-23 | 2018-05-15 | 携程旅游网络技术(上海)有限公司 | Distributed Services tracking, system, storage medium and electronic equipment |
| CN108389056A (en) * | 2018-01-30 | 2018-08-10 | 阿里巴巴集团控股有限公司 | A kind of determining method and device for complaining reason |
| CN108492109B (en) * | 2018-03-15 | 2021-09-21 | 平安科技(深圳)有限公司 | Electronic device, dynamic code request processing method and storage medium |
-
2018
- 2018-12-06 CN CN201811490231.XA patent/CN111290928B/en active Active
Patent Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105207806A (en) * | 2015-08-20 | 2015-12-30 | 百度在线网络技术(北京)有限公司 | Monitoring method and apparatus of distributed service |
| CN107181721A (en) * | 2016-03-11 | 2017-09-19 | 阿里巴巴集团控股有限公司 | A kind of information processing method and device based on daily record |
Also Published As
| Publication number | Publication date |
|---|---|
| CN111290928A (en) | 2020-06-16 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN109034660B (en) | Method and related device for determining risk control strategy based on prediction model | |
| US11252046B2 (en) | System for identifying and assisting in the creation and implementation of a network service configuration using Hidden Markov Models (HMMs) | |
| US8751184B2 (en) | Transaction based workload modeling for effective performance test strategies | |
| JP7099533B2 (en) | Impact range estimation device, impact range estimation method, and program | |
| CN112242984A (en) | Method, electronic device and computer program product for detecting abnormal network requests | |
| CN112822167A (en) | Abnormal TLS encrypted traffic detection method and system | |
| CN105939284B (en) | The matching process and device of message control strategy | |
| CN108985954A (en) | A kind of method and relevant device of incidence relation that establishing each mark | |
| KR102086936B1 (en) | User data sharing method and device | |
| CN115189936B (en) | A Tor hidden service traffic identification method based on feature selection | |
| US10965693B2 (en) | Method and system for detecting movement of malware and other potential threats | |
| WO2019052469A1 (en) | Network request processing method and apparatus, electronic device, and storage medium | |
| CN111290928B (en) | Atomic service importance determining method, device, medium and equipment | |
| US8781097B2 (en) | Retrieving a voice print of a caller | |
| CN103152212B (en) | A kind of alarm correlation analysis method, device and network management system | |
| CN104168206B (en) | Adapter gateway load balancing control method, device and system | |
| CN114124555A (en) | Message playback method and device, electronic equipment and computer readable medium | |
| CN109246125A (en) | A kind of Host Security condition evaluation system | |
| CN113330716A (en) | Method and device for determining dependency relationship of application service and processor | |
| CN114143079B (en) | Verification device and method for packet filtering strategy | |
| CN114640508A (en) | Network anti-fraud method and device | |
| CN116074209A (en) | Data prediction method, device, equipment and computer storage medium | |
| KR102054259B1 (en) | Intent based efficient resource management in SDN, and computer readable medium storing a program of the same | |
| CN120856595B (en) | Method, system, equipment, medium and product for generating detection task of virtual network | |
| CN115242688B (en) | Network fault detection method, device and medium |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |