Data processing method and device, computer equipment and medium

By adding business function fields in the microservice system and resolving them into business indicators, and establishing a tracking identification correspondence relationship, the problem of inefficient querying ranges of changes in business demand in the microservice system is solved, and efficient query and development efficiency are improved.

CN119493894APending Publication Date: 2025-02-21MASHANG CONSUMER FINANCE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311020856.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-08-14
Publication Date
2025-02-21

AI Technical Summary

Technical Problem

In microservice systems, when determining the scope of impact of development on changes in business demand, traditional methods are inefficient, take a lot of time and are prone to query omissions.

Method used

In the microservice system, when the user equipment calls the backend device to execute business, it adds business function fields in the execution link, and resolves it into business indicators through the gateway of the backend device, establishes the business indicators and the tracking identifier of the execution link between the business indicators and the tracking identifier of the execution link The corresponding relationship of the , is stored in the preset corresponding relationship set to quickly query the field information affected by business changes.

Benefits of technology

It realizes efficient querying of the scope of business changes impact, reduces query time, avoids query omissions, and improves development efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119493894A_ABST
    Figure CN119493894A_ABST
Patent Text Reader

Abstract

The invention relates to a data processing method and device, computer equipment and a storage medium, the data processing method and device are applied to a micro-service system, the micro-service system comprises user equipment and back-end equipment, the whole scheme is executed by the user equipment, and when an execution link for calling the back-end equipment to execute a service exists, a service function field is added in the execution link; analyzing the execution link added with the service function field into a service index through a gateway in the back-end equipment; and establishing a corresponding relationship between the business index and the tracking identifier of the execution link, and storing the corresponding relationship in a preset corresponding relationship set. In the whole process, by establishing the corresponding relation between the service index and the tracking identifier of the execution link, when the query request of the service change influence range is received, the field information influenced by the service change is quickly queried according to the tracking identifier in the query request and the preset corresponding relation set.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to a data processing method, apparatus, computer equipment and storage medium. Background Art

[0002] With the development of software development technology, software programs can be used to provide services in more and more scenarios. The widespread use of software programs has brought great convenience to people's production and life.

[0003] During the software development process, after each functional requirement is developed, for the sake of system stability, the impact of this requirement change on the existing business will be sorted out, and the business impact range will be sorted out to facilitate better coverage of the test scope during the testing process, especially for downstream accounting system adjustments. Sorting out the impact range takes up most of the development time. Therefore, how to efficiently determine the impact of development on business requirement changes is one of the key issues currently studied in the microservice field. Summary of the invention

[0004] Based on this, it is necessary to provide a data processing method, device, computer equipment and storage medium for efficiently querying the scope of impact of business changes in response to the above technical problems.

[0005] In a first aspect, the present application provides a data processing method. Applied to a microservice system, the microservice system includes a user device and a backend device, the data processing method is executed by the user device, and the method includes:

[0006] When there is an execution link for calling a backend device to execute a service, a service function field is added to the execution link;

[0007] The execution link with the added business function field is parsed into a business indicator through the gateway in the backend device;

[0008] A correspondence between the business indicator and the tracking identifier of the execution link is established, and the correspondence is stored in a preset correspondence set, so that when a query request for the scope of impact of the business change is received, the field information affected by the business change is queried according to the tracking identifier in the query request and the preset correspondence set.

[0009] In a second aspect, the present application further provides a data processing device. Applied to a microservice system, the microservice system includes a user device and a backend device, and the data processing device includes:

[0010] An adding module is used to add a business function field to an execution link when there is an execution link for calling a backend device to execute a business;

[0011] A parsing module, used to parse the execution link with the added business function field into a business indicator through the gateway in the backend device;

[0012] A storage module is used to establish a correspondence between the business indicator and the tracking identifier of the execution link, and store the correspondence in a preset correspondence set, so that when a query request for the scope of impact of the business change is received, the field information affected by the business change is queried according to the tracking identifier corresponding to the query request and the preset correspondence set.

[0013] In a third aspect, the present application further provides a computer device. The computer device includes a memory and a processor, the memory stores a computer program, and the processor implements the following steps when executing the computer program:

