Search

CN-116233242-B - Multi-service data processing method, device, system and computer equipment

CN116233242BCN 116233242 BCN116233242 BCN 116233242BCN-116233242-B

Abstract

The application relates to a multi-service data processing method, a device, a system and computer equipment. The method comprises the steps of obtaining a target business process request, operating a trigger class service to generate trigger class data, selecting initial execution class services from execution class services based on an execution sequence corresponding to the target business process request, converting the trigger class data into initial standard data based on a target cloud information model, operating the initial execution class services based on the initial standard data to generate current execution service data, selecting current execution class services from the execution class services, converting the current execution service data into current standard data based on the target cloud information model, operating the current execution class services based on the current standard data to generate target execution service data, taking the target execution service data as the current execution service data, and returning to the step of selecting the current execution class services from the execution class services until a process ending condition is met. By adopting the method, the data transfer efficiency among a plurality of different services is improved.

Inventors

  • ZHAO MING
  • LIU FENG
  • LIU ZHIBIN
  • HE YANG

Assignees

  • 金蝶软件(中国)有限公司

Dates

Publication Date
20260512
Application Date
20230222

Claims (10)

  1. 1. A multi-service data processing method, the method comprising: Acquiring a target business process request, wherein the target business process request comprises a trigger class service and at least two execution class services; when the trigger condition is met, the trigger class service is operated, and trigger class data is generated; Based on the execution sequence corresponding to the target business flow request, selecting initial execution class services from the execution class services, and based on a target cloud information model, converting the trigger class data into initial standard data applied to the initial execution class services, wherein the initial execution class services operate based on the initial standard data to generate current execution service data; Based on the execution sequence, selecting a current execution class service from the execution class services, and based on the target cloud information model, converting the current execution service data into current standard data applied to the current execution class service, wherein the current execution class service operates based on the current standard data to generate target execution service data; And returning the target execution service data serving as current execution service data to the step of selecting the current execution service from the execution service based on the execution sequence until the flow ending condition is met, thereby obtaining target execution service data corresponding to each execution service.
  2. 2. The method of claim 1, wherein the obtaining the target business process request, the target business process request including before triggering the class service and at least two executing the class service, further comprises: acquiring a target trigger class service and at least two target execution class services; Combining the target trigger class service and the at least two target execution class services in sequence to generate an intermediate business process request; and formulating a corresponding target operation rule for the intermediate business process request, and determining the target business process request.
  3. 3. The method of claim 2, wherein prior to the acquiring the target trigger class service and the at least two target execution class services, further comprising: Acquiring a trigger type service to be tested from a target service library, acquiring a test trigger request parameter corresponding to the trigger type service to be tested, and testing based on the test trigger request parameter to obtain the target trigger type service; Acquiring to-be-tested execution class service from the target service library, acquiring forward service data, and converting the forward service data into standard execution data applied to the to-be-tested execution class service based on the target cloud information model; Acquiring a test execution request parameter corresponding to the to-be-tested execution type service, and testing the to-be-tested execution type service based on the standard execution data and the test execution request parameter to obtain a target execution type service; And returning to the step of acquiring the execution class service to be tested from the target service library until the end adding condition is met, so as to obtain the at least two target execution class services.
  4. 4. The method of claim 1, wherein the converting the trigger class data into initial standard data applied to the initial execution class service based on the target cloud information model comprises: acquiring a first mapping relation between the trigger class service corresponding to the trigger class data and the target cloud information model, and acquiring a second mapping relation between the initial execution class service and the target cloud information model; Based on the first mapping relation and the second mapping relation, the target cloud information model converts the trigger class data into initial standard data applied to the initial execution class service.
  5. 5. The method according to claim 1, wherein the method further comprises: acquiring a mapping relation between a target service and a target cloud information model, wherein the target service comprises a trigger class service and an execution class service; operating the target service to generate target service data; based on the mapping relation, the target cloud information model converts the target service data into public type data; Storing the common type data.
  6. 6. A multi-service data processing apparatus, the apparatus comprising: the system comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for acquiring a target business process request, and the target business process request comprises a trigger class service and at least two execution class services; the triggering module is used for operating the triggering type service when the triggering condition is met, and generating triggering type data; The initial execution module is used for selecting initial execution class services from the execution class services based on the execution sequence corresponding to the target business process request, converting the trigger class data into initial standard data applied to the initial execution class services based on a target cloud information model, and running the initial execution class services based on the initial standard data to generate current execution service data; The repeated execution module is used for selecting current execution class services from the execution class services based on the execution sequence, converting the current execution service data into current standard data applied to the current execution class services based on the target cloud information model, and running the current execution class services based on the current standard data to generate target execution service data; and the ending execution module is used for returning the target execution service data serving as current execution service data to the step of selecting the current execution service from the execution service based on the execution sequence until the flow ending condition is met, so as to obtain the target execution service data corresponding to each execution service.
  7. 7. A multi-service data processing system, the system comprising: The method comprises the steps that a first server creates a corresponding target business process request by sequentially combining a trigger class service and an execution class service, wherein the target business process request comprises the trigger class service and at least two execution class services, and the target business process request is sent to a second server; The second server comprises a first server node and a second server node, wherein the first server node is used for acquiring the target business process request, operating the trigger class service of the target business process request when a trigger condition is met, generating trigger class data and sending the trigger class data to the second server node; The first server node is further configured to select an initial execution class service from the execution class services based on an execution sequence corresponding to the target business process request, obtain initial standard data converted by the trigger class data, perform operation based on the initial standard data, generate current execution service data, and send the current execution service data to the second server node; The first server node is further configured to select a current execution class service from the execution class services based on the execution sequence, obtain current standard data converted by the current execution class service, run the current execution class service based on the current standard data, generate target execution service data, use the target execution service data as current execution service data, send the current execution service data to the second server node, and return to the step of selecting the current execution class service from the execution class service based on the execution sequence until a process end condition is met, thereby obtaining target execution service data corresponding to each execution class service; The second server node is configured to obtain the trigger class data, obtain the current execution service data, convert the trigger class data into the initial standard data based on a target cloud information model, convert the current execution service data into the current standard data, and send the initial standard data and the current standard data to the first server node.
  8. 8. The system of claim 7, wherein the second server node is further configured to obtain a mapping relationship between a target service and a target cloud information model, the target service includes a trigger class service and an execution class service, obtain target service data corresponding to the target service, and based on the mapping relationship, the target cloud information model converts the target service data into public type data and stores the public type data.
  9. 9. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor implements the steps of the method of any one of claims 1 to 5 when the computer program is executed.
  10. 10. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the method of any of claims 1 to 5.

