Full-link service request performance index tracking method, system, equipment and medium
By generating a unique identification based on timestamps and using redundant probes to track performance indicators, the problem that performance indicator monitoring in each end in the existing technology is solved, and the correlation and comparison of performance indicators for full-link services is realized to help quickly locate and solve performance problems.
Patent Information
- Application Number
- CN202510179681.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-18
- Publication Date
- 2025-05-13
AI Technical Summary
In the prior art, the performance indicator monitoring of the same service request by the application end, the network end and the server end cannot be naturally correlated, and the performance indicators of each end cannot be directly compared, which makes it difficult to quickly and intuitively locate the performance problems of the service request.
By obtaining the request data initiated by the starting node in real time, generating a unique identifier based on the timestamp, and tracking the unique identifier through redundant probes, obtaining the performance indicators of each node, and transmitting the data to the monitoring platform to build a topology diagram for display.
It realizes the correlation and comparison of performance indicators for full-link service requests, and can quickly and intuitively locate performance problems, helping the operation and maintenance department to quickly identify responsibilities and solve performance problems.
Smart Images

Figure CN119996248A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of business tracking, and in particular to a method, system, device and medium for tracking performance indicators of full-link business requests. Background Art
[0002] At present, IT operations and maintenance are divided into different departments. The application department only monitors mobile applications or web applications. The network department only monitors network health, network bandwidth utilization, and network packet loss. The service department only maintains and monitors the health of application servers, such as monitoring between web servers, middleware, and database servers.
[0003] In the existing technology, the application side adopts embedded coding technology, which collects mobile user behavior and experience data by embedding SDK (software development kit) in the APP, the network side adopts bypass technology to listen to communication data packets, and the server side adopts redundant probe technology to monitor business request performance indicators. Due to the different technologies adopted, the performance indicator monitoring of the same business request by the application side, network side, and server side cannot be naturally correlated, and the performance indicator monitoring data of the application side, network side, and server side cannot be directly compared to determine the problem.
[0004] As a result, the tracking of business request performance indicators can only be monitored and tracked independently from the application, network, and service ends. When a business performance problem occurs, it is impossible to quickly and intuitively determine which end of the application, network, or service the problem occurs on, and it is impossible to help the application, network, and service operation and maintenance departments quickly identify and solve performance problems. Summary of the invention
[0005] Based on the above purpose, an embodiment of the present invention provides a method, system, device and medium for tracking performance indicators of full-link service requests, which specifically include the following steps: Obtain the request data initiated by the starting node in real time, generate an identifier based on the timestamp and encrypt it to obtain a unique identifier; Inject the unique identifier into the request data. As the request data is transmitted to each node, the unique identifier is tracked by redundant probes to obtain the performance indicators of each node, and the performance data is transmitted to the monitoring platform. Respond to the request data in the server node, generate response data, and inject the corresponding unique identifier into the response data through redundant probe parsing, feed back the response data containing the corresponding unique identifier to the starting node, and transmit the corresponding performance data of each node in the feedback process to the monitoring platform; The monitoring platform constructs a topology for display based on the unique identifier and the corresponding performance data.
[0006] In some embodiments, the step of generating an identifier based on a timestamp and performing encryption encoding to obtain a unique identifier includes: Obtain a timestamp from a system clock, and concatenate the timestamp with preset request information to obtain an identifier; Embed the encrypted version number information in the identifier as the first encrypted data; The first encrypted data is encoded by an encoder to obtain a unique identifier.
[0007] In some embodiments, in response to the same request data sent by different nodes, an upgrade is performed based on the encrypted version number information as the unique identifier.
[0008] In some embodiments, the step of obtaining the performance index of each node by tracking the unique identifier through redundant probes and transmitting the performance data to the monitoring platform includes: Deploy redundant probes on critical paths; Heartbeat packets are sent regularly to detect the status of redundant probes. When an abnormality is found, the abnormal redundant probe is deactivated and the redundant probe is replaced. Track node performance indicators that uniquely identify the flow through each node through redundant probes; The node performance indicators are labeled in layers from the perspectives of the front end, network, and server, and the labeled node performance indicators are transmitted to the monitoring platform.
[0009] In some embodiments, the monitoring platform constructs a topology for displaying corresponding performance data according to the unique identifier, including: Based on the unique identifier, the monitoring platform identifies all nodes that need to be built in the topology map; Generate a node relationship including a physical connection relationship and a logical connection relationship of the nodes according to the port connection mode between the nodes and the routing table; Generate a hierarchical topology diagram based on nodes and node relationships, enter the performance data into corresponding nodes in the topology diagram, and perform time correlation analysis; Visualize the topology map and correlation analysis results.
[0010] In some embodiments, the step of performing time correlation analysis includes: Align the time of the unique identifier and the corresponding performance data; Perform time series analysis on performance data within a preset time window to obtain the time trend and periodic changes of performance data; Calculate the correlation between the unique identifier and the performance data through covariance; The time variation trend, periodic variation and correlation of the performance data are input into a preset neural network model for prediction to obtain future business trends.
[0011] In some embodiments, the nodes include network devices, application servers, virtual machines, wide area networks, and application terminals.
[0012] The present invention proposes a full-link service request performance indicator tracking system, including: A generating unit is configured to obtain the request data initiated by the starting node in real time, generate an identifier based on the timestamp and perform encryption encoding to obtain a unique identifier; A transmission unit, configured to inject a unique identifier into the request data, and as the request data is transmitted to each node, track the unique identifier through redundant probes to obtain a performance indicator of each node, and transmit the performance data to a monitoring platform; A feedback unit is configured to respond to the request data in the server node, generate response data, and inject the corresponding unique identifier into the response data through redundant probe parsing, feed back the response data containing the corresponding unique identifier to the starting node, and transmit the corresponding performance data of each node in the feedback process to the monitoring platform; The display unit is configured to be used for the monitoring platform to construct a topology for display according to the performance data corresponding to the unique identifier.
[0013] The present invention provides a computer device, comprising: At least one processor; and a memory, wherein the memory stores a computer program that can be run on the processor, and when the processor executes the program, the steps of the full-link business request performance indicator tracking method are performed.
[0014] The present invention proposes a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, the steps of the full-link business request performance indicator tracking method are executed.
[0015] The present invention has at least the following beneficial technical effects: The present invention proposes a method, system, device and medium for tracking the performance indicators of full-link business requests. The method includes: acquiring the request data initiated by the starting node in real time, generating an identifier based on a timestamp and encrypting it to obtain a unique identifier; injecting the unique identifier into the request data, and as the request data is transmitted to each node, tracking the unique identifier through redundant probes to obtain the performance indicators of each node, and transmitting the performance data to a monitoring platform; responding to the request data in the server node to generate response data, and parsing the corresponding unique identifier through redundant probes to inject it into the response data, feeding back the response data containing the corresponding unique identifier to the starting node, and transmitting the corresponding performance data of each node in the feedback process to the monitoring platform; the monitoring platform constructs a topology for the corresponding performance data according to the unique identifier for display.
[0016] The present invention tracks the performance indicators of full-link business requests in the operation and maintenance industry, associates the business requests monitored by applications, networks, and services at each end, and generates a unique identifier by combining timestamps with random numbers to further ensure the uniqueness of the identifier. The indicators of each node can be labeled and analyzed for differences. The continuity and integrity of the data are ensured by redundant probes. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present invention. For ordinary technicians in this field, other embodiments can be obtained based on these drawings without paying creative work.
[0018] Figure 1 A flow chart of the full-link service request performance indicator tracking method provided by the present invention; Figure 2 A module diagram of the full-link service request performance indicator tracking system provided by the present invention; Figure 3 An architectural diagram of an embodiment of a full-link service request performance indicator tracking system provided by the present invention; Figure 4 An identification flow diagram of an embodiment of the full-link service request performance indicator tracking method provided by the present invention; Figure 5 A coding definition diagram of an embodiment of the full-link service request performance indicator tracking method provided by the present invention; Figure 6 A full-link display diagram of an embodiment of the full-link service request performance indicator tracking method provided by the present invention; Figure 7 A flowchart of an embodiment of a method for tracking performance indicators of full-link service requests provided by the present invention; Figure 8 A unique identification schematic diagram of an embodiment of the full-link service request performance indicator tracking method provided by the present invention; Fig. 9 Schematic diagram of tracking performance indicators using a unique identifier of an embodiment of the full-link service request performance indicator tracking method provided by the present invention Figure 1 ; Fig.10 Schematic diagram of tracking performance indicators using a unique identifier of an embodiment of the full-link service request performance indicator tracking method provided by the present invention Figure 2 ; Fig.11A schematic diagram of the structure of an embodiment of a computer device provided by the present invention; Fig.12 A schematic diagram of the structure of an embodiment of a computer-readable storage medium provided by the present invention. DETAILED DESCRIPTION
[0019] In order to make the objectives, technical solutions and advantages of the present invention more clearly understood, the embodiments of the present invention are further described in detail below in combination with specific embodiments and with reference to the accompanying drawings.
[0020] It should be noted that all expressions using "first" and "second" in the embodiments of the present invention are for distinguishing two non-identical entities with the same name or non-identical parameters. It can be seen that "first" and "second" are only for the convenience of expression and should not be understood as limitations on the embodiments of the present invention. The subsequent embodiments will not explain this one by one.
[0021] The present invention proposes a full-link service request performance indicator tracking method, please refer to Figure 1 , Figure 3 and Figure 7 ,include, S1: Obtain the request data initiated by the starting node in real time, generate an identifier based on the timestamp and encrypt it to obtain a unique identifier; S2: Inject the unique identifier into the request data. As the request data is transmitted to each node, the unique identifier is tracked by redundant probes to obtain the performance index of each node, and the performance data is transmitted to the monitoring platform. S3: Respond to the request data in the server node, generate response data, and inject the corresponding unique identifier into the response data through redundant probe parsing, feed back the response data containing the corresponding unique identifier to the starting node, and transmit the corresponding performance data of each node in the feedback process to the monitoring platform; S4: The monitoring platform constructs a topology for display based on the unique identifier for the corresponding performance data.
[0022] The present invention tracks the performance indicators of full-link business requests in the operation and maintenance industry, associates the business requests monitored by applications, networks, and services at each end, and generates a unique identifier by combining timestamps with random numbers to further ensure the uniqueness of the identifier. The indicators of each node can be labeled and analyzed for differences. The continuity and integrity of the data are ensured by redundant probes.
[0023] Redundant probes are set for the probes to form redundant probes. When a probe fails, it can automatically detect and trigger the redundant probe to fill in the position to ensure the continuity and integrity of the data and improve the reliability and stability of the system. By comparing the performance indicator data of different links, potential bottlenecks and problem points can be discovered, and corresponding optimization measures can be taken to improve overall performance. Customize and filter performance indicators according to business needs to provide more accurate and useful information. Provide a real-time monitoring interface to display key performance indicators and abnormal information. Set multi-level alarm thresholds to trigger different levels of alarms according to severity.
[0024] In some embodiments, see Figure 1 and Figure 8 The steps of generating an identifier based on a timestamp and performing encryption encoding to obtain a unique identifier include: Obtain a timestamp from a system clock, and concatenate the timestamp with preset request information to obtain an identifier; Embed the encrypted version number information in the identifier as the first encrypted data; The first encrypted data is encoded by an encoder to obtain a unique identifier.
[0025] The request information includes the appid and serial number of the probe; the version number information is version: business id.
[0026] The probe's appid identifies the starting node of the business request and can track the initiator of the order or the person affected by the exception.
[0027] The timestamp is the time when the business request was initiated. By rounding the timestamp to the minute level, the business situation per minute can be counted based on the unique identifier. It can also be rounded to the hour level or the day level to count the business situation in a larger time range. Version: Business ID, used to carry business-related information in the unique identifier, so as to facilitate statistics or anomaly detection based on business-related information for the starting node (a mobile phone or server application) at the minute / hour / day level. In order to avoid leakage of key business information, business-related information needs to be symmetrically encrypted. The encryption algorithm is differentiated by version number to facilitate compatibility after the encryption algorithm is upgraded. Symmetric encryption is used for processing to obtain the encrypted version number information.
[0028] The probe's appid, serial number, encrypted version number information and timestamp are concatenated together to obtain the first encrypted data. In order to avoid the specific characters used not being compatible with the http protocol and being parsed incorrectly by the program, the first encrypted data is encoded and encrypted using base64.
[0029] The final unique identifier is composed of the probe's appid + timestamp + version: business id + serial number, such as Figure 8 Record shown: mobile_mall^1736153679^v1:order-241225^100. The fluctuation anomaly of the unique identifier is identified through the statistical characteristics of the unique identifier. The starting node is used as the feature to mark the initiator of the request, and is divided into the statistical dimensions of statistical data and abnormal impact statistics. It can also be used as the initiator of fault tracking. The timestamp can be used to collect statistical data at the minute / hour / day level. Adding the business information dimension on the basis of the above two dimensions can enable more refined statistics, such as business area, business-related product models, order numbers, etc. The serial number can be selected as the rounding of the timestamp dimension (minute / hour / day level) to facilitate statistical counting. The same unique identifier is assigned to each monitored device or component under the same business request to ensure that each node can be accurately identified when building the topology.
[0030] In some embodiments, see Figure 1 In response to the same request data sent by different nodes, the upgrade is performed based on the encrypted version number information as a unique identifier.
[0031] In order to support multi-version compatibility or future upgrade requirements, a unique identification version management mechanism is designed. Version number information is embedded in the unique identification so that the system can identify and process identifications of different versions. A clear upgrade strategy is formulated, such as gradual migration and phased implementation, to ensure a smooth transition of the upgrade process.
[0032] In some embodiments, see Figure 1 , Figure 3 , Figure 4 , Figure 5 and Figure 6 The steps of obtaining the performance index of each node by tracking the unique identifier through redundant probes and transmitting the performance data to the monitoring platform include: Deploy redundant probes on critical paths; Heartbeat packets are sent regularly to detect the status of redundant probes. When an abnormality is found, the abnormal redundant probe is deactivated and the redundant probe is replaced. Track node performance indicators that uniquely identify the flow through each node through redundant probes; The node performance indicators are labeled in layers from the perspectives of the front end, network, and server, and the labeled node performance indicators are transmitted to the monitoring platform.
[0033] Heartbeat packets are sent regularly to detect the status of the probes, and the replacement mechanism is automatically triggered when an abnormality is found. Multiple probes are deployed on the critical path to ensure that the others can continue to work when one fails. Data is collected asynchronously to reduce interference with business logic. The collected data is intelligently compressed to reduce transmission overhead.
[0034] Performance indicators are marked according to the front-end, network, service, database and other levels.
[0035] Front-end: Page load time: Measures the time it takes from when a user requests a page until the page is fully rendered.
[0036] Response time: The time from when a user performs an action, such as clicking a button, to when the system responds, such as when a page is updated.
[0037] Rendering performance: The efficiency with which the browser renders page content, including JavaScript execution time, CSS reflow and repaint, etc.
[0038] Interaction smoothness: The smoothness of the user's interaction with the front-end interface, such as whether scrolling, dragging and other operations are stuck.
[0039] Resource loading efficiency: loading speed and caching strategy of static resources such as images, videos, fonts, etc.
[0040] Network: Latency: The time it takes for a data packet to travel from the sender to the receiver.
[0041] Bandwidth: The rate at which a network link transmits data.
[0042] Packet loss rate: The proportion of data packets lost during transmission.
[0043] Jitter: The fluctuation of delay affects the stability of real-time communication applications.
[0044] HTTP / HTTPS request performance: including DNS resolution time, TCP connection establishment time, SSL handshake time, etc.
[0045] Server: Response time: The time it takes for the server to process a request and return a result.
[0046] Throughput: The number of requests processed by the server per unit time.
[0047] Resource utilization: usage of server resources such as CPU, memory, and disk I / O.
[0048] Database performance: query response time, transaction processing speed, number of concurrent connections, etc.
[0049] Cache hit rate: The utilization rate of server cache data, which affects the response speed of repeated requests.
[0050] Supports users to customize performance indicators to meet personalized needs, compare performance indicators in different time periods and different business scenarios, and discover performance bottlenecks and optimization points.
[0051] Redundant probes use bypass technology to capture network data packets flowing through network devices such as firewalls, routers, and core switches.
[0052] The redundant probes capture the request data packets of the business request, including the request header, and the return data packets, including the return header, and then obtain the complete business request data and performance indicator data through package assembly. The complete network-side business request data, including the unique identifier in the request header and return header, and the performance indicator data are then sent to the monitoring platform.
[0053] Redundant probes are flexible and convenient to use when monitoring data. They will not affect the existing network structure, will not cause delays to the original transmitted data packets, and will not have any impact on the network speed. Once a failure or stop running, it will not affect the existing network, thus improving work efficiency.
[0054] The redundant probe assembles the request data packet of the business request, including the request header, and the return data packet, including the return header, to obtain complete business request data and performance indicator data, and then sends the complete server-side business request data, including the unique identifier in the request header and return header, and the performance indicator data, to the monitoring platform.
[0055] The server side uses redundant probe technology to detect the server's operating status, view business information in real time, and continuously monitor related performance indicators. Once an abnormal situation occurs, the cause can be easily and quickly identified to ensure smooth business operations.
[0056] In some embodiments, see Figure 1 , Fig. 9 and Fig.10 The monitoring platform constructs a topology for displaying the corresponding performance data according to the unique identifier, including: Based on the unique identifier, the monitoring platform identifies all nodes that need to be built in the topology map; Generate a node relationship including a physical connection relationship and a logical connection relationship of the nodes according to the port connection mode between the nodes and the routing table; Generate a hierarchical topology diagram based on nodes and node relationships, enter the performance data into corresponding nodes in the topology diagram, and perform time correlation analysis; Visualize the topology map and correlation analysis results.
[0057] Based on the unique identifier, the monitoring platform identifies all nodes that need to be built in the topology diagram. These nodes include routers, switches, servers, virtual machines, etc. By analyzing the connection information between devices, such as port connections, IP routing tables, etc., the connection relationship between nodes is determined. This includes physical connections, such as optical fibers and network cables, and logical connections, such as IP routing and VLAN.
[0058] Use graphical tools or algorithms to automatically generate a topology map based on the relationships between nodes. The topology map can be laid out in a variety of ways, such as hierarchical layout, force-directed layout, etc., to clearly show the relationships between nodes.
[0059] The pre-processed performance data is annotated to the corresponding nodes in the topology diagram. The annotation includes real-time performance data, such as CPU usage, memory usage, and historical performance data, such as performance trends and peak values.
[0060] The monitoring platform finally displays the full-link tracking of a business request in the form of a call topology through the call relationship between business request data, and marks the performance indicator data of each node in the topology, such as Fig. 9 and Fig.10 As shown, the marked nodes are as follows: Trace: the unique identifier of the request link distributed tracing, which is composed of the probe's appid + timestamp + version: business id (such as order) + sequence number, such as: mobile_mal^1736153679^v1:order-241225^100; Span: the ID of the current request, such as: 3317689248; PSpan: ID of the previous request, such as -6691620736; NSpan: The ID of the next request, such as: 8956637536.
[0061] In a scenario where the client does not support the injection of a unique ID, the present invention allows the unique ID to be injected into the return header, thereby achieving reverse association between the server node and the client node.
[0062] When receiving a request from a client node, the server node generates a unique identifier, adds the unique identifier to the response header as a custom header field, and sends it to the client node. During the sending process, the network node obtains the unique identifier from the return header to associate the data.
[0063] After receiving the response, the client node obtains a unique identifier in the return header and carries this unique identifier when transmitting performance indicator data, thus completing full-link tracking.
[0064] Among them, the role of the unique identifier is to connect a complete business request link in series, allowing client nodes to generate it and server nodes to generate it, that is, returning the return header to the client node. The server, network node and client node send the unique identifier along with the performance indicator data to the server of the monitoring platform, thereby realizing distributed tracking that associates the monitoring data of each end.
[0065] Timely warnings are provided to detect faults during business operations, and detailed data is provided after business operations to track and locate problems. Uninterrupted real-time monitoring of the system ensures service reliability and security. Even if a fault occurs, fault alarms can be received and resolved immediately, thus ensuring the continuous and stable operation of the business.
[0066] In some embodiments, see Figure 1 , the step of performing time correlation analysis comprises: Align the time of the unique identifier and the corresponding performance data; Perform time series analysis on performance data within a preset time window to obtain the time trend and periodic changes of performance data; Calculate the correlation between the unique identifier and the performance data through covariance; The time variation trend, periodic variation and correlation of the performance data are input into a preset neural network model for prediction to obtain future business trends.
[0067] Use time series analysis technology to mine the temporal correlation between unique identifiers and business activity data. Predict future business trends based on historical data to provide a basis for system expansion and resource planning.
[0068] Draw a time series graph of performance indicator data for each unique identifier to show the trend of data over time. Visually observe data fluctuations, periodic changes or trends. Ensure that the timestamps of all performance indicator data are aligned with the timestamps of the unique identifiers for accurate time correlation analysis, compare the performance indicator data of different unique identifiers in the same time period, and analyze the similarities and differences between them. Identify performance differences between different devices or users, and whether there are any common patterns or regularities.
[0069] Use time series analysis techniques, such as ARIMA models and seasonal decomposition, to identify trends and cyclical changes in performance indicator data, understand how data changes over time, and predict future trends.
[0070] In some embodiments, see Figure 1 , Figure 3 and Figure 4 , the nodes include network devices, application servers, virtual machines, wide area networks and application terminals.
[0071] like Figure 3 As shown, the starting node is the client such as APP, the other nodes are the network end, including the wide area network, firewall, router, core switch, aggregation switch, and the server node is the application server.
[0072] like Figure 4As shown, the starting node is a client such as APP, the other nodes are network terminals, including the wide area network, and the server node is the application server.
[0073] The present invention proposes a full-link service request performance indicator tracking system, please refer to Figure 2 ,include: The generating unit 100 is configured to obtain the request data initiated by the starting node in real time, generate an identifier based on the timestamp and perform encryption encoding to obtain a unique identifier; The transmission unit 200 is configured to inject a unique identifier into the request data, and as the request data is transmitted to each node, the unique identifier is tracked by redundant probes to obtain the performance index of each node, and the performance data is transmitted to the monitoring platform; The feedback unit 300 is configured to respond to the request data in the server node, generate response data, inject the corresponding unique identifier into the response data through redundant probe parsing, feed back the response data including the corresponding unique identifier to the starting node, and transmit the corresponding performance data of each node in the feedback process to the monitoring platform; The display unit 400 is configured to be used for the monitoring platform to construct a topology for display according to the performance data corresponding to the unique identifier.
[0074] Improved ability to track business request information to ensure changes are correctly and completely implemented during maintenance, thereby improving work efficiency.
[0075] Based on the same inventive concept, according to another aspect of the present invention, Fig.11 As shown, an embodiment of the present invention further provides a computer device 30, which includes a processor 310 and a memory 320. The memory 320 stores a computer program 321 that can be run on the processor. When the processor 310 executes the program, the steps of the above method are performed.
[0076] Based on the same inventive concept, according to another aspect of the present invention, Fig.12 As shown, an embodiment of the present invention further provides a computer-readable storage medium 40, which stores a computer program 410 for executing the above method when executed by a processor.
[0077] The embodiment of the present invention may also include a corresponding computer device. The computer device includes a memory, at least one processor, and a computer program stored in the memory and executable on the processor, and the processor executes any one of the above methods when executing the program.
[0078] The memory, as a non-volatile computer-readable storage medium, can be used to store non-volatile software programs, non-volatile computer executable programs and modules, such as program instructions / modules in the embodiments of the present application. The processor executes various functional applications and data processing of the device by running the non-volatile software programs, instructions and modules stored in the memory, that is, implementing the above method.
[0079] The memory may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function; the data storage area may store data created according to the use of the device, etc. In addition, the memory may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device. In an embodiment, the memory may optionally include a memory remotely arranged relative to the processor, and these remote memories may be connected to the local module via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0080] Finally, it should be noted that a person skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing the relevant hardware through a computer program, and the program can be stored in a computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, the storage medium of the program can be a disk, an optical disk, a read-only storage memory (ROM) or a random access memory (RAM), etc. The above-mentioned computer program embodiments can achieve the same or similar effects as the corresponding above-mentioned arbitrary method embodiments.
[0081] It will also be appreciated by those skilled in the art that various exemplary logic blocks, modules, circuits and algorithm steps described in conjunction with the disclosure herein can be implemented as electronic hardware, computer software or a combination of the two. In order to clearly illustrate this interchangeability of hardware and software, a general description has been given to the functions of various schematic components, blocks, modules, circuits and steps. Whether this function is implemented as software or hardware depends on specific applications and the design constraints imposed on the entire system. Those skilled in the art can implement the function in various ways for each specific application, but this implementation decision should not be interpreted as causing a departure from the disclosed scope of the embodiments of the present invention.
[0082] The above are exemplary embodiments disclosed in the present invention, but it should be noted that various changes and modifications may be made without departing from the scope of the embodiments disclosed in the present invention as defined in the claims. The functions, steps and / or actions of the method claims according to the disclosed embodiments described herein do not need to be performed in any particular order. The serial numbers of the embodiments disclosed in the above embodiments of the present invention are for description only and do not represent the advantages and disadvantages of the embodiments. In addition, although the elements disclosed in the embodiments of the present invention may be described or required in individual form, they may also be understood as multiple unless explicitly limited to the singular.
[0083] It should be understood that, as used herein, the singular forms "a", "an" are intended to include the plural forms as well, unless the context clearly supports an exception. It should also be understood that, as used herein, "and / or" refers to any and all possible combinations including one or more of the associated listed items.
[0084] A person skilled in the art should understand that the discussion of any of the above embodiments is only exemplary and is not intended to imply that the scope of the disclosure of the embodiments of the present invention (including the claims) is limited to these examples; under the concept of the embodiments of the present invention, the technical features in the above embodiments or different embodiments can also be combined, and there are many other changes in different aspects of the above embodiments of the present invention, which are not provided in detail for the sake of simplicity. Therefore, any omissions, modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the embodiments of the present invention should be included in the protection scope of the embodiments of the present invention.
Claims
1. A method for tracking performance indicators of full-link service requests, characterized in that: include, Obtain the request data initiated by the starting node in real time, generate an identifier based on the timestamp and encrypt it to obtain a unique identifier; Inject the unique identifier into the request data. As the request data is transmitted to each node, the unique identifier is tracked by redundant probes to obtain the performance indicators of each node, and the performance data is transmitted to the monitoring platform. Respond to the request data in the server node, generate response data, and inject the corresponding unique identifier into the response data through redundant probe parsing, feed back the response data containing the corresponding unique identifier to the starting node, and transmit the corresponding performance data of each node in the feedback process to the monitoring platform; The monitoring platform constructs a topology for display based on the unique identifier and the corresponding performance data.
2. The full-link service request performance indicator tracking method according to claim 1 is characterized in that: The steps of generating an identifier based on a timestamp and performing encryption encoding to obtain a unique identifier include: Obtain a timestamp from a system clock, and concatenate the timestamp with preset request information to obtain an identifier; Embed the encrypted version number information in the identifier as the first encrypted data; The first encrypted data is encoded by an encoder to obtain a unique identifier.
3. The full-link service request performance indicator tracking method according to claim 2 is characterized in that: In response to the same request data sent by different nodes, the upgrade is performed based on the encrypted version number information as the unique identifier.
4. The full-link service request performance indicator tracking method according to claim 1 is characterized in that: The step of obtaining the performance index of each node by tracking the unique identifier through redundant probes and transmitting the performance data to the monitoring platform includes: Deploy redundant probes on critical paths; Heartbeat packets are sent regularly to detect the status of redundant probes. When an abnormality is found, the abnormal redundant probe is deactivated and the redundant probe is replaced. Track node performance indicators that uniquely identify the flow through each node through redundant probes; The node performance indicators are labeled in layers from the perspectives of the front end, network, and server, and the labeled node performance indicators are transmitted to the monitoring platform.
5. The full-link service request performance indicator tracking method according to claim 1 is characterized in that: The step of constructing a topology for displaying the corresponding performance data according to the unique identifier on the monitoring platform includes: Based on the unique identifier, the monitoring platform identifies all nodes that need to be built in the topology map; Generate a node relationship including a physical connection relationship and a logical connection relationship of the nodes according to the port connection mode between the nodes and the routing table; Generate a hierarchical topology diagram based on nodes and node relationships, enter the performance data into corresponding nodes in the topology diagram, and perform time correlation analysis; Visualize the topology map and correlation analysis results.
6. The full-link service request performance indicator tracking method according to claim 1 is characterized in that: The step of performing time correlation analysis comprises: Align the time of the unique identifier and the corresponding performance data; Perform time series analysis on performance data within a preset time window to obtain the time trend and periodic changes of performance data; Calculate the correlation between the unique identifier and the performance data through covariance; The time variation trend, periodic variation and correlation of the performance data are input into a preset neural network model for prediction to obtain future business trends.
7. The full-link service request performance indicator tracking method according to claim 1 is characterized in that: The nodes include network equipment, application servers, virtual machines, wide area networks and application terminals.
8. The full-link business request performance indicator tracking system is characterized by: include: A generating unit is configured to obtain the request data initiated by the starting node in real time, generate an identifier based on the timestamp and perform encryption encoding to obtain a unique identifier; A transmission unit, configured to inject a unique identifier into the request data, and as the request data is transmitted to each node, track the unique identifier through redundant probes to obtain a performance indicator of each node, and transmit the performance data to a monitoring platform; A feedback unit is configured to respond to the request data in the server node, generate response data, and inject the corresponding unique identifier into the response data through redundant probe parsing, feed back the response data containing the corresponding unique identifier to the starting node, and transmit the corresponding performance data of each node in the feedback process to the monitoring platform; The display unit is configured to be used for the monitoring platform to construct a topology for display according to the performance data corresponding to the unique identifier.
9. A computer device comprising: at least one processor; and a memory storing a computer program executable on the processor, wherein the processor executes the steps of the full-link service request performance indicator tracking method as described in any one of claims 1 to 7 when executing the program.
10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by the processor, the steps of the full-link service request performance indicator tracking method as described in any one of claims 1 to 7 are performed.
Citation Information
Cited By
Service path tracking and fault tracing method and device for video monitoring system
CN121547576A
Cross-level traceability monitoring method and system
CN122476009A