[0014] When there is an execution link for calling a backend device to execute a service, a service function field is added to the execution link;

[0015] The execution link with the added business function field is parsed into a business indicator through the gateway in the backend device;

[0016] A correspondence between the business indicator and the tracking identifier of the execution link is established, and the correspondence is stored in a preset correspondence set, so that when a query request for the scope of impact of the business change is received, the field information affected by the business change is queried according to the tracking identifier in the query request and the preset correspondence set.

[0017] In a fourth aspect, the present application further provides a computer-readable storage medium. The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the following steps are implemented:

[0018] When there is an execution link for calling a backend device to execute a service, a service function field is added to the execution link;

[0019] The execution link with the added business function field is parsed into a business indicator through the gateway in the backend device;

[0020] A correspondence between the business indicator and the tracking identifier of the execution link is established, and the correspondence is stored in a preset correspondence set, so that when a query request for the scope of impact of the business change is received, the field information affected by the business change is queried according to the tracking identifier in the query request and the preset correspondence set.

[0021] In a fifth aspect, the present application further provides a computer program product. The computer program product includes a computer program, and when the computer program is executed by a processor, the following steps are implemented:

[0022] When there is an execution link for calling a backend device to execute a service, a service function field is added to the execution link;

[0023] The execution link with the added business function field is parsed into a business indicator through the gateway in the backend device;

[0024] A correspondence between the business indicator and the tracking identifier of the execution link is established, and the correspondence is stored in a preset correspondence set, so that when a query request for the scope of impact of the business change is received, the field information affected by the business change is queried according to the tracking identifier in the query request and the preset correspondence set.

[0025] The above-mentioned data processing method, device, computer equipment and storage medium are applied to a microservice system, which includes a user device and a backend device. The entire solution is executed by the user device. When there is an execution link that calls the backend device to execute a business, a business function field is added to the execution link; the execution link with the added business function field is parsed as a business indicator through the gateway in the backend device; a correspondence between the business indicator and the tracking identifier of the execution link is established, and the correspondence is stored in a preset correspondence set. In the whole process, by establishing a correspondence between the business indicator and the tracking identifier of the execution link, and storing the correspondence in a preset correspondence set, when a query request for the scope of business change impact is received, the field information affected by the business change is quickly queried according to the tracking identifier and the preset correspondence set in the query request, so as to achieve efficient query of the scope of business change impact. BRIEF DESCRIPTION OF THE DRAWINGS

[0026] Figure 1 An application environment diagram of data processing in one embodiment;

[0027] Figure 2 A schematic diagram of a data processing flow in one embodiment;

[0028] Figure 3 This is a schematic diagram of the architecture of a microservice system in an application example;

[0029] Figure 4 A schematic diagram of a data processing flow in another embodiment;

[0030] Figure 5 A schematic diagram of the process of generating a call tree in an application instance;

[0031] Figure 6 is a structural block diagram of a data processing device in one embodiment;

[0032] Figure 7 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION

[0033] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0034] In traditional technology, with the popularity of microservice architecture, a request often involves multiple services, so service performance monitoring and troubleshooting become more complicated: different services may be developed by different teams and may even be implemented using different programming languages; services may be deployed on thousands of servers across multiple data centers. Therefore, some tools are needed to help understand system behavior and analyze performance issues so that problems can be quickly located and solved when failures occur. Under the premise of this actual application requirement, after each functional requirement is developed, for the stability of the system, the impact of this requirement change on the existing business will be sorted out, and the business impact range will be sorted out to facilitate better coverage of the test scope during the testing process, especially for downstream accounting system adjustments. Sorting out the impact scope occupies most of the development time. The traditional testing method for the impact scope of the backend interface change is generally to first find the call chain function in the process through the idea: you can use the "Navigate->Call Hierarchy" menu; then, through the URL (Uniform Resource Locator) of the backend interface, search the front-end code, and then find the corresponding operation entry. Such an operation takes a lot of time and energy, and it is easy to miss the query.

