Link tracking system, method and device and storage medium

By adopting a link tracking system in a distributed system to record links in the form of tracking points, the link recording method is simplified, the problem of high resource computing demand in traditional systems is solved, and the effect of rapid fault location and reduced maintenance costs is achieved.

CN120416019APending Publication Date: 2025-08-01BEIJING WELLINTECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510475270.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-16
Publication Date
2025-08-01

AI Technical Summary

Technical Problem

In distributed systems, traditional link tracking systems have a high demand for resource computing and increased maintenance costs. It is difficult to quickly locate the faulty process and request time-consuming blocking points.

Method used

The link tracking system is adopted to record links in the form of tracking points through network communication components, build link tracking units and processing units, simplify link recording methods, reduce redundant information, and generate link records using the call sequence of tracking points to achieve rapid fault location.

Benefits of technology

It reduces maintenance costs, improves system performance, can quickly locate the process of failure and request time-consuming blocking points, simplifies link record generation logic, and realizes transparency of business applications.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120416019A_ABST
    Figure CN120416019A_ABST
Patent Text Reader

Abstract

The invention relates to a link tracking system, method and device and a storage medium, and relates to the technical field of information. The link tracking system comprises a link tracking unit, a network communication component and a processing unit, wherein the link tracking unit is used for acquiring a service request instruction, and tracking a link record for executing the service request instruction in a tracking point form through a network communication component; the service request instruction is used for indicating execution of a data processing service; and the processing unit is used for analyzing and processing the tracking point and the link record to generate a link tracking log. According to the method, the fault process and the request time-consuming blocking point can be quickly positioned, and the maintenance cost is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of information technology, and in particular, to a link tracing system, method, device, and storage medium. Background Art

[0002] With the continuous development of cloud computing, distributed systems have become a very common software architecture. It distributes requests to multiple computers for processing, improving the processing capacity of the system. However, with the increase in the number of nodes and processes within the system, as well as the complexity of business processes, when a distributed system fails, it becomes particularly difficult to locate the fault point through traditional program log analysis or debugging program fault troubleshooting methods.

[0003] To solve this problem, link tracing technology is usually used to monitor the flow of information in a distributed system. In traditional link tracing systems, all the original message link data collected by the message link data collection module is aggregated to the message link data processing and analysis module at the back end for processing, and the amount of data to be processed is very large. However, traditional link tracing systems are usually custom-developed according to their own business requirements. For example, the TraceID method, TraceID is used to identify the entire trace of a single user request or transaction in a distributed system; the SpanID method, SpanID is used to identify a specific operation or service call, and each Span represents a work unit in the request processing process, such as a function call, a database query, or a remote service request, etc. However, since the industrial cloud system structure usually adopts a multi-level and multi-node distributed architecture, when using the above tracing system, it is necessary to collect logs and call data chains across services and nodes, resulting in a sharp increase in the amount of data, and a large amount of resource operations are required to locate the process where the fault is located, increasing the maintenance cost.

[0004] In view of this, it is necessary to propose a new link tracing system, method, device, and storage medium to solve the above problems. Summary of the Invention

[0005] This application provides a link tracing system, method, device, and storage medium, which can quickly locate the process where the fault is located and the request time-consuming blocking point, and reduce the maintenance cost.

[0006] The technical solution of this application is as follows:

[0007] In a first aspect, the present application provides a link tracing system, which includes: a link tracing unit, a network communication component, and a processing unit. Among them, the link tracing unit is used to obtain a service request instruction and trace the link record of executing the service request instruction in the form of a tracing point through the network communication component; the service request instruction is used to indicate the execution of a data processing service; the service request instruction is used to indicate the execution of a data processing service. The processing unit is used to analyze and process the tracing point and the link record to generate a link tracing log.

[0008] In some implementation manners, the link tracing unit includes: a target service module; the network communication component includes a first network transceiver. Among them, the target service module is used to receive the service request instruction from the client through the first network transceiver and execute the service request instruction to form a first target service tracing point and its corresponding first target link record.

[0009] In some implementation manners, the network communication component further includes a second network transceiver. Among them, the target service module is used to send the execution result of the service request instruction to the client through the second network transceiver to form a second target service tracing point and its corresponding second target link record.

[0010] In some implementation manners, the link tracing unit further includes: a transit service module; the network communication component further includes a third network transceiver and a fourth network transceiver. Among them,

[0011] The transit service module is used to receive the service request instruction from the client through the third network transceiver to form a first transit service tracing point and its corresponding first transit link record; forward the service request instruction to the target service module; and receive the execution result from the target service module and send the execution result to the client through the fourth network transceiver to form a second transit service tracing point and its corresponding second transit link record;

[0012] The target service module is used to receive the service request instruction from the transit service module through the first network transceiver to form the first target service tracing point and its corresponding first target link record; and execute the service request instruction and send the execution result to the transit service module through the second network transceiver to form the second target service tracing point and its corresponding second target link record.

[0013] In some implementation manners, the network communication component further includes a fifth network transceiver and a sixth network transceiver. Among them,

[0014] The relay service module is used to forward the service request instruction to the target service module through the fifth network transceiver, so as to form a third relay service tracking point and its corresponding third relay link record; and receive the execution result from the second network transceiver through the sixth network transceiver, so as to form a fourth relay service tracking point and its corresponding fourth relay link record.

[0015] The target service module is used to receive the service request instruction from the fifth network transceiver through the first network transceiver, so as to form the first target service tracking point and its corresponding first target link record; and execute the service request instruction, and send the execution result to the relay service module through the second network transceiver, so as to form the second target service tracking point and its corresponding second target link record.

[0016] In some implementation manners, the network communication component further includes a seventh network transceiver and an eighth network transceiver. Among them,

[0017] The client can send the service request instruction to the relay service module or the target service module through the seventh network transceiver, so as to form a first client service tracking point and its corresponding first client link record; and receive the execution result from the relay service module or the target service module through the eighth network transceiver, so as to form a second client service tracking point and its corresponding second client link record.

[0018] In some implementation manners, the link tracking unit includes: a target service module; the network communication component includes a second network transceiver; among them,

[0019] The target service module is used to send the service request instruction to the client through the second network transceiver, so as to form a third target service tracking point and its corresponding third target link record.

[0020] In some implementation manners, the link tracking unit further includes: a relay service module; the network communication component further includes a fourth network transceiver and a sixth network transceiver. Among them,

[0021] The target service module is used to send the service request instruction to the relay service module through the second network transceiver, so as to form the third target service tracking point and its corresponding third target link record;

[0022] The relay service module is used to receive the service request instruction from the second network transceiver through the sixth network transceiver to form a fifth relay service tracking point and its corresponding fifth relay link record; and send the service request instruction to the client through the fourth network transceiver to form a sixth relay service tracking point and its corresponding sixth relay link record.

[0023] In some implementation manners, the relay service module is further used to verify the service request instruction; if the verification is successful, forward the service request instruction to the target service module; if the verification fails, send the verification result through the third network transceiver to form a seventh relay service tracking point and its corresponding seventh relay link record; receive the verification result from the third network transceiver through the fourth network transceiver to form an eighth relay service tracking point and its corresponding eighth relay link record; and send the verification result to the client through the fourth network transceiver to form a ninth relay service tracking point and its corresponding ninth relay link record.

[0024] In some implementation manners, the processing unit includes an analysis module and a storage module. Among them, the analysis module is used to analyze and process the tracking point and the link record to form tracking link data, and judge the tracking link data, and generate a link tracking log according to the judgment result; the storage module is used to store the link tracking log; wherein, the link tracking log includes the link record, the tracking link data and the judgment result of each tracking point.

[0025] In some implementation manners, the analysis and processing of the tracking point and the link record to form tracking link data includes: concatenating all the tracking points according to the tracking code and link sequence number of each tracking point to form a tracking link, and the link records respectively corresponding to each tracking point constitute the tracking record of the tracking link; wherein, the tracking code is a tracking link identifier; the link sequence number is the call sequence number of the tracking point in the current tracking link.

[0026] In some implementations, the judgment of the trace link data includes: judging whether the trace link data satisfies any two of the following conditions: Condition 1: The trace link data is complete; Condition 2: The trace link data is incomplete; Condition 3: The trace link data has no code error; Condition 4: The last trace point of the trace link data has a code error; If Conditions 1 and 3 are satisfied, it is determined that the trace link has no fault; or, if Conditions 1 and 4 are satisfied, it is determined that the trace link has a functional fault; or, if Conditions 2 and 3 are satisfied, it is determined that the trace link has an interruption fault; or, if Conditions 2 and 4 are satisfied, it is determined that the trace link has a network fault.

[0027] In some implementations, the system further includes: a local collector, configured to store the trace points and the link records, and forward the trace points and the link records to the processing unit.

[0028] In a second aspect, the present application provides a link tracing method, applied to the link tracing system in any implementation of the first aspect. The method includes: obtaining a service request instruction; the service request instruction is used to indicate the execution of a data processing service; tracing the link record of the execution of the service request instruction in the form of a trace point through a network communication component; analyzing and processing the link record to generate a link tracing log.

[0029] In some implementations, the network communication component includes a first network transceiver. "Tracing the link record of the execution of the service request instruction in the form of a trace point through the network communication component" specifically includes: receiving the service request instruction from the client through the first network transceiver and executing the service request instruction to form a first target service trace point and its corresponding first target link record.

[0030] In some implementations, the network communication component further includes a second network transceiver. "Tracing the link record of the execution of the service request instruction in the form of a trace point through the network communication component" further includes: sending the execution result of the service request instruction to the client through the second network transceiver to form a second target service trace point and its corresponding second target link record.