Description

Multi-service data processing method, device, system and computer equipment Technical Field The present application relates to the field of computer technologies, and in particular, to a method, an apparatus, a system, a computer device, and a storage medium for processing multi-service data. Background With the development of computer technology, a SaaS (Software-as-a-Service) Service, a Software Service, that is, a Software Service provided through a network, has emerged. Currently, different enterprises have different service requirements, and the service requirements generally use different software services, and the services are often provided by different SaaS service providers, so that data between a plurality of services cannot be directly transmitted, manual operation is required, and the working efficiency of the enterprises is greatly reduced. In addition, it is common practice for existing enterprises to arrange for developers to develop the requirements of SaaS service connections, or to purchase custom development services directly from SaaS service providers, essentially through secondary development to achieve point-to-point connections between SaaS services. Although the technical scheme for realizing connection communication between SaaS services by secondary development has strong pertinence, can realize the customization requirement of enterprises, has the problems of long development period, high cost, high system complexity and the like, simultaneously, the industries and markets are rapidly developing, the requirements of enterprises face challenges of uncertain factors, and the connection system of secondary development does not have the capability of timely adjustment along with the requirements, so that the transfer efficiency of data among a plurality of different services or systems is lower. Disclosure of Invention In view of the foregoing, it is desirable to provide a multi-service data processing method, apparatus, system, computer device, and storage medium that can implement data transfer between different services and systems, so as to improve the transfer efficiency of data between a plurality of different services or systems. A multi-service data processing method, the method comprising: Acquiring a target business process request, wherein the target business process request comprises a trigger class service and at least two execution class services; when the trigger condition is met, the trigger class service is operated, and trigger class data is generated; Based on the execution sequence corresponding to the target business flow request, selecting initial execution class services from the execution class services, and based on a target cloud information model, converting the trigger class data into initial standard data applied to the initial execution class services, wherein the initial execution class services operate based on the initial standard data to generate current execution service data; Based on the execution sequence, selecting a current execution class service from the execution class services, and based on the target cloud information model, converting the current execution service data into current standard data applied to the current execution class service, wherein the current execution class service operates based on the current standard data to generate target execution service data; And returning the target execution service data serving as current execution service data to the step of selecting the current execution service from the execution service based on the execution sequence until the flow ending condition is met, thereby obtaining target execution service data corresponding to each execution service. In one embodiment, acquiring a target business process request, where the target business process request includes a trigger class service and at least two execution class services, further includes: acquiring a target trigger class service and at least two target execution class services; Combining the target trigger class service and the at least two target execution class services in sequence to generate an intermediate business process request; and formulating a corresponding target operation rule for the intermediate business process request, and determining the target business process request. In one embodiment, before acquiring the target trigger class service and the at least two target execution class services, the method further includes: Acquiring a trigger type service to be tested from a target service library, acquiring a test trigger request parameter corresponding to the trigger type service to be tested, and testing based on the test trigger request parameter to obtain the target trigger type service; Acquiring to-be-tested execution class service from the target service library, acquiring forward service data, and converting the forward service data into standard execution data applied to the to-be-tested execution class servi