[0035] In view of the above problems existing in the traditional technology, the present application provides a data processing solution which can be applied to Figure 1In the microservice system shown, the microservice system includes a user device 102 and a backend device 104, and the user device 102 communicates with the backend device 104 through a network. The user operates on the user device 102 side, and the entire method is executed by the user device 102. When there is an execution link that calls the backend device 104 to execute a business, a business function field is added to the execution link; the execution link with the added business function field is parsed into a business indicator through the gateway in the backend device 104; a correspondence between the business indicator and the tracking identifier of the execution link is established, and the corresponding relationship is stored in a preset corresponding relationship set, so that when a query request for the scope of influence of the business change is received, according to the tracking identifier and the preset corresponding relationship set in the query request. Among them, the user device 102 can be, but is not limited to, various personal computers, laptops, smart phones, tablet computers, Internet of Things devices and portable wearable devices, and the Internet of Things devices can be smart speakers, smart TVs, smart air conditioners, smart car-mounted devices, etc. Portable wearable devices can be smart watches, smart bracelets, head-mounted devices, etc. The backend device 104 can be implemented by a cluster consisting of multiple devices.

[0036] The present application provides a data processing method. Applied to a microservice system, the microservice system includes a user device and a backend device, and the data processing method is executed by the user device, such as Figure 2 As shown, the method includes:

[0037] S200: When there is an execution link for calling a backend device to execute a service, a service function field is added to the execution link.

[0038] User devices refer to devices operated by users, which may specifically include personal computers, laptops, smart phones, tablets, IoT devices, and portable wearable devices. Backend devices refer to devices that perform data recording, sorting, collection, storage, and other functions in the background. After processing, the data will be cached in the backend device so that it can be called when needed. Execution links refer to access links, which may specifically be access links corresponding to cross-chain events, and further, they may be URLs. Users operate on user devices and input execution links corresponding to cross-chain services to execute cross-chain services by calling backend devices. At this time, the user device determines that there is currently an execution link that calls the backend device to execute the service, and the user device adds a service function field to the execution link. Here, the service function field is a field used to characterize changes in service functions, which may specifically include at least one of the application name field, the function abbreviation field, the function description field, and the operation path field. After such processing, the user device obtains an execution link with the service function field added, and enters the next step of processing.

[0039] S400: The execution link with the added business function field is parsed into a business indicator through a gateway in a backend device.

[0040] The user device sends the execution link with the added service function field to the gateway in the backend device, and the gateway parses it into a service indicator. Further, the gateway can choose to parse the service function field into a service indicator, and the parsing here can specifically be a processing method of field conversion.

[0041] S600: Establish a correspondence between the business indicator and the tracking identifier of the execution link, and store the correspondence in a preset correspondence set, so that when a query request for the scope of impact of the business change is received, the field information affected by the business change can be queried based on the tracking identifier and the preset correspondence set in the query request.

[0042] Each execution link corresponds to a unique tracking identifier (tracking ID), which is used to characterize a complete cross-chain event. Business indicators and tracking identifiers are associated to establish a corresponding relationship between the business indicators and the tracking identifiers, so that the corresponding business indicators can be queried based on the tracking identifier, that is, the business function fields corresponding to the execution link can be known. Furthermore, after establishing the corresponding relationship between the business indicator and the tracking identifier of the execution link, the corresponding relationship is stored in a preset relationship set, so that when a query request for the scope of business change impact is received later, the tracking identifier (tracking ID) can be obtained from the query request first, and then based on the tracking identifier and the preset corresponding relationship set, the corresponding business function field can be queried, that is, the field information affected by the business change can be queried, thereby realizing efficient query of the scope of business change impact.

[0043] The above data processing method is applied to a microservice system, which includes a user device and a backend device. The entire solution is executed by the user device. When there is an execution link that calls the backend device to execute a business, a business function field is added to the execution link; the execution link with the added business function field is parsed into a business indicator through the gateway in the backend device; a correspondence between the business indicator and the tracking identifier of the execution link is established, and the correspondence is stored in a preset correspondence set. In the whole process, by establishing a correspondence between the business indicator and the tracking identifier of the execution link, and storing the correspondence in a preset correspondence set, when a query request for the scope of business change impact is received, the field information affected by the business change is quickly queried according to the tracking identifier in the query request and the preset correspondence set, so as to achieve efficient query of the scope of business change impact.