[0031] In some implementation manners, the network communication component further includes a third network transceiver and a fourth network transceiver. Among them, "tracking the link record for executing the service request instruction in the form of a tracking point through the network communication component" specifically includes: receiving the service request instruction from the client through the third network transceiver to form a first transit service tracking point and its corresponding first transit link record; forwarding the service request instruction to the target service module; and receiving the execution result from the target service module, and sending the execution result to the client through the fourth network transceiver to form a second transit service tracking point and its corresponding second transit link record. Receiving the service request instruction from the transit service module through the first network transceiver to form the first target service tracking point and its corresponding first target link record; and executing the service request instruction, and sending the execution result to the transit service module through the second network transceiver to form the second target service tracking point and its corresponding second target link record.

[0032] In some implementation manners, the network communication component further includes a fifth network transceiver and a sixth network transceiver. Among them, "tracking the link record for executing the service request instruction in the form of a tracking point through the network communication component" further includes: forwarding the service request instruction to the target service module through the fifth network transceiver to form a third transit service tracking point and its corresponding third transit link record; and receiving the execution result from the second network transceiver through the sixth network transceiver to form a fourth transit service tracking point and its corresponding fourth transit link record. Receiving the service request instruction from the fifth network transceiver through the first network transceiver to form the first target service tracking point and its corresponding first target link record; and executing the service request instruction, and sending the execution result to the transit service module through the second network transceiver to form the second target service tracking point and its corresponding second target link record.

[0033] In some implementation manners, the network communication component further includes a seventh network transceiver and an eighth network transceiver. Among them, the client can send the service request instruction to the transit service module or the target service module through the seventh network transceiver to form a first client service tracking point and its corresponding first client link record; and receive the execution result from the transit service module or the target service module through the eighth network transceiver to form a second client service tracking point and its corresponding second client link record.

[0034] In some implementations, the network communication component includes a second network transceiver. Among them, "tracking the link record for executing the service request instruction in the form of a tracking point through the network communication component" specifically includes: sending the service request instruction to the client through the second network transceiver to form a third target service tracking point and its corresponding third target link record.

[0035] In some implementations, the network communication component further includes a fourth network transceiver and a sixth network transceiver. Among them, "tracking the link record for executing the service request instruction in the form of a tracking point through the network communication component" further includes: sending the service request instruction to the relay service module through the second network transceiver to form the third target service tracking point and its corresponding third target link record. Receiving the service request instruction from the second network transceiver through the sixth network transceiver to form a fifth relay service tracking point and its corresponding fifth relay link record; and sending the service request instruction to the client through the fourth network transceiver to form a sixth relay service tracking point and its corresponding sixth relay link record.

[0036] In some implementations, the method further includes: verifying the service request instruction. If the verification is successful, forward the service request instruction to the target service module. If the verification fails, send the verification result through the third network transceiver to form a seventh relay service tracking point and its corresponding seventh relay link record; and receive the verification result from the third network transceiver through the fourth network transceiver to form an eighth relay service tracking point and its corresponding eighth relay link record; and send the verification result to the client through the fourth network transceiver to form a ninth relay service tracking point and its corresponding ninth relay link record.

[0037] In some implementations, "analyzing and processing the tracking point and the link record to generate a link tracking log" specifically includes: analyzing and processing the tracking point and the link record to form tracking link data, and making a judgment on the tracking link data, and generating a link tracking log according to the judgment result. Storing the link tracking log; where the link tracking log includes the link record of each tracking point, the tracking link data, and the judgment result.

[0038] In some implementation manners, "analyzing and processing the tracking points and the link records to form tracking link data" specifically includes: concatenating all the tracking points according to the tracking codes and link sequence numbers of each of the tracking points to form a tracking link, and the link records respectively corresponding to each of the tracking points constitute the tracking records of the tracking link; wherein, the tracking code is a tracking link identifier; and the link sequence number is the call sequence number of the tracking point in the current tracking link.

[0039] In some implementation manners, "judging the tracking link data" specifically includes: judging whether the tracking link data satisfies any two of the following conditions: Condition 1: The tracking link data is complete; Condition 2: The tracking link data is incomplete; Condition 3: The tracking link data has no code error; Condition 4: The last tracking point of the tracking link has a code error; if Conditions 1 and 3 are satisfied, it is determined that the tracking link has no fault; or, if Conditions 1 and 4 are satisfied, it is determined that the tracking link has a functional fault; or, if Conditions 2 and 3 are satisfied, it is determined that the tracking link has an interruption fault; or, if Conditions 2 and 4 are satisfied, it is determined that the tracking link has a network fault.

[0040] In some implementation manners, the method further includes: storing the tracking points and the link records, and forwarding the tracking points and the link records to the processing unit.

[0041] In a third aspect, the present application provides a link tracking device, and the device includes: an acquisition module, a tracking module, and a processing module. Among them, the acquisition module is used to acquire a service request instruction; the service request instruction is used to indicate the execution of a data processing service. The tracking module is used to track the link records for executing the service request instruction in the form of tracking points through a network communication component. The processing module is used to analyze and process the link records to generate a link tracking log.

[0042] In some implementation manners, the network communication component includes a first network transceiver. Among them, the tracking module is specifically used to receive the service request instruction from the client through the first network transceiver and execute the service request instruction to form a first target service tracking point and its corresponding first target link record.

[0043] In some implementation manners, the network communication component further includes a second network transceiver. Among them, the tracking module is specifically used to send the execution result of the service request instruction to the client through the second network transceiver to form a second target service tracking point and its corresponding second target link record.

[0044] In some implementation manners, the network communication component further includes a third network transceiver and a fourth network transceiver. Among them, the tracking module is specifically configured to receive the service request instruction from the client through the third network transceiver to form a first transit service tracking point and its corresponding first transit link record; forward the service request instruction to the target service module; and receive the execution result from the target service module, and send the execution result to the client through the fourth network transceiver to form a second transit service tracking point and its corresponding second transit link record. Receive the service request instruction from the transit service module through the first network transceiver to form the first target service tracking point and its corresponding first target link record; and execute the service request instruction, and send the execution result to the transit service module through the second network transceiver to form the second target service tracking point and its corresponding second target link record.

[0045] In some implementation manners, the network communication component further includes a fifth network transceiver and a sixth network transceiver. Among them, the tracking module is specifically configured to forward the service request instruction to the target service module through the fifth network transceiver to form a third transit service tracking point and its corresponding third transit link record; and receive the execution result from the second network transceiver through the sixth network transceiver to form a fourth transit service tracking point and its corresponding fourth transit link record. Receive the service request instruction from the fifth network transceiver through the first network transceiver to form the first target service tracking point and its corresponding first target link record; and execute the service request instruction, and send the execution result to the transit service module through the second network transceiver to form the second target service tracking point and its corresponding second target link record.

[0046] In some implementation manners, the network communication component further includes a seventh network transceiver and an eighth network transceiver. Among them, the client can send the service request instruction to the transit service module or the target service module through the seventh network transceiver to form a first client service tracking point and its corresponding first client link record; and receive the execution result from the transit service module or the target service module through the eighth network transceiver to form a second client service tracking point and its corresponding second client link record.

[0047] In some implementation manners, the network communication component includes a second network transceiver. Among them, the tracking module is specifically configured to send the service request instruction to the client through the second network transceiver to form a third target service tracking point and its corresponding third target link record.

[0048] In some implementation manners, the network communication component further includes a fourth network transceiver and a sixth network transceiver. Wherein, the tracking module is specifically configured to send the service request instruction to the relay service module through the second network transceiver to form the third target service tracking point and its corresponding third target link record. Receive the service request instruction from the second network transceiver through the sixth network transceiver to form a fifth relay service tracking point and its corresponding fifth relay link record; and send the service request instruction to the client through the fourth network transceiver to form a sixth relay service tracking point and its corresponding sixth relay link record.

[0049] In some implementation manners, the tracking module is further configured to verify the service request instruction. If the verification is successful, forward the service request instruction to the target service module. If the verification fails, send the verification result through the third network transceiver to form a seventh relay service tracking point and its corresponding seventh relay link record; receive the verification result from the third network transceiver through the fourth network transceiver to form an eighth relay service tracking point and its corresponding eighth relay link record; and send the verification result to the client through the fourth network transceiver to form a ninth relay service tracking point and its corresponding ninth relay link record.

[0050] In some implementation manners, the processing module is specifically configured to analyze and process the tracking point and the link record to form tracking link data, and judge the tracking link data, and generate a link tracking log according to the judgment result; the processing module is further configured to store the link tracking log; wherein, the link tracking log includes the link record, the tracking link data and the judgment result of each tracking point.

[0051] In some implementation manners, the processing module is specifically configured to concatenate all the tracking points according to the tracking code and the link sequence number of each tracking point to form a tracking link, and the link record corresponding to each tracking point constitutes the tracking record of the tracking link; wherein, the tracking code is a tracking link identifier; the link sequence number is the call sequence number of the tracking point in the current tracking link.

[0052] In some implementation manners, the processing module is specifically configured to determine whether the trace link data meets any two of the following conditions: Condition 1: The trace link data is complete; Condition 2: The trace link data is incomplete; Condition 3: The trace link data has no code error; Condition 4: The last trace point of the trace link data has a code error; If Condition 1 and Condition 3 are met, it is determined that the trace link has no fault; or, if Condition 1 and Condition 4 are met, it is determined that the trace link has a functional fault; or, if Condition 2 and Condition 3 are met, it is determined that the trace link has an interruption fault; or, if Condition 2 and Condition 4 are met, it is determined that the trace link has a network fault.

[0053] In some implementation manners, the apparatus further includes: a collection module, configured to store the trace points and the link records, and forward the trace points and the link records to the processing unit.

[0054] In a fourth aspect, the present application provides a computer-readable storage medium, on which computer program instructions are stored; when the computer program instructions are executed by an electronic device, the electronic device is caused to implement the method according to any one of the possible implementation manners in the first aspect.

[0055] Based on any one of the above first aspect to the fourth aspect, the present application at least has the following beneficial effects:

[0056] In the present application, the link tracing system constructs a link tracing unit, a network communication component, and a processing unit. Among them, the link tracing unit can trace the link record of the business request instruction in the form of trace points through the network communication component. Taking the trace point as the basic unit of the link, each trace point can form a complete trace link according to the call order, so as to realize replacing the existing link described by "line" with the link described by "point", simplifying the link record method, reducing redundant information and data volume, and being beneficial to quickly locating the process where the fault is located. In addition, by integrating the link record described by trace points with the network communication component, the entire network link process can be mapped only by two key points of sending and receiving of the network link, simplifying the generation logic of the link record, realizing the transparency of the business application, and having a very high isolation between each trace point and not affecting each other, which is beneficial for the processing unit to quickly analyze the cause of the fault, accurately locate the process where the fault is located and the request time-consuming blocking point quickly, reducing the maintenance cost, and improving the system performance.

[0057] It should be understood that the above general description and the following detailed description are only exemplary and explanatory, and cannot limit the present application. Description of the Drawings

[0058] The accompanying drawings here are incorporated into the description and form a part of this description, showing embodiments consistent with this application, and are used together with the description to explain the principles of this application, and do not constitute an undue limitation of this application.

[0059] Figure 1 It is a schematic diagram of a link call path in the related art;

[0060] Figure 2 It is a schematic diagram of a link tracing scheme in the related art;

[0061] Figure 3A It is a schematic diagram of an application scenario provided by an embodiment of this application;

[0062] Figure 3B It is a schematic diagram of another application scenario provided by an embodiment of this application;

[0063] Figure 4 It is a schematic diagram of the structure of a link tracing system provided by an embodiment of this application;

[0064] Figure 5A It is a schematic diagram of a link type provided by an embodiment of this application;

[0065] Figure 5B It is another schematic diagram of a link type provided by an embodiment of this application;

[0066] Figure 5C It is another schematic diagram of a link type provided by an embodiment of this application;

[0067] Figure 6 It is a schematic diagram of the composition of a link tracing unit provided by an embodiment of this application;

[0068] Figure 7 It is a schematic diagram of the composition of a processing unit provided by an embodiment of this application;

[0069] Figure 8 It is another schematic diagram of the structure of a link tracing system provided by an embodiment of this application;

[0070] Figure 9 It is a schematic diagram of the flow of a link tracing method provided by an embodiment of this application;

[0071] Figure 10 It is a schematic diagram of the structure of a link tracing device provided by an embodiment of this application;

[0072] Figure 11 It is a schematic diagram of the structure of an electronic device provided by an embodiment of this application. Detailed implementation manners

[0073] To enable those of ordinary skill in the art to better understand the technical solutions of this application, the technical solutions in the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings.

[0074] It should be noted that the terms "first", "second", etc. in the description and claims of this application and the above-mentioned drawings are used to distinguish similar objects, and do not necessarily have to be used to describe a specific order or sequence. It should be understood that such data can be interchanged under appropriate circumstances so that the embodiments of this application described here can be implemented in an order other than those illustrated or described here. Thus, features defined with "first", "second" may explicitly or implicitly include one or more of such features. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. On the contrary, they are merely examples of devices and methods consistent with some aspects of this application as detailed in the appended claims.

[0075] It should also be understood that the term "comprising" indicates the presence of the described features, wholes, steps, operations, elements, and / or components, but does not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, and / or components.

[0076] The term "or" is used to describe the association relationship of associated objects, indicating that there can be two relationships. For example, A or B can mean: the two situations of A existing alone and B existing alone. The character " / " generally indicates that the associated objects before and after are in an "or" relationship.

[0077] The term "exemplary" means "serving as an example, embodiment, or illustrative". Any embodiment described as "exemplary" does not have to be construed as superior to or better than other embodiments.

[0078] The meaning of the term "at least one" is one or more, and "multiple" means two or more; the meaning of the term "at least one kind" is one kind or more, and "multiple kinds" means two or more.

[0079] Some technical terms in the embodiments of this application are explained below to facilitate the understanding of those skilled in the art.

[0080] User / client: The initiator, which is used to receive user instructions and forward the instructions as requests to the target service within the system.

[0081] Transit service module: The request pre-check and forwarder, which can send and receive requests with other business services through the network according to business functions, and perform functions such as parameter verification of business requests and addressing of target business services. If the verification or addressing fails, it directly returns an operation failure.

[0082] Target service module: The actual executor of requests, which is used to execute user service requests and return the final execution results.

[0083] Daemon process module: It is used to receive records from the scheduling points of the network communication component and send them in real time locally. The daemon process performs local storage and periodically reports to the storage center.

[0084] Network communication component: The executor for forwarding requests between processes through network middleware, which is used to send and receive network data and is divided into a network sender and a network receiver.

[0085] The following briefly introduces the design concept of the embodiments of the present application:

[0086] With the continuous development of cloud computing, distributed systems have become a very common software architecture, which distributes requests to multiple computers for processing, improving the processing ability of the distributed system. However, with the increase in the number of nodes and processes in the distributed system and the complexity of business processes, when a failure occurs in the distributed system, it becomes particularly difficult to locate the fault point through traditional program log analysis or debugging program fault troubleshooting methods. Operations and maintenance personnel need to spend a lot of time analyzing from a large number of program logs, and there will also be information complexity, which may lead to inaccurate or incomplete analysis results. It is also very inconvenient when it is necessary to statistically analyze the time consumption of each stage throughout the entire link, and it is necessary to parse the program log file for processing. These problems have caused the maintenance efficiency of the distributed system to be low and the cost to increase sharply. Therefore, companies at home and abroad have successively launched distributed system tracing tools or platforms to solve this problem.

[0087] The concept of link tracing was proposed in the 1990s. With the continuous development of cloud computing, it really became popular after Google published the paper "Dapper, a Large-Scale Distributed System Tracing Infrastructure". Later, other distributed system link tracing products, such as Jaeger (a distributed full-link monitoring system based on the Opentracing protocol), Opentracing (an open distributed link tracing system), Zipkin (an open-source distributed tracking system), Sky Walking (a tool for performance monitoring and management of distributed systems), Alibaba EagleEye (a monitoring system centered on link tracing technology), Meituan CAT (a real-time monitoring system), etc. all referred to some ideas and engineering implementations in the above-mentioned paper. However, no matter which tracing system it is, the basic tracing scheme is three steps: code instrumentation, record aggregation and storage, and query and display.

[0088] As Figure 1 shown, Figure 1Shows a simple link call path. The user is the front end or client, and A / B / C / D / E are background processes. This represents 4 remote calls corresponding to a user's request and response. As Figure 2 shown, Figure 2 It represents the basic technical architecture of distributed link tracing and the embedding of points in business processes, that is, responsible for writing remote calls to the local log file. The Dapper daemon is responsible for periodically collecting tracing logs and reporting them to the storage center Collectors. The storage center aggregates and stores them in the library according to the tracing ID. The front end or client can query the entire link tracing information from the storage center. There are two important concepts here:

[0089] Trace: Represents a complete tracing chain, composed of multiple Spans, and is identified by a unique TraceID.

[0090] Span: Represents a complete remote call, such as Figure 1 rpc1 / 2 / 3 / 4 in it. It can be divided into parent-child Spans, and multiple parent-child Spans form a complete tracing chain Trace. Each Span records the client request sending time, server receiving time, server sending time, and client receiving time, and is represented by a unique SpanID.

[0091] Currently, the implementation ideas of the above link tracing products are all like this, and they all meet the function of request link tracing. However, when implemented in our own production environment, there are many problems with these Trace systems: The Trace systems of Google and Alibaba are not open source. Although Meituan is open source, it has not been maintained for many years. The jdk version and third-party frameworks relied on by the project are too old, etc., and it is not suitable for use in the production environment; Twitter's OpenZipkin is developed in Scala, and its implementation is based on Twitter's internal RPC framework Finagle, with many third-party dependencies, and the cost of access and operation and maintenance is very high. Also, the generation rules of TraceID or SpanID implemented by each company and the supported languages are different. If directly used, these tools usually require a large amount of configuration and maintenance work, and the system integration is very low.

[0092] In addition, many companies have their own link tracing systems or platforms. These systems generally follow some basic technical routes proposed by Dapper, use the concepts of Trace and Span, and meet the function of request link tracing. However, these systems generally have their own characteristics and are all customized development based on their own businesses. For example, the generation algorithms of TraceID and SpanID, the processing of business intrusion, the development language, and the dependence on third-party components are all different in implementation. These result in poor generality and non-lightweight of distributed tracing systems. The main reason for this phenomenon is that the distributed tracing system itself has a certain degree of complexity. The Dapper paper summarized this process but did not release an open-source standard product that supports multiple languages or scenarios. Therefore, each company developed by itself using this idea and carried out customized implementation. As a result, problems of generality and over-heavy system occurred.

[0093] In view of this, the embodiments of the present application provide a link tracing system, method, device and storage medium, which relate to the field of information technology, especially link tracing technology, and are used to quickly locate the process where the fault occurs and the request time-consuming blocking point, and reduce the maintenance cost.

[0094] The preferred embodiments of the present application will be described below with reference to the accompanying drawings of the specification. It should be understood that the preferred embodiments described herein are only used to illustrate and explain the present application, and are not used to limit the present application. And without conflict, the embodiments in the present application and the features in the embodiments can be combined with each other.

[0095] Figure 3A It is a schematic diagram of an application scenario provided by an embodiment of the present application. As Figure 3A shown, in this application scenario, the user sends a request instruction to the link tracing unit composed of a transit service module and a target service module through the client. The link tracing unit traces the link record of the execution of the business request instruction in the form of a tracing point through the network transceiver, and the processing unit analyzes and processes the tracing point and the link record to generate a link tracing log.

[0096] It should be noted that Figure 3A is only a schematic diagram of an application scenario provided by the embodiment of the present application. The embodiments of the present application do not limit Figure 3A the devices included in Figure 3A either, nor do they limit

[0097] the positional relationship between the devices in

[0098] As Figure 4As shown Figure 4 FIG. Figure 4 is a schematic structural diagram of a link tracing system provided by an embodiment of the present application. The link tracing system 400 in the embodiment of the present application includes a link tracing unit 401, a network communication component 402, and a processing unit 403. Among them:

[0099] The link tracing unit 401 is configured to obtain a service request instruction, and trace the link record of executing the service request instruction in the form of a tracing point through the network communication component 402; the service request instruction is used to indicate the execution of a data processing service, for example, processing services such as querying data, reading and writing data, deleting data, modifying data, service publishing notification, service initiation request, etc., which will not be listed one by one here.

[0100] The processing unit 403 is configured to analyze and process the tracing point and the link record to generate a link tracing log.

[0101] In the embodiment of the present application, the link tracing system 400 constructs a link tracing unit 401, a network communication component 402, and a processing unit 403. Among them, the link tracing unit 401 can trace the link record of executing the service request instruction in the form of a tracing point through the network communication component 402. Taking the tracing point as the basic unit of the link, each tracing point can form a complete tracing link according to the call order, so as to realize replacing the existing link described by "line" with the link described by "point", simplifying the link record method, reducing redundant information and data volume, and facilitating quick positioning of the faulty process.

[0102] Referring again Figure 3A , taking a user request as an example, the actual execution process of the user request is the link constructed by the user, the client, the transit service module, the target service module, the network collector in the figure and the connections between them. Due to the complexity of business operations, the internal execution process of the transit service involves too many business operations, has a large coupling with the business, and strong code invasiveness; the client and the transit service module, and the transit service module and the target service module are implemented through a network hardware link; the network collector is the connector of the client, the transit service module and the target service module, and it runs through the execution process of all process services. Therefore, the information received and sent by the network collector of each process can be used to trace the link and the actual execution results of each service. Therefore, the network communication component can naturally be used as the executor of the tracing record.

[0103] Exemplarily, the client can be a device or software used by the user, which interacts with the link tracing unit to complete the transmission tasks of service request instructions, as well as information such as the verification result or execution result of the instruction. For example, mobile applications, desktop applications, and web applications can all be used as clients; or, mobile phones, computers, tablets, smart speakers, smart TVs, etc. can also be used as clients.

[0104] In a possible implementation, when the network communication component records the tracing link, one send or one receive is used as a tracing point. The specific content of the tracing point is as follows:

[0105] Trace ID: A 64-bit integer representing the tracing link ID, which is generated by the following algorithm:

[0106] 1) 6-bit service type ID;

[0107] 2) 11-bit physical node ID;

[0108] 3) 37-bit timestamp accurate to milliseconds, accommodating 4 years;

[0109] 4) 10-bit sequence number within milliseconds, with a maximum of 1024 per millisecond.

[0110] Link type: An enumeration representing the request link type, such as a service initiation request. As Figure 5A shown, Figure 5A in the figure, the client is the background service client; or a service publishes a notification. As Figure 5B shown, Figure 5B in the figure, the client is the terminal client or the user client; the user initiates a request. As Figure 5C shown, Figure 5C in the figure, the client is the terminal client or the user client.

[0111] Initiating user ID: A 64-bit integer representing the user ID of the link.

[0112] Command code: A 32-bit integer representing the specific service interface type of the link.

[0113] Request type: An enumeration representing whether the tracing point is a send or a receive.

[0114] Link point sequence number: A 32-bit integer representing the call sequence number of the tracing point in the current link. It starts from 1 by default and increments each time a tracing point is reached.

[0115] Occurrence time: A 64-bit integer representing the moment when the tracing point is sent or received, in UTC time.

[0116] Source node ID & source service ID: A 32-bit integer representing the service and node where the tracing point is located itself.

[0117] Destination node ID & destination service ID: A 32-bit integer representing the service and node to which the tracing point is to be forwarded.

[0118] Return error code: A 32-bit integer representing the error that occurred at the tracing point. ]>

[0119] Next, seeFigure 6 Introduce the link tracing unit Figure 6 It is a schematic diagram of the composition of the link tracing unit provided by the embodiment of the present application

[0120] As Figure 6 shown, in a possible implementation, the link tracing unit 401 includes: a transit service module 4011 and a target service module 4012; the network communication components include a first network transceiver, a second network transceiver, a third network transceiver, a fourth network transceiver, a fifth network transceiver, and a sixth network transceiver ( Figure 6 not shown in the figure). Among them:

[0121] The transit service module is used to receive a service request instruction from the client through the third network transceiver to form a first transit service trace point and its corresponding first transit link record; forward the service request instruction to the target service module through the fifth network transceiver to form a third transit service trace point and its corresponding third transit link record

[0122] The target service module is used to receive a service request instruction from the fifth network transceiver through the first network transceiver to form a first target service trace point and its corresponding first target link record; and execute the service request instruction, and send the execution result to the transit service module through the second network transceiver to form a second target service trace point and its corresponding second target link record

[0123] The transit service module is further used to receive the execution result of the service request instruction from the second network transceiver through the sixth network transceiver to form a fourth transit service trace point and its corresponding fourth transit link record; and send the execution result to the client through the fourth network transceiver to form a second transit service trace point and its corresponding second transit link record

[0124] Optionally, the number of transit service modules can be one or more, and the service request instruction can be forwarded once or multiple times

[0125] Optionally, the service request instruction can be a processing service such as querying data, reading and writing data, deleting data, modifying data, etc. initiated by the user. For example, reference can be made to Figure 5C the link type of the request initiated by the user shown in the figure; it can also be a service request initiated by the background, etc. For example, reference can be made to Figure 5A the link type of the request initiated by the background service shown in the figure. Specific service request instructions will not be listed one by one here

[0126] Optionally, executing the service request instruction can be performing data processing services such as querying data, reading and writing data, deleting data, modifying data, etc.; it can also be performing service services such as service requests

[0127] Optionally, the execution result of executing a service request instruction may be the result of querying data, reading / writing data, deleting data, modifying data, etc.; it may also be the result of executing a service request, etc.

[0128] It can be understood that the link tracing unit structure in this embodiment is applicable to the link types of service request instructions initiated by users or by the background.

[0129] Exemplarily, as Figure 3A shown, taking the transit service trace point as an example, assume that a service request instruction sent by a user is received from a client. The transit service trace point includes a first transit service trace point and a third transit service trace point; the network communication component includes a third network transceiver and a fifth network transceiver. Among them, the transit service module receives the service request instruction from the client through the third network transceiver, and forms a first transit service trace point and its corresponding first transit link record during the process of receiving the service request instruction; the transit service module also forwards the service request instruction to the target service module through the fifth network transceiver, and forms a third transit service trace point and its corresponding third transit link record during the process of forwarding the service request instruction. That is, during the process of recording the trace link through the third network transceiver and the fifth network transceiver, the third network transceiver receives a service request instruction once and the fifth network transceiver sends a service request instruction once, respectively forming a trace point and its corresponding link record.

[0130] Continuing with the transit service trace point as an example, as Figure 3A shown, the transit service trace point further includes a seventh transit service trace point, an eighth transit service trace point, and a ninth transit service trace point; the network communication component further includes a fourth network transceiver. Assume that after the transit service module receives the service request instruction from the client and before forwarding the service request instruction, the transit service module also verifies the service request instruction. For example, verifying the user identity of the sender of the service request instruction, the request format of the service request instruction, the security of the service request instruction, and other verification contents, which will not be listed one by one here.

[0131] In the case of verifying the service request instruction, the following steps may be executed:

[0132] If the verification is successful, the service request instruction is forwarded to the target service module through the fifth network transceiver, and a third transit service trace point and its corresponding third transit link record are formed during the process of forwarding the service request instruction. That is, during the process of recording the trace link through the fifth network transceiver, the fifth network transceiver sends a service request instruction once, forming a trace point and its corresponding link record.

[0133] If the verification fails, the verification failure result is sent through the third network transceiver, and a seventh transit service trace point and its corresponding seventh transit link record are formed during the process of sending the verification failure result to the fourth network transceiver; and the verification failure result is received from the third network transceiver through the fourth network transceiver, and an eighth transit service trace point and its corresponding eighth transit link record are formed during the process of receiving the verification failure result; and the verification failure result is sent to the client through the fourth network transceiver, and a ninth transit service trace point and its corresponding ninth transit link record are formed during the process of forwarding the verification failure result to the client. That is, during the process of recording the trace link through the third network transceiver and the fourth network transceiver, the third network transceiver sends a verification failure result once, the fourth network transceiver receives a verification failure result once, and the fourth network transceiver sends a verification failure result once, respectively forming a trace point and its corresponding link record.

[0134] In the case where the service request instruction verification is successful, taking the target service trace point as an example, as Figure 3A shown, the target service trace point includes a first target service trace point and a second target service trace point; the network communication component further includes a first network transceiver and a second network transceiver. Among them, the target service module receives the service request instruction forwarded by the fifth network transceiver (i.e., the transit service module) through the first network transceiver, and a first target service trace point and its corresponding first target link record are formed during the process of receiving the service request instruction; the target service module also sends the execution result of the service request instruction to the sixth network transceiver (i.e., the transit service module) through the second network transceiver, and a second target service trace point and its corresponding second target link record are formed during the process of sending the execution result. That is, during the process of recording the trace link through the first network transceiver and the second network transceiver, the first network transceiver receives a service request instruction once and the second network transceiver sends an execution result once, respectively forming a trace point and its corresponding link record.

[0135] It should be noted that if the transit service module does not verify the service request instruction after receiving it, the target service module can also directly receive the service request instruction forwarded by the fifth network transceiver through the first network transceiver, and a first target service trace point and its corresponding first target link record are formed during the process of receiving the service request instruction; and the target service module sends the execution result of the service request instruction to the transit service module through the second network transceiver, and a second target service trace point and its corresponding second target link record are formed during the process of forwarding the service request instruction.

