WO2021056739A1 - Performance analysis method, device, computer apparatus and storage medium - Google Patents

Performance analysis method, device, computer apparatus and storage medium Download PDF

Info

Publication number
WO2021056739A1
WO2021056739A1 PCT/CN2019/117741 CN2019117741W WO2021056739A1 WO 2021056739 A1 WO2021056739 A1 WO 2021056739A1 CN 2019117741 W CN2019117741 W CN 2019117741W WO 2021056739 A1 WO2021056739 A1 WO 2021056739A1
Authority
WO
WIPO (PCT)
Prior art keywords
service
link information
target
performance
services
Prior art date
Application number
PCT/CN2019/117741
Other languages
French (fr)
Chinese (zh)
Inventor
丛再锋
Original Assignee
平安科技(深圳)有限公司
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by 平安科技(深圳)有限公司 filed Critical 平安科技(深圳)有限公司
Publication of WO2021056739A1 publication Critical patent/WO2021056739A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2458Special types of queries, e.g. statistical queries, fuzzy queries or distributed queries
    • G06F16/2462Approximate or statistical queries
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/28Databases characterised by their database models, e.g. relational or object models
    • G06F16/284Relational databases
    • G06F16/285Clustering or classification
    • YGENERAL 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE 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/00Energy efficient computing, e.g. low power processors, power management or thermal management