[0044] like Figure 3 and Figure 4 As shown, in one embodiment, the backend device also includes a reverse proxy server; S200 includes:

[0045] S220: When there is an execution link for calling a backend device to execute a service, a service function field is added to a header of the execution link and sent to the reverse proxy server.

[0046] Before S400, it also includes:

[0047] S300: The header with the added business function field is transparently transmitted to the gateway through the reverse proxy server.

[0048] In this embodiment, the back-end device also includes a reverse proxy server. When the user device detects the existence of an execution link that calls the back-end device to execute a service, the user device adds a service function field to the header of the execution link and then sends it to the reverse proxy server. The reverse proxy server is connected to the gateway, and the reverse proxy server transmits the header with the added service function field to the gateway.

[0049] like Figure 3 and Figure 4 As shown, in one embodiment, the backend device includes a collector and a search server; S600 includes:

[0050] S620: Bind the business indicator and the tracking identifier of the execution link through the gateway, establish a corresponding relationship between the business indicator and the tracking identifier of the execution link, and upload it to the collector;

[0051] S640: The corresponding relationship is persistently stored in a preset corresponding relationship set in the search server through the collector.

[0052] In this embodiment, the backend device also includes a collector and a search server. After acquiring the business indicator, the gateway associates and binds the business indicator with the tracking identifier of the execution link, establishes a correspondence between the business indicator and the tracking identifier of the execution link, and then uploads the correspondence to the collector. Furthermore, the gateway can upload the correspondence to the collector through a business software development kit. The collector is used to realize the collection and forwarding of the data transmitted by the gateway. After receiving the correspondence between the business indicator and the tracking identifier of the execution link, the collector persistently stores the correspondence in a preset correspondence set in the search server.

[0053] like Figure 4 As shown, in one embodiment, after S600, the process further includes:

[0054] S700: When a query request for the scope of impact of a business change is received, a query link carried in the query request is obtained.

[0055] The user operates on the user device side. The user inputs the query link to be queried into the user device to query the front-end business (function) changes corresponding to the query link. The user device generates a query request for the scope of the business change based on the data input by the user, and obtains the query link carried in the query request. The query link can specifically be the corresponding data input when the user modifies an interface implementation logic on the back end, such as inputting the URL / vccs / getNextToPay. At this time, this part of data will be carried in the query request.

[0056] S800: According to a preset call tree, query a tracking identifier corresponding to a query link to obtain a target tracking identifier. The preset call tree is used to characterize a call link topology.

[0057] The preset call tree is pre-generated and is used to characterize the data of the call link topology. According to the query link, the link of the interface call corresponding to the business change can be clearly identified. For example, from the resource locator / vccs / getNextToPay, the link nodes that need to be passed in sequence during the interface call process can be determined, and then the tracking identifier (tracking ID) uniquely corresponding to the query link can be obtained, and the target tracking identifier corresponding to the query of the scope of impact of this business change can be obtained.

[0058] S900: Query the business function field that matches the target tracking identifier in the preset correspondence set, and use the queried business function field as the field information affected by the business change.

[0059] As mentioned above, the correspondence between multiple business indicators and tracking identifiers of execution links is persistently stored in the preset correspondence set. Based on the target tracking identifier, the matching business indicator can be queried, that is, the matching business function field is queried, and the queried business function field is used as the field information affected by the business change. Furthermore, the user device can also push this part of the business function field to the user, for example, directly display it on the display interface of the user device, so that the user can understand the field information affected by the business change.

[0060] In one embodiment, the backend device further includes a collector; and before querying the tracking identifier corresponding to the query link according to the preset call tree and obtaining the target tracking identifier, the backend device further includes:

[0061] Cross-chain events are collected through the collector, aggregated according to the tracking identification dimension, and a preset call tree is generated.