[0136] Next, taking the transit service trace point as an example again, as Figure 3AAs shown, after the target service module receives a service request instruction and executes the instruction, the transit service trace points further include a second transit service trace point and a fourth transit service trace point; the network communication component further includes a sixth network transceiver. Among them, the transit service module also receives, through the sixth network transceiver, the execution result sent by the second network transceiver (i.e., the target service module), and forms a fourth transit service trace point and its corresponding fourth transit link record during the process of receiving the execution result; the transit service module also sends the execution result to the client through the fourth network transceiver, and forms a second transit service trace point and its corresponding second transit link record during the process of forwarding the execution result. That is, during the process of recording the trace link through the fourth network transceiver and the sixth network transceiver, the sixth network transceiver receives an execution result of the service request instruction once and the fourth network transceiver sends an execution result of the service request instruction once, respectively forming a trace point and its corresponding link record.

[0137] In a possible implementation, as Figure 3A shown, taking the customer service trace point as an example, the customer service trace point includes a first customer service trace point, a second customer service trace point, and a third customer service trace point; the network communication component further includes a seventh network transceiver and an eighth network transceiver. Among them,

[0138] after the client receives a service request instruction input by a user or a customer service, it can send the service request instruction to the third network transceiver (i.e., the transit service module) through the seventh network transceiver, so as to form a first customer service trace point and its corresponding first customer link record.

[0139] In the case where the service request instruction is successfully verified or not verified, the client can receive the execution result of the service request instruction from the fourth network transceiver (i.e., the transit service module) through the eighth network transceiver, so as to form a second customer service trace point and its corresponding second customer link record.

[0140] In the case where the service request instruction verification fails, the client can receive the verification failure result from the fourth network transceiver through the eighth network transceiver, so as to form a third customer service trace point and its corresponding third customer link record.

[0141] That is, during the process of recording the trace link through the seventh network transceiver and the eighth network transceiver, the seventh network transceiver sends a service request instruction once, the eighth network transceiver receives a verification failure result once, and the eighth network transceiver receives an execution result once, respectively forming a trace point and its corresponding link record.

[0142] In the above process, the link records described by trace points are fused with network communication components. Only two key points, namely the sending and receiving of network links, are required to map the entire network link process, simplifying the generation logic of link records, achieving the transparency of business applications, and having a very high isolation level between each trace point, with no mutual influence between them. This is conducive to the processing unit quickly analyzing the cause of faults, accurately locating the process where the fault occurs and the blocking point of request time consumption, reducing the maintenance cost, and improving the system performance.

[0143] Next, other implementation schemes of the link tracing unit based on the link types of business request instructions initiated by users or business request instructions initiated by background services are introduced.

[0144] In a possible implementation manner, the link tracing unit includes: a target service module; the network communication component includes a first network transceiver. Among them:

[0145] The target service module is used to receive a business request instruction from the client through the first network transceiver and execute the business request instruction to form a first target service trace point and its corresponding first target link record.

[0146] It should be noted that the target service module and the process of forming the target service trace point and the target link record can refer to the relevant introduction in the foregoing embodiments and will not be elaborated here.

[0147] In a possible implementation manner, the link tracing unit includes: a target service module; the network communication component includes a first network transceiver and a second network transceiver. Among them:

[0148] The target service module is used to receive a business request instruction from the client through the first network transceiver and execute the business request instruction to form a first target service trace point and its corresponding first target link record.

[0149] The target service module is further used to send the execution result of the business request instruction to the client through the second network transceiver to form a second target service trace point and its corresponding second target link record.

[0150] It should be noted that the target service module and the process of forming the target service trace point and the target link record can refer to the relevant introduction in the foregoing embodiments and will not be elaborated here.

[0151] In a possible implementation manner, the link tracing unit includes: a target service module and a transit service module; the network communication component includes a first network transceiver, a second network transceiver, a third network transceiver, and a fourth network transceiver. Among them:

[0152] The transfer service module is used to receive a service request instruction from a client through a third network transceiver to form a first transfer service tracking point and its corresponding first transfer link record; and forward the service request instruction to the target service module.

[0153] The target service module is used to receive a service request instruction from the transfer service module through a first network transceiver to form a first target service tracking point and its corresponding first target link record; and execute the service request instruction, and send the execution result to the transfer service module through a second network transceiver to form a second target service tracking point and its corresponding second target link record.

[0154] The transfer service module is further used to receive the execution result from the target service module and send the execution result to the client through a fourth network transceiver to form a second transfer service tracking point and its corresponding second transfer link record.

[0155] It should be noted that the process of the target service module and its formation of the target service tracking point and its corresponding target link record, as well as the transfer service module and its formation of the transfer service tracking point and its corresponding transfer link record, can refer to the relevant introduction in the foregoing embodiments and will not be elaborated herein.

[0156] Optionally, after the transfer service module receives the service request instruction, the transfer service module can also verify the service request instruction;

[0157] If the verification is successful, forward the service request instruction to the target service module;

[0158] If the verification fails, send the verification result through the third network transceiver to form a seventh transfer service tracking point and its corresponding seventh transfer link record; and receive the verification result from the third network transceiver through the fourth network transceiver to form an eighth transfer service tracking point and its corresponding eighth transfer link record; and send the verification result to the client through the fourth network transceiver to form a ninth transfer service tracking point and its corresponding ninth transfer link record.

[0159] It should be noted that the process of the transfer service module for verification and its formation of the transfer service tracking point and the transfer link record can refer to the relevant introduction in the foregoing embodiments and will not be elaborated herein.

[0160] In a possible implementation manner, the network communication component further includes a seventh network transceiver and an eighth network transceiver. The following introduces two cases respectively:

[0161] For the case where the link tracking unit includes the target service module:

[0162] The client can send a service request instruction to the target service module through the seventh network transceiver to form a first customer service trace point and its corresponding first customer link record; and receive the execution result from the target service module through the eighth network transceiver to form a second customer service trace point and its corresponding second customer link record.

[0163] For the case where the link tracing unit includes a target service module and a transit service module:

[0164] As Figure 3A shown, the client can send a service request instruction to the transit service module through the seventh network transceiver to form a first customer service trace point and its corresponding first customer link record; and receive the execution result from the transit service module through the eighth network transceiver to form a second customer service trace point and its corresponding second customer link record.

[0165] It should be noted that the process of the client and the formation of the customer service trace point and the customer link record can refer to the relevant introduction in the foregoing embodiments and will not be elaborated here.

[0166] It should be noted that from all the embodiments of the link tracing unit described above based on the link types of the user-initiated service request instruction or the background-initiated service request instruction, the client can directly send a service request instruction to the target service module, and the client can also indirectly send an instruction to the target service module through the transit service module. Those skilled in the art can flexibly select the corresponding implementation scheme according to the service requirements.

[0167] Next, the link tracing unit will be introduced based on the link type of the service publication notice.

