Business processing method and device, equipment, storage medium and computer program product
By receiving service processing requests in electronic devices, determining and marking the link marking parameters and service marking parameters of the first and second sub-links, the problem of poor link tracing accuracy is solved, and accurate tracing of multiple sub-links of the target service is achieved.
Patent Information
- Application Number
- CN202410865457.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-28
- Publication Date
- 2025-12-30
AI Technical Summary
In existing technologies, link tracing is less accurate and cannot track the execution links of individual sub-links.
By receiving the service processing request of the target service, the first sub-link and the second sub-link are determined, and corresponding link marking parameters and service marking parameters are generated, and each sub-link is marked.
It improves the accuracy of link tracing, enabling tracing of all sub-links of the target service, and also allowing marking of some sub-links as needed to meet different tracing requirements.
Smart Images

Figure CN121239734A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of computers, and more particularly to a business processing method, apparatus, device, storage medium, and computer program product. Background Technology
[0002] Link tracing technology allows for the tracking of the execution chain corresponding to a business function.
[0003] Currently, when electronic devices process services, the corresponding links can be marked based on the service's request ID. This allows for link tracing in scenarios such as maintenance or analysis of the service execution links. However, the accuracy of link tracing is poor after marking links using this method. Summary of the Invention
[0004] This application provides a service processing method, apparatus, device, storage medium, and computer program product, through which the above-described service processing method can improve the accuracy of sub-link tracing.
[0005] In a first aspect, embodiments of this application provide a business processing method, including:
[0006] Receive a service processing request for the target service, the service processing request including service tag parameters;
[0007] Based on the service processing request, a first sub-link and a second sub-link are determined among multiple sub-links that execute the target service;
[0008] In response to the execution instruction of the first sub-link, a link marking parameter corresponding to the first sub-link is generated, and the first sub-link is marked according to the link marking parameter and the service marking parameter;
[0009] In response to the execution instruction of the second sub-link, the second sub-link is marked according to the service marking parameters.
[0010] In one possible implementation, in response to the execution instruction of the first sub-link, link tag parameters corresponding to the first sub-link are generated, including:
[0011] In response to the execution instruction of the first sub-link, the link tag field of the first sub-link and the context of the first sub-link are obtained;
[0012] Based on the link tag field and the context of the first sub-link, the link tag parameters corresponding to the first sub-link are generated.
[0013] In one possible implementation, the link tag parameters corresponding to the first sub-link are generated based on the link tag field and the context of the first sub-link, including:
[0014] In the context of the first sub-link, find the field value corresponding to the link tag field;
[0015] Based on the field value corresponding to the link tag field, generate the link tag parameter corresponding to the first sub-link.
[0016] In one possible implementation, the first sub-link is marked according to the link marking parameters and the service marking parameters, including:
[0017] Store the link tag parameters corresponding to the first sub-link into the context of the first sub-link; and,
[0018] The service tag parameters are obtained through the first sub-link, and the service tag parameters are stored in the context of the first sub-link.
[0019] In one possible implementation, storing the link tag parameters corresponding to the first sub-link into the context of the first sub-link includes:
[0020] Construct a key-value pair corresponding to the first sub-link, wherein the key of the key-value pair is the link tag field of the first sub-link, and the value of the key-value pair is the link tag parameter corresponding to the link tag field;
[0021] Store the key-value pair corresponding to the first sub-link in the context of the first sub-link.
[0022] In one possible implementation, the service tag parameter is used to transmit across the plurality of sub-links; obtaining the service tag parameter through the first sub-link includes:
[0023] Based on the service processing request, determine whether the first sub-link is the first sub-link executed among multiple sub-links of the target service;
[0024] If the first sub-link is the first sub-link executed among the plurality of sub-links, then the service tag parameter is obtained in the service processing request through the first sub-link;
[0025] If the first sub-link is not the first sub-link executed among the plurality of sub-links, then the service tag parameter transmitted by the third sub-link is received through the first sub-link. The third sub-link is the sub-link that is adjacent to the first sub-link and executed before the first sub-link among the plurality of sub-links.
[0026] In one possible implementation, receiving the service tag parameters transmitted by the third sub-link via the first sub-link includes:
[0027] The first sub-link receives the context of the third sub-link, which is transmitted by the third sub-link and includes the service tag parameter in the context of the third sub-link.
[0028] The service tag parameters are obtained in the context of the third sub-link through the first sub-link.
[0029] In one possible implementation, the service marking parameters are used to transmit across the plurality of sub-links; in response to the execution instruction of the second sub-link, the second sub-link is marked according to the service marking parameters, including:
[0030] Based on the service processing request, determine whether the second sub-link is the first sub-link executed among multiple sub-links of the target service;
[0031] If the second sub-link is the first sub-link executed among the plurality of sub-links, then the service tag parameter is obtained from the service processing request through the second sub-link, and the service tag parameter is stored in the context of the second sub-link;
[0032] If the second sub-link is not the first sub-link executed among the plurality of sub-links, then the service tag parameter transmitted by the fourth sub-link is received through the second sub-link, and the service tag parameter is stored in the context of the second sub-link. The fourth sub-link is the sub-link that is adjacent to the second sub-link and executed before the second sub-link among the plurality of sub-links.
[0033] In one possible implementation, receiving the service tag parameters transmitted by the fourth sub-link via the second sub-link includes:
[0034] The second sub-link receives the context of the fourth sub-link, which includes the service tag parameter.
[0035] The service tag parameters are obtained in the context of the fourth sub-link through the second sub-link.
[0036] In one possible implementation, based on the service processing request, determining a first sub-link and a second sub-link among multiple sub-links executing the target service includes:
[0037] Based on the business processing request, determine multiple sub-links for executing the target business;
[0038] For any one of the plurality of sub-links, obtain the execution program of that sub-link;
[0039] If the execution program of the sub-link includes a link tag field, the sub-link is determined to be the first sub-link;
[0040] If the execution program of the sub-link does not include a link tag field, the sub-link is determined to be the second sub-link.
[0041] Secondly, embodiments of this application provide a service processing apparatus, the apparatus comprising: a receiving module, a determining module, a generating module, and a marking module, wherein,
[0042] The receiving module is used to receive a service processing request for a target service, the service processing request including service tag parameters;
[0043] The determining module is used to determine the first sub-link and the second sub-link among multiple sub-links executing the target service, based on the service processing request.
[0044] In response to the execution instruction of the first sub-link, the generation module is used to generate link marking parameters corresponding to the first sub-link, and the marking module is used to mark the first sub-link according to the link marking parameters and the service marking parameters;
[0045] In response to the execution instruction of the second sub-link, the marking module is used to mark the second sub-link according to the service marking parameters.
[0046] In one possible implementation, the generation module is specifically used for,
[0047] In response to the execution instruction of the first sub-link, the link tag field of the first sub-link and the context of the first sub-link are obtained;
[0048] Based on the link tag field and the context of the first sub-link, the link tag parameters corresponding to the first sub-link are generated.
[0049] In one possible implementation, the generation module is specifically used for,
[0050] Determine the field value corresponding to the link tag field within the context of the first sub-link;
[0051] Based on the field value corresponding to the link tag field, generate the link tag parameter corresponding to the first sub-link.
[0052] In one possible implementation, the marking module is specifically used for,
[0053] Store the link tag parameters corresponding to the first sub-link into the context of the first sub-link; and,
[0054] The service tag parameters are obtained through the first sub-link, and the service tag parameters are stored in the context of the first sub-link.
[0055] In one possible implementation, the marking module is specifically used for,
[0056] Construct a key-value pair corresponding to the first sub-link, wherein the key of the key-value pair is the link tag field of the first sub-link, and the value of the key-value pair is the link tag parameter corresponding to the link tag field;
[0057] Store the key-value pair corresponding to the first sub-link in the context of the first sub-link.
[0058] In one possible implementation, the service tagging parameters are used to transmit across the plurality of sub-links; the tagging module is specifically used for,
[0059] Based on the service processing request, determine whether the first sub-link is the first sub-link executed among multiple sub-links of the target service;
[0060] If the first sub-link is the first sub-link executed among the plurality of sub-links, then the service tag parameter is obtained in the service processing request through the first sub-link;
[0061] If the first sub-link is not the first sub-link executed among the plurality of sub-links, then the service tag parameter transmitted by the third sub-link is received through the first sub-link. The third sub-link is the sub-link that is adjacent to the first sub-link and executed before the first sub-link among the plurality of sub-links.
[0062] In one possible implementation, the marking module is specifically used for,
[0063] The first sub-link receives the context of the third sub-link, which is transmitted by the third sub-link and includes the service tag parameter in the context of the third sub-link.
[0064] The service tag parameters are obtained in the context of the third sub-link through the first sub-link.
[0065] In one possible implementation, the service tagging parameters are used to transmit across the plurality of sub-links; the tagging module is specifically used for,
[0066] Based on the service processing request, determine whether the second sub-link is the first sub-link executed among multiple sub-links of the target service;
[0067] If the second sub-link is the first sub-link executed among the plurality of sub-links, then the service tag parameter is obtained from the service processing request through the second sub-link, and the service tag parameter is stored in the context of the second sub-link;
[0068] If the second sub-link is not the first sub-link executed among the plurality of sub-links, then the service tag parameter is received by the fourth sub-link through the second sub-link, and the service tag parameter is stored in the context of the second sub-link. The fourth sub-link is the sub-link that is adjacent to the second sub-link and executed before the second sub-link among the plurality of sub-links.
[0069] In one possible implementation, the marking module is specifically used for,
[0070] The second sub-link receives the context of the fourth sub-link, which includes the service tag parameter.
[0071] The service tag parameters are obtained in the context of the fourth sub-link through the second sub-link.
[0072] In one possible implementation, the determining module is specifically used for,
[0073] Based on the business processing request, determine multiple sub-links for executing the target business;
[0074] For any one of the plurality of sub-links, obtain the execution program of that sub-link;
[0075] If the execution program of the sub-link includes a link tag field, the sub-link is determined to be the first sub-link;
[0076] If the execution program of the sub-link does not include a link tag field, the sub-link is determined to be the second sub-link.
[0077] Thirdly, embodiments of this application provide an electronic device, including: a memory and a processor;
[0078] The memory stores computer-executed instructions;
[0079] The processor executes computer execution instructions stored in the memory, causing the electronic device to perform the method described in any of the first aspects.
[0080] Fourthly, embodiments of this application provide a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, are used to implement the method described in any of the first aspects.
[0081] Fifthly, embodiments of this application provide a computer program product, including a computer program that, when executed by a processor, implements the method shown in any of the first aspects.
[0082] This application provides a service processing method, apparatus, device, storage medium, and computer program product. The electronic device can receive a service processing request for a target service, the service processing request including service marking parameters. Based on the service processing request, it can determine a first sub-link and a second sub-link among multiple sub-links executing the target service. In response to an execution instruction for the first sub-link, it can generate link marking parameters corresponding to the first sub-link and mark the first sub-link based on the link marking parameters and the service marking parameters. In response to an execution instruction for the second sub-link, it can mark the second sub-link based on the service marking parameters. In this method, the electronic device can mark all sub-links executing the target service using service marking parameters, and can also mark corresponding sub-links using link marking parameters. This allows for tracing of all sub-links corresponding to the target service based on service marking parameters, and also allows tracing of corresponding sub-links based on both link marking parameters and service marking parameters, satisfying different sub-link tracing needs and improving the accuracy of line tracing. Attached Figure Description
[0083] The accompanying drawings, which are included to provide a further understanding of this application and form part of this application, illustrate exemplary embodiments and are used to explain this application, but do not constitute an undue limitation of this application. In the drawings:
[0084] Figure 1 A schematic diagram of an application scenario provided for an exemplary embodiment of this application;
[0085] Figure 2A A sub-link execution flowchart is provided for an exemplary embodiment of this application;
[0086] Figure 2B Another sub-link execution flowchart provided for an exemplary embodiment of this application;
[0087] Figure 3 A flowchart illustrating a business processing method provided for an exemplary embodiment of this application;
[0088] Figure 4 A flowchart illustrating another business processing method provided for an exemplary embodiment of this application;
[0089] Figure 5 A schematic diagram illustrating a business processing method provided for an exemplary embodiment of this application;
[0090] Figure 6 A schematic diagram illustrating another business processing method provided for an exemplary embodiment of this application;
[0091] Figure 7 A schematic diagram of the structure of a service processing apparatus provided for an exemplary embodiment of this application;
[0092] Figure 8 This application provides a schematic diagram of the structure of an electronic device as an exemplary embodiment. Detailed Implementation
[0093] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, data stored, data displayed, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties. Furthermore, the collection, use and processing of the relevant data must comply with relevant laws, regulations and standards, and corresponding operation entry points are provided for users to choose to authorize or refuse.
[0094] To make the objectives, technical solutions, and advantages of this application clearer, the technical solutions of this application will be clearly and completely described below in conjunction with specific embodiments and corresponding drawings. Obviously, the described embodiments are only a part of the embodiments of this application, and not all of them. Based on the embodiments in this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0095] To facilitate understanding, the following will be combined with Figure 1 The application scenarios of the embodiments of this application will be described.
[0096] Figure 1 This is a schematic diagram illustrating an application scenario provided for an exemplary embodiment of this application. Please refer to [link / reference]. Figure 1 Electronic devices can receive service processing requests and execute the target service corresponding to the service processing request.
[0097] When executing a target service, electronic devices can perform the service through the corresponding link, which may include multiple sub-links. Electronic devices can mark these sub-links. For example, they can mark multiple sub-links using a request ID, trace ID, or token corresponding to the service processing request. This allows for tracking and tracing of the service's sub-links during maintenance or analysis.
[0098] During the execution of the target service, multiple sub-links can be executed serially or in parallel. Below, we will take an example where the number of sub-links executing the target service is n, where n is an integer greater than 1, and combine... Figure 2A and Figure 2B The execution order of multiple sub-links is explained.
[0099] Figure 2A A sub-link execution flowchart is provided for an exemplary embodiment of this application. Please refer to [link to relevant documentation]. Figure 2A Multiple sub-links can include sub-link 1, sub-link 2, ... and sub-link n.
[0100] like Figure 2A As shown, multiple sub-links can be executed sequentially. In other words, multiple sub-links can be executed serially.
[0101] Figure 2B Another sub-link execution flowchart is provided for an exemplary embodiment of this application. Please refer to... Figure 2B Multiple sub-links may include sub-link 1, sub-link 11, sub-link 12, ... and sub-link 1(n-1).
[0102] like Figure 2B As shown, after sub-link 1 is executed, sub-link 11, sub-link 12, ..., and sub-link 1(n-1) can be executed in parallel. That is, some sub-links can be executed serially, while others can be executed in parallel.
[0103] It should be noted that, Figure 2A and Figure 2B This example only illustrates the execution order of the n sub-links corresponding to the target service and does not constitute a limitation on the technical solution. The n sub-links may also have other execution orders, which are not limited in this embodiment.
[0104] In practice, for any given service processing request, electronic devices can annotate multiple sub-links executing the service using the request identifier corresponding to the service processing request. During link tracing, these multiple sub-links can be traced based on the request identifier. However, this method cannot trace only a portion of the multiple sub-links individually. Therefore, the link marking method provided by the above approach results in poor accuracy in link tracing.
[0105] In view of this, the present application proposes the following inventive concept: all sub-links corresponding to the target service can be marked with the same marker, and some sub-links among multiple sub-links can be marked with other markers as needed. This allows for the tracking of both all and some sub-links corresponding to the target service, improving the accuracy of link tracing.
[0106] The technical solutions shown in this application will now be described in detail through specific embodiments. It should be noted that the following embodiments may exist independently or in combination with each other; for identical or similar content, the description will not be repeated in different embodiments.
[0107] Figure 3 This is a flowchart illustrating a business processing method provided for an exemplary embodiment of this application. The execution entity in this embodiment can be an electronic device or a processing chip within the electronic device. For ease of understanding, the following description uses an electronic device as the execution entity. Please refer to... Figure 3 The method may include:
[0108] S301. Receive the service processing request of the target service. The service processing request includes service tag parameters.
[0109] The target service can be any service that an electronic device can perform. For example, the target service could be to generate several Elastic Compute Service (ECS) instances.
[0110] This embodiment does not limit the structure and type of the electronic device. For example, the electronic device can be a server, a cloud server, or a computer, etc.
[0111] In this embodiment, the electronic device can obtain the service processing request for the target service from the client. Furthermore, the electronic device can obtain the service processing request for the target service from the client via a gateway.
[0112] Business tagging parameters can be used to tag all sub-links executing a target business. Business tagging parameters can be the request ID, trace ID, or token corresponding to the target business. The following explanation uses the request ID corresponding to the target business as an example.
[0113] In this embodiment, the service tag parameter can be a request identifier generated by the client for the target service; or, the service tag parameter can be a request identifier generated by the gateway for the target service. This embodiment does not limit this.
[0114] Optionally, in other embodiments, the electronic device may also generate a request identifier for the target service.
[0115] S302. Based on the business processing request, determine the first sub-link and the second sub-link among the multiple sub-links that execute the target business.
[0116] The second sub-link can be a sub-link among multiple sub-links that execute the target service, which only needs to be marked by the service marking parameter.
[0117] The first sub-link can be any of the multiple sub-links executing the target service that, in addition to being marked by the service marking parameters, also needs to be marked separately.
[0118] The number of first sub-links and second sub-links can both be one or more. Among them, multiple sub-links can be two or more.
[0119] In this embodiment, the electronic device can determine multiple sub-links for executing the target service based on the service processing request; for any one of the multiple sub-links, the execution program of the sub-link is obtained; if the execution program of the sub-link includes a link tag field, the sub-link is determined to be the first sub-link; if the execution program of the sub-link does not include a link tag field, the sub-link is determined to be the second sub-link.
[0120] The executor of a sub-link can be the program called when executing the sub-link.
[0121] The link tag field can be used to indicate that sub-links are tagged separately.
[0122] In this embodiment, a link tagging field can be pre-set in the execution program of the sub-link that needs to be individually tagged, according to actual tagging requirements. In specific implementation, the electronic device can identify the execution program that includes the link tagging field and the corresponding sub-link as the first sub-link, and can identify the execution program that does not include the link tagging field and the corresponding sub-link as the second sub-link.
[0123] It should be noted that electronic devices can execute the corresponding sub-links sequentially or in parallel, depending on the execution order of the multiple sub-links executing the target service. For any one of the multiple sub-links, the electronic device can obtain the execution program of the sub-link during execution and determine whether the sub-link is the first sub-link or the second sub-link based on the execution program.
[0124] S303. In response to the execution command of the first sub-link, generate the link marking parameters corresponding to the first sub-link, and perform marking processing on the first sub-link according to the link marking parameters and the service marking parameters.
[0125] It should be noted that, for any given first sub-link, the method for generating link marking parameters corresponding to the first sub-link in response to the execution command of the first sub-link, and the marking process for the first sub-link based on the link marking parameters and service marking parameters, is consistent. Below, taking any given first sub-link as an example, the process of generating link marking parameters corresponding to the first sub-link in response to the execution command of the first sub-link, and the marking process for the first sub-link based on the link marking parameters and service marking parameters, will be explained.
[0126] The link tagging parameter corresponding to the first sub-link can be a parameter used to tag the first sub-link.
[0127] In this embodiment, the execution program of the first sub-link may include a tag field for the first sub-link. The electronic device can obtain the tag field of the first sub-link from the execution program of the first sub-link and generate the link tag parameters of the first sub-link based on the link tag field of the first sub-link.
[0128] In practice, the electronic device can look up the field value corresponding to the first link tag field in the context of the first sub-link, and generate the link tag parameter of the first sub-link based on the field value corresponding to the first link tag field.
[0129] In one possible implementation, the electronic device can directly determine the field value corresponding to the first link marking field as the parameter for marking the first sub-link.
[0130] In another possible implementation, the electronic device can modify the field value corresponding to the first link marking field and determine the modified field value as the parameter for marking the first sub-link. For example, the electronic device can add a preset suffix to the field value corresponding to the first link marking field to generate the modified field value, and determine the modified field value as the parameter for marking the first sub-link.
[0131] It should be noted that the execution program of the first sub-link may include one or more link tag fields. If the execution program of the first sub-link includes one link tag field, the electronic device can look up the field value corresponding to that link tag field in the context of the first sub-link, and generate the link tag parameters of the first sub-link based on that field value. If the execution program of the first sub-link includes multiple link tag fields, the electronic device can look up the field value corresponding to each link tag field in the context of the first sub-link to obtain multiple field values, and generate the link tag parameters of the first sub-link based on these multiple field values. In other words, the number of link tag parameters corresponding to the first sub-link can be one or more.
[0132] In this embodiment, the electronic device can store the service marking parameters and the link marking parameters corresponding to the first sub-link in the context of the first sub-link to achieve the purpose of marking the first sub-link. Optionally, the electronic device can store the service marking parameters and the link marking parameters corresponding to the first sub-link in a preset position in the context of the first sub-link to achieve the purpose of marking the first sub-link; wherein, the characters in the preset position in the context of the first sub-link can be used to mark the first sub-link.
[0133] S304. In response to the execution command of the second sub-link, mark the second sub-link according to the service marking parameters.
[0134] It should be noted that, for any given second sub-link, the method for marking the second sub-link according to the service marking parameters in response to the execution command of the second sub-link is consistent. Below, we will use any given second sub-link as an example to explain the process of marking the second sub-link according to the service marking parameters in response to the execution command of the second sub-link.
[0135] In this embodiment, the electronic device can store service marking parameters in the context of the second sub-link to mark the second sub-link. Optionally, the electronic device can store service marking parameters in a preset position in the context of the second sub-link to mark the second sub-link; wherein, the characters at the preset position in the context of the second sub-link can be used to mark the second sub-link.
[0136] It should be noted that S303 can be executed before S304; or S303 can be executed after S304; or S303 can be executed simultaneously with S304. This embodiment does not limit the execution order of S303 and S304.
[0137] In the service processing method provided in this embodiment, the electronic device can receive a service processing request for a target service, the service processing request including service marking parameters; based on the service processing request, it can determine a first sub-link and a second sub-link among multiple sub-links executing the target service; in response to the execution instruction of the first sub-link, it can generate link marking parameters corresponding to the first sub-link, and mark the first sub-link according to the link marking parameters and the service marking parameters; in response to the execution instruction of the second sub-link, it can mark the second sub-link according to the service marking parameters. In the above method, the electronic device can mark all sub-links executing the target service using the service marking parameters, and can also mark corresponding sub-links using the link marking parameters. Thus, it can trace all sub-links corresponding to the target service based on the service marking parameters, and can also trace corresponding sub-links based on the service marking parameters and the link marking parameters, satisfying different sub-link tracing needs and improving the accuracy of link tracing.
[0138] Based on any of the above embodiments, the following is combined with Figure 4 The following is a further explanation of the business processing methods provided in the embodiments of this application.
[0139] Figure 4 This is a flowchart illustrating another business processing method provided as an exemplary embodiment of this application. The execution entity in this embodiment can be an electronic device or a processing chip within the electronic device. For ease of understanding, the following description uses an electronic device as the execution entity. Please refer to... Figure 4 The method may include:
[0140] S401. Receive the service processing request of the target service. The service processing request includes service tag parameters.
[0141] S402. Based on the business processing request, determine the first sub-link and the second sub-link among the multiple sub-links that execute the target business.
[0142] It should be noted that the specific implementation methods of S401-S402 can be found in S301-S302, and will not be repeated here.
[0143] S403. In response to the execution command of the first sub-link, obtain the link tag field of the first sub-link and the context of the first sub-link.
[0144] The execution instruction for the first sub-link can be used to instruct the start of execution of the first sub-link.
[0145] In this embodiment, the executable program of the first sub-link may include a tag field for the first sub-link. The electronic device can obtain the executable program of the first sub-link and can obtain the tag field of the first sub-link from the executable program of the first sub-link.
[0146] The executor of the first sub-link can be the program called when executing the first sub-link.
[0147] The electronic device can store the executable program for the first sub-link. In actual implementation, the electronic device can obtain the executable program for the first sub-link from its local storage.
[0148] S404. Generate the link tag parameters corresponding to the first sub-link based on the link tag field and the context of the first sub-link.
[0149] In this embodiment, the electronic device can look up the field value corresponding to the link tag field in the context of the first sub-link; and generate the link tag parameter corresponding to the first sub-link based on the field value corresponding to the link tag field.
[0150] Based on the field value corresponding to the link tag field, the link tag parameter for the first sub-link is generated, and at least two of the following cases exist:
[0151] Case 1: Determine the value of the field corresponding to the link tag field as the link tag parameter corresponding to the first sub-link.
[0152] In this case, the field value corresponding to the link tag field can be directly determined as the link tag parameter corresponding to the first sub-link without modifying the field value, thus reducing the overhead of the electronic device.
[0153] Case 2: Modify the field value corresponding to the link tag field to obtain the modified field value, and determine the modified field value as the link tag parameter corresponding to the first sub-link.
[0154] In this case, the electronic device can modify the field value corresponding to the link tag field according to actual needs to avoid the link tag parameter from repeating the characters in the context of the first sub-link, so that the link tag effect is better.
[0155] It should be noted that if the first sub-link corresponds to multiple link tag fields, the electronic device can generate the corresponding link tag parameters for any given link tag field based on its field value. The link tag parameters for the first sub-link can include the link tag parameters corresponding to each link tag field.
[0156] For example, suppose the first sub-link can be used to generate an ECS instance, and the link tag field is the identifier of the ECS instance. The electronic device can then look up the identifier of the generated ECS instance within the context of the first sub-link. Assuming the identifier of the ECS instance in the context of the first sub-link is ECS1, the electronic device can determine that the link tag parameter is ECS1.
[0157] S405. Store the link tag parameters corresponding to the first sub-link into the context of the first sub-link.
[0158] In this embodiment, the electronic device can store the link tagging parameters corresponding to the first sub-link in the context of the first sub-link, so as to achieve the purpose of tagging the first sub-link through the link tagging parameters.
[0159] Specifically, the electronic device can store the link marking parameters corresponding to the first sub-link in a preset location in the context of the first sub-link to achieve the purpose of marking the first sub-link; wherein, the preset location can be a pre-set location for storing the link marking parameters.
[0160] In this embodiment, storing the link tag parameters corresponding to the first sub-link in the context of the first sub-link can be done in at least two of the following ways:
[0161] Case 1: Store the link tag parameters only in the context of the first sub-link.
[0162] In this scenario, the electronic device can store only all the link tag parameters corresponding to the first sub-link in the context of the first sub-link, without needing to store the link tag fields corresponding to each link tag parameter. When performing sub-link tracing, the corresponding sub-link can be traced based on the link tag parameters.
[0163] In this case, less content needs to be stored in the context of the first sub-link, resulting in lower storage overhead.
[0164] Case 2: Store the link tag parameters and the corresponding link tag fields in the context of the first sub-link.
[0165] In this case, the electronic device can construct a key-value pair corresponding to the first sub-link, where the key of the key-value pair is the link tag field of the first sub-link, and the value of the key-value pair is the link tag parameter corresponding to the link tag field; and store the key-value pair corresponding to the first sub-link in the context of the first sub-link.
[0166] It should be understood that the number of key-value pairs corresponding to the first sub-link is the same as the number of link tag parameters corresponding to the first sub-link.
[0167] Specifically, for any link tag parameter corresponding to the first sub-link, the electronic device can store the link tag parameter and its corresponding link tag field in the context of the first sub-link. This way, when performing sub-link tracing, the corresponding sub-link can be traced based on the link tag field.
[0168] It should be noted that the link tag field can be preset in the execution program of the first sub-link. If the sub-link tracing requirements are different, different link tag fields can be set. In this case, when tracing sub-links based on the link tag field, the tracing noise is smaller, resulting in higher accuracy in sub-link tracing.
[0169] S406. Obtain service tag parameters through the first sub-link.
[0170] In this embodiment, the electronic device can also store service marking parameters in the context of the first sub-link to achieve the purpose of marking the first sub-link through the service marking parameters.
[0171] It should be noted that service tag parameters are used to pass data across multiple sub-links. Specifically, service tag parameters can be passed sequentially across multiple sub-links according to their execution order. Optionally, service tag parameters can be passed sequentially within the context of multiple sub-links according to their execution order. For example, the (n-1)th sub-link can pass service tag parameters to the nth sub-link through the context of the (n-1)th sub-link.
[0172] Before storing the service tag parameters in the context of the first sub-link, the electronic device can also obtain the service tag parameters through the first sub-link.
[0173] When obtaining service marking parameters through the first sub-link, the electronic device can determine whether the first sub-link is the first sub-link executed among multiple sub-links of the target service based on the service processing request. If the first sub-link is the first sub-link executed among multiple sub-links, the service marking parameters are obtained in the service processing request through the first sub-link. If the first sub-link is not the first sub-link executed among multiple sub-links, the service marking parameters transmitted by the third sub-link are received through the first sub-link. The third sub-link is the sub-link that is adjacent to the first sub-link and executed before the first sub-link.
[0174] Specifically, if the first sub-link is the first sub-link executed among multiple sub-links of the target service, the service tag parameter can be obtained in the service processing request through the first sub-link; if the first sub-link is not the first sub-link executed among multiple sub-links of the target service, the service tag parameter can be obtained through the first sub-link or from the sub-link preceding the first sub-link (i.e., the third sub-link).
[0175] In this embodiment, when obtaining service marking parameters through the first sub-link and from the preceding sub-link (i.e., the third sub-link), the context of the third sub-link transmitted by the third sub-link can be received through the first sub-link. The context of the third sub-link includes the service marking parameters. The service marking parameters are obtained from the context of the third sub-link through the first sub-link.
[0176] Specifically, the context of the third sub-link can be received through the first sub-link, and the service tag parameters can be obtained from the context of the third sub-link through the first sub-link.
[0177] S407. Store the service tag parameters in the context of the first sub-link.
[0178] In this embodiment, after obtaining the service marking parameters, the electronic device can store the service marking parameters in the context of the first sub-link so as to mark the first sub-link using the service marking parameters.
[0179] Specifically, electronic devices can store service tagging parameters in a preset location within the context of the first sub-link to achieve the purpose of tagging the first sub-link.
[0180] It should be noted that in this embodiment, the first sub-link can be marked first using the link marking parameter corresponding to the first sub-link, and then marked using the service marking parameter; or, the first sub-link can be marked first using the service marking parameter, and then marked using the link marking parameter corresponding to the first sub-link; or, the first sub-link can be marked simultaneously using both the link marking parameter corresponding to the first sub-link and the service marking parameter.
[0181] S408. In response to the execution command of the second sub-link, mark the second sub-link according to the service marking parameters.
[0182] It should be noted that the method for marking the second sub-link based on the service marking parameters is the same as the method for marking the first sub-link based on the service marking parameters.
[0183] Specifically, electronic devices can obtain service marking parameters through the second sub-link and store the service marking parameters in the context of the second sub-link to achieve the purpose of marking the second sub-link according to the service marking parameters.
[0184] When an electronic device obtains service marking parameters through the second sub-link, it can determine whether the second sub-link is the first sub-link executed among multiple sub-links of the target service based on the service processing request. If the second sub-link is the first sub-link executed among multiple sub-links, the electronic device obtains the service marking parameters in the service processing request through the second sub-link and stores the service marking parameters in the context of the second sub-link. If the second sub-link is not the first sub-link executed among multiple sub-links, the electronic device receives the service marking parameters transmitted by the fourth sub-link through the second sub-link and stores the service marking parameters in the context of the second sub-link. The fourth sub-link is the sub-link that is adjacent to the second sub-link and executed before the second sub-link.
[0185] When an electronic device receives service tag parameters transmitted by a fourth sublink through a second sublink, it can receive the context of the fourth sublink transmitted by the fourth sublink through the second sublink. The context of the fourth sublink includes the service tag parameters. The electronic device can also obtain the service tag parameters from the context of the fourth sublink through the second sublink.
[0186] In the service processing method provided in this embodiment, the electronic device can receive a service processing request for a target service, the service processing request including service marking parameters; it can determine a first sub-link and a second sub-link among multiple sub-links executing the target service according to the service processing request; in response to the execution instruction of the first sub-link, it can obtain the link marking field and the context of the first sub-link; it can generate the link marking parameters corresponding to the first sub-link according to the link marking field and the context of the first sub-link; it can store the link marking parameters corresponding to the first sub-link in the context of the first sub-link; it can obtain the service marking parameters through the first sub-link; it can store the service marking parameters in the context of the first sub-link; in response to the execution instruction of the second sub-link, it can perform marking processing on the second sub-link according to the service marking parameters. In the above method, the electronic device can mark all sub-links executing the target service through the service marking parameters, and can mark the corresponding sub-links through the link marking parameters. In the above method, the first sub-link can be marked through at least one link marking parameter. After marking the sub-links executing the target service using the above method, it is possible to trace all sub-links corresponding to the target service based on the service marking parameters, or to trace specific sub-links based on both the service marking parameters and the link marking parameters. Furthermore, for any given sub-link, there can be one or more link marking parameters. When tracing sub-links based on the service marking parameters and the link marking parameters, the appropriate link marking parameters can be selected according to the tracing requirements, resulting in good flexibility in link tracing. The above method can meet different sub-link tracing needs and improve the accuracy of link tracing.
[0187] Based on any of the above embodiments, the following is combined with Figure 5 and Figure 6 The business processing methods provided in the embodiments of this application will be illustrated through specific examples.
[0188] Figure 5 This is a schematic diagram illustrating a business processing method provided for an exemplary embodiment of this application. Please refer to [link / reference]. Figure 5 Assume that the multiple sub-links executing the target service include sub-link 1, sub-link 2, ..., and sub-link 6. For example... Figure 5 As shown, sub-link 1, sub-link 2, ..., and sub-link 6 can be executed sequentially. During service processing, the service marking parameters corresponding to the target service can be used to mark sub-link 1, sub-link 2, ..., and sub-link 6. In addition, link marking parameters can be used to mark sub-link 2, sub-link 3, sub-link 4, and sub-link 5.
[0189] In this embodiment, the link tag fields corresponding to sub-link 2, sub-link 3, sub-link 4 and sub-link 5 can be set according to actual needs, so as to determine the link tag parameters of the corresponding sub-links according to the link tag fields and use the link tag parameters to tag the corresponding sub-links.
[0190] In this embodiment, the link tag fields corresponding to sub-links 2, 3, 4, and 5 can be the same, or they can be different. Furthermore, each sub-link can have one or more link tag fields.
[0191] After marking sub-link 1, sub-link 2, ..., and sub-link 6 using the above method, all sub-links corresponding to the target service can be tracked based on the service marking parameters, and the corresponding sub-links can be tracked based on both the service marking parameters and the link marking parameters. In other words, both global and local tracking can be achieved, satisfying different sub-link tracking needs and improving the accuracy of sub-link tracking.
[0192] Figure 6 This is a schematic diagram illustrating another business processing method provided for an exemplary embodiment of this application. Please refer to [link / reference]. Figure 6 Assume that the multiple sub-links executing the target service include sub-link 1, sub-link 11, sub-link 12, sub-link 13, and sub-link 14. For example... Figure 6As shown, after sub-link 1 is executed, sub-links 11, 12, 13, and 14 can be executed in parallel. During service processing, sub-links 1, 11, 12, 13, and 14 can be marked using the service marking parameters corresponding to the target service. Alternatively, link marking parameters can be used to mark sub-links 11, 12, 13, and 14 respectively.
[0193] In this embodiment, the link tag fields corresponding to sub-link 11, sub-link 12, sub-link 13 and sub-link 14 can be set according to actual needs, so as to determine the link tag parameters of the corresponding sub-links according to the link tag fields and use the link tag parameters to tag the corresponding sub-links.
[0194] In this embodiment, service marking parameters can be used to mark all lines corresponding to the target service, and link marking parameters can be used to mark multiple sub-links executed in parallel. It should be noted that the link marking parameters of multiple sub-links executed in parallel can be the same, or they can be different; the specific settings can be configured according to actual needs during implementation.
[0195] After marking sub-link 1, sub-link 11, sub-link 12, sub-link 13, and sub-link 14 using the above method, all sub-links corresponding to the target service can be tracked according to the service marking parameters, and corresponding branch sub-links can be tracked according to the service marking parameters and link marking parameters. In other words, both global and local tracking can be achieved, meeting different sub-link tracking needs and improving the accuracy of line tracking.
[0196] Figure 7 This is a schematic diagram of a service processing apparatus provided for an exemplary embodiment of this application. The service processing apparatus 10 includes a receiving module 11, a determining module 12, a generating module 13, and a marking module 14, wherein...
[0197] The receiving module 11 is used to receive a service processing request for a target service, the service processing request including service tag parameters;
[0198] The determining module 12 is used to determine the first sub-link and the second sub-link among multiple sub-links executing the target service according to the service processing request.
[0199] In response to the execution instruction of the first sub-link, the generation module 13 is used to generate link marking parameters corresponding to the first sub-link, and the marking module 14 is used to mark the first sub-link according to the link marking parameters and the service marking parameters;
[0200] In response to the execution instruction of the second sub-link, the marking module 14 is used to mark the second sub-link according to the service marking parameters.
[0201] The business processing apparatus provided in this application embodiment can execute the technical solutions shown in the above method embodiments. Its implementation principle and beneficial effects are similar, and will not be described again here.
[0202] In one possible implementation, the generation module 13 is specifically used for,
[0203] In response to the execution instruction of the first sub-link, the link tag field of the first sub-link and the context of the first sub-link are obtained;
[0204] Based on the link tag field and the context of the first sub-link, the link tag parameters corresponding to the first sub-link are generated.
[0205] In one possible implementation, the generation module 13 is specifically used for,
[0206] Determine the field value corresponding to the link tag field within the context of the first sub-link;
[0207] Based on the field value corresponding to the link tag field, generate the link tag parameter corresponding to the first sub-link.
[0208] In one possible implementation, the marking module 14 is specifically used for,
[0209] Store the link tag parameters corresponding to the first sub-link into the context of the first sub-link; and,
[0210] The service tag parameters are obtained through the first sub-link, and the service tag parameters are stored in the context of the first sub-link.
[0211] In one possible implementation, the marking module 14 is specifically used for,
[0212] Construct a key-value pair corresponding to the first sub-link, wherein the key of the key-value pair is the link tag field of the first sub-link, and the value of the key-value pair is the link tag parameter corresponding to the link tag field;
[0213] Store the key-value pair corresponding to the first sub-link in the context of the first sub-link.
[0214] In one possible implementation, the service tagging parameters are used to transmit across the plurality of sub-links; the tagging module 14 is specifically used for,
[0215] Based on the service processing request, determine whether the first sub-link is the first sub-link executed among multiple sub-links of the target service;
[0216] If the first sub-link is the first sub-link executed among the plurality of sub-links, then the service tag parameter is obtained in the service processing request through the first sub-link;
[0217] If the first sub-link is not the first sub-link executed among the plurality of sub-links, then the service tag parameter transmitted by the third sub-link is received through the first sub-link. The third sub-link is the sub-link that is adjacent to the first sub-link and executed before the first sub-link among the plurality of sub-links.
[0218] In one possible implementation, the marking module 14 is specifically used for,
[0219] The first sub-link receives the context of the third sub-link, which is transmitted by the third sub-link and includes the service tag parameter in the context of the third sub-link.
[0220] The service tag parameters are obtained in the context of the third sub-link through the first sub-link.
[0221] In one possible implementation, the service tagging parameters are used to transmit across the plurality of sub-links; the tagging module 14 is specifically used for,
[0222] Based on the service processing request, determine whether the second sub-link is the first sub-link executed among multiple sub-links of the target service;
[0223] If the second sub-link is the first sub-link executed among the plurality of sub-links, then the service tag parameter is obtained from the service processing request through the second sub-link, and the service tag parameter is stored in the context of the second sub-link;
[0224] If the second sub-link is not the first sub-link executed among the plurality of sub-links, then the service tag parameter transmitted by the fourth sub-link is received through the second sub-link, and the service tag parameter is stored in the context of the second sub-link. The fourth sub-link is the sub-link that is adjacent to the second sub-link and executed before the second sub-link among the plurality of sub-links.
[0225] In one possible implementation, the marking module 14 is specifically used for,
[0226] The second sub-link receives the context of the fourth sub-link, which includes the service tag parameter.
[0227] The service tag parameters are obtained in the context of the fourth sub-link through the second sub-link.
[0228] In one possible implementation, the determining module 12 is specifically used for,
[0229] Based on the business processing request, determine multiple sub-links for executing the target business;
[0230] For any one of the plurality of sub-links, obtain the execution program of that sub-link;
[0231] If the execution program of the sub-link includes a link tag field, the sub-link is determined to be the first sub-link;
[0232] If the execution program of the sub-link does not include a link tag field, the sub-link is determined to be the second sub-link.
[0233] The business processing apparatus provided in this application embodiment can execute the technical solutions shown in the above method embodiments. Its implementation principle and beneficial effects are similar, and will not be described again here.
[0234] Figure 8 A schematic diagram of the structure of an electronic device is provided as an exemplary embodiment of this application. Please refer to [link / reference]. Figure 8 The electronic device 20 may include a processor 21 and a memory 22. Exemplarily, the processor 21 and the memory 22 are interconnected via a bus 23.
[0235] The memory 22 stores computer-executed instructions;
[0236] The processor 21 executes the computer execution instructions stored in the memory 22, causing the processor 21 to perform the method as shown in the above method embodiment.
[0237] Accordingly, this application provides a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, are used to implement the method described in the above-described method embodiments.
[0238] Accordingly, embodiments of this application may also provide a computer program product, including a computer program, which, when executed by a processor, can implement the methods shown in the above-described method embodiments.
[0239] Those skilled in the art will understand that embodiments of the present invention can be provided as methods, systems, or computer program products. Therefore, the present invention can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention can take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0240] This invention is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart illustrations and / or block diagrams. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0241] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.
[0242] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
[0243] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0244] Memory may include non-persistent storage in computer-readable media, such as random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM. Memory is an example of computer-readable media.
[0245] Computer-readable media includes both permanent and non-permanent, removable and non-removable media that can store information using any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, magnetic magnetic disk storage or other magnetic storage devices, or any other non-transferable medium that can be used to store information accessible by a computing device. As defined herein, computer-readable media does not include transient computer-readable media, such as modulated data signals and carrier waves.
[0246] It should also be noted that the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.
[0247] The above description is merely an embodiment of this application and is not intended to limit the scope of this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the scope of the claims of this application.
Claims
1. A business processing method, characterized in that, include: Receive a service processing request for the target service, the service processing request including service tag parameters; Based on the service processing request, a first sub-link and a second sub-link are determined among multiple sub-links that execute the target service; In response to the execution instruction of the first sub-link, a link marking parameter corresponding to the first sub-link is generated, and the first sub-link is marked according to the link marking parameter and the service marking parameter; In response to the execution instruction of the second sub-link, the second sub-link is marked according to the service marking parameters.
2. The method according to claim 1, characterized in that, In response to the execution instruction of the first sub-link, link tag parameters corresponding to the first sub-link are generated, including: In response to the execution instruction of the first sub-link, the link tag field of the first sub-link and the context of the first sub-link are obtained; Based on the link tag field and the context of the first sub-link, the link tag parameters corresponding to the first sub-link are generated.
3. The method according to claim 2, characterized in that, Based on the link tag field and the context of the first sub-link, generate the link tag parameters corresponding to the first sub-link, including: In the context of the first sub-link, find the field value corresponding to the link tag field; Based on the field value corresponding to the link tag field, generate the link tag parameter corresponding to the first sub-link.
4. The method according to any one of claims 1-3, characterized in that, The first sub-link is marked according to the link marking parameters and the service marking parameters, including: Store the link tag parameters corresponding to the first sub-link into the context of the first sub-link; and, The service tag parameters are obtained through the first sub-link, and the service tag parameters are stored in the context of the first sub-link.
5. The method according to claim 4, characterized in that, Store the link tag parameters corresponding to the first sub-link into the context of the first sub-link, including: Construct a key-value pair corresponding to the first sub-link, wherein the key of the key-value pair is the link tag field of the first sub-link, and the value of the key-value pair is the link tag parameter corresponding to the link tag field; Store the key-value pair corresponding to the first sub-link in the context of the first sub-link.
6. The method according to claim 4 or 5, characterized in that, The service tag parameters are used to transmit across the plurality of sub-links; obtaining the service tag parameters through the first sub-link includes: Based on the service processing request, determine whether the first sub-link is the first sub-link executed among multiple sub-links of the target service; If the first sub-link is the first sub-link executed among the plurality of sub-links, then the service tag parameter is obtained in the service processing request through the first sub-link; If the first sub-link is not the first sub-link executed among the plurality of sub-links, then the service tag parameter transmitted by the third sub-link is received through the first sub-link. The third sub-link is the sub-link that is adjacent to the first sub-link and executed before the first sub-link among the plurality of sub-links.
7. The method according to claim 6, characterized in that, Receiving the service tag parameters transmitted by the third sub-link through the first sub-link includes: The first sub-link receives the context of the third sub-link, which is transmitted by the third sub-link and includes the service tag parameter in the context of the third sub-link. The service tag parameters are obtained in the context of the third sub-link through the first sub-link.
8. The method according to any one of claims 1-7, characterized in that, The service tag parameters are used to transmit in the multiple sub-links; In response to the execution instruction of the second sub-link, the second sub-link is marked according to the service marking parameters, including: Based on the service processing request, determine whether the second sub-link is the first sub-link executed among multiple sub-links of the target service; If the second sub-link is the first sub-link executed among the plurality of sub-links, then the service tag parameter is obtained from the service processing request through the second sub-link and the service tag parameter is stored in the context of the second sub-link; If the second sub-link is not the first sub-link executed among the plurality of sub-links, then the service tag parameter transmitted by the fourth sub-link is received through the second sub-link, and the service tag parameter is stored in the context of the second sub-link. The fourth sub-link is the sub-link that is adjacent to the second sub-link and executed before the second sub-link among the plurality of sub-links.
9. The method according to claim 8, characterized in that, Receiving the service tag parameters transmitted by the fourth sub-link via the second sub-link includes: The second sub-link receives the context of the fourth sub-link, which includes the service tag parameter. The service tag parameters are obtained in the context of the fourth sub-link through the second sub-link.
10. The method according to any one of claims 1-9, characterized in that, Based on the service processing request, determining the first sub-link and the second sub-link among multiple sub-links executing the target service includes: Based on the business processing request, determine multiple sub-links for executing the target business; For any one of the plurality of sub-links, obtain the execution program of that sub-link; If the execution program of the sub-link includes a link tag field, the sub-link is determined to be the first sub-link; If the execution program of the sub-link does not include a link tag field, the sub-link is determined to be the second sub-link.
11. A business processing apparatus, characterized in that, It includes a receiving module, a determining module, a generating module, and a marking module, among which, The receiving module is used to receive a service processing request for a target service, the service processing request including service tag parameters; The determining module is used to determine the first sub-link and the second sub-link among multiple sub-links executing the target service, based on the service processing request. In response to the execution instruction of the first sub-link, the generation module is used to generate link marking parameters corresponding to the first sub-link, and the marking module is used to mark the first sub-link according to the link marking parameters and the service marking parameters; In response to the execution instruction of the second sub-link, the marking module is used to mark the second sub-link according to the service marking parameters.
12. An electronic device, characterized in that, include: Memory and processor; The memory stores computer-executed instructions; The processor executes computer execution instructions stored in the memory to cause the electronic device to perform the method according to any one of claims 1-10.
13. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer-executable instructions, which, when executed by a processor, implement the method as described in any one of claims 1-10.
14. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the method as described in any one of claims 1-10.