Definitions

  • This application relates to the field of big data, in particular to performance analysis methods, devices, computer equipment and storage media.
  • the performance analysis of the traditional full-link monitoring system is to perform statistics on each individual service, that is, to perform statistics based on the data of each service call, so that only the performance of a single service can be counted, and the microservice cluster services cannot be displayed.
  • Performance overview making it difficult to troubleshoot when problems occur.
  • the service A and the four services B, C, D, E, and F have a mutual invocation relationship.
  • the B, C, and D services call A, it takes very little time, and when the F service calls A, it takes a lot of time.
  • the inventor realizes that the traditional statistical method can only count that the A service is time-consuming in some cases, and it is necessary to check more detailed link information to locate the problem, which is very labor-intensive and time-consuming.
  • the purpose of the embodiments of the present application is to propose a performance analysis method to solve the problem of low efficiency in troubleshooting service performance.
  • an embodiment of the present application provides a performance analysis method, which includes the following steps:
  • Target link information of multiple services includes status information and service flags
  • the multiple services are classified according to the target link information to obtain multiple target service groups, wherein the target service group includes multiple services with the same calling relationship, and the services of the multiple services The marks are different from each other;
  • an embodiment of the present application further provides a performance analysis device, the performance analysis device includes:
  • An obtaining module configured to obtain target link information of multiple services, where the target link information includes status information and service flags;
  • the determining module is configured to classify the multiple services according to the target link information to obtain multiple target service groups, wherein the target service group includes multiple services with the same calling relationship, and the The service marks of multiple services are different from each other;
  • a calculation module for calculating the performance parameters of each service in the target service group
  • the analysis module is used to analyze the service invocation performance of each service in the target service group according to the performance parameter.
  • an embodiment of the present application further provides a computer device, including a memory and a processor, the memory stores computer-readable instructions, and the processor implements the above-mentioned performance analysis when the computer-readable instructions are executed. Method steps.
  • embodiments of the present application also provide a computer-readable storage medium, the non-volatile readable storage medium stores computer-readable instructions, and the computer-readable instructions are implemented when executed by a processor. The steps of the performance analysis method described above.
  • Figure 1 is an exemplary system architecture diagram to which the present application can be applied;
  • Fig. 2 is a flowchart of an embodiment of the performance analysis method according to the present application.
  • Fig. 3 is a schematic structural diagram of an embodiment of the performance analysis device according to the present application.
  • Fig. 4 is a schematic structural diagram of an embodiment of a computer device according to the present application.
  • the system architecture 100 may include terminal devices 101, 102, 103, a network 104, and a server 105.
  • the network 104 is used to provide a medium for communication links between the terminal devices 101, 102, 103 and the server 105.
  • the network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, and so on.
  • the user can use the terminal devices 101, 102, and 103 to interact with the server 105 through the network 104 to receive or send messages and so on.
  • Various communication client applications such as web browser applications, shopping applications, search applications, instant messaging tools, email clients, and social platform software, may be installed on the terminal devices 101, 102, and 103.
  • the terminal devices 101, 102, 103 may be various electronic devices with display screens and support for web browsing, including but not limited to smart phones, tablets, e-book readers, MP3 players (Moving Picture E performance analysis perts Group Audio Layer III, Motion Picture Expert Compresses Standard Audio Layer 3), MP4 (Moving Picture E Performance Analysis perts Group Audio Layer IV, Motion Picture Expert Compresses Standard Audio Layer 4) Players, laptop portable computers and desktop computers, etc.
  • MP3 players Moving Picture E performance analysis perts Group Audio Layer III, Motion Picture Expert Compresses Standard Audio Layer 3
  • MP4 Motion Picture Expert Compresses Standard Audio Layer 4
  • laptop portable computers and desktop computers etc.
  • the server 105 may be a server that provides various services, for example, a background server that provides support for pages displayed on the terminal devices 101, 102, and 103.
  • the present application profiling embodiment of the method provided by sever / terminal device performed, accordingly, a general profiling means provided in the server / terminal device.
  • terminal devices, networks, and servers in FIG. 1 are merely illustrative. According to implementation needs, there can be any number of terminal devices, networks, and servers.
  • the performance analysis method includes the following steps:
  • S201 Acquire target link information of multiple services, where the target link information includes status information and service flags.
  • the service can be multiple services, and there can be a direct or indirect call relationship between each service.
  • the above target link information is multiple pieces of data information uploaded when each service makes a service call, and the data information is stored in the database in.
  • target link information may include, but is not limited to, status information and service flags, where the status information can be referred to as span information, and the status information includes, but is not limited to, service name information, business name information, operation name information, and success status information , Delay status information, one or more of parent service name information, for example, status information 1 includes: service name: B, business name: virtual machine, operation name: create vm, success status: failure, belonging implementation : SZD02 and parent service name: A.
  • the service mark is generated when a service call is made between each service, or it can be passed down from the previous service call.
  • the service mark can be named trace ID, and the service mark can also be obtained by one or more combinations of symbols, data, letters, etc. Among them, different service calls that contain the same service mark belong to the same complete service call.
  • service A wants to call The service of service D, but in the invocation process, service A must call service B, service B calls service C, service C calls service D, service A can call the service of service D, so when service A initiates the call , Generate a service mark such as number 1, service A uploads the link information of service mark 1 and service A's status information generation link to the service management system, and service A transfers the service mark 1 to service B.
  • service B receives the service token 1, it will generate the link information of service B together with the status information of service B and upload it to the service management system, and transfer the service token 1 to service C.
  • the service mark 1 and the status information of the service C are combined to generate the link information of the service C and uploaded to the service management system, and the service mark 1 is transferred to the service D.
  • the service D receives the service tag 1
  • the service tag 1 and the status information of the service D are combined to generate the link information of the service D and uploaded to the service management system. This completes the service call relationship between ABCD services and forms a complete service call.
  • the link information uploaded by services A, B, C, and D contains the same service identifier 1, so services A, B, C, The call relationship between D belongs to the same complete service call.
  • S202 Classify the multiple services according to the target link information to obtain multiple target service groups, where the target service group includes multiple services with the same calling relationship, and the multiple services The service tags are different from each other.
  • the calling relationship may be a private calling relationship, a static calling relationship, a parent-child calling relationship, a peer calling relationship, etc.
  • the acquired status information is that service A sends instruction information to the next-level service B, which means that service A is the parent service of service B, and service B is the child service of service A.
  • Service group for example, service A, B, C, D are a group with the same service ID, in the status information of service A, the parent service name is empty; in the status information of service B, the parent service name is service A ; In the status information of service C, the parent service is named service B; in the status information of service D, the parent service is named service C; it can be seen that service A calls service B, service A is the parent service, and service B is Child service; Service B calls service C, service B is the parent service, and service C is the child service; service C calls service D, service C is the parent service, and service D is the child service.
  • S203 Calculate the performance parameters of each service in the target service group.
  • the performance parameter includes one or more of the performance parameters of multiple performance parameter elements, and the performance parameter element includes one or more of success, failure, and delay.
  • performance parameters of each service are different, and the performance parameters of each service do not need to be consistent, because the number of times different services are called or the number of times other services are called is different, and the final calculation is The performance parameters of the services are also different.
  • the dimension of service invocation is not limited. It can be calculated according to the service demand, the number of services, and the service invocation between services. The calculation includes: the performance parameters of each service are corresponding to each performance parameter. The preset performance parameter thresholds are compared. Since a service call can have multiple performance parameter original elements, the corresponding preset performance parameter thresholds will be set for multiple performance parameter elements, and the service call performance parameter elements will be calculated separately. Actual performance parameters.
  • S204 Analyze the service invocation performance of each service in the target service group according to the performance parameter.
  • the performance parameters of each service call are compared with the preset performance parameter threshold. If the preset performance parameter threshold is not met, it means that the service has poor call performance. . If the preset performance parameter threshold is met, it indicates that the service invocation performance is good, which can be connected to the entire service cluster in a more macroscopic manner, so that the service management system can better manage and count the service invocation performance of each service invocation.
  • the target link information of multiple services By acquiring the target link information of multiple services, classifying the multiple services according to the target link information to obtain multiple target service groups, and calculating the performance parameters of each service in the target service group, according to the performance parameters Analyze the service invocation performance of each service in the target service group to realize the grouping, classification, and calculation of the service invocation by the link information of each service, and then obtain the invocation performance of each service through the analysis of the performance parameters of the service invocation.
  • the unified processing of invocation performance profiles between service cluster services improves the efficiency of troubleshooting service performance problems.
  • step S202 that is, the calling relationship is a parent-child relationship
  • the multiple services are classified according to the target link information to obtain multiple target service groups. If the target service group includes multiple services with the same calling relationship, and the service tags of the multiple services are different from each other, the above electronic device may also perform the following steps:
  • the services with the same parent-child relationship are grouped into the same target service group.
  • the uploaded service tags of each service are sequentially compared, and the services containing the same service tag are divided into a group for classification, For example, if the link information uploaded by services A, B, C, and D contains the same service tag, the link information corresponding to services A, B, C, and D is grouped into one group, that is, the service corresponding to the link information A, B, C, and D are divided into a group.
  • the big data analysis tool spark is used, multiple machines are used to build a spark cluster, and the api (application programming interface) of spark (a fast and universal computing engine designed for large-scale data processing) is used to Perform data aggregation and statistics, and use the open tracing (open distributed tracing) protocol.
  • api application programming interface
  • spark a fast and universal computing engine designed for large-scale data processing
  • service calls with the same parent-child relationship in each classification are classified, that is, they are classified into the same target service group. It is also possible to categorize and accumulate service calls corresponding to different service identifiers that have the same parent-child relationship, so as to obtain multiple service calls with the same parent-child relationship.
  • service ABCD is a complete service invocation group with the same service ID 1, and there are 3 sets of parent-child relationships with the same service ID 1, namely AB parent-child relationship, BC parent-child relationship, and CD parent-child relationship; while service FBCD is a parent-child relationship with the same service ID 1.
  • the parent-child relationship between each service in the initial classification is determined according to the state information, and the services with the same parent-child relationship are classified into the same target service group, which can be connected to In the entire service cluster, it is convenient to manage and count the data information called by each service.
  • the above step S201 that is, the step of obtaining the link information of the service specifically includes:
  • the service management system when the service management system detects the service call request, it triggers the receiving instruction to receive the link information uploaded by the service in real time.
  • the service management system receives the link information of a service, it stores the link information corresponding to the service in a database, where multiple link information of multiple services can be stored in the database, which is convenient for analyzing each link. Service call performance between services.
  • the preset calculation period may be a preset calculation period of a service invocation performance parameter, and the preset calculation period may be 1 minute, 5 minutes, 10 minutes, 30 minutes, 1 hour, etc. Setting the preset calculation period is to reduce the calculation time and amount of calculation of the service management system, so as to improve the calculation efficiency of the service management system.
  • the link information uploaded by each service is received in real time, and each received link information is stored in the database, and each service in the database is obtained according to the preset calculation period.
  • the link information is used as the target link information, which is conducive to effective management of the link information of each service, and is conducive to the support of the data information obtained when the service management system analyzes the service invocation performance, and makes the analysis result more reliable.
  • the step of calculating the performance parameters of each service in the target service group specifically includes:
  • the dimension of the service call is not limited, and the calculation can be performed according to the service demand, the number of services, and the service calls between services.
  • calculating the ratio of the number of the same calling relationship to the number of the service marks as the performance parameter may be in the calculation of multiple service calls, and the percentage of the number of successful calls to the total number of calls is the service A performance parameter to be called, or the percentage of the number of delayed calls to the total number of calls is determined as a performance parameter.
  • the performance parameter of the service call is 60%.
  • the total number of calls is 100, 60 calls are successful, 30 are delayed, and 10 are failed; then the service call performance parameter is the successful performance parameter 60%; the service call performance parameter is 30% for the delayed performance parameter; the service call performance parameter is 10% for the failed performance parameter.
  • the ratio of the number of the same calling relationship to the number of service marks is calculated as a performance parameter.
  • the unified processing of the call performance profile between calls improves the efficiency of troubleshooting service performance issues.
  • the foregoing step S204 is to analyze the service invocation performance of each service in the target service group according to the performance parameter, and the foregoing electronic device may perform the following steps:
  • the performance parameters corresponding to at least two service calls calculated in the preset calculation period are accumulated, and the average value of the accumulated performance parameters is calculated to obtain the average result of the service, or calculate each preset
  • Each performance parameter is calculated in the cycle to be accumulated, and the average result of the cumulative performance parameter is calculated, that is, the average performance parameter corresponding to the average preset calculation cycle is obtained. For example, obtain the percentage of successes, percentages of failures, percentages of delays, etc. of multiple service calls within one hour, and calculate the average value of one or more performance parameters corresponding to each service call to obtain a total Performance parameters, such as getting a new success percentage, failure percentage, or delay percentage.
  • analyzing the service invocation performance corresponding to each of the service flags may be to compare the performance parameters of each service invocation with a preset performance parameter threshold. If the preset performance parameter threshold is not met, it indicates that the service invocation performance is poor. If the preset performance parameter threshold is met, it indicates that the service invocation performance is good.
  • preset performance parameter thresholds can be set for success, failure, delay, etc., for example, the preset performance parameter threshold for success is set to 80%; the preset performance parameter threshold for delay is set to 50%, etc.
  • the preset performance parameter thresholds can be set according to user needs.
  • the performance parameter threshold of a certain service call is 80%, 60% of the actual performance parameter of that service call does not meet the performance parameter threshold of 80%, so it can be analyzed that the successful service call performance of the service call is poor.
  • the performance parameters are averaged, and the service invocation performance of each service is analyzed according to the parameter results obtained after the average processing, thereby reducing the database occupancy
  • it improves computing efficiency, and can accurately analyze the service invocation performance of each service call, which can be connected to the entire service cluster in a more macroscopic manner, which facilitates the management and statistics of the data information of each service call, and improves the troubleshooting of service calls. effectiveness.
  • the electronic device may perform the following steps:
  • the performance parameters calculated in each preset calculation period are stored in the database.
  • the link information uploaded by each service can be processed at an interval of a preset calculation period, and the performance parameters between each service call can be calculated, and each of the calculated values can be For the same parent-child relationship, the performance parameters of service calls with different service tags are saved.
  • the method of saving can be to save the performance parameters of the service calls calculated in each preset calculation period separately, or the performance parameters calculated each time The performance parameters of the service call are accumulated and saved. By saving the performance parameters, it is convenient to query, manage and count the data information of the service call.
  • the electronic device may perform the following steps:
  • the link information corresponding to the performance parameter is cleared from the database.
  • the link information first stored in the database is analyzed and calculated to obtain the performance parameters of each service call
  • the link information first stored in the database is cleared, so that the calculation results of the performance parameters can be retained. And can reduce the occupation of the database.
  • the aforementioned storage medium may be a non-volatile storage medium such as a magnetic disk, an optical disc, a read-only memory (Read-Only Memory, ROM), or a random access memory (Random Access Memory, RAM), etc.
  • this application provides an embodiment of a performance analysis device.
  • the device embodiment corresponds to the method embodiment shown in FIG. Used in various electronic devices.
  • the performance analysis device described in this embodiment includes: an acquisition module 301, a determination module 302, a calculation module 303, and an analysis module 304. among them:
  • the obtaining module 301 is configured to obtain target link information of multiple services, where the target link information includes status information and service flags;
  • the determining module 302 is configured to classify the multiple services according to the target link information to obtain multiple target service groups, wherein the target service group includes multiple services with the same calling relationship, and The service marks of the multiple services are different from each other;
  • the calculation module 303 is used to calculate the performance parameters of each service in the target service group
  • the analysis module 304 is configured to analyze the service invocation performance of each service in the target service group according to the performance parameter.
  • the determining module 302 further includes:
  • a grouping sub-module configured to initially classify the target link information according to the service tag
  • a determining sub-module configured to determine the parent-child relationship between each service in the initial classification according to the state information
  • the obtaining module 301 further includes:
  • the receiving sub-module is used to receive the link information uploaded by each service in real time when the call request is received;
  • the storage sub-module is used to store each of the received link information in the database
  • the first obtaining submodule is configured to obtain the link information of each service in the database according to a preset calculation period, as the target link information.
  • calculation module 303 further includes:
  • a statistics sub-module configured to count the number of the same calling relationship and the number of different service marks of the same calling relationship
  • the calculation sub-module is used to calculate the ratio of the number of the same calling relationship to the number of the service marks as the performance parameter.
  • analysis module 304 further includes:
  • the second obtaining sub-module is configured to obtain the performance parameters corresponding to each service in the preset calculation period
  • the accumulation sub-module is used for averaging the performance parameters
  • the analysis sub-module is used to analyze the service invocation performance of each service according to the parameter results obtained after averaging.
  • the performance analysis device further includes:
  • the saving module is configured to save the performance parameters calculated in each preset calculation period in the database.
  • the performance analysis device further includes:
  • the clearing module is configured to clear the link information corresponding to the performance parameter from the database after obtaining the performance parameter corresponding to the service.
  • FIG. 4 is a block diagram of the basic structure of the computer device in this embodiment.
  • the computer device 4 includes a memory 41, a processor 42, and a network interface 43 that are connected to each other in communication through a system bus. It should be pointed out that the figure only shows the computer device 4 with components 41-43, but it should be understood that it is not required to implement all the shown components, and more or fewer components may be implemented instead. Among them, those skilled in the art can understand that the computer device here is a device that can automatically perform numerical calculation and/or information processing in accordance with pre-set or stored instructions.
  • Its hardware includes, but is not limited to, a microprocessor, a dedicated Integrated Circuit (Application Specific Integrated Circuit, ASIC), Programmable Gate Array (Field-Programmable Gate Array, FPGA), Digital Processor (Digital Signal Processor, DSP), embedded equipment, etc.
  • ASIC Application Specific Integrated Circuit
  • ASIC Application Specific Integrated Circuit
  • FPGA Field-Programmable Gate Array
  • DSP Digital Processor
  • the computer device may be a computing device such as a desktop computer, a notebook, a palmtop computer, and a cloud server.
  • the computer device can interact with the user through a keyboard, a mouse, a remote control, a touch panel, or a voice control device.
  • the memory 41 includes at least one type of readable storage medium, the readable storage medium includes flash memory, hard disk, multimedia card, card type memory (for example, SD or D performance analysis memory, etc.), random access memory (RAM) , Static random access memory (SRAM), read only memory (ROM), electrically erasable programmable read only memory (EEPROM), programmable read only memory (PROM), magnetic memory, magnetic disks, optical disks, etc.
  • the memory 41 may be an internal storage unit of the computer device 4, such as a hard disk or memory of the computer device 4.
  • the memory 41 may also be an external storage device of the computer device 4, for example, a plug-in hard disk equipped on the computer device 4, a smart memory card (Smart Media Card, SMC), and a secure digital (Secure Digital, SD) card, flash card (Flash Card), etc.
  • the memory 41 may also include both the internal storage unit of the computer device 4 and its external storage device.
  • the memory 41 is generally used to store an operating system and various application software installed in the computer device 4, such as computer-readable instructions for a performance analysis method.
  • the memory 41 can also be used to temporarily store various types of data that have been output or will be output.
  • the processor 42 may be a central processing unit (Central Processing Unit, CPU), a controller, a microcontroller, a microprocessor, or other data processing chips in some embodiments.
  • the processor 42 is generally used to control the overall operation of the computer device 4.
  • the processor 42 is configured to run computer-readable instructions or processed data stored in the memory 41, for example, computer-readable instructions for running the performance analysis method.
  • the network interface 43 may include a wireless network interface or a wired network interface, and the network interface 43 is generally used to establish a communication connection between the computer device 4 and other electronic devices.
  • the present application also provides another implementation manner, that is, one or more non-volatile readable storage media are provided, and the non-volatile readable storage medium stores performance analysis readable instructions, and the performance analysis readable The instructions may be executed by at least one processor, so that the at least one processor executes the steps of the performance analysis method described above.
  • the technical solution of this application essentially or the part that contributes to the existing technology can be embodied in the form of a software product, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, The optical disc) includes several instructions to enable a terminal device (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the method described in each embodiment of the present application.
  • a terminal device which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.

Abstract

Provided are a performance analysis method, device, computer apparatus and storage medium, relating to the field of big data, the method comprises: acquiring target link information of a plurality of services (S201), classifying the plurality of services according to the target link information to obtain a plurality of target service groups (S202), and calculating performance parameters of each service in the target service group (S203), analyzing the service calling performance of each service in the target service group according to the performance parameters (S204), so that the service calling is grouped, classified and calculated according to the link information of each service, the calling performance of each service is obtained through performance parameter analysis of the service calling, unified processing of calling performance general situations among micro-service cluster services is realized, and the troubleshooting efficiency of service performance problems is improved.

Description

性能分析方法、装置、计算机设备及存储介质Performance analysis method, device, computer equipment and storage medium
本申请以2019年9月25日提交的申请号为201910908943.7,名称为“性能分析方法、装置、计算机设备及存储介质”的中国发明专利申请为基础,并要求其优先权。This application is based on the Chinese invention patent application with the application number 201910908943.7 filed on September 25, 2019, titled "Performance Analysis Method, Device, Computer Equipment and Storage Medium", and claims its priority.
技术领域Technical field
本申请涉及大数据领域,尤其涉及性能分析方法、装置、计算机设备及存储介质。This application relates to the field of big data, in particular to performance analysis methods, devices, computer equipment and storage media.
背景技术Background technique
为了应对复杂的业务,各个公司的系统架构从单机大型软件演化成为服务架构,这些服务可能是不同团队,不同语言实现的,也可能发布在多台服务器上。因此如果一个服务出现问题,可能导致几十个服务都出现异常。全链路监控系统可以记录请求范围内的信息,例如一次远程方法调用的执行过程和耗时,是排查系统问题和系统性能的重要工具。In order to cope with complex business, the system architecture of each company has evolved from a single-machine large-scale software to a service architecture. These services may be implemented by different teams and languages, or may be published on multiple servers. Therefore, if a service fails, dozens of services may be abnormal. The full-link monitoring system can record information within the scope of the request, such as the execution process and time-consuming of a remote method call. It is an important tool for troubleshooting system problems and system performance.
传统的全链路监控系统性能分析是对单独的每个服务进行统计,即按照每次服务调用的数据进行统计,这样只能对单个服务的性能进行统计,无法展示微服务集群服务之间的性能概况,导致出现问题时排查困难。比如A服务同时和B,C,D,E,F四个服务有互相调用关系,当出现B,C,D服务调用A时,耗时很少,F服务调用A时,耗时很高的情况时,发明人意识到,传统的统计方法只能统计出A服务某些情况下耗时很高,需要进一步去查更详细的链路信息才能定位出问题,十分的耗费人力和时间。The performance analysis of the traditional full-link monitoring system is to perform statistics on each individual service, that is, to perform statistics based on the data of each service call, so that only the performance of a single service can be counted, and the microservice cluster services cannot be displayed. Performance overview, making it difficult to troubleshoot when problems occur. For example, the service A and the four services B, C, D, E, and F have a mutual invocation relationship. When the B, C, and D services call A, it takes very little time, and when the F service calls A, it takes a lot of time. When the situation occurs, the inventor realizes that the traditional statistical method can only count that the A service is time-consuming in some cases, and it is necessary to check more detailed link information to locate the problem, which is very labor-intensive and time-consuming.
发明内容Summary of the invention
本申请实施例的目的在于提出一种性能分析方法,以解决服务性能的问题排查效率低的问题。The purpose of the embodiments of the present application is to propose a performance analysis method to solve the problem of low efficiency in troubleshooting service performance.
为了解决上述技术问题,本申请实施例提供一种性能分析方法,包括如下步骤:In order to solve the above technical problems, an embodiment of the present application provides a performance analysis method, which includes the following steps:
获取多个服务的目标链路信息,其中,所述目标链路信息包括状态信息以及服务标记;Acquiring target link information of multiple services, where the target link information includes status information and service flags;
根据所述目标链路信息对所述多个服务进行分类,以得到多个目标服务组,其中,所述目标服务组中包括具备同一调用关系的多个服务,且所述多个服务的服务标记互不相同;The multiple services are classified according to the target link information to obtain multiple target service groups, wherein the target service group includes multiple services with the same calling relationship, and the services of the multiple services The marks are different from each other;
计算所述目标服务组中各服务的性能参数;Calculating the performance parameters of each service in the target service group;
根据所述性能参数分析所述目标服务组中各服务的服务调用性能。Analyze the service invocation performance of each service in the target service group according to the performance parameter.
为了解决上述技术问题,本申请实施例还提供一种性能分析装置,所述性能分析装置包括:In order to solve the above technical problem, an embodiment of the present application further provides a performance analysis device, the performance analysis device includes:
获取模块,用于获取多个服务的目标链路信息,其中,所述目标链路信息 包括状态信息以及服务标记;An obtaining module, configured to obtain target link information of multiple services, where the target link information includes status information and service flags;
确定模块,用于根据所述目标链路信息对所述多个服务进行分类,以得到多个目标服务组,其中,所述目标服务组中包括具备同一调用关系的多个服务,且所述多个服务的服务标记互不相同;The determining module is configured to classify the multiple services according to the target link information to obtain multiple target service groups, wherein the target service group includes multiple services with the same calling relationship, and the The service marks of multiple services are different from each other;
计算模块,用于计算所述目标服务组中各服务的性能参数;A calculation module for calculating the performance parameters of each service in the target service group;
分析模块,用于根据所述性能参数分析所述目标服务组中各服务的服务调用性能。The analysis module is used to analyze the service invocation performance of each service in the target service group according to the performance parameter.
为了解决上述技术问题,本申请实施例还提供一种计算机设备,包括存储器和处理器,所述存储器中存储有计算机可读指令,所述处理器执行所述计算机可读指令时实现上述性能分析方法的步骤。In order to solve the above technical problems, an embodiment of the present application further provides a computer device, including a memory and a processor, the memory stores computer-readable instructions, and the processor implements the above-mentioned performance analysis when the computer-readable instructions are executed. Method steps.
为了解决上述技术问题,本申请实施例还提供一种计算机可读存储介质,所述非易失性可读存储介质上存储有计算机可读指令,所述计算机可读指令被处理器执行时实现上述的性能分析方法的步骤。In order to solve the above technical problems, embodiments of the present application also provide a computer-readable storage medium, the non-volatile readable storage medium stores computer-readable instructions, and the computer-readable instructions are implemented when executed by a processor. The steps of the performance analysis method described above.
本申请的一个或多个实施例的细节在下面的附图和描述中提出,本申请的其他特征和优点将从说明书、附图以及权利要求变得明显。The details of one or more embodiments of the present application are set forth in the following drawings and description, and other features and advantages of the present application will become apparent from the description, drawings, and claims.
附图说明Description of the drawings
为了更清楚地说明本申请中的方案,下面将对本申请实施例描述中所需要使用的附图作一个简单介绍,显而易见地,下面描述中的附图是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to explain the solution in this application more clearly, the following will briefly introduce the drawings used in the description of the embodiments of the application. Obviously, the drawings in the following description are some embodiments of the application. Ordinary technicians can obtain other drawings based on these drawings without creative work.
图1是本申请可以应用于其中的示例性系统架构图;Figure 1 is an exemplary system architecture diagram to which the present application can be applied;
图2根据本申请的性能分析方法的一个实施例的流程图;Fig. 2 is a flowchart of an embodiment of the performance analysis method according to the present application;
图3是根据本申请的性能分析装置的一个实施例的结构示意图;Fig. 3 is a schematic structural diagram of an embodiment of the performance analysis device according to the present application;
图4是根据本申请的计算机设备的一个实施例的结构示意图。Fig. 4 is a schematic structural diagram of an embodiment of a computer device according to the present application.
具体实施方式detailed description
除非另有定义,本文所使用的所有的技术和科学术语与属于本申请的技术领域的技术人员通常理解的含义相同;本文中在申请的说明书中所使用的术语只是为了描述具体的实施例的目的,不是旨在于限制本申请;本申请的说明书和权利要求书及上述附图说明中的术语“包括”和“具有”以及它们的任何变形,意图在于覆盖不排他的包含。本申请的说明书和权利要求书或上述附图中的术语“第一”、“第二”等是用于区别不同对象,而不是用于描述特定顺序。Unless otherwise defined, all technical and scientific terms used herein have the same meanings as commonly understood by those skilled in the technical field of the application; the terms used in the specification of the application herein are only for describing specific embodiments. The purpose is not to limit the application; the terms "including" and "having" in the specification and claims of the application and the above-mentioned description of the drawings and any variations thereof are intended to cover non-exclusive inclusions. The terms "first", "second", etc. in the specification and claims of the application or the above-mentioned drawings are used to distinguish different objects, rather than to describe a specific sequence.
在本文中提及“实施例”意味着,结合实施例描述的特定特征、结构或特性可以包含在本申请的至少一个实施例中。在说明书中的各个位置出现该短语并不一定均是指相同的实施例,也不是与其它实施例互斥的独立的或备选的实施例。本领域技术人员显式地和隐式地理解的是,本文所描述的实施例可以与其它实施例相结合。Reference to "embodiments" herein means that a specific feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various places in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment mutually exclusive with other embodiments. Those skilled in the art clearly and implicitly understand that the embodiments described herein can be combined with other embodiments.
为了使本技术领域的人员更好地理解本申请方案,下面将结合附图,对本申请实施例中的技术方案进行清楚、完整地描述。In order to enable those skilled in the art to better understand the solutions of the present application, the technical solutions in the embodiments of the present application will be described clearly and completely in conjunction with the accompanying drawings.
如图1所示,系统架构100可以包括终端设备101、102、103,网络104和服务器105。网络104用以在终端设备101、102、103和服务器105之间提供通信链路的介质。网络104可以包括各种连接类型,例如有线、无线通信链路或者光纤电缆等等。As shown in FIG. 1, the system architecture 100 may include terminal devices 101, 102, 103, a network 104, and a server 105. The network 104 is used to provide a medium for communication links between the terminal devices 101, 102, 103 and the server 105. The network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, and so on.
用户可以使用终端设备101、102、103通过网络104与服务器105交互,以接收或发送消息等。终端设备101、102、103上可以安装有各种通讯客户端应用,例如网页浏览器应用、购物类应用、搜索类应用、即时通信工具、邮箱客户端、社交平台软件等。The user can use the terminal devices 101, 102, and 103 to interact with the server 105 through the network 104 to receive or send messages and so on. Various communication client applications, such as web browser applications, shopping applications, search applications, instant messaging tools, email clients, and social platform software, may be installed on the terminal devices 101, 102, and 103.
终端设备101、102、103可以是具有显示屏并且支持网页浏览的各种电子设备,包括但不限于智能手机、平板电脑、电子书阅读器、MP3播放器(Moving Picture E性能分析perts Group Audio Layer III,动态影像专家压缩标准音频层面3)、MP4(Moving Picture E性能分析perts Group Audio Layer IV,动态影像专家压缩标准音频层面4)播放器、膝上型便携计算机和台式计算机等等。The terminal devices 101, 102, 103 may be various electronic devices with display screens and support for web browsing, including but not limited to smart phones, tablets, e-book readers, MP3 players (Moving Picture E performance analysis perts Group Audio Layer III, Motion Picture Expert Compresses Standard Audio Layer 3), MP4 (Moving Picture E Performance Analysis perts Group Audio Layer IV, Motion Picture Expert Compresses Standard Audio Layer 4) Players, laptop portable computers and desktop computers, etc.
服务器105可以是提供各种服务的服务器,例如对终端设备101、102、103上显示的页面提供支持的后台服务器。The server 105 may be a server that provides various services, for example, a background server that provides support for pages displayed on the terminal devices 101, 102, and 103.
需要说明的是,本申请实施例所提供的性能分析方法一般由服务器/终 端设 执行,相应地,性能分析装置一般设置于服务器/终端设备中。 Incidentally, the present application profiling embodiment of the method provided by sever / terminal device performed, accordingly, a general profiling means provided in the server / terminal device.
应该理解,图1中的终端设备、网络和服务器的数目仅仅是示意性的。根据实现需要,可以具有任意数目的终端设备、网络和服务器。It should be understood that the numbers of terminal devices, networks, and servers in FIG. 1 are merely illustrative. According to implementation needs, there can be any number of terminal devices, networks, and servers.
继续参考图2,示出了根据本申请的性能分析的方法的一个实施例的流程图。所述的性能分析方法,包括以下步骤:Continuing to refer to FIG. 2, a flowchart of an embodiment of the performance analysis method according to the present application is shown. The performance analysis method includes the following steps:
S201:获取多个服务的目标链路信息,其中,所述目标链路信息包括状态信息以及服务标记。S201: Acquire target link information of multiple services, where the target link information includes status information and service flags.
其中,服务可以是多个服务,并且各个服务之间可以直接或间接存在调用关系,上述目标链路信息是在每个服务进行服务调用时上传的多条数据信息,并且该数据信息存储在数据库中。Among them, the service can be multiple services, and there can be a direct or indirect call relationship between each service. The above target link information is multiple pieces of data information uploaded when each service makes a service call, and the data information is stored in the database in.
进一步地,上述目标链路信息可以包括但不限于状态信息以及服务标记,其中,状态信息可以称为span信息,状态信息包括但不限于服务名信息、业务名信息、操作名信息、成功状态信息、延时状态信息、父服务名信息中的一种或多种,比如,状态信息1包括:服务名:B、业务名:立虚拟机、操作名:create vm、成功状态:失败、所属实施:SZD02以及父服务名:A。Further, the above-mentioned target link information may include, but is not limited to, status information and service flags, where the status information can be referred to as span information, and the status information includes, but is not limited to, service name information, business name information, operation name information, and success status information , Delay status information, one or more of parent service name information, for example, status information 1 includes: service name: B, business name: virtual machine, operation name: create vm, success status: failure, belonging implementation : SZD02 and parent service name: A.
具体地,服务标记是在各个服务间进行服务调用时生成的,也可以是上一个服务调用传递下来的。服务标记可以命名为trace ID,服务标记也可以是符号、数据、字母等一种或多种组合得到。其中,包含同一个服务标记的不同服务调用,属于同一个完整的服务调用,比如,有4个服务A、B、C、D,且服务A-B-C-D之间依次存在调用关系,也即服务A想调用服务D的服务,但在调用过程中必须得经过服务A调用服务B,服务B调用服务C,服务C调用服务D,服务A才能够调用到服务D的服务,所以,服务A在发起调用时,生成一个服务标记如数字1,服务A将服务标记1与服务A的状态信息生成链路信息上传到服务管理系统,并且服务A将该服务标记1传递到服务B中。当服务B接收到该服 务标记1时,将服务标记1与服务B的状态信息共同生成服务B的链路信息上传到服务管理系统,并且将该服务标记1传递到服务C中。当服务C接收到该服务标记1时,将服务标记1与服务C的状态信息共同生成服务C的链路信息上传到服务管理系统,并且将该服务标记1传递到服务D中。当服务D接收到该服务标记1时,将服务标记1与服务D的状态信息共同生成服务D的链路信息上传到服务管理系统。这样完成A-B-C-D服务之间的服务调用关系,形成一个完整的服务调用,那么服务A、B、C、D上传的链路信息中均包含有相同的服务标识1,所以服务A、B、C、D之间的调用关系属于同一个完整的服务调用。Specifically, the service mark is generated when a service call is made between each service, or it can be passed down from the previous service call. The service mark can be named trace ID, and the service mark can also be obtained by one or more combinations of symbols, data, letters, etc. Among them, different service calls that contain the same service mark belong to the same complete service call. For example, there are four services A, B, C, and D, and there is a call relationship between services ABCD, that is, service A wants to call The service of service D, but in the invocation process, service A must call service B, service B calls service C, service C calls service D, service A can call the service of service D, so when service A initiates the call , Generate a service mark such as number 1, service A uploads the link information of service mark 1 and service A's status information generation link to the service management system, and service A transfers the service mark 1 to service B. When service B receives the service token 1, it will generate the link information of service B together with the status information of service B and upload it to the service management system, and transfer the service token 1 to service C. When the service C receives the service mark 1, the service mark 1 and the status information of the service C are combined to generate the link information of the service C and uploaded to the service management system, and the service mark 1 is transferred to the service D. When the service D receives the service tag 1, the service tag 1 and the status information of the service D are combined to generate the link information of the service D and uploaded to the service management system. This completes the service call relationship between ABCD services and forms a complete service call. Then the link information uploaded by services A, B, C, and D contains the same service identifier 1, so services A, B, C, The call relationship between D belongs to the same complete service call.
S202:根据所述目标链路信息对所述多个服务进行分类,以得到多个目标服务组,其中,所述目标服务组中包括具备同一调用关系的多个服务,且所述多个服务的服务标记互不相同。S202: Classify the multiple services according to the target link information to obtain multiple target service groups, where the target service group includes multiple services with the same calling relationship, and the multiple services The service tags are different from each other.
其中,调用关系可以为私有调用关系、静态调用关系、父子调用关系、同级调用关系等。例如,获取的状态信息为服务A向下一级服务B发送指令信息,即表示服务A是服务B的父服务,服务B是服务A的子服务。Among them, the calling relationship may be a private calling relationship, a static calling relationship, a parent-child calling relationship, a peer calling relationship, etc. For example, the acquired status information is that service A sends instruction information to the next-level service B, which means that service A is the parent service of service B, and service B is the child service of service A.
具体地,当将具有相同服务标记的目标链路信息对应的服务分为同一组别后,根据状态信息中的父服务名来判断各个服务之间进行服务调用的父子关系,以得到多个目标服务组,例如,服务A、B、C、D为具有相同服务标识的一组,在服务A的状态信息中,父服务名为空;在服务B的状态信息中,父服务名为服务A;在服务C的状态信息中,父服务名为服务B;在服务D的状态信息中,父服务名为服务C;由此可知,服务A调用服务B,服务A为父服务,服务B为子服务;服务B调用服务C,服务B为父服务,服务C为子服务;服务C调用服务D,服务C为父服务,服务D为子服务。Specifically, when the services corresponding to the target link information with the same service mark are divided into the same group, the parent-child relationship of the service calls between the services is determined according to the parent service name in the status information, so as to obtain multiple targets Service group, for example, service A, B, C, D are a group with the same service ID, in the status information of service A, the parent service name is empty; in the status information of service B, the parent service name is service A ; In the status information of service C, the parent service is named service B; in the status information of service D, the parent service is named service C; it can be seen that service A calls service B, service A is the parent service, and service B is Child service; Service B calls service C, service B is the parent service, and service C is the child service; service C calls service D, service C is the parent service, and service D is the child service.
S203:计算所述目标服务组中各服务的性能参数。S203: Calculate the performance parameters of each service in the target service group.
其中,性能参数包括多个性能参数元素的性能参数中的一种或多种,所述性能参数元素包括成功、失败、延时中的一种或多种。Wherein, the performance parameter includes one or more of the performance parameters of multiple performance parameter elements, and the performance parameter element includes one or more of success, failure, and delay.
在将具有相同父子关系的服务调用进行分类之后,将分类好的每一类具有相同父子关系的服务调用进行统计计算,即计算目标服务组中该父子关系的数量,也即计算具有相同父子关系,且服务标记不同的服务调用的个数。比如,4种具有相同父子关系的服务调用后,分别对这4种具有相同父子关系的服务调用进行性能参数计算,首先分别计算4个具有相同父子关系服务调用的个数,再判断4个具有相同父子关系服务调用的个数中成功次数占比、失败次数占比、延时次数占比等性能参数的一种或多种。After classifying service calls with the same parent-child relationship, perform statistical calculations for each class of service calls with the same parent-child relationship, that is, calculate the number of the parent-child relationship in the target service group, that is, calculate the same parent-child relationship , And the service marks the number of different service calls. For example, after 4 service calls with the same parent-child relationship are called, the performance parameters of these 4 service calls with the same parent-child relationship are calculated. Firstly, the number of 4 service calls with the same parent-child relationship is calculated, and then 4 services are judged as having the same parent-child relationship. One or more of performance parameters such as the percentage of successes, the percentage of failures, and the percentage of delays among the number of service calls of the same parent-child relationship.
需要说明的是,每个服务的性能参数都是不一样的,每个服务的性能参数不需要保持一致,因为不同的服务被被调用的次数或者调用其他服务的次数都不一样,最后计算得到的服务的性能参数也是不一样的。It should be noted that the performance parameters of each service are different, and the performance parameters of each service do not need to be consistent, because the number of times different services are called or the number of times other services are called is different, and the final calculation is The performance parameters of the services are also different.
在本实施例中,对服务调用的维度不做限定,可根据服务需求、服务数量以及各服务之间的服务调用进行计算,其中,计算包括:将各服务的性能参数与各性能参数对应的预设性能参数阈值进行比较,由于一个服务调用可以有多个性能参数原始元素,所以会为多个性能参数元素设置有对应的预设性能参数 阈值,并且分别计算该服务调用各性能参数元素的实际性能参数。In this embodiment, the dimension of service invocation is not limited. It can be calculated according to the service demand, the number of services, and the service invocation between services. The calculation includes: the performance parameters of each service are corresponding to each performance parameter. The preset performance parameter thresholds are compared. Since a service call can have multiple performance parameter original elements, the corresponding preset performance parameter thresholds will be set for multiple performance parameter elements, and the service call performance parameter elements will be calculated separately. Actual performance parameters.
S204:根据所述性能参数分析所述目标服务组中各服务的服务调用性能。S204: Analyze the service invocation performance of each service in the target service group according to the performance parameter.
其中,在步骤S203中计算得到的各个服务调用的性能参数后,将各个服务调用的性能参数与预设性能参数阈值进行比较,若不满足预设性能参数阈值,则说明该服务是调用性能差。若满足预设性能参数阈值,则说明该服务的调用性能好,从而可以更宏观的连接到整个服务集群中,更好地使服务管理系统管理和统计各个服务调用的服务调用性能。Among them, after the performance parameters of each service call are calculated in step S203, the performance parameters of each service call are compared with the preset performance parameter threshold. If the preset performance parameter threshold is not met, it means that the service has poor call performance. . If the preset performance parameter threshold is met, it indicates that the service invocation performance is good, which can be connected to the entire service cluster in a more macroscopic manner, so that the service management system can better manage and count the service invocation performance of each service invocation.
通过获取多个服务的目标链路信息,根据所述目标链路信息对所述多个服务进行分类,以得到多个目标服务组,以及计算目标服务组中各服务的性能参数,根据性能参数分析目标服务组中各服务的服务调用性能,以实现每个服务的链路信息对服务调用进行分组、分类、计算处理,进而通过服务调用的性能参数分析得到每个服务调用性能,实现了微服务集群服务之间的调用性能概况的统一处理,提高了对服务性能问题的排查效率。By acquiring the target link information of multiple services, classifying the multiple services according to the target link information to obtain multiple target service groups, and calculating the performance parameters of each service in the target service group, according to the performance parameters Analyze the service invocation performance of each service in the target service group to realize the grouping, classification, and calculation of the service invocation by the link information of each service, and then obtain the invocation performance of each service through the analysis of the performance parameters of the service invocation. The unified processing of invocation performance profiles between service cluster services improves the efficiency of troubleshooting service performance problems.
在本实施例的一些可选的实现方式中,步骤S202,即调用关系为父子关系,根据所述目标链路信息对所述多个服务进行分类,以得到多个目标服务组,其中,所述目标服务组中包括具备同一调用关系的多个服务,且所述多个服务的服务标记互不相同,上述电子设备还可以执行以下步骤:In some optional implementations of this embodiment, step S202, that is, the calling relationship is a parent-child relationship, and the multiple services are classified according to the target link information to obtain multiple target service groups. If the target service group includes multiple services with the same calling relationship, and the service tags of the multiple services are different from each other, the above electronic device may also perform the following steps:
根据所述服务标记对所述目标链路信息进行初始分类;Initial classification of the target link information according to the service tag;
按照所述状态信息确定所述初始分类中的每个服务之间的父子关系;Determine the parent-child relationship between each service in the initial classification according to the state information;
将相同所述父子关系的服务归为同一个目标服务组。The services with the same parent-child relationship are grouped into the same target service group.
具体地,在获取到预设计算周期内的各个服务的目标链路信息后,将每个服务的上传的服务标记依次进行比较,将在包含同一个服务标记的服务分为一个组进行分类,比如,服务A、B、C、D上传的链路信息中包含同一个服务标记,则将服务A、B、C、D对应的链路信息分为一组,也即将链路信息对应的服务A、B、C、D分为一个组。Specifically, after obtaining the target link information of each service in the preset calculation period, the uploaded service tags of each service are sequentially compared, and the services containing the same service tag are divided into a group for classification, For example, if the link information uploaded by services A, B, C, and D contains the same service tag, the link information corresponding to services A, B, C, and D is grouped into one group, that is, the service corresponding to the link information A, B, C, and D are divided into a group.
在本实施例中,利用大数据分析工具spark,使用多台机器搭建spark集群,利用spark(一种专为大规模数据处理而设计的快速通用的计算引擎)的api(应用程序编程接口)来进行数据聚合和统计,并且使用open tracing(开放分布式追踪)协议。In this embodiment, the big data analysis tool spark is used, multiple machines are used to build a spark cluster, and the api (application programming interface) of spark (a fast and universal computing engine designed for large-scale data processing) is used to Perform data aggregation and statistics, and use the open tracing (open distributed tracing) protocol.
具体地,当确定具有相同服务标识的服务分类后,将每个分类中具有相同父子关系的服务调用进行归类,即归为同一个目标服务组。也可以是将具有相同父子关系的,不同服务标识对应的服务调用进行归类累加,进而得到多种具有相同父子关系的服务调用。比如服务A-B-C-D是一个具有相同服务标识1的完整的服务调用组,且存在含有相同服务标识1的3组父子关系,分别为A-B父子关系、B-C父子关系、C-D父子关系;而服务F-B-C-D是一个具有相同服务标识2的完整的服务调用组,且存在含有相同服务标识2的3组父子关系,分别为为F-B父子关系、B-C父子关系、C-D父子关系;那么这两个服务调用组中有6组父子关系,将具有相同父子关系的服务调用进行分类,则为,将A-B父子关系分为一类、将具有服务标记1的B-C父子关系和具有服务标记2的B-C父子关系分为一类、将具有服务标记1的C-D父子关系和具有服务标记2的C-D 父子关系分为一类、将F-B父子关系分为一类,这样就得到4种具有相同父子关系的服务调用。Specifically, after the service classifications with the same service identifier are determined, the service calls with the same parent-child relationship in each classification are classified, that is, they are classified into the same target service group. It is also possible to categorize and accumulate service calls corresponding to different service identifiers that have the same parent-child relationship, so as to obtain multiple service calls with the same parent-child relationship. For example, service ABCD is a complete service invocation group with the same service ID 1, and there are 3 sets of parent-child relationships with the same service ID 1, namely AB parent-child relationship, BC parent-child relationship, and CD parent-child relationship; while service FBCD is a parent-child relationship with the same service ID 1. A complete service call group with the same service ID 2, and there are 3 parent-child relationships with the same service ID 2, namely FB parent-child relationship, BC parent-child relationship, and CD parent-child relationship; then there are 6 groups in these two service calling groups Parent-child relationship, classify the service calls with the same parent-child relationship, then divide the AB parent-child relationship into one category, divide the BC parent-child relationship with service mark 1 and the BC parent-child relationship with service mark 2 into one category, The CD parent-child relationship with service tag 1 and the CD parent-child relationship with service tag 2 are divided into one type, and the FB parent-child relationship is divided into one type, so that 4 types of service calls with the same parent-child relationship are obtained.
通过根据服务标记对目标链路信息进行初始分类,按照状态信息确定初始分类中的每个服务之间的父子关系,将相同父子关系的服务归为同一个目标服务组,可以更宏观的连接到整个服务集群中,方便对各个服务调用的数据信息进行管理和统计。Through the initial classification of the target link information according to the service tag, the parent-child relationship between each service in the initial classification is determined according to the state information, and the services with the same parent-child relationship are classified into the same target service group, which can be connected to In the entire service cluster, it is convenient to manage and count the data information called by each service.
本实施例的一些可选的实现方式中,上述步骤S201,即获取服务的链路信息的步骤具体包括:In some optional implementation manners of this embodiment, the above step S201, that is, the step of obtaining the link information of the service specifically includes:
当接收到调用请求时,实时接收每个服务上传的链路信息;When a call request is received, the link information uploaded by each service is received in real time;
将接收到的每个所述链路信息存储在数据库中;Storing each of the received link information in a database;
根据预设计算周期获取所述数据库中所述每个服务的链路信息,以作为所述目标链路信息。Acquire the link information of each service in the database according to a preset calculation period, and use it as the target link information.
其中,当服务管理系统检测到服务的调用请求时,触发接收指令,实时接收服务上传的链路信息。服务管理系统每接收一个服务的链路信息,就将该服务对应的链路信息进行保存在数据库中,其中,所述数据库中可以存储有多个服务的多个链路信息,便于分析每个服务之间的服务调用性能。Among them, when the service management system detects the service call request, it triggers the receiving instruction to receive the link information uploaded by the service in real time. Each time the service management system receives the link information of a service, it stores the link information corresponding to the service in a database, where multiple link information of multiple services can be stored in the database, which is convenient for analyzing each link. Service call performance between services.
其中,预设计算周期可以是预先设置的一个服务调用性能参数的计算周期,预设计算周期可以是1分钟、5分钟、10分钟、30分钟、1小时等。设置预设计算周期是为了减少服务管理系统的计算时间及计算量,便于提高服务管理系统的计算效率。Among them, the preset calculation period may be a preset calculation period of a service invocation performance parameter, and the preset calculation period may be 1 minute, 5 minutes, 10 minutes, 30 minutes, 1 hour, etc. Setting the preset calculation period is to reduce the calculation time and amount of calculation of the service management system, so as to improve the calculation efficiency of the service management system.
具体地,在某一个预设计算周期内,各个服务之间不断的产生服务调用,那么上传到数据库中的链路信息也随着增加。在下一个预设计算周期到来时,获取预设计算周期内存储的各个服务的目标链路信息,便于对各个服务的链路信息进行分析处理。Specifically, in a certain preset calculation period, service calls are continuously generated between various services, and the link information uploaded to the database also increases. When the next preset calculation period arrives, the target link information of each service stored in the preset calculation period is acquired, so that the link information of each service can be analyzed and processed.
在本实施例中,通过当接收到调用请求时,实时接收每个服务上传的链路信息,将接收到的每个链路信息存储在数据库中,根据预设计算周期获取数据库中每个服务的链路信息,以作为目标链路信息,有利于对各个服务的链路信息进行有效管理,利于服务管理系统分析服务调用性能时得到的数据信息的支持,使分析结果更可靠。In this embodiment, when a call request is received, the link information uploaded by each service is received in real time, and each received link information is stored in the database, and each service in the database is obtained according to the preset calculation period. The link information is used as the target link information, which is conducive to effective management of the link information of each service, and is conducive to the support of the data information obtained when the service management system analyzes the service invocation performance, and makes the analysis result more reliable.
本实施例的一些可选的实现方式中,上述步骤S203,通过计算所述目标服务组中各服务的性能参数的步骤具体包括:In some optional implementation manners of this embodiment, the above step S203, the step of calculating the performance parameters of each service in the target service group specifically includes:
统计所述同一调用关系的数量,以及所述同一调用关系的不同所述服务标记个数;Counting the number of the same calling relationship and the number of different service marks of the same calling relationship;
计算所述同一调用关系的数量与所述服务标记个数的占比值,以作为所述性能参数。Calculate the ratio of the number of the same calling relationship to the number of the service marks as the performance parameter.
具体地,在将具有相同父子关系的服务调用进行分类之后,将分类好的每一类具有相同父子关系的服务调用进行统计计算,计算该父子关系的数量,也即计算具有相同父子关系,且服务标记不同的服务调用的个数。例如,4种具有相同父子关系的服务调用后,分别对这4种具有相同父子关系的服务调用进行性能参数计算,首先分别计算4个具有相同父子关系服务调用的个数,再判断4 个具有相同父子关系服务调用的个数中成功次数占比、失败次数占比、延时次数占比等性能参数的一种或多种。在本实施例中,对服务调用的维度不做限定,可根据服务需求、服务数量以及各服务之间的服务调用进行计算。Specifically, after classifying service calls with the same parent-child relationship, perform statistical calculations on each classified service call with the same parent-child relationship, calculate the number of parent-child relationships, that is, calculate the same parent-child relationship, and The service marks the number of different service calls. For example, after 4 service calls with the same parent-child relationship, perform performance parameter calculations on these 4 service calls with the same parent-child relationship. First, calculate the number of 4 service calls with the same parent-child relationship, and then judge that 4 services have the same parent-child relationship. One or more of performance parameters such as the percentage of successes, the percentage of failures, and the percentage of delays among the number of service calls of the same parent-child relationship. In this embodiment, the dimension of the service call is not limited, and the calculation can be performed according to the service demand, the number of services, and the service calls between services.
进一步地,计算所述同一调用关系的数量与所述服务标记个数的占比值,以作为所述性能参数可以是在计算多个服务调用中,成功调用次数占总调用次数的百分比即为服务调用的一种性能参数,或者,将延时调用次数占总调用次数的百分比确定为性能参数。Further, calculating the ratio of the number of the same calling relationship to the number of the service marks as the performance parameter may be in the calculation of multiple service calls, and the percentage of the number of successful calls to the total number of calls is the service A performance parameter to be called, or the percentage of the number of delayed calls to the total number of calls is determined as a performance parameter.
比如,总的服务调用次数为100个,成功的服务调用次数为60个,那么该服务调用的性能参数为60%。或者,比如A-B,A服务调用B服务,总的调用次数为100,有60次调用为成功,有30次为延时,有10次为失败;那么该服务调用性能参数为成功的性能参数为60%;服务调用性能参数为延时的性能参数为30%;服务调用性能参数为失败的性能参数为10%。For example, if the total number of service calls is 100 and the number of successful service calls is 60, then the performance parameter of the service call is 60%. Or, for example, AB, A service calls B service, the total number of calls is 100, 60 calls are successful, 30 are delayed, and 10 are failed; then the service call performance parameter is the successful performance parameter 60%; the service call performance parameter is 30% for the delayed performance parameter; the service call performance parameter is 10% for the failed performance parameter.
在本实施例中,通过统计同一调用关系的数量,以及同一调用关系的不同服务标记个数,计算同一调用关系的数量与服务标记个数的占比值,以作为性能参数,微服务集群服务之间的调用性能概况的统一处理,提高了对服务性能问题的排查效率。In this embodiment, by counting the number of the same calling relationship and the number of different service marks of the same calling relationship, the ratio of the number of the same calling relationship to the number of service marks is calculated as a performance parameter. The unified processing of the call performance profile between calls improves the efficiency of troubleshooting service performance issues.
在一些实施方式中,上述步骤S204,即根据所述性能参数分析所述目标服务组中各服务的服务调用性能,上述电子设备可以执行以下步骤:In some embodiments, the foregoing step S204 is to analyze the service invocation performance of each service in the target service group according to the performance parameter, and the foregoing electronic device may perform the following steps:
获取所述预设计算周期内各服务对应的所述性能参数;Acquiring the performance parameters corresponding to each service in the preset calculation period;
将所述性能参数进行平均处理;Averaging the performance parameters;
根据平均处理后得到的参数结果分析每个所述服务的服务调用性能。Analyze the service invocation performance of each service according to the parameter results obtained after averaging.
具体地,将预设计算周期内计算得到的至少两个服务调用对应的性能参数进行累加,并求其该累加后的性能参数的均值,即得到该服务的均值结果,或者将各个预设计算周期内计算得到每一种性能参数进行累加,并求其累加后的性能参数的平均结果,即得到平均预设计算周期对应的平均性能参数。例如,分别获取一个小时内多个服务调用的成功占比、失败占比、延时占比等,并计算每个服务调用对应的一种或多种的性能参数的均值,进而得到一个总的性能参数,如得到一个新的成功占比、失败占比、或者延时占比。Specifically, the performance parameters corresponding to at least two service calls calculated in the preset calculation period are accumulated, and the average value of the accumulated performance parameters is calculated to obtain the average result of the service, or calculate each preset Each performance parameter is calculated in the cycle to be accumulated, and the average result of the cumulative performance parameter is calculated, that is, the average performance parameter corresponding to the average preset calculation cycle is obtained. For example, obtain the percentage of successes, percentages of failures, percentages of delays, etc. of multiple service calls within one hour, and calculate the average value of one or more performance parameters corresponding to each service call to obtain a total Performance parameters, such as getting a new success percentage, failure percentage, or delay percentage.
进一步地,分析每个所述服务标记对应的服务调用性能可以是将各个服务调用的性能参数与预设性能参数阈值进行比较,若不满足预设性能参数阈值,则说明该服务调用性能差。若满足预设性能参数阈值,则说明该服务调用性能好。Further, analyzing the service invocation performance corresponding to each of the service flags may be to compare the performance parameters of each service invocation with a preset performance parameter threshold. If the preset performance parameter threshold is not met, it indicates that the service invocation performance is poor. If the preset performance parameter threshold is met, it indicates that the service invocation performance is good.
进一步地,可以将成功、失败、延时等设置不同的预设性能参数阈值,比如,成功的预设性能参数阈值设置为80%;延时的预设性能参数阈值设置为50%等,具体的预设性能参数阈值可根据用户需求进行设置。Further, different preset performance parameter thresholds can be set for success, failure, delay, etc., for example, the preset performance parameter threshold for success is set to 80%; the preset performance parameter threshold for delay is set to 50%, etc. The preset performance parameter thresholds can be set according to user needs.
进一步地,若某服务调用的性能参数阈值为80%,那个该服务调用的实际性能参数60%不满足性能参数阈值80%,所以可以分析说明该服务调用的成功服务调用性能差。Further, if the performance parameter threshold of a certain service call is 80%, 60% of the actual performance parameter of that service call does not meet the performance parameter threshold of 80%, so it can be analyzed that the successful service call performance of the service call is poor.
在本实施例中,通过获取预设计算周期内对应的性能参数,将性能参数进行平均处理,根据平均处理后得到的参数结果分析每个服务的服务调用性能, 从而实现了在减少数据库占用的同时提高计算效率,并能够准确的分析出各个服务调用的服务调用性能,既可以更宏观的连接到整个服务集群中,方便对各个服务调用的数据信息进行管理和统计,同时提高服务调用的排查效率。In this embodiment, by acquiring the corresponding performance parameters in the preset calculation period, the performance parameters are averaged, and the service invocation performance of each service is analyzed according to the parameter results obtained after the average processing, thereby reducing the database occupancy At the same time, it improves computing efficiency, and can accurately analyze the service invocation performance of each service call, which can be connected to the entire service cluster in a more macroscopic manner, which facilitates the management and statistics of the data information of each service call, and improves the troubleshooting of service calls. effectiveness.
在一些实施方式中,上述步骤S203之后,即计算所述目标服务组中各服务的性能参数之后,上述电子设备可以执行以下步骤:In some embodiments, after step S203, that is, after calculating the performance parameters of each service in the target service group, the electronic device may perform the following steps:
将每个所述预设计算周期计算得到的所述性能参数保存在所述数据库中。The performance parameters calculated in each preset calculation period are stored in the database.
具体的,将预设计算周期作为计算周期,那么可以间隔一个预设计算周期对每个服务上传的链路信息进行处理,并计算各个服务调用之间的性能参数,并将计算得到的各个具有相同父子关系的,不同服务标记的服务调用的性能参数进行保存,保存的方式可以是将每个预设计算周期计算得到的服务调用的性能参数分别进行保存,也可以是将每次计算得到的服务调用的性能参数进行累加并保存,通过保存性能参数可以方便对服务调用的数据据信息进行查询、管理和统计。Specifically, if the preset calculation period is taken as the calculation period, then the link information uploaded by each service can be processed at an interval of a preset calculation period, and the performance parameters between each service call can be calculated, and each of the calculated values can be For the same parent-child relationship, the performance parameters of service calls with different service tags are saved. The method of saving can be to save the performance parameters of the service calls calculated in each preset calculation period separately, or the performance parameters calculated each time The performance parameters of the service call are accumulated and saved. By saving the performance parameters, it is convenient to query, manage and count the data information of the service call.
在一些实施方式中,上述步骤S203之后,即计算所述目标服务组中各服务的性能参数之后,上述电子设备可以执行以下步骤:In some embodiments, after step S203, that is, after calculating the performance parameters of each service in the target service group, the electronic device may perform the following steps:
在得到所述服务对应的性能参数后,将所述性能参数对应的链路信息从所述数据库中清除。After the performance parameter corresponding to the service is obtained, the link information corresponding to the performance parameter is cleared from the database.
具体地,当最先存储在数据库中的链路信息被分析、计算得到各服务调用的性能参数后,将最先存储在数据库中的链路信息进行清除,这样可以保留性能参数的计算结果,并且能够减少数据库的占用。在下次预设周期来临时,只需要分析上个预设计算周期到本预设计算周期之间存储在数据库中的新的链路信息,并计算各个服务调用的性能参数,并保存计算结果即可。Specifically, after the link information first stored in the database is analyzed and calculated to obtain the performance parameters of each service call, the link information first stored in the database is cleared, so that the calculation results of the performance parameters can be retained. And can reduce the occupation of the database. When the next preset period comes, you only need to analyze the new link information stored in the database between the last preset calculation period and this preset calculation period, calculate the performance parameters of each service call, and save the calculation results. can.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机可读指令来指令相关的硬件来完成,该计算机可读指令可存储于一非易失性可读存储介质中,该可读指令在执行时,可包括如上述各方法的实施例的流程。其中,前述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)等非易失性存储介质,或随机存储记忆体(Random Access Memory,RAM)等。A person of ordinary skill in the art can understand that all or part of the processes in the methods of the foregoing embodiments can be implemented by instructing relevant hardware through computer-readable instructions, which can be stored in a non-volatile readable storage. In the medium, when the readable instruction is executed, it may include the procedures of the above-mentioned method embodiments. Among them, the aforementioned storage medium may be a non-volatile storage medium such as a magnetic disk, an optical disc, a read-only memory (Read-Only Memory, ROM), or a random access memory (Random Access Memory, RAM), etc.
应该理解的是,虽然附图的流程图中的各个步骤按照箭头的指示依次显示,但是这些步骤并不是必然按照箭头指示的顺序依次执行。除非本文中有明确的说明,这些步骤的执行并没有严格的顺序限制,其可以以其他的顺序执行。而且,附图的流程图中的至少一部分步骤可以包括多个子步骤或者多个阶段,这些子步骤或者阶段并不必然是在同一时刻执行完成,而是可以在不同的时刻执行,其执行顺序也不必然是依次进行,而是可以与其他步骤或者其他步骤的子步骤或者阶段的至少一部分轮流或者交替地执行。It should be understood that although the various steps in the flowchart of the drawings are displayed in sequence as indicated by the arrows, these steps are not necessarily executed in sequence in the order indicated by the arrows. Unless explicitly stated in this article, the execution of these steps is not strictly limited in order, and they can be executed in other orders. Moreover, at least part of the steps in the flowchart of the drawings may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily executed at the same time, but can be executed at different times, and the order of execution is also It is not necessarily performed sequentially, but may be performed alternately or alternately with at least a part of other steps or sub-steps or stages of other steps.
进一步参考图3,作为对上述图2所示方法的实现,本申请提供了一种性能分析装置的一个实施例,该装置实施例与图2所示的方法实施例相对应,该装置具体可以应用于各种电子设备中。With further reference to FIG. 3, as an implementation of the method shown in FIG. 2, this application provides an embodiment of a performance analysis device. The device embodiment corresponds to the method embodiment shown in FIG. Used in various electronic devices.
如图3所示,本实施例所述的性能分析装置包括:获取模块301、确定模块302、计算模块303以及分析模块304。其中:As shown in FIG. 3, the performance analysis device described in this embodiment includes: an acquisition module 301, a determination module 302, a calculation module 303, and an analysis module 304. among them:
获取模块301,用于获取多个服务的目标链路信息,其中,所述目标链路信息包括状态信息以及服务标记;The obtaining module 301 is configured to obtain target link information of multiple services, where the target link information includes status information and service flags;
确定模块302,用于根据所述目标链路信息对所述多个服务进行分类,以得到多个目标服务组,其中,所述目标服务组中包括具备同一调用关系的多个服务,且所述多个服务的服务标记互不相同;The determining module 302 is configured to classify the multiple services according to the target link information to obtain multiple target service groups, wherein the target service group includes multiple services with the same calling relationship, and The service marks of the multiple services are different from each other;
计算模块303,用于计算所述目标服务组中各服务的性能参数;The calculation module 303 is used to calculate the performance parameters of each service in the target service group;
分析模块304,用于根据所述性能参数分析所述目标服务组中各服务的服务调用性能。The analysis module 304 is configured to analyze the service invocation performance of each service in the target service group according to the performance parameter.
进一步的,所述确定模块还302包括:Further, the determining module 302 further includes:
分组子模块,用于根据所述服务标记对所述目标链路信息进行初始分类;A grouping sub-module, configured to initially classify the target link information according to the service tag;
确定子模块,用于按照所述状态信息确定所述初始分类中的每个服务之间的父子关系;A determining sub-module, configured to determine the parent-child relationship between each service in the initial classification according to the state information;
同类子模块,用于将相同所述父子关系的服务归为同一个目标服务组。Similar sub-modules are used to group services with the same parent-child relationship into the same target service group.
进一步的,所述获取模块301还包括:Further, the obtaining module 301 further includes:
接收子模块,用于当接收到调用请求时,实时接收每个服务上传的链路信息;The receiving sub-module is used to receive the link information uploaded by each service in real time when the call request is received;
存储子模块,用于将接收到的每个所述链路信息存储在数据库中;The storage sub-module is used to store each of the received link information in the database;
第一获取子模块,用于根据预设计算周期获取所述数据库中所述每个服务的链路信息,以作为所述目标链路信息。The first obtaining submodule is configured to obtain the link information of each service in the database according to a preset calculation period, as the target link information.
进一步的,所述计算模块303还包括:Further, the calculation module 303 further includes:
统计子模块,用于统计所述同一调用关系的数量,以及所述同一调用关系的不同所述服务标记个数;A statistics sub-module, configured to count the number of the same calling relationship and the number of different service marks of the same calling relationship;
计算子模块,用于计算所述同一调用关系的数量与所述服务标记个数的占比值,以作为所述性能参数。The calculation sub-module is used to calculate the ratio of the number of the same calling relationship to the number of the service marks as the performance parameter.
进一步的,所述分析模块304还包括:Further, the analysis module 304 further includes:
第二获取子模块,用于获取所述预设计算周期内各服务对应的所述性能参数;The second obtaining sub-module is configured to obtain the performance parameters corresponding to each service in the preset calculation period;
累加子模块,用于将所述性能参数进行平均处理;The accumulation sub-module is used for averaging the performance parameters;
分析子模块,用于根据平均处理后得到的参数结果分析每个所述服务的服务调用性能。The analysis sub-module is used to analyze the service invocation performance of each service according to the parameter results obtained after averaging.
进一步的,所述性能分析装置还包括:Further, the performance analysis device further includes:
保存模块,用于将每个所述预设计算周期计算得到的所述性能参数保存在所述数据库中。The saving module is configured to save the performance parameters calculated in each preset calculation period in the database.
进一步的,所述性能分析装置还包括:Further, the performance analysis device further includes:
清除模块,用于在得到所述服务对应的性能参数后,将所述性能参数对应的链路信息从所述数据库中清除。The clearing module is configured to clear the link information corresponding to the performance parameter from the database after obtaining the performance parameter corresponding to the service.
关于上述实施例中性能分析装置,其中各个模块执行操作的具体方式已经在有关该方法的实施例中进行了详细描述,此处将不做详细阐述说明。Regarding the performance analysis device in the foregoing embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment of the method, and a detailed description will not be given here.
为解决上述技术问题,本申请实施例还提供计算机设备。具体请参阅图4,图4为本实施例计算机设备基本结构框图。In order to solve the above technical problems, the embodiments of the present application also provide computer equipment. Please refer to FIG. 4 for details. FIG. 4 is a block diagram of the basic structure of the computer device in this embodiment.
所述计算机设备4包括通过系统总线相互通信连接存储器41、处理器42、网络接口43。需要指出的是,图中仅示出了具有组件41-43的计算机设备4,但是应理解的是,并不要求实施所有示出的组件,可以替代的实施更多或者更少的组件。其中,本技术领域技术人员可以理解,这里的计算机设备是一种能够按照事先设定或存储的指令,自动进行数值计算和/或信息处理的设备,其硬件包括但不限于微处理器、专用集成电路(Application Specific Integrated Circuit,ASIC)、可编程门阵列(Field-Programmable Gate Array,FPGA)、数字处理器(Digital Signal Processor,DSP)、嵌入式设备等。The computer device 4 includes a memory 41, a processor 42, and a network interface 43 that are connected to each other in communication through a system bus. It should be pointed out that the figure only shows the computer device 4 with components 41-43, but it should be understood that it is not required to implement all the shown components, and more or fewer components may be implemented instead. Among them, those skilled in the art can understand that the computer device here is a device that can automatically perform numerical calculation and/or information processing in accordance with pre-set or stored instructions. Its hardware includes, but is not limited to, a microprocessor, a dedicated Integrated Circuit (Application Specific Integrated Circuit, ASIC), Programmable Gate Array (Field-Programmable Gate Array, FPGA), Digital Processor (Digital Signal Processor, DSP), embedded equipment, etc.
所述计算机设备可以是桌上型计算机、笔记本、掌上电脑及云端服务器等计算设备。所述计算机设备可以与用户通过键盘、鼠标、遥控器、触摸板或声控设备等方式进行人机交互。The computer device may be a computing device such as a desktop computer, a notebook, a palmtop computer, and a cloud server. The computer device can interact with the user through a keyboard, a mouse, a remote control, a touch panel, or a voice control device.
所述存储器41至少包括一种类型的可读存储介质,所述可读存储介质包括闪存、硬盘、多媒体卡、卡型存储器(例如,SD或D性能分析存储器等)、随机访问存储器(RAM)、静态随机访问存储器(SRAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、可编程只读存储器(PROM)、磁性存储器、磁盘、光盘等。在一些实施例中,所述存储器41可以是所述计算机设备4的内部存储单元,例如该计算机设备4的硬盘或内存。在另一些实施例中,所述存储器41也可以是所述计算机设备4的外部存储设备,例如该计算机设备4上配备的插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字(Secure Digital,SD)卡,闪存卡(Flash Card)等。当然,所述存储器41还可以既包括所述计算机设备4的内部存储单元也包括其外部存储设备。本实施例中,所述存储器41通常用于存储安装于所述计算机设备4的操作系统和各类应用软件,例如性能分析方法的计算机可读指令等。此外,所述存储器41还可以用于暂时地存储已经输出或者将要输出的各类数据。The memory 41 includes at least one type of readable storage medium, the readable storage medium includes flash memory, hard disk, multimedia card, card type memory (for example, SD or D performance analysis memory, etc.), random access memory (RAM) , Static random access memory (SRAM), read only memory (ROM), electrically erasable programmable read only memory (EEPROM), programmable read only memory (PROM), magnetic memory, magnetic disks, optical disks, etc. In some embodiments, the memory 41 may be an internal storage unit of the computer device 4, such as a hard disk or memory of the computer device 4. In other embodiments, the memory 41 may also be an external storage device of the computer device 4, for example, a plug-in hard disk equipped on the computer device 4, a smart memory card (Smart Media Card, SMC), and a secure digital (Secure Digital, SD) card, flash card (Flash Card), etc. Of course, the memory 41 may also include both the internal storage unit of the computer device 4 and its external storage device. In this embodiment, the memory 41 is generally used to store an operating system and various application software installed in the computer device 4, such as computer-readable instructions for a performance analysis method. In addition, the memory 41 can also be used to temporarily store various types of data that have been output or will be output.
所述处理器42在一些实施例中可以是中央处理器(Central Processing Unit,CPU)、控制器、微控制器、微处理器、或其他数据处理芯片。该处理器42通常用于控制所述计算机设备4的总体操作。本实施例中,所述处理器42用于运行所述存储器41中存储的计算机可读指令或者处理数据,例如运行所述性能分析方法的计算机可读指令。The processor 42 may be a central processing unit (Central Processing Unit, CPU), a controller, a microcontroller, a microprocessor, or other data processing chips in some embodiments. The processor 42 is generally used to control the overall operation of the computer device 4. In this embodiment, the processor 42 is configured to run computer-readable instructions or processed data stored in the memory 41, for example, computer-readable instructions for running the performance analysis method.
所述网络接口43可包括无线网络接口或有线网络接口,该网络接口43通常用于在所述计算机设备4与其他电子设备之间建立通信连接。The network interface 43 may include a wireless network interface or a wired network interface, and the network interface 43 is generally used to establish a communication connection between the computer device 4 and other electronic devices.
本申请还提供了另一种实施方式,即提供一个或多个非易失性可读存储介质,所述非易失性可读存储介质存储有性能分析可读指令,所述性能分析可读指令可被至少一个处理器执行,以使所述至少一个处理器执行如上述的性能分析方法的步骤。The present application also provides another implementation manner, that is, one or more non-volatile readable storage media are provided, and the non-volatile readable storage medium stores performance analysis readable instructions, and the performance analysis readable The instructions may be executed by at least one processor, so that the at least one processor executes the steps of the performance analysis method described above.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包 括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本申请各个实施例所述的方法。Through the description of the above implementation manners, those skilled in the art can clearly understand that the above-mentioned embodiment method can be implemented by means of software plus the necessary general hardware platform, of course, it can also be implemented by hardware, but in many cases the former is better.的实施方式。 Based on this understanding, the technical solution of this application essentially or the part that contributes to the existing technology can be embodied in the form of a software product, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, The optical disc) includes several instructions to enable a terminal device (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the method described in each embodiment of the present application.
显然,以上所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例,附图中给出了本申请的较佳实施例,但并不限制本申请的专利范围。本申请可以以许多不同的形式来实现,相反地,提供这些实施例的目的是使对本申请的公开内容的理解更加透彻全面。尽管参照前述实施例对本申请进行了详细的说明,对于本领域的技术人员来而言,其依然可以对前述各具体实施方式所记载的技术方案进行修改,或者对其中部分技术特征进行等效替换。凡是利用本申请说明书及附图内容所做的等效结构,直接或间接运用在其他相关的技术领域,均同理在本申请专利保护范围之内。Obviously, the embodiments described above are only a part of the embodiments of the present application, rather than all of the embodiments. The drawings show preferred embodiments of the present application, but do not limit the patent scope of the present application. This application can be implemented in many different forms. On the contrary, the purpose of providing these examples is to make the understanding of the disclosure of this application more thorough and comprehensive. Although this application has been described in detail with reference to the foregoing embodiments, for those skilled in the art, it is still possible for those skilled in the art to modify the technical solutions described in each of the foregoing specific embodiments, or equivalently replace some of the technical features. . All equivalent structures made using the contents of the description and drawings of this application, directly or indirectly used in other related technical fields, are similarly within the scope of patent protection of this application.

Claims (20)

  1. 一种性能分析方法,其特征在于,所述方法包括:A performance analysis method, characterized in that the method includes:
    获取多个服务的目标链路信息,其中,所述目标链路信息包括状态信息以及服务标记;Acquiring target link information of multiple services, where the target link information includes status information and service flags;
    根据所述目标链路信息对所述多个服务进行分类,以得到多个目标服务组,其中,所述目标服务组中包括具备同一调用关系的多个服务,且所述多个服务的服务标记互不相同;The multiple services are classified according to the target link information to obtain multiple target service groups, wherein the target service group includes multiple services with the same calling relationship, and the services of the multiple services The marks are different from each other;
    计算所述目标服务组中各服务的性能参数;Calculating the performance parameters of each service in the target service group;
    根据所述性能参数分析所述目标服务组中各服务的服务调用性能。Analyze the service invocation performance of each service in the target service group according to the performance parameter.
  2. 根据权利要求1所述的性能分析方法,其特征在于,所述调用关系为父子关系,所述根据所述目标链路信息对所述多个服务进行分类,以得到多个目标服务组包括:The performance analysis method according to claim 1, wherein the calling relationship is a parent-child relationship, and the classifying the multiple services according to the target link information to obtain multiple target service groups comprises:
    根据所述服务标记对所述目标链路信息进行初始分类;Initial classification of the target link information according to the service tag;
    按照所述状态信息确定所述初始分类中的每个服务之间的父子关系;Determine the parent-child relationship between each service in the initial classification according to the state information;
    将相同所述父子关系的服务归为同一个目标服务组。The services with the same parent-child relationship are grouped into the same target service group.
  3. 根据权利要求1所述的性能分析方法,其特征在于,所述获取多个服务的目标链路信息包括:The performance analysis method according to claim 1, wherein said obtaining target link information of multiple services comprises:
    当接收到调用请求时,实时接收每个服务上传的链路信息;When a call request is received, the link information uploaded by each service is received in real time;
    将接收到的每个所述链路信息存储在数据库中;Storing each of the received link information in a database;
    根据预设计算周期获取所述数据库中所述每个服务的链路信息,以作为所述目标链路信息,以作为所述目标链路信息。Acquire the link information of each service in the database according to a preset calculation period, and use it as the target link information, and use it as the target link information.
  4. 根据权利要求3所述的性能分析方法,其特征在于,所述计算所述目标服务组中各服务的性能参数包括:The performance analysis method according to claim 3, wherein said calculating the performance parameters of each service in the target service group comprises:
    统计所述同一调用关系的数量,以及所述同一调用关系的不同所述服务标记个数;Counting the number of the same calling relationship and the number of different service marks of the same calling relationship;
    计算所述同一调用关系的数量与所述服务标记个数的占比值,以作为所述性能参数。Calculate the ratio of the number of the same calling relationship to the number of the service marks as the performance parameter.
  5. 根据权利要求4所述的性能分析方法,其特征在于,所述根据所述性能参数分析所述目标服务组中各服务的服务调用性能包括:The performance analysis method according to claim 4, wherein the analyzing the service invocation performance of each service in the target service group according to the performance parameter comprises:
    获取所述预设计算周期内各服务对应的所述性能参数;Acquiring the performance parameters corresponding to each service in the preset calculation period;
    将所述性能参数进行平均处理;Averaging the performance parameters;
    根据平均处理后得到的参数结果分析每个所述服务的服务调用性能。Analyze the service invocation performance of each service according to the parameter results obtained after averaging.
  6. 根据权利要求1或3所述的性能分析方法,其特征在于,所述计算所述目标服务组中各服务的性能参数之后,所述方法还包括:The performance analysis method according to claim 1 or 3, wherein after the calculation of the performance parameters of each service in the target service group, the method further comprises:
    将每个所述预设计算周期计算得到的所述性能参数保存在所述数据库中。The performance parameters calculated in each preset calculation period are stored in the database.
  7. 根据权利要求1或3所述的性能分析方法,其特征在于,所述计计算所述目标服务组中各服务的性能参数之后,所述方法还包括:The performance analysis method according to claim 1 or 3, wherein after the calculating the performance parameters of each service in the target service group, the method further comprises:
    在得到所述服务对应的性能参数后,将所述性能参数对应的链路信息从所 述数据库中清除。After the performance parameter corresponding to the service is obtained, the link information corresponding to the performance parameter is cleared from the database.
  8. 一种性能分析装置,其特征在于,包括:A performance analysis device, characterized in that it comprises:
    获取模块,用于获取多个服务的目标链路信息,其中,所述目标链路信息包括状态信息以及服务标记;An obtaining module, configured to obtain target link information of multiple services, where the target link information includes status information and service flags;
    确定模块,用于根据所述目标链路信息对所述多个服务进行分类,以得到多个目标服务组,其中,所述目标服务组中包括具备同一调用关系的多个服务,且所述多个服务的服务标记互不相同;The determining module is configured to classify the multiple services according to the target link information to obtain multiple target service groups, wherein the target service group includes multiple services with the same calling relationship, and the The service marks of multiple services are different from each other;
    计算模块,用于计算所述目标服务组中各服务的性能参数;A calculation module for calculating the performance parameters of each service in the target service group;
    分析模块,用于根据所述性能参数分析所述目标服务组中各服务的服务调用性能。The analysis module is used to analyze the service invocation performance of each service in the target service group according to the performance parameter.
  9. 根据权利要求8所述的性能分析装置,其特征在于,所述确定模块还包括:The performance analysis device according to claim 8, wherein the determining module further comprises:
    分组子模块,用于根据所述服务标记对所述目标链路信息进行初始分类;A grouping sub-module, configured to initially classify the target link information according to the service tag;
    确定子模块,用于按照所述状态信息确定所述初始分类中的每个服务之间的父子关系;A determining sub-module, configured to determine the parent-child relationship between each service in the initial classification according to the state information;
    同类子模块,用于将相同所述父子关系的服务归为同一个目标服务组。Similar sub-modules are used to group services with the same parent-child relationship into the same target service group.
  10. 根据权利要求8所述的性能分析装置,其特征在于,所述获取模块还包括:The performance analysis device according to claim 8, wherein the acquisition module further comprises:
    接收子模块,用于当接收到调用请求时,实时接收每个服务上传的链路信息;The receiving sub-module is used to receive the link information uploaded by each service in real time when the call request is received;
    存储子模块,用于将接收到的每个所述链路信息存储在数据库中;The storage sub-module is used to store each of the received link information in the database;
    第一获取子模块,用于根据预设计算周期获取所述数据库中所述每个服务的链路信息,以作为所述目标链路信息。The first obtaining submodule is configured to obtain the link information of each service in the database according to a preset calculation period, as the target link information.
  11. 一种计算机设备,包括存储器和处理器,所述存储器中存储有计算机可读指令,所述处理器执行所述计算机可读指令时实现如下步骤:A computer device includes a memory and a processor, wherein computer readable instructions are stored in the memory, and the processor implements the following steps when the processor executes the computer readable instructions:
    获取多个服务的目标链路信息,其中,所述目标链路信息包括状态信息以及服务标记;Acquiring target link information of multiple services, where the target link information includes status information and service flags;
    根据所述目标链路信息对所述多个服务进行分类,以得到多个目标服务组,其中,所述目标服务组中包括具备同一调用关系的多个服务,且所述多个服务的服务标记互不相同;The multiple services are classified according to the target link information to obtain multiple target service groups, wherein the target service group includes multiple services with the same calling relationship, and the services of the multiple services The marks are different from each other;
    计算所述目标服务组中各服务的性能参数;Calculating the performance parameters of each service in the target service group;
    根据所述性能参数分析所述目标服务组中各服务的服务调用性能。Analyze the service invocation performance of each service in the target service group according to the performance parameter.
  12. 根据权利要求11所述的计算机设备,其特征在于,所述调用关系为父子关系,所述根据所述目标链路信息对所述多个服务进行分类,以得到多个目标服务组包括:The computer device according to claim 11, wherein the calling relationship is a parent-child relationship, and the classifying the multiple services according to the target link information to obtain multiple target service groups comprises:
    根据所述服务标记对所述目标链路信息进行初始分类;Initial classification of the target link information according to the service tag;
    按照所述状态信息确定所述初始分类中的每个服务之间的父子关系;Determine the parent-child relationship between each service in the initial classification according to the state information;
    将相同所述父子关系的服务归为同一个目标服务组。The services with the same parent-child relationship are grouped into the same target service group.
  13. 根据权利要求11所述的计算机设备,其特征在于,所述获取多个服务的目标链路信息包括:The computer device according to claim 11, wherein said obtaining target link information of multiple services comprises:
    当接收到调用请求时,实时接收每个服务上传的链路信息;When a call request is received, the link information uploaded by each service is received in real time;
    将接收到的每个所述链路信息存储在数据库中;Storing each of the received link information in a database;
    根据预设计算周期获取所述数据库中所述每个服务的链路信息,以作为所述目标链路信息,以作为所述目标链路信息。Acquire the link information of each service in the database according to a preset calculation period, and use it as the target link information, and use it as the target link information.
  14. 根据权利要求13所述的计算机设备,其特征在于,所述计算所述目标服务组中各服务的性能参数包括:The computer device according to claim 13, wherein the calculating the performance parameters of each service in the target service group comprises:
    统计所述同一调用关系的数量,以及所述同一调用关系的不同所述服务标记个数;Counting the number of the same calling relationship and the number of different service marks of the same calling relationship;
    计算所述同一调用关系的数量与所述服务标记个数的占比值,以作为所述性能参数。Calculate the ratio of the number of the same calling relationship to the number of the service marks as the performance parameter.
  15. 根据权利要求14所述的计算机设备,其特征在于,所述根据所述性能参数分析所述目标服务组中各服务的服务调用性能包括:The computer device according to claim 14, wherein the analyzing the service invocation performance of each service in the target service group according to the performance parameter comprises:
    获取所述预设计算周期内各服务对应的所述性能参数;Acquiring the performance parameters corresponding to each service in the preset calculation period;
    将所述性能参数进行平均处理;Averaging the performance parameters;
    根据平均处理后得到的参数结果分析每个所述服务的服务调用性能。Analyze the service invocation performance of each service according to the parameter results obtained after averaging.
  16. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质上存储有计算机可读指令,所述计算机可读指令被处理器执行时实现如下步骤:A computer-readable storage medium, characterized in that computer-readable instructions are stored on the computer-readable storage medium, and the following steps are implemented when the computer-readable instructions are executed by a processor:
    获取多个服务的目标链路信息,其中,所述目标链路信息包括状态信息以及服务标记;Acquiring target link information of multiple services, where the target link information includes status information and service flags;
    根据所述目标链路信息对所述多个服务进行分类,以得到多个目标服务组,其中,所述目标服务组中包括具备同一调用关系的多个服务,且所述多个服务的服务标记互不相同;The multiple services are classified according to the target link information to obtain multiple target service groups, wherein the target service group includes multiple services with the same calling relationship, and the services of the multiple services The marks are different from each other;
    计算所述目标服务组中各服务的性能参数;Calculating the performance parameters of each service in the target service group;
    根据所述性能参数分析所述目标服务组中各服务的服务调用性能。Analyze the service invocation performance of each service in the target service group according to the performance parameter.
  17. 根据权利要求16所述的计算机可读存储介质,其特征在于,所述调用关系为父子关系,所述根据所述目标链路信息对所述多个服务进行分类,以得到多个目标服务组包括:The computer-readable storage medium according to claim 16, wherein the calling relationship is a parent-child relationship, and the multiple services are classified according to the target link information to obtain multiple target service groups include:
    根据所述服务标记对所述目标链路信息进行初始分类;Initial classification of the target link information according to the service tag;
    按照所述状态信息确定所述初始分类中的每个服务之间的父子关系;Determine the parent-child relationship between each service in the initial classification according to the state information;
    将相同所述父子关系的服务归为同一个目标服务组。The services with the same parent-child relationship are grouped into the same target service group.
  18. 根据权利要求16所述的计算机可读存储介质,其特征在于,所述获取多个服务的目标链路信息包括:The computer-readable storage medium according to claim 16, wherein the acquiring target link information of multiple services comprises:
    当接收到调用请求时,实时接收每个服务上传的链路信息;When a call request is received, the link information uploaded by each service is received in real time;
    将接收到的每个所述链路信息存储在数据库中;Storing each of the received link information in a database;
    根据预设计算周期获取所述数据库中所述每个服务的链路信息,以作为所述目标链路信息,以作为所述目标链路信息。Acquire the link information of each service in the database according to a preset calculation period, and use it as the target link information, and use it as the target link information.
  19. 根据权利要求18所述的计算机可读存储介质,其特征在于,所述计算所述目标服务组中各服务的性能参数包括:The computer-readable storage medium according to claim 18, wherein the calculating the performance parameters of each service in the target service group comprises:
    统计所述同一调用关系的数量,以及所述同一调用关系的不同所述服务标记个数;Counting the number of the same calling relationship and the number of different service marks of the same calling relationship;
    计算所述同一调用关系的数量与所述服务标记个数的占比值,以作为所述性能参数。Calculate the ratio of the number of the same calling relationship to the number of the service marks as the performance parameter.
  20. 根据权利要求19所述的计算机可读存储介质,其特征在于,所述根据所述性能参数分析所述目标服务组中各服务的服务调用性能包括:The computer-readable storage medium according to claim 19, wherein the analyzing the service invocation performance of each service in the target service group according to the performance parameter comprises:
    获取所述预设计算周期内各服务对应的所述性能参数;Acquiring the performance parameters corresponding to each service in the preset calculation period;
    将所述性能参数进行平均处理;Averaging the performance parameters;
    根据平均处理后得到的参数结果分析每个所述服务的服务调用性能。Analyze the service invocation performance of each service according to the parameter results obtained after averaging.
PCT/CN2019/117741 2019-09-25 2019-11-13 Performance analysis method, device, computer apparatus and storage medium WO2021056739A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910908943.7A CN110807050B (en) 2019-09-25 2019-09-25 Performance analysis method, device, computer equipment and storage medium
CN201910908943.7 2019-09-25

Publications (1)

Publication Number Publication Date
WO2021056739A1 true WO2021056739A1 (en) 2021-04-01

Family

ID=69487667

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/117741 WO2021056739A1 (en) 2019-09-25 2019-11-13 Performance analysis method, device, computer apparatus and storage medium

Country Status (2)

Country Link
CN (1) CN110807050B (en)
WO (1) WO2021056739A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116737514A (en) * 2023-08-15 2023-09-12 南京国睿信维软件有限公司 Automatic operation and maintenance method based on log and probe analysis
CN117056102A (en) * 2023-08-17 2023-11-14 北京远舢智能科技有限公司 Data calling method, system, computer equipment and readable storage medium

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114650252B (en) * 2022-03-25 2023-11-21 华润数字科技(深圳)有限公司 Routing method and device based on enterprise service bus and computer equipment

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020116494A1 (en) * 2001-02-05 2002-08-22 Bryan Kocol Web page link-tracking system
CN106375458A (en) * 2016-09-08 2017-02-01 上海银天下科技有限公司 Service call system, method and device
CN106790718A (en) * 2017-03-16 2017-05-31 北京搜狐新媒体信息技术有限公司 Service call link analysis method and system
CN107181675A (en) * 2017-06-20 2017-09-19 北京奇艺世纪科技有限公司 Service calling method and device
CN108632111A (en) * 2018-04-02 2018-10-09 广东能龙教育股份有限公司 Service link monitoring method based on log
CN109726016A (en) * 2017-10-30 2019-05-07 阿里巴巴集团控股有限公司 A kind of link tracing methods, devices and systems for distributed system
CN110007957A (en) * 2018-12-17 2019-07-12 阿里巴巴集团控股有限公司 Call link construction method, device and equipment

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100831630B1 (en) * 2006-10-24 2008-05-22 주식회사 엘지텔레콤 Method of coupon service and coupon service system using the same
CN108173894A (en) * 2016-12-07 2018-06-15 阿里巴巴集团控股有限公司 The method, apparatus and server apparatus of server load balancing
CN107622084A (en) * 2017-08-10 2018-01-23 深圳前海微众银行股份有限公司 Blog management method, system and computer-readable recording medium
CN110113200A (en) * 2019-04-29 2019-08-09 平安科技(深圳)有限公司 The correlating method of chain-circuit system and log system, device and storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020116494A1 (en) * 2001-02-05 2002-08-22 Bryan Kocol Web page link-tracking system
CN106375458A (en) * 2016-09-08 2017-02-01 上海银天下科技有限公司 Service call system, method and device
CN106790718A (en) * 2017-03-16 2017-05-31 北京搜狐新媒体信息技术有限公司 Service call link analysis method and system
CN107181675A (en) * 2017-06-20 2017-09-19 北京奇艺世纪科技有限公司 Service calling method and device
CN109726016A (en) * 2017-10-30 2019-05-07 阿里巴巴集团控股有限公司 A kind of link tracing methods, devices and systems for distributed system
CN108632111A (en) * 2018-04-02 2018-10-09 广东能龙教育股份有限公司 Service link monitoring method based on log
CN110007957A (en) * 2018-12-17 2019-07-12 阿里巴巴集团控股有限公司 Call link construction method, device and equipment

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116737514A (en) * 2023-08-15 2023-09-12 南京国睿信维软件有限公司 Automatic operation and maintenance method based on log and probe analysis
CN116737514B (en) * 2023-08-15 2023-12-22 南京国睿信维软件有限公司 Automatic operation and maintenance method based on log and probe analysis
CN117056102A (en) * 2023-08-17 2023-11-14 北京远舢智能科技有限公司 Data calling method, system, computer equipment and readable storage medium
CN117056102B (en) * 2023-08-17 2024-04-09 北京远舢智能科技有限公司 Data calling method, system, computer equipment and readable storage medium

Also Published As

Publication number Publication date
CN110807050A (en) 2020-02-18
CN110807050B (en) 2023-05-30

Similar Documents

Publication Publication Date Title
US11727039B2 (en) Low-latency streaming analytics
CN108322345B (en) Method for issuing fault repair data packet and server
US11347577B1 (en) Monitoring features of components of a distributed computing system
WO2021056739A1 (en) Performance analysis method, device, computer apparatus and storage medium
US11516097B2 (en) Highly scalable distributed connection interface for data capture from multiple network service sources
US20150170070A1 (en) Method, apparatus, and system for monitoring website
CN102457578B (en) A kind of distributed network monitoring method based on case mechanism
CN111813573A (en) Communication method of management platform and robot software and related equipment thereof
CN115277566B (en) Load balancing method and device for data access, computer equipment and medium
WO2021169275A1 (en) Sdn network device access method and apparatus, computer device, and storage medium
KR20220118560A (en) Resource management and control method and apparatus, device and storage medium
CN113127307A (en) Method for processing tracing request, related device, system and storage medium
CN112463422A (en) Internet of things fault operation and maintenance method and device, computer equipment and storage medium
CN111800292A (en) Early warning method and device based on historical flow, computer equipment and storage medium
CN107086937A (en) A kind of monitoring method and equipment
US11283697B1 (en) Scalable real time metrics management
CN112181678A (en) Service data processing method, device and system, storage medium and electronic device
CN111431733A (en) Service alarm coverage information evaluation method and device
CN113297436B (en) User policy distribution method and device based on relational graph network and electronic equipment
WO2022048201A1 (en) Data processing method and apparatus, and electronic device and storage medium
CN110020166A (en) A kind of data analysing method and relevant device
US10866876B2 (en) Dynamically configurable operation information collection
EP3073675B1 (en) Performance data management method and device
CN114205641A (en) Video data processing method and device
CN109547290B (en) Cloud platform garbage data detection processing method, device, equipment and storage medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19947388

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19947388

Country of ref document: EP

Kind code of ref document: A1