[0168] In a possible implementation manner, as Figure 6 shown, the link tracing unit includes: a transit service module and a target service module; the network communication component includes a second network transceiver, a fourth network transceiver, and a sixth network transceiver ( Figure 6 not shown in

[0169] The target service module is used to send a service request instruction to the transit service module through the second network transceiver to form a third target service trace point and its corresponding third target link record.

[0170] The transit service module is used to receive a service request instruction from the second network transceiver through the sixth network transceiver to form a fifth transit service trace point and its corresponding fifth transit link record; and send the service request instruction to the client through the fourth network transceiver to form a sixth transit service trace point and its corresponding sixth transit link record.

[0171] Optionally, the number of transit service modules may be one or more, and the service request instruction may be forwarded once or multiple times.

[0172] Optionally, the service request instruction is actively generated by the target service module. The target service module generates a service request instruction based on its own data change and publishes it to the client. For example, the service request instruction may be a service notification instruction such as a service status update message, a subscription message, a public account push notification, etc. initiated by the target service module. Specifically, reference may be made to Figure 5B the link types shown.

[0173] Exemplarily, as Figure 3B shown, Figure 3B is a schematic diagram of another application scenario provided by the embodiment of the present application. Taking the target service tracking point as an example, the target service tracking point includes a third target service tracking point; the network communication component includes a second network transceiver. Among them, the target service module sends the service request instruction to the sixth network transceiver (i.e., the transit service module) through the second network transceiver, and forms a third target service tracking point and its corresponding third target link record during the process of sending the service request instruction. That is, during the process of recording the tracking link through the second network transceiver, the second network transceiver sends a service request instruction once, forming a tracking point and its corresponding link record.

[0174] Next, taking the transit service tracking point as an example, as Figure 3B shown, the transit service tracking point includes a fifth transit service tracking point and a sixth transit service tracking point; the network communication component further includes a fourth network transceiver and a sixth network transceiver. Among them, the transit service module receives the service request instruction sent by the second network transceiver (i.e., the target service module) through the sixth network transceiver, and forms a fifth transit service tracking point and its corresponding fifth transit link record during the process of receiving the service request instruction; the transit service module also sends the service request instruction to the client through the fourth network transceiver, and forms a sixth transit service tracking point and its corresponding sixth transit link record during the process of forwarding the service request instruction. That is, during the process of recording the tracking link through the fourth network transceiver and the sixth network transceiver, the sixth network transceiver receives a service request instruction once and the fourth network transceiver sends a service request instruction once, respectively forming a tracking point and its corresponding link record.

[0175] In a possible implementation manner, the link tracking unit includes: a target service module; the network communication component includes a second network transceiver. Among them:

[0176] The target service module is used to send the service request instruction to the client through the second network transceiver to form a third target service tracking point and its corresponding third target link record.

[0177] The structure of the link tracing unit in this embodiment is applicable to the link type of service release notification.

[0178] It should be noted that the process of the target service module and its formation of the target service trace point and its corresponding target link record, as well as the transit service module and its formation of the transit service trace point and its corresponding transit link record, can refer to the relevant introduction in the foregoing embodiments and will not be elaborated here.

[0179] In a possible implementation, the network communication component further includes an eighth network transceiver. The following will be introduced in two cases respectively:

[0180] For the case where the link tracing unit includes a target service module:

[0181] The client can receive a service request instruction from the target service module through the eighth network transceiver to form a fourth client service trace point and its corresponding fourth client link record.

[0182] For the case where the link tracing unit includes a target service module and a transit service module:

[0183] As Figure 3B shown, the client can receive an execution result from the transit service module through the eighth network transceiver to form a fifth client service trace point and its corresponding fifth client link record.

[0184] It should be noted that the process of the client and its formation of the client service trace point and its corresponding client link record can refer to the relevant introduction in the foregoing embodiments and will not be elaborated here.

[0185] It should be noted that from the link tracing unit described based on the link type of service release notification above, the target service module can directly send an instruction to the client, and the target service module can also indirectly send an instruction to the client through the transit service module. Those skilled in the art can flexibly select the corresponding implementation solution according to business requirements.

[0186] Next, refer to Figure 7 to introduce the processing unit of this embodiment. Figure 7 It is a schematic diagram of the composition of the processing unit provided in the embodiment of the present application.

[0187] As Figure 7 shown, in a possible implementation, the processing unit 403 includes an analysis module 4031 and a storage module 4032, where:

[0188] The analysis module 4031 is used to analyze and process the trace point and the link record, form trace link data, and judge the trace link data, and generate a link tracing log according to the judgment result.

[0189] Exemplarily, the specific way to analyze and process the tracking points and link records to form the tracking link data can be to concatenate all the tracking points according to the tracking code and link sequence number of each tracking point to form a tracking link, and the link records corresponding to each tracking point constitute the tracking records of the tracking link. Among them, the tracking code is the tracking link identifier; the link sequence number is the call sequence number of the tracking point in the current tracking link.

[0190] The following takes the example where the user sends a service request instruction through the client and the verification of the service request instruction fails for elaboration.

[0191] First, the client sends a service request instruction to the relay service module through the seventh network transceiver, forming a first client service tracking point and its corresponding first client link record. The link sequence number of the first client service tracking point is 1, and the tracking code is TraceID1.

[0192] Next, the relay service module receives the service request instruction from the client through the third network transceiver, forming a first relay service tracking point and its corresponding first relay link record. The link sequence number of the first relay service tracking point is 2, and the tracking code is TraceID2; after the relay service module receives the service request instruction, it verifies the service request instruction, and if the verification fails, the relay service module sends the verification failure result through the third network transceiver, forming a seventh relay service tracking point and its corresponding seventh relay link record. The link sequence number of the seventh relay service tracking point is 3, and the tracking code is TraceID3; and receives the verification failure result from the third network transceiver through the fourth network transceiver, forming an eighth relay service tracking point and its corresponding eighth relay link record. The link sequence number of the eighth relay service tracking point is 4, and the tracking code is TraceID4; and sends the verification failure result to the client through the fourth network transceiver, forming a ninth relay service tracking point and its corresponding ninth relay link record. The link sequence number of the ninth relay service tracking point is 5, and the tracking code is TraceID5.

[0193] Then, the client receives the verification failure result from the fourth network transceiver through the eighth network transceiver, forming a third client service tracking point and its corresponding third client link record. The link sequence number of the third client service tracking point is 6, and the tracking code is TraceID6.

[0194] Finally, according to the tracking code and link sequence number of each tracking point, all the tracking points are concatenated, and the formed tracking link is: the first client service tracking point → the first relay service tracking point → the seventh relay service tracking point → the eighth relay service tracking point → the ninth relay link record → the third client service tracking point.

[0195] Exemplarily, the specific method for judging the trace link data may be as follows:

[0196] Judge whether the trace link data meets any two of the following conditions:

[0197] Condition 1: The trace link data is complete;

[0198] Condition 2: The trace link data is incomplete;

[0199] Condition 3: The trace link data has no code error;

[0200] Condition 4: The last trace point of the trace link data has a code error;

[0201] If conditions 1 and 3 are met, it is determined that the trace link has no fault; or,

[0202] If conditions 1 and 4 are met, it is determined that the trace link has a functional fault; or,

[0203] If conditions 2 and 3 are met, it is determined that the trace link has an interruption fault; or,

[0204] If conditions 2 and 4 are met, it is determined that the trace link has a network fault.

[0205] According to the above judgment results, a corresponding link trace log can be output. Among them, the link trace log includes the link records of each trace point, the trace link data, and the judgment results. And, the storage module 4032 can store the link trace log.

[0206] It should be noted that the method for judging the trace link data is not limited to the conditions listed above. It can also be that the first trace point of the trace link data has a code error, or any trace point has a code error, etc. Other conditions. Those skilled in the art can flexibly adjust and set the judgment conditions of the fault according to the actual fault judgment requirements. No matter how the judgment conditions of the fault are adjusted and set, as long as it can be determined whether the trace link has a fault and the cause of the fault.

[0207] Next, refer to Figure 8 for a further introduction to the link trace system of the embodiments of the present application. Figure 8 It is another schematic diagram of the link trace system provided by the embodiments of the present application.

[0208] As Figure 8 shown, the link trace system 400 of the embodiments of the present application further includes: a local collector 404, which is used to store the trace points and link records, and forward the trace points and link records to the processing unit.

[0209] Exemplarily, as Figure 3AAs shown in the figure, the local collector includes a first collection module, a second collection module, and a third collection module, where: The first collection module is used to store target service trace points and corresponding target link records, and forward the above-mentioned trace points and link records to the processing unit. The second collection module is used to store transit service trace points and corresponding transit link records, and forward the above-mentioned trace points and link records to the processing unit. The third collection module is used to store received customer service trace points and corresponding customer link records, and forward the above-mentioned trace points and link records to the processing unit.

[0210] It should be noted that the structure of the local collector is not limited to the structures listed above. If the link tracing system includes a target service module, the local collector includes a first collection module; if the link tracing system includes a target service module and a transit service module, the local collector includes a first collection module and a second collection module. If the link tracing system includes a target service module and the client is equipped with a seventh network transceiver or an eighth network transceiver, the local collector includes a first collection module and a third collection module. Those skilled in the art can flexibly adjust and set the structure of the local collector according to the results of the link tracing system, and the present invention does not impose any restrictions on this.

[0211] Based on the technical solution of the embodiment of the present application, it should be emphasized that, compared with the prior art, in the embodiment of the present application, first, the concept of Span is removed, and the information in Span is flattened by call trace points to form the entire trace link, reducing the intrusion into the business logic. As long as a record is generated when a call occurs, without considering the relationship between the call and the response; it can trace unidirectional notification messages, which is more flexible. The difference in implementation is that the isolation between trace points is higher, and the generation logic is relatively direct - as long as there is a call, a record can be generated; while for Span, a unique SpanID needs to be generated first, then the parent ID needs to be known, and then it needs to be known whether it is client send / client receive / server send / server receive, etc. In the storage center, it is summarized not only by link but also by SpanID. Secondly, the generation of trace point records is embedded in the necessary network communication components of the system. As long as a process that requires network communication components can naturally collect trace points, achieving complete transparency to the business application; other technologies provide a separate client api or use Java bytecode technology to insert it.

[0212] Based on the same inventive concept, the embodiment of the present application also provides a link tracing method. The principle of this method for solving problems is similar to that of the system in the above embodiment. Therefore, the implementation of this method can refer to the implementation of the above system, and the repeated parts will not be elaborated.

[0213] See Figure 9 , Figure 9Schematic flowchart of the link tracing method provided by an embodiment of this application. The method includes the following steps:

[0214] Step S901: Obtain a service request instruction. The service request instruction is used to indicate the execution of a data processing service.

[0215] Step S902: Trace the link record of the execution of the service request instruction in the form of a tracing point through a network communication component.

[0216] Step S903: Analyze and process the link record to generate a link tracing log.

[0217] In some implementation manners, the network communication component includes a first network transceiver. "Trace the link record of the execution of the service request instruction in the form of a tracing point through a network communication component" specifically includes: receiving the service request instruction from the client through the first network transceiver and executing the service request instruction to form a first target service tracing point and its corresponding first target link record.

[0218] In some implementation manners, the network communication component further includes a second network transceiver. "Trace the link record of the execution of the service request instruction in the form of a tracing point through a network communication component" further includes: sending the execution result of the service request instruction to the client through the second network transceiver to form a second target service tracing point and its corresponding second target link record.

[0219] In some implementation manners, the network communication component further includes a third network transceiver and a fourth network transceiver. Among them, "Trace the link record of the execution of the service request instruction in the form of a tracing point through a network communication component" specifically includes: receiving the service request instruction from the client through the third network transceiver to form a first transit service tracing point and its corresponding first transit link record; forwarding the service request instruction to the target service module; and receiving the execution result from the target service module and sending the execution result to the client through the fourth network transceiver to form a second transit service tracing point and its corresponding second transit link record. Receiving the service request instruction from the transit service module through the first network transceiver to form a first target service tracing point and its corresponding first target link record; and executing the service request instruction and sending the execution result to the transit service module through the second network transceiver to form a second target service tracing point and its corresponding second target link record.

[0220] In some implementations, the network communication component further includes a fifth network transceiver and a sixth network transceiver. Among them, "tracking the link record of the business request instruction in the form of a tracking point through the network communication component" further includes: forwarding the business request instruction to the target service module through the fifth network transceiver to form a third transit service tracking point and its corresponding third transit link record; and receiving the execution result from the second network transceiver through the sixth network transceiver to form a fourth transit service tracking point and its corresponding fourth transit link record. Receiving the business request instruction from the fifth network transceiver through the first network transceiver to form a first target service tracking point and its corresponding first target link record; and executing the business request instruction and sending the execution result to the transit service module through the second network transceiver to form a second target service tracking point and its corresponding second target link record.

[0221] In some implementations, the network communication component further includes a seventh network transceiver and an eighth network transceiver. Among them, the client can send a business request instruction to the transit service module or the target service module through the seventh network transceiver to form a first client service tracking point and its corresponding first client link record; and receive the execution result from the transit service module or the target service module through the eighth network transceiver to form a second client service tracking point and its corresponding second client link record.

[0222] In some implementations, the network communication component includes a second network transceiver. Among them, "tracking the link record of the business request instruction in the form of a tracking point through the network communication component" specifically includes: sending the business request instruction to the client through the second network transceiver to form a third target service tracking point and its corresponding third target link record.

[0223] In some implementations, the network communication component further includes a fourth network transceiver and a sixth network transceiver. Among them, "tracking the link record of the business request instruction in the form of a tracking point through the network communication component" further includes: sending the business request instruction to the transit service module through the second network transceiver to form a third target service tracking point and its corresponding third target link record. Receiving the business request instruction from the second network transceiver through the sixth network transceiver to form a fifth transit service tracking point and its corresponding fifth transit link record; and sending the business request instruction to the client through the fourth network transceiver to form a sixth transit service tracking point and its corresponding sixth transit link record.

[0224] In some implementations, the method further includes: verifying the service request instruction. If the verification is successful, forward the service request instruction to the target service module. If the verification fails, send the verification result through the third network transceiver to form a seventh transit service trace point and its corresponding seventh transit link record; and receive the verification result from the third network transceiver through the fourth network transceiver to form an eighth transit service trace point and its corresponding eighth transit link record; and send the verification result to the client through the fourth network transceiver to form a ninth transit service trace point and its corresponding ninth transit link record.

[0225] In some implementations, "analyzing and processing the trace points and link records to generate a link trace log" specifically includes: analyzing and processing the trace points and link records to form trace link data, and making a judgment on the trace link data, and generating a link trace log according to the judgment result. Store the link trace log; wherein, the link trace log includes the link record, trace link data, and judgment result of each trace point.

[0226] In some implementations, "analyzing and processing the trace points and link records to form trace link data" specifically includes: concatenating all the trace points according to the trace code and link sequence number of each trace point to form a trace link, and the link records respectively corresponding to each trace point constitute the trace record of the trace link; wherein, the trace code is the trace link identifier; the link sequence number is the call sequence number of the trace point in the current trace link.

[0227] In some implementations, "making a judgment on the trace link data" specifically includes: judging whether the trace link data meets any two of the following conditions:

[0228] Condition 1: The trace link data is complete;

[0229] Condition 2: The trace link data is incomplete;

[0230] Condition 3: The trace link data has no code error;

[0231] Condition 4: The last trace point of the trace link data has a code error;

[0232] If conditions 1 and 3 are met, it is determined that the trace link has no fault; or,

[0233] If conditions 1 and 4 are met, it is determined that the trace link has a functional fault; or,

[0234] If conditions 2 and 3 are met, it is determined that the trace link has an interruption fault; or,

[0235] If conditions 2 and 4 are met, it is determined that the trace link has a network fault.

[0236] In some implementations, the method further includes: storing trace points and link records, and forwarding the trace points and link records to a processing unit.

[0237] It should be noted that the order of the above step processes is not fixed, and those skilled in the art can change the order of the steps or delete some steps according to requirements, as long as the purpose of this application can be achieved. In an alternative implementation, a production event base model copy can be generated after generating the first derived model.

[0238] Based on the same inventive concept as the above method embodiments, an embodiment of the present application further provides a link tracing device. The principle of the device for solving problems is similar to that of the method in the above embodiments. Therefore, the implementation of the device can refer to the implementation of the above method, and the repeated parts will not be described again.

[0239] See Figure 10 , Figure 10 FIG. is a schematic structural diagram of the link tracing device provided in the embodiment of the present application. The link tracing device 1000 includes: an acquisition module 1001, a tracing module 1002, and a processing module 1003.

[0240] The acquisition module is configured to acquire a service request instruction; the service request instruction is used to indicate the execution of a data processing service.

[0241] The tracing module is configured to trace the link record of the execution of the service request instruction in the form of trace points through a network communication component.

[0242] The processing module is configured to analyze and process the link record to generate a link tracing log.

[0243] In some implementations, the network communication component includes a first network transceiver. Among them, the tracing module is specifically configured to receive a service request instruction from a client through the first network transceiver and execute the service request instruction to form a first target service trace point and its corresponding first target link record.

[0244] In some implementations, the network communication component further includes a second network transceiver. Among them, the tracing module is specifically configured to send the execution result of the service request instruction to the client through the second network transceiver to form a second target service trace point and its corresponding second target link record.

[0245] In some implementation manners, the network communication component further includes a third network transceiver and a fourth network transceiver. Among them, the tracking module is specifically configured to receive a service request instruction from the client through the third network transceiver to form a first transit service tracking point and its corresponding first transit link record; forward the service request instruction to the target service module; and receive an execution result from the target service module and send the execution result to the client through the fourth network transceiver to form a second transit service tracking point and its corresponding second transit link record. Receive the service request instruction from the transit service module through the first network transceiver to form a first target service tracking point and its corresponding first target link record; and execute the service request instruction and send the execution result to the transit service module through the second network transceiver to form a second target service tracking point and its corresponding second target link record.

[0246] In some implementation manners, the network communication component further includes a fifth network transceiver and a sixth network transceiver. Among them, the tracking module is specifically configured to forward the service request instruction to the target service module through the fifth network transceiver to form a third transit service tracking point and its corresponding third transit link record; and receive the execution result from the second network transceiver through the sixth network transceiver to form a fourth transit service tracking point and its corresponding fourth transit link record. Receive the service request instruction from the fifth network transceiver through the first network transceiver to form a first target service tracking point and its corresponding first target link record; and execute the service request instruction and send the execution result to the transit service module through the second network transceiver to form a second target service tracking point and its corresponding second target link record.

[0247] In some implementation manners, the network communication component further includes a seventh network transceiver and an eighth network transceiver. Among them, the client can send a service request instruction to the transit service module or the target service module through the seventh network transceiver to form a first client service tracking point and its corresponding first client link record; and receive the execution result from the transit service module or the target service module through the eighth network transceiver to form a second client service tracking point and its corresponding second client link record.

[0248] In some implementation manners, the network communication component includes a second network transceiver. Among them, the tracking module is specifically configured to send the service request instruction to the client through the second network transceiver to form a third target service tracking point and its corresponding third target link record.

[0249] In some implementation manners, the network communication component further includes a fourth network transceiver and a sixth network transceiver. Among them, the tracking module is specifically configured to send a service request instruction to the relay service module through the second network transceiver, so as to form a third target service tracking point and its corresponding third target link record. Receive the service request instruction from the second network transceiver through the sixth network transceiver, so as to form a fifth relay service tracking point and its corresponding fifth relay link record; and send the service request instruction to the client through the fourth network transceiver, so as to form a sixth relay service tracking point and its corresponding sixth relay link record.

[0250] In some implementation manners, the tracking module is further configured to verify the service request instruction. If the verification is successful, forward the service request instruction to the target service module. If the verification fails, send the verification result through the third network transceiver, so as to form a seventh relay service tracking point and its corresponding seventh relay link record; and receive the verification result from the third network transceiver through the fourth network transceiver, so as to form an eighth relay service tracking point and its corresponding eighth relay link record; and send the verification result to the client through the fourth network transceiver, so as to form a ninth relay service tracking point and its corresponding ninth relay link record.

[0251] In some implementation manners, the processing module is specifically configured to analyze and process the tracking points and link records to form tracking link data, and judge the tracking link data, and generate a link tracking log according to the judgment result; the processing module is further configured to store the link tracking log; wherein, the link tracking log includes the link records, tracking link data and judgment results of each tracking point.

[0252] In some implementation manners, the processing module is specifically configured to concatenate all the tracking points according to the tracking code and link sequence number of each tracking point to form a tracking link, and the link records respectively corresponding to each tracking point constitute the tracking record of the tracking link; wherein, the tracking code is the tracking link identifier; the link sequence number is the call sequence number of the tracking point in the current tracking link.

[0253] In some implementation manners, the processing module is specifically configured to judge whether the tracking link data meets any two of the following conditions: Condition 1: The tracking link data is complete; Condition 2: The tracking link data is incomplete; Condition 3: The tracking link data has no code error; Condition 4: The last tracking point of the tracking link has a code error; if Condition 1 and Condition 3 are met, it is determined that the tracking link has no fault; or, if Condition 1 and Condition 4 are met, it is determined that the tracking link has a functional fault; or, if Condition 2 and Condition 3 are met, it is determined that the tracking link has an interruption fault; or, if Condition 2 and Condition 4 are met, it is determined that the tracking link has a network fault.

[0254] In some implementations, the apparatus further includes: a collection module, configured to store trace points and link records, and forward the trace points and link records to the processing unit.

[0255] As described above, the embodiments of the present application can perform functional module division on each execution entity involved in the link tracing method according to the above method examples. Among them, the above integrated modules can be implemented in the form of hardware or in the form of software functional modules. In addition, it should be noted that the division of modules in the embodiments of the present application is illustrative, and is only a logical function division. In actual implementation, there may be other division methods. For example, corresponding functional modules can be divided for each function, or two or more functions can be integrated into one processing module.

[0256] Regarding the link tracing apparatus in the above embodiments, the specific manners in which each module performs operations and the beneficial effects thereof have been described in detail in the foregoing method embodiments, and will not be elaborated herein.

[0257] In an exemplary embodiment, the embodiments of the present application also provide an electronic device. The electronic device can be a server or a terminal device. In this embodiment, as Figure 11 shown, Figure 11 shows a schematic structural diagram of the electronic device. The electronic device 1100 includes: a processor 1101, a communication interface 1102, a memory 1103, and a bus 1104.

[0258] Among them, the processor 1101 is used to control and manage the operations of the apparatus. For example, the processor 1101 executes each step in the method flow shown in the foregoing method embodiments, and / or is used to execute other processes of the technologies described herein.

[0259] The processor 1101 can implement or execute various exemplary logical blocks, units, and circuits described in connection with the disclosure of the present invention. The processor can be a central processing unit, a general-purpose processor, a digital signal processor, an application-specific integrated circuit, a field-programmable gate array, or other programmable logic devices, transistor logic devices, hardware components, or any combination thereof. It can implement or execute various exemplary logical blocks, units, and circuits described in connection with the disclosure of the present invention. The processor can also be a combination that implements computing functions, such as a combination including one or more microprocessors, a combination of a DSP and a microprocessor, etc.

[0260] Among them, the communication interface 1102 is used to support the communication of the apparatus with other network entities. For example, the communication interface 1102 supports the information interaction between the electronic device 1100 and other devices. The communication interface 1102, the processor 1101, and the memory 1103 can be coupled to each other. For example, they are coupled to each other through the bus 1104.

[0261] Among them, the memory 1103 is used to store the program code and data of the device, and is controlled and executed by the processor 1101.

[0262] The memory 1103 can be a read-only memory (ROM) or other types of static storage devices that can store static information and instructions, a random access memory (RAM) or other types of dynamic storage devices that can store information and instructions, or can also be an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compact discs, laser discs, optical discs, digital versatile discs, Blu-ray discs, etc.), magnetic disk storage media or other magnetic storage devices, or any other medium that can be used to carry or store the desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto. The memory 1103 can exist independently and be connected to the processor 1101 through the bus 1104. The memory 1103 can also be integrated with the processor 1101.