[0062] The collector is used to realize the collection and arrangement of data. Specifically, the collector can be used to collect cross-chain events. Each cross-chain event corresponds to a unique tracking identifier. During the daily operation, the collector continuously detects the occurrence of cross-chain events. When a cross-chain event is detected, the cross-chain event is aggregated according to the tracking ID generated by it to generate a call tree, which can characterize the call link topology. Furthermore, the collector can also send the cross-chain event to the message queue, and then perform cross-chain aggregation according to the dimension of the tracking identifier in the computing framework to generate a call tree. Here, the computing framework can be Flink. Flink is a framework and distributed processing engine for stateful computing on unbounded and bounded data streams. In actual applications, the generated call tree can also be persistently stored in the database for subsequent calls, for example, it can be stored in the Neo4J database. Neo4j is a high-performance NOSQL (Not Only SQL, non-relational database) graph database that stores structured data on the network instead of in tables. It is an embedded, disk-based Java persistence engine with full transactional features.

[0063] In one of the embodiments, according to a preset call tree, querying the tracking identifier corresponding to the query link to obtain the target tracking identifier includes: matching the query link with the preset call tree to obtain a read cross-chain event list corresponding to the query link; reading the tracking identifier carried in the cross-chain event list to obtain the target tracking identifier.

[0064] By matching the query link with the preset call tree, the interface call link corresponding to the business change can be clarified based on the query link. The cross-chain event list is a list that records cross-chain event data. Specifically, the cross-chain event list can contain multiple types of data, such as the cross-chain ID (SpanID), the tracking identifier (TraceID), the call link corresponding to the cross-chain event, and other data. Here, by matching the query link with the preset call tree, the read cross-chain event list corresponding to the query link is obtained, and then the tracking identifier carried in the cross-chain event list is read to obtain the target tracking identifier.

[0065] In order to explain the specific technical scheme of the data processing method of this application in detail, a specific application example will be used below, and combined with Figure 4 and Figure 5 In practical applications, the entire data processing process includes the data preparation stage and the data query stage.

[0066] Data preparation stage

[0067] On the one hand, if Figure 5As shown, multiple proxy servers are connected to the collection server, and each proxy server sends the Span event to the collection server. The collection server sends the received Span event to MQ, and then in the computing framework (such as Flink), Span aggregation is performed according to the dimension of trace ID (TraceID), a call tree is generated, the call link topology is constructed, and the call tree is stored.

[0068] On the other hand, Figure 4 As shown, the user operates on the user device side, and the specific user can operate on the mobile phone. The browser on the mobile phone adds the application name, function abbreviation, function description, operation path, etc. to the Header of each backend interface call; then the reverse proxy server transparently transmits the above-added Header to the gateway, and then the gateway parses the newly added Header into business indicators, binds the TraceID and business indicators, and uploads them to the collection server through the business SDK; finally, the collection server stores the received data persistently to the search server, and provides the ability to query the front-end operation entrance through the URL.

[0069] Data query stage

[0070] The user modifies an interface implementation logic in the backend. For example, the user enters the URL / vccs / getNextToPay and searches the URL in the system. The system queries the Span category based on the URL and then takes the TraceId from the Span list (cross-chain event list). Figure 5 The search server in queries the corresponding front-end functions, operation paths, etc., so that you can know which interface initiators have called the interface, the specific functions, and the specific operation paths, that is, get the query results of the business change impact range.

[0071] It should be understood that, although the steps in the flowcharts involved in the above embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above embodiments may include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.

[0072] like Figure 6As shown, the present application also provides a data processing device. Applied to a microservice system, the microservice system includes a user device and a backend device, and the data processing device includes:

[0073] An adding module 200 is used to add a service function field to an execution link when there is an execution link for calling a backend device to execute a service;

[0074] The parsing module 400 is used to parse the execution link with the added business function field into a business indicator through the gateway in the backend device;

[0075] The storage module 600 is used to establish a correspondence between the business indicator and the tracking identifier of the execution link, and store the correspondence in a preset correspondence set, so that when a query request for the scope of impact of the business change is received, the field information affected by the business change is queried according to the tracking identifier corresponding to the query request and the preset correspondence set.

[0076] In one embodiment, the back-end device also includes a reverse proxy server; the adding module 200 is also used to add a business function field in the header of the execution link and send it to the reverse proxy server when there is an execution link that calls the back-end device to execute the business; the header with the added business function field is transmitted to the gateway through the reverse proxy server.