[0263] Among them, the bus 1104 can be an extended industry standard architecture (EISA) bus, etc. The bus 1104 can be divided into an address bus, a data bus, a control bus, etc. For the sake of easy representation, Figure 11 only a thick line is used to represent it in the figure, but it does not mean that there is only one bus or one type of bus.

[0264] It should be noted that Figure 11 the device structure shown in the figure does not constitute a limitation on the electronic device 1100. Except Figure 11 for the components shown, the electronic device 1100 can include more or fewer components than those shown in the figure, or combine some components, or have a different component layout.

[0265] In actual implementation, the functions implemented by the processing unit can be Figure 11 realized by the processor 1101 shown in the figure calling the program code in the memory 1103.

[0266] Through the description of the above embodiments, those skilled in the art can clearly understand that for the convenience and brevity of description, only the division of the above function modules is used as an example. In actual applications, the above functions can be allocated to different function modules as needed, that is, the internal structure of the device is divided into different function modules to complete all or part of the functions described above. The specific working processes of the systems, devices, and units described above can refer to the corresponding processes in the foregoing method embodiments and will not be elaborated here.

[0267] As described above, the embodiments of the present application can divide the function modules of each execution entity involved in the method for changing the data structure according to the above method examples. Among them, the above integrated modules can be implemented in the form of hardware or in the form of software function modules. In addition, it should be noted that the division of modules in the embodiments of the present application is illustrative, only a logical function division, and there may be other division methods in actual implementation. For example, each function can correspond to each function module, or two or more functions can be integrated into one processing module.

[0268] In an exemplary embodiment, the embodiments of the present application further provide a computer-readable storage medium, on which computer program instructions are stored; when the computer program instructions are executed by an electronic device, the electronic device implements the method as in the foregoing embodiments.

[0269] Optionally, the above computer-readable storage medium may be a non-temporary computer-readable storage medium. For example, the non-temporary computer-readable storage medium may be ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, and optical data storage device, etc.

[0270] In an exemplary embodiment, the embodiments of the present application further provide a computer program product, including computer-readable code, or a non-volatile computer-readable storage medium carrying the computer-readable code. When the computer-readable code runs in an electronic device, the processor in the electronic device implements the method as in the foregoing embodiments.

[0271] Those skilled in the art will readily think of other embodiments of the present application after considering the specification and practicing the invention herein. The present application is intended to cover any variations, uses, or adaptations of the present application, which follow the general principles of the present application and include common general knowledge or conventional technical means in the technical field not claimed in the present application. The specification and embodiments are only regarded as exemplary, and the true scope and spirit of the present application are pointed out by the following claims.

[0272] It should be understood that the present application is not limited to the exact structures described above and shown in the drawings, and various modifications and changes can be made without departing from its scope. The scope of the present application is only limited by the appended claims.

Claims

1. A link tracing system, characterized in that, The system includes: a link tracing unit, a network communication component, and a processing unit; wherein, the link tracing unit is configured to obtain a service request instruction, and trace a link record for executing the service request instruction in the form of a tracing point through the network communication component; the service request instruction is used to indicate the execution of a data processing service; the processing unit is configured to analyze and process the tracing point and the link record to generate a link tracing log.

2. The system according to claim 1, wherein The link tracing unit includes: a target service module; the network communication component includes a first network transceiver; wherein, the target service module is configured to receive the service request instruction from the client through the first network transceiver and execute the service request instruction to form a first target service tracing point and its corresponding first target link record.

3. The system according to claim 2, characterized in that The network communication component further includes a second network transceiver; wherein, the target service module is configured to send the execution result of the service request instruction to the client through the second network transceiver to form a second target service tracing point and its corresponding second target link record.

4. The system according to claim 3, wherein The link tracing unit further includes: a transit service module; the network communication component further includes a third network transceiver and a fourth network transceiver; wherein, the transit service module is configured to receive the service request instruction from the client through the third network transceiver to form a first transit service tracing point and its corresponding first transit link record; forward the service request instruction to the target service module; and receive the execution result from the target service module and send the execution result to the client through the fourth network transceiver to form a second transit service tracing point and its corresponding second transit link record; the target service module is configured to receive the service request instruction from the transit service module through the first network transceiver to form the first target service tracing point and its corresponding first target link record; and execute the service request instruction and send the execution result to the transit service module through the second network transceiver to form the second target service tracing point and its corresponding second target link record.

5. The system according to claim 4, characterized in that The network communication component further includes a fifth network transceiver and a sixth network transceiver; wherein, the transit service module is configured to forward the service request instruction to the target service module through the fifth network transceiver to form a third transit service tracing point and its corresponding third transit link record; and receive the execution result from the second network transceiver through the sixth network transceiver to form a fourth transit service tracing point and its corresponding fourth transit link record; The target service module is used to receive the service request instruction from the fifth network transceiver through the first network transceiver to form the first target service trace point and its corresponding first target link record; and execute the service request instruction, and send the execution result to the transfer service module through the second network transceiver to form the second target service trace point and its corresponding second target link record.

6. The system according to claim 4 or 5, characterized in that, The network communication component further includes a seventh network transceiver and an eighth network transceiver, where The client can send the service request instruction to the transfer service module or the target service module through the seventh network transceiver to form the first client service trace point and its corresponding first client link record; and receive the execution result from the transfer service module or the target service module through the eighth network transceiver to form the second client service trace point and its corresponding second client link record.

7. The system according to claim 1, characterized in that, The link tracking unit includes: a target service module; the network communication component includes a second network transceiver; where The target service module is used to send the service request instruction to the client through the second network transceiver to form the third target service trace point and its corresponding third target link record.

8. The system according to claim 7, wherein The link tracking unit further includes: a transfer service module; the network communication component further includes a fourth network transceiver and a sixth network transceiver; where The target service module is used to send the service request instruction to the transfer service module through the second network transceiver to form the third target service trace point and its corresponding third target link record; The transfer service module is used to receive the service request instruction from the second network transceiver through the sixth network transceiver to form the fifth transfer service trace point and its corresponding fifth transfer link record; and send the service request instruction to the client through the fourth network transceiver to form the sixth transfer service trace point and its corresponding sixth transfer link record.

9. The system according to claim 4, characterized in that The transfer service module is further used to verify the service request instruction; If the verification is successful, forward the service request instruction to the target service module; If the verification fails, send the verification result through the third network transceiver to form the seventh transfer service trace point and its corresponding seventh transfer link record; and receive the verification result from the third network transceiver through the fourth network transceiver to form the eighth transfer service trace point and its corresponding eighth transfer link record; and send the verification result to the client through the fourth network transceiver to form the ninth transfer service trace point and its corresponding ninth transfer link record.

10. The system according to any one of claims 1 to 5, 7 to 9, characterized in that, The processing unit includes an analysis module and a storage module, where The analysis module is used to analyze and process the trace point and the link record to form trace link data, and judge the trace link data, and generate a link tracking log according to the judgment result; The storage module is used to store the link trace logs; wherein, the link trace logs include the link records, the trace link data, and the judgment results of each of the trace points.

11. The system according to claim 10, wherein, The analysis and processing of the trace points and the link records to form trace link data includes: According to the trace codes and link sequence numbers of each of the trace points, all the trace points are concatenated to form a trace link, and the link records respectively corresponding to each of the trace points constitute the trace records of the trace link; Wherein, the trace code is a trace link identifier; the link sequence number is the call sequence number of the trace point in the current trace link.

12. The system according to claim 11, wherein The judgment of the trace link data includes: Judging whether the trace link data meets any two of the following conditions: Condition 1: The trace link data is complete; Condition 2: The trace link data is incomplete; Condition 3: The trace link data has no code error; Condition 4: The last trace point of the trace link has a code error; If conditions 1 and 3 are met, it is determined that the trace link has no fault; Or, If conditions 1 and 4 are met, it is determined that the trace link has a functional fault; Or, If conditions 2 and 3 are met, it is determined that the trace link has an interruption fault; or, If conditions 2 and 4 are met, it is determined that the trace link has a network fault.

13. The system according to any one of claims 1 to 5, 7 to 9, characterized in that, The system further includes: A local collector, which is used to store the trace points and the link records, and forward the trace points and the link records to the processing unit.

14. A link tracing method, characterized in that, Applied to the link tracing system according to any one of claims 1 to 13; the method includes: Obtaining a service request instruction; the service request instruction is used to indicate the execution of a data processing service; Tracking the link record for executing the service request instruction in the form of trace points through a network communication component; Analyzing and processing the link record to generate a link trace log.

15. A link tracing device, characterized in that, The device includes: An obtaining module, which is used to obtain a service request instruction; the service request instruction is used to indicate the execution of a data processing service; A tracking module, which is used to track the link record for executing the service request instruction in the form of trace points through a network communication component; A processing module, which is used to analyze and process the link record to generate a link trace log.

16. A computer-readable storage medium, the computer-readable storage medium comprising a computer program, characterized in that, When the computer program runs on an electronic device, the electronic device implements the method according to claim 14.