[0077] In one embodiment, the back-end device includes a collector and a search server; the storage module 600 is also used to bind the business indicator and the tracking identifier of the execution link through the gateway, establish a correspondence between the business indicator and the tracking identifier of the execution link and upload it to the collector; the collector persists the correspondence in a preset correspondence set in the search server.

[0078] In one embodiment, the data processing device further includes:

[0079] The query module is used to obtain the query link carried in the query request when receiving a query request for the scope of business change impact; query the tracking identifier corresponding to the query link according to the preset call tree to obtain the target tracking identifier, and the preset call tree is used to characterize the call link topology; query the business function field matching the target tracking identifier in the preset corresponding relationship set, and use the queried business function field as the field information affected by the business change.

[0080] In one of the embodiments, the backend device also includes a collector; the query module is also used to collect cross-chain events through the collector, aggregate the cross-chain events according to the tracking identification dimension, and generate a preset call tree.

[0081] In one of the embodiments, the query module is also used to match the query link with a preset call tree to obtain a read cross-chain event list corresponding to the query link; read the tracking identifier carried in the cross-chain event list to obtain a target tracking identifier.

[0082] In one embodiment, the business function field includes at least one of an application name field, a function abbreviation field, a function description field, and an operation path field.

[0083] The above data processing device is applied to a microservice system, which includes a user device and a backend device. The entire solution is executed by the user device. When there is an execution link that calls the backend device to execute a business, a business function field is added to the execution link; the execution link with the added business function field is parsed into a business indicator through the gateway in the backend device; a correspondence between the business indicator and the tracking identifier of the execution link is established, and the correspondence is stored in a preset correspondence set. In the whole process, by establishing a correspondence between the business indicator and the tracking identifier of the execution link, and storing the correspondence in a preset correspondence set, when a query request for the scope of business change impact is received, the field information affected by the business change is quickly queried according to the tracking identifier in the query request and the preset correspondence set, so as to achieve efficient query of the scope of business change impact.

[0084] In one embodiment, a computer device is provided. The computer device may correspond to the aforementioned user device. The computer device may be a terminal. Its internal structure diagram may be as shown in FIG. Figure 7 As shown. The computer device includes a processor, a memory, a communication interface, a display screen and an input device connected via a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be implemented through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. When the computer program is executed by the processor, a data processing method is implemented.

[0085] Those skilled in the art will understand that Figure 7 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0086] In one embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the following steps are implemented:

[0087] When there is an execution link for calling a backend device to execute a service, a service function field is added to the execution link;

[0088] The execution link with the added business function field is parsed into a business indicator through the gateway in the backend device;

[0089] A correspondence between business indicators and tracking identifiers of execution links is established, and the correspondence is stored in a preset correspondence set, so that when a query request for the scope of impact of business changes is received, the field information affected by the business changes can be queried based on the tracking identifier and the preset correspondence set in the query request.

[0090] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0091] When there is an execution link that calls a backend device to execute a business, a business function field is added to the header of the execution link and sent to the reverse proxy server; the header with the added business function field is transparently transmitted to the gateway through the reverse proxy server.

[0092] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0093] The business indicator and the tracking identifier of the execution link are bound through the gateway, and the corresponding relationship between the business indicator and the tracking identifier of the execution link is established and uploaded to the collector; the corresponding relationship is persistently stored in the preset corresponding relationship set in the search server through the collector.

[0094] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0095] When a query request for the scope of impact of a business change is received, the query link carried in the query request is obtained; according to a preset call tree, the tracking identifier corresponding to the query link is queried to obtain a target tracking identifier, and the preset call tree is used to characterize the call link topology; the business function field matching the target tracking identifier is queried in the preset correspondence set, and the queried business function field is used as the field information affected by the business change.

[0096] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0097] Cross-chain events are collected through the collector, aggregated according to the tracking identification dimension, and a preset call tree is generated.

[0098] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0099] Match the query link with the preset call tree to obtain the read cross-chain event list corresponding to the query link; read the tracking identifier carried in the cross-chain event list to obtain the target tracking identifier.

[0100] In the embodiment of the present application, when there is an execution link that calls a backend device to execute a business, a business function field is added to the execution link; the execution link with the added business function field is parsed as a business indicator through the gateway in the backend device; a correspondence between the business indicator and the tracking identifier of the execution link is established, and the correspondence is stored in a preset correspondence set. In the whole process, by establishing a correspondence between the business indicator and the tracking identifier of the execution link, and storing the correspondence in a preset correspondence set, when a query request for the scope of business change impact is received, the field information affected by the business change is quickly queried according to the tracking identifier in the query request and the preset correspondence set, so as to achieve efficient query of the scope of business change impact.

[0101] In one embodiment, a computer readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:

[0102] When there is an execution link for calling a backend device to execute a service, a service function field is added to the execution link;

[0103] The execution link with the added business function field is parsed into a business indicator through the gateway in the backend device;

[0104] A correspondence between business indicators and tracking identifiers of execution links is established, and the correspondence is stored in a preset correspondence set, so that when a query request for the scope of impact of business changes is received, the field information affected by the business changes can be queried based on the tracking identifier and the preset correspondence set in the query request.

[0105] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0106] When there is an execution link that calls a backend device to execute a business, a business function field is added to the header of the execution link and sent to the reverse proxy server; the header with the added business function field is transparently transmitted to the gateway through the reverse proxy server.

[0107] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0108] The business indicator and the tracking identifier of the execution link are bound through the gateway, and the corresponding relationship between the business indicator and the tracking identifier of the execution link is established and uploaded to the collector; the corresponding relationship is persistently stored in the preset corresponding relationship set in the search server through the collector.

[0109] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0110] When a query request for the scope of impact of a business change is received, the query link carried in the query request is obtained; according to a preset call tree, the tracking identifier corresponding to the query link is queried to obtain a target tracking identifier, and the preset call tree is used to characterize the call link topology; the business function field matching the target tracking identifier is queried in the preset correspondence set, and the queried business function field is used as the field information affected by the business change.

[0111] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0112] Cross-chain events are collected through the collector, aggregated according to the tracking identification dimension, and a preset call tree is generated.

[0113] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0114] Match the query link with the preset call tree to obtain the read cross-chain event list corresponding to the query link; read the tracking identifier carried in the cross-chain event list to obtain the target tracking identifier.

[0115] In the embodiment of the present application, when there is an execution link that calls a backend device to execute a business, a business function field is added to the execution link; the execution link with the added business function field is parsed as a business indicator through the gateway in the backend device; a correspondence between the business indicator and the tracking identifier of the execution link is established, and the correspondence is stored in a preset correspondence set. In the whole process, by establishing a correspondence between the business indicator and the tracking identifier of the execution link, and storing the correspondence in a preset correspondence set, when a query request for the scope of business change impact is received, the field information affected by the business change is quickly queried according to the tracking identifier in the query request and the preset correspondence set, so as to achieve efficient query of the scope of business change impact.

[0116] In one embodiment, a computer program product is provided, comprising a computer program, which, when executed by a processor, implements the following steps:

[0117] When there is an execution link for calling a backend device to execute a service, a service function field is added to the execution link;

[0118] The execution link with the added business function field is parsed into a business indicator through the gateway in the backend device;

[0119] A correspondence between business indicators and tracking identifiers of execution links is established, and the correspondence is stored in a preset correspondence set, so that when a query request for the scope of impact of business changes is received, the field information affected by the business changes can be queried based on the tracking identifier and the preset correspondence set in the query request.

[0120] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0121] When there is an execution link that calls a backend device to execute a business, a business function field is added to the header of the execution link and sent to the reverse proxy server; the header with the added business function field is transparently transmitted to the gateway through the reverse proxy server.

[0122] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0123] The business indicator and the tracking identifier of the execution link are bound through the gateway, and the corresponding relationship between the business indicator and the tracking identifier of the execution link is established and uploaded to the collector; the corresponding relationship is persistently stored in the preset corresponding relationship set in the search server through the collector.

[0124] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0125] When a query request for the scope of impact of a business change is received, the query link carried in the query request is obtained; according to a preset call tree, the tracking identifier corresponding to the query link is queried to obtain a target tracking identifier, and the preset call tree is used to characterize the call link topology; the business function field matching the target tracking identifier is queried in the preset correspondence set, and the queried business function field is used as the field information affected by the business change.

[0126] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0127] Cross-chain events are collected through the collector, aggregated according to the tracking identification dimension, and a preset call tree is generated.

[0128] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0129] Match the query link with the preset call tree to obtain the read cross-chain event list corresponding to the query link; read the tracking identifier carried in the cross-chain event list to obtain the target tracking identifier.

[0130] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the above-mentioned computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.

[0131] The technical features of the above embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0132] The above embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.

Claims

1. A data processing method, characterized in that: Applied to a microservice system, the microservice system includes a user device and a backend device, the data processing method is executed by the user device, and the method includes: When there is an execution link for calling a backend device to execute a service, a service function field is added to the execution link; The execution link with added business function fields is parsed into business indicators through the gateway in the backend device; A correspondence between the business indicator and the tracking identifier of the execution link is established, and the correspondence is stored in a preset correspondence set, so that when a query request for the scope of impact of the business change is received, the field information affected by the business change is queried according to the tracking identifier in the query request and the preset correspondence set.

2. The method according to claim 1, characterized in that The backend device also includes a reverse proxy server; When there is an execution link for calling a backend device to execute a service, adding a service function field in the execution link includes: When there is an execution link for calling a backend device to execute a service, a service function field is added to the header of the execution link and sent to the reverse proxy server; Before parsing the execution link with the added business function field into a business indicator through the gateway in the backend device, the method further includes: The header with the service function field added thereto is transparently transmitted to the gateway through the reverse proxy server.

3. The method according to claim 1, characterized in that The backend equipment includes a collector and a search server; The establishing of the correspondence between the business indicator and the tracking identifier of the execution link, and storing the correspondence in a preset correspondence set, includes: Binding the business indicator and the tracking identifier of the execution link through the gateway, establishing a corresponding relationship between the business indicator and the tracking identifier of the execution link and uploading it to the collector; The corresponding relationship is persistently stored in a preset corresponding relationship set in the search server through the collector.

4. The method according to claim 1, characterized in that: After establishing the correspondence between the business indicator and the tracking identifier of the execution link and storing the correspondence in a preset correspondence set, the method further includes: When receiving a query request for the scope of impact of a business change, obtaining a query link carried in the query request; According to a preset call tree, querying a tracking identifier corresponding to the query link to obtain a target tracking identifier, wherein the preset call tree is used to characterize a call link topology; The business function field matching the target tracking identifier is searched in the preset correspondence set, and the searched business function field is used as the field information affected by the business change.

5. The method according to claim 4, characterized in that The back-end device also includes a collector; Before the step of querying the tracking identifier corresponding to the query link according to the preset call tree to obtain the target tracking identifier, the method further includes: The cross-chain events are collected by the collector, and the cross-chain events are aggregated according to the tracking identification dimension to generate a preset call tree.

6. The method according to claim 4 or 5, characterized in that: The step of querying the tracking identifier corresponding to the query link according to the preset call tree to obtain the target tracking identifier includes: Match the query link with a preset call tree to obtain a read cross-chain event list corresponding to the query link; Read the tracking identifier carried in the cross-chain event list to obtain the target tracking identifier.

7. The method according to claim 1, characterized in that The business function field includes at least one of an application name field, a function abbreviation field, a function description field, and an operation path field.

8. A data processing device, characterized in that: Applied to a microservice system, the microservice system includes a user device and a backend device, and the data processing device includes: An adding module is used to add a business function field to an execution link when there is an execution link for calling a backend device to execute a business; A parsing module, used to parse the execution link with the added business function field into a business indicator through the gateway in the backend device; A storage module is used to establish a correspondence between the business indicator and the tracking identifier of the execution link, and store the correspondence in a preset correspondence set, so that when a query request for the scope of impact of the business change is received, the field information affected by the business change is queried according to the tracking identifier corresponding to the query request and the preset correspondence set.

9. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.