CN107220031B - Operation method and device of service system - Google Patents

Operation method and device of service system Download PDF

Info

Publication number
CN107220031B
CN107220031B CN201610161557.2A CN201610161557A CN107220031B CN 107220031 B CN107220031 B CN 107220031B CN 201610161557 A CN201610161557 A CN 201610161557A CN 107220031 B CN107220031 B CN 107220031B
Authority
CN
China
Prior art keywords
instruction
service system
node
function
execution
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610161557.2A
Other languages
Chinese (zh)
Other versions
CN107220031A (en
Inventor
濮方
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Advanced New Technologies Co Ltd
Advantageous New Technologies Co Ltd
Original Assignee
Advanced New Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Advanced New Technologies Co Ltd filed Critical Advanced New Technologies Co Ltd
Priority to CN201610161557.2A priority Critical patent/CN107220031B/en
Publication of CN107220031A publication Critical patent/CN107220031A/en
Application granted granted Critical
Publication of CN107220031B publication Critical patent/CN107220031B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/30Arrangements for executing machine instructions, e.g. instruction decode
    • G06F9/38Concurrent instruction execution, e.g. pipeline or look ahead
    • G06F9/3867Concurrent instruction execution, e.g. pipeline or look ahead using instruction pipelines

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Devices For Executing Special Programs (AREA)
  • Stored Programmes (AREA)

Abstract

After the service system executes a current first function node, an operation instruction to be executed or the operation instruction to be executed and a second function node are obtained by sending an inquiry request until the service system finishes running. Therefore, the idea of extracting the flow arrangement part from the implementation code of the business system is adopted, namely the implementation function of the function node and the flow arrangement function between the function nodes are decoupled, namely the business system is only responsible for implementing the function node, and the execution sequence of each function node is implemented by the code of the flow encoding part, so that the design of the business system is really simplified, and the operation efficiency of the business system is improved.

Description

Operation method and device of service system
Technical Field
The present application relates to the field of computer technologies, and in particular, to a method and an apparatus for operating a service system.
Background
With the rapid development of the internet, the complexity of business systems (e.g., financial systems, electronic commerce systems, electronic payment systems, etc.) becomes higher and higher, for example, it is necessary to instantiate a plurality of different business processes and control the instantiated business processes; when the complexity of the system is high, the operation efficiency is correspondingly reduced, and the user experience is affected. In order not to reduce the efficiency of the operation of the business system, the prior art proposes a method for controlling the operation of the business system through a process engine.
In the process of controlling the operation of the business system by the process engine, the process engine is responsible for calling each function node of the business system and setting the state of each function node after the execution is finished, and the business system is responsible for the specific realization of each function node and recording the relationship among the function nodes; therefore, the service system in the prior art is not only responsible for the realization of each functional node, but also needs to record the relationship among the functional nodes, that is, the service system is not really simplified; in addition, when the operation of the business system is controlled by the process engine, different business processes are instantiated by combining the configuration files such as xml and the like with each function node, so that when different business processes need to be instantiated, the configuration files such as xml and the like need to be changed, the changed configuration files such as xml and the like need to be released to be on-line, the response speed is slow, and the operation efficiency of the business system is affected.
Disclosure of Invention
The embodiment of the application provides a method and a device for operating a service system, which can improve the efficiency of operating the service system.
In a first aspect, a method for operating a service system is provided, where the method includes:
receiving an inquiry request sent by a service system, wherein the inquiry request comprises a first function node which is currently executed and completed by the service system and an execution result of the first function node;
reading an operation instruction to be executed from a preset storage unit according to the first function node and the execution result, wherein the preset storage unit is used for storing each function node of the service system, the operation instruction corresponding to each function node and the execution condition of the operation instruction of part of function nodes;
if the operation instruction is an end instruction, returning the end instruction to the service system, wherein the end instruction is used for indicating the service system to end running;
and if the operation instruction is an execution instruction, reading a second function node to be executed, and returning the execution instruction and the second function node to the service system, wherein the execution instruction is used for indicating the service system to execute a function corresponding to the second function node.
In a second aspect, an apparatus for operating a service system is provided, the apparatus including:
a receiving unit, configured to receive an inquiry request sent by a service system, where the inquiry request includes a first function node that is currently executed by the service system and an execution result of the first function node;
a reading unit, configured to read an operation instruction to be executed from a preset storage unit according to the first function node and the execution result received by the receiving unit, where the preset storage unit is used to store each function node of the service system, an operation instruction corresponding to each function node, and an execution condition of an operation instruction of a part of function nodes;
a sending unit, configured to return the end instruction to the service system if the operation instruction read by the reading unit is an end instruction, where the end instruction is used to instruct the service system to end operation;
if the operation instruction read by the reading unit is an execution instruction, reading a second function node to be executed, and returning the execution instruction and the second function node to the service system, where the execution instruction is used to instruct the service system to execute a function corresponding to the second function node.
According to the operation method and the operation device of the service system, after the service system completes the current first function node, the operation instruction to be executed or the operation instruction to be executed and the second function node are obtained by sending the inquiry request until the operation of the service system is finished. Therefore, the idea of extracting the flow arrangement part from the implementation code of the business system is adopted, namely the implementation function of the function node and the flow arrangement function between the function nodes are decoupled, namely the business system is only responsible for implementing the function node, and the execution sequence of each function node is implemented by the code of the flow encoding part, so that the design of the business system is really simplified, and the operation efficiency of the business system is improved.
Drawings
FIG. 1 is a schematic diagram of interaction between a business system and an orchestration component provided herein;
FIG. 2 is a schematic diagram of a business process provided herein;
fig. 3 is a flowchart of an operation method of a service system according to an embodiment of the present application;
FIG. 4 is a schematic diagram illustrating an internal process flow of the orchestration component provided herein;
fig. 5 is a schematic diagram of an operating apparatus of a service system according to another embodiment of the present application.
Detailed Description
Embodiments of the present invention will be described below with reference to the accompanying drawings.
The method and the device for operating the service system provided by the embodiment of the application adopt the idea of extracting the flow arrangement part from the implementation code of the service system, namely, decoupling the implementation function of the functional node from the flow arrangement function between the functional nodes, wherein the extracted flow coding part can also be called an arrangement component, and can be changed in a production environment instantly. FIG. 1 is a schematic diagram of interaction between a business system and an orchestration component, and it can be seen from FIG. 1 that the business system interacts with the orchestration component by way of queries. In fig. 1, under the condition that the implementation of the functional nodes is not changed, the process arrangement relationship between the functional nodes is immediately adjusted by the arrangement component, so that the recombination work of the differentiated service processes can be realized.
The operation method and the operation device of the service system provided by the embodiment of the application are suitable for a complex operation scene of the service system, and are particularly suitable for an operation scene of the service system capable of instantiating a plurality of different service processes. The business system herein includes, but is not limited to, a financial system, an electronic commerce system, an electronic payment system, etc., which may include at least one functional node, wherein each functional node corresponds to a function of the business system. Taking the business system as an electronic payment system as an example, the functional nodes may include two types: the system comprises an internal interface and an external interface, wherein the internal interface can be an idempotent module or a storage module and the like, and the external interface can be an external service interface and the like which are depended by a business system. It should be noted that, for each service process instantiated by the service system, the arrangement configuration of the function nodes of a set of service system can be performed in the arrangement component, that is, the process arrangement relationship between the function nodes can be configured in the arrangement component, so as to control the sequence executed by the function nodes, thereby realizing the control of the service process.
Taking a business process after instantiation of a business system as an example, a process arrangement relation among all functional nodes configured in an arrangement component is described. Assuming that the business process is a x payment process as shown in fig. 2, the payment process may include a first functional node and one or more other functional nodes. In one example, the first functional node and the other functional nodes may be separately orchestrated, wherein,
the process arrangement relationship of the first function node can be shown in table 1.
TABLE 1
Business process Head function node
Xx payment Authentication
And the flow arrangement relationship of other functional nodes except the first functional node can be shown in table 2.
TABLE 2
Figure BDA0000946007970000041
Figure BDA0000946007970000051
In table 2, the number of execution conditions is the same as the number of execution branches in fig. 2. The parsing of the execution condition may be implemented by a third-party expression parsing engine, such as groovy or qlexpress, where qlexpress is an expression engine inside the lapel, and its syntax is similar to groovy. As can be seen from table 1, when the number of operation instructions corresponding to the same functional node is plural, each operation instruction corresponds to one execution condition. If the number of the operation instructions corresponding to the "pre-authorization" is two, and the two operation instructions are respectively: "CONTINUE" and "FINISH", each of the two operation instructions corresponds to an execution condition, where the execution condition corresponding to "CONTINUE" is "if" (pre-authorization result is "success") "and the execution condition corresponding to" FINISH "is" if "(pre-authorization result is" fail ")".
For each business process after the business system is instantiated, a process arrangement relation between each function node can be configured in the arrangement component, and the process arrangement relation can be shown in table 1 and table 2. Of course, in practical applications, the flow arrangement relationship may also be different from that shown in table 1, for example, the execution condition and the operation instruction may be stored separately, which is not limited in this application.
It should be noted that, in order to visually display the process arrangement relationship between the functional nodes, the description is presented in the form of table 2, and in practical applications, the content of table 2 may be stored in the form of a linked list, so that the personalized service process driver may be adapted to and finally output in a graphical manner, and the currently processed service process may be conveniently viewed.
After configuring the process arrangement relationship among the function nodes in the arrangement component for each service process instantiated by the service system, the arrangement component can control the service process in the operation process of the service system, that is, the sequence executed by each function node in the service system can be controlled. The control process can be described with reference to the steps in fig. 3.
Fig. 3 is a flowchart of an operation method of a service system according to an embodiment of the present application. The execution subject of the method may be a device with processing capabilities: the server or the system or the apparatus, such as the above-mentioned orchestration component, as shown in fig. 3, may specifically include:
step 310, receiving an inquiry request sent by the service system, where the inquiry request includes a first function node currently executed by the service system and an execution result of the first function node.
Optionally, before performing step 310, the method may further include a step of initiating a corresponding business process in the orchestration component, including:
step A: and receiving a starting instruction sent by the service system.
The start instruction may include the name of the business process. When the service flow after the service system instantiation is "xx payment flow", the start instruction may include "xx payment flow".
And B: and returning the first function node of the service system to the service system according to the starting instruction so that the service system executes the function corresponding to the first function node, and sending an inquiry request to the service system after the first function node is executed.
Since the business system can instantiate a plurality of business processes, the orchestration component can start the corresponding business process according to the name of the business system in the start instruction. Specifically, after receiving a start instruction containing a name of a business process sent by a business system, the orchestration component reads a first function node of the business process, and returns the first function node to the business system. For example, in the foregoing example, the "authentication" of the first functional node of "x payment procedure" may be read from table 1, and returned to the service system. After receiving the first functional node, the service system may execute a function corresponding to the first functional node, and after the first functional node is executed, send an inquiry request to the service system to obtain an operation instruction to be executed or an operation instruction to be executed and a second functional node.
Referring back to step 310, for example, the first functional node that is currently executed is the "pre-authorization" in fig. 2, and it is assumed that the execution result of the first functional node is a message indicating failure, such as "fail". The inquiry request in step 310 may contain both "pre-authorization" and "fail" contents.
Step 320, reading the operation instruction to be executed from the preset storage unit according to the first function node and the execution result.
The operation instruction refers to an action additionally executed after the function corresponding to the current functional node is executed, and the custom configuration is completely supported. For different operational instructions, the orchestration component may return to the business system in the form of enumerated values, which are identified and processed by the business system.
Here, the preset storage unit may be configured to store each functional node of the service system, an operation instruction corresponding to each functional node, and an execution condition of an operation instruction of a part of the functional nodes. In one example, the predetermined storage locations may be as shown in tables 1 and 2, but of course, in practical applications, the contents in tables 1 and 2 may also be stored together. In table 2, "authentication", "withholding", "pre-authorization" and "debit" are each functional node of the service system; "CONTINUE" and "FINISH" are the above operation commands, where "CONTINUE" is an execution command and "FINISH" is an end command, that is, the above operation commands include two types: an execute instruction and an end instruction. Optionally, when the operation instruction stored in the preset storage unit is an execution instruction, the preset storage unit may further include a second function node for executing the execution instruction, for example, the second function node for executing the execution instruction with "withholding" and "pre-authorization" as "authentication" in table 1, and the "debit" is a second function node for executing the execution instruction with "pre-authorization".
In table 1, "if (authentication result ═ success") "and" if (authentication result ═ fail ")" are execution conditions of the execution instruction corresponding to "authentication", and "if (pre-authorization result ═ success") "is an execution condition of the execution instruction corresponding to" pre-authorization ", and" if (authentication result ═ fail ")" is an execution condition of the end instruction corresponding to "pre-authorization".
Step 320 may further include:
step X: and comparing the first functional node with each functional node in a preset storage unit.
Referring to the schematic internal processing flow of the orchestration component shown in fig. 4, the orchestration component screens a unique record from a preset storage unit according to the first function node and the execution result. As in the previous example, the first functional node "pre-authorization" may be compared to each of the functional nodes in table 1.
Step Y: and if the operating instruction is consistent with any functional node, reading the operating instruction corresponding to any functional node.
Because the first functional node is consistent with the "pre-authorization" comparison of the functional node in table 1, two operation instructions corresponding to the functional node can be read, where the two operation instructions are "CONTINUE" and "FINISH", respectively. It should be noted that, in practical applications, the plurality of operation instructions read here may also be the same, for example, when the first functional node is "authenticated", the two operation instructions read from table 1 are the same, for example, both are "CONTINUE".
Step Z: and when the number of the read operation instructions is multiple, matching the execution result with the execution conditions of the multiple operation instructions, and if the execution result is matched with the execution condition of the first operation instruction, selecting the first operation instruction as the operation instruction to be executed.
The first operation instruction herein may be any operation instruction of any functional node described above.
In the foregoing example, the number of the read operation instructions is two, so the execution result "fail" in step 310 can be matched with the execution conditions of the two read operation instructions, because the execution result satisfies the execution condition of the second operation instruction "preauthorized" by the function node, that is, the execution result is matched with the execution condition of the second operation instruction "preauthorized", so the second operation instruction "preauthorized" can be selected as the operation instruction to be executed, that is, "FINISH" is selected as the operation instruction to be executed.
It should be noted that, in the process of matching the execution result with the execution condition in table 1, the execution condition may be parsed by a third-party expression parsing engine, where the third-party expression parsing engine may be groovy or qlexpress, and the like.
And step 330, if the operation instruction is an end instruction, returning the end instruction to the service system, wherein the end instruction is used for indicating the service system to end the operation.
In fig. 4, after the unique record is screened out, the corresponding operation instruction can be read. As in the previous example, the read operation command is "FINISH", that is, the read operation command is an end command; the orchestration component may return the end instruction to the service system, and after receiving the end instruction, the service system does not send any query request to the orchestration component any more, that is, one execution process of the "xx payment flow" is ended, that is, the service system is ended to run.
Step 340, if the operation instruction is an execution instruction, reading the second function node to be executed, and returning the execution instruction and the second function node to the service system, where the execution instruction is used to instruct the service system to execute a function corresponding to the second function node.
In step 340, reading the second function node to be executed specifically includes:
reading a function node executed by an execution instruction from a preset storage unit according to the first function node, the execution result and the execution instruction;
and selecting the functional node for executing the instruction as a second functional node to be executed.
In fig. 4, when the read operation instruction is an execution instruction, the function node executed by the operation instruction may also be read. As in the foregoing example, assuming that the execution result in step 310 is "success", that is, the execution result is information indicating that the execution is successful, because the execution result satisfies the execution condition of the first operation instruction "pre-authorized" by the function node, that is, the execution result matches with the execution condition of the first operation instruction "pre-authorized", the first operation instruction "pre-authorized" may be selected as the operation instruction to be executed, that is, the "CONTINUE" is selected as the operation instruction to be executed, that is, the operation instruction is the execution instruction. The "pre-authorization", "success", and "CONTINUE" may be compared with each functional node, execution condition, and operation instruction in table 1, and since the "request" in the fourth record is matched with the fourth record in table 1, the "request" in the fourth record may be read as the second functional node to be executed.
After the arranging component reads the execution instruction and the second function node to be executed, the execution instruction and the second function node to be executed can be returned to the service system; so that the business system executes the function corresponding to the 'request for money'. It should be noted that, because the service system does not receive the end instruction at this time, after the service system executes the function corresponding to the "request", it may send an inquiry request to the orchestration component again, where the inquiry request may include the execution results of the "request" and the "request", and because the operation instruction corresponding to the function node in table 2 has no corresponding execution condition, no matter whether the execution result of the "request" is "success" or "fail", the orchestration component returns the end instruction to the service system, so that the service system ends the operation.
It can be understood that, in the present application, the condition for ending the operation of the service system is that an ending instruction is received. For example, in table 1, the service system receives the ending instruction after executing the function corresponding to the "withholding", after failing to execute the function corresponding to the "pre-authorization", and after executing the function corresponding to the "requisition", so the service system ends the execution process of the "x payment flow" in the above three cases.
In summary, according to the operation method of the service system provided by the present application, after the service system executes the current first function node, the operation instruction to be executed or the operation instruction to be executed and the second function node are obtained by sending the inquiry request until the service system finishes operating. The method and the system adopt the idea of extracting the flow arrangement part from the implementation codes of the business system, namely, the implementation functions of the functional nodes and the flow arrangement functions between the functional nodes are decoupled, namely, the business system is only responsible for implementing the functional nodes, and the execution sequence of each functional node is implemented by the codes of the flow encoding part, so that the design of the business system is really simplified, and the operation efficiency of the business system is improved.
In addition, the operation method of the business system provided by the application can be directly rendered into a business flow chart, so that the number of the business flows used by one functional node can be conveniently counted; in addition, when any functional node of the service system is changed, the method can conveniently count the service flow influenced by the functional node, so that the influence surface can be evaluated.
Corresponding to the operation method of the service system, an operation device of a service system provided in an embodiment of the present application, as shown in fig. 5, includes:
a receiving unit 501, configured to receive an inquiry request sent by a service system, where the inquiry request includes a first function node that is currently executed by the service system and an execution result of the first function node.
A reading unit 502, configured to read an operation instruction to be executed from a preset storage unit according to the first function node and the execution result received by the receiving unit 501, where the preset storage unit is used to store each function node of the service system, the operation instruction corresponding to each function node, and an execution condition of the operation instruction of a part of function nodes.
The reading unit 502 is specifically configured to:
comparing the first functional node with each functional node in the preset storage unit;
if the operating instruction is consistent with any functional node, reading the operating instruction corresponding to the functional node;
and when the number of the read operation instructions is multiple, matching the execution result with the execution conditions of the multiple operation instructions, and if the execution result is matched with the execution condition of the first operation instruction, selecting the first operation instruction as the operation instruction to be executed.
A sending unit 503, configured to return the ending instruction to the service system if the operation instruction read by the reading unit 502 is an ending instruction, where the ending instruction is used to instruct the service system to end operation.
The sending unit 503 is further configured to, if the operation instruction read by the reading unit 502 is an execution instruction, read a second function node to be executed, and return the execution instruction and the second function node to the service system, where the execution instruction is used to instruct the service system to execute a function corresponding to the second function node.
Optionally, when the operation instruction stored in the preset storage unit is an execution instruction, the preset storage unit further includes a function node executed by the execution instruction.
Optionally, the reading of the second function node to be executed specifically includes:
reading a function node executed by the execution instruction from the preset storage unit according to the first function node, the execution result and the execution instruction;
and selecting the functional node executed by the execution instruction as the second functional node to be executed.
Optionally, the receiving unit 501 is further configured to receive a start instruction sent by the service system.
The sending unit 503 is further configured to return a first function node of the service system to the service system according to the start instruction received by the receiving unit 501, so that the service system executes a function corresponding to the first function node, and after the first function node is executed, send the query request to the service system.
The functions of the functional modules of the device in the embodiment of the present application may be implemented through the steps in the method embodiment described above, and therefore, the specific working process of the device provided in the present application is not repeated herein.
In the operation apparatus of the service system provided in the embodiment of the present application, the receiving unit 501 receives an inquiry request sent by the service system, where the inquiry request includes a first function node currently executed and completed by the service system and an execution result of the first function node; the reading unit 502 reads the first function node and the execution result from a preset storage unit to be executed; if the operation instruction is an end instruction, the sending unit 503 returns the end instruction to the service system, where the end instruction is used to instruct the service system to end operation; if the operation instruction is an execution instruction, the sending unit 503 reads a second function node to be executed, and returns the execution instruction and the second function node to the service system, where the execution instruction is used to instruct the service system to execute a function corresponding to the second function node. Therefore, the operation efficiency of the service system can be improved.
Those of skill would further appreciate that the various illustrative objects and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate the interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied in hardware, a software module executed by a processor, or a combination of the two. A software module may reside in Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
The above-mentioned embodiments, objects, technical solutions and advantages of the present application are described in further detail, it should be understood that the above-mentioned embodiments are merely exemplary embodiments of the present application, and are not intended to limit the scope of the present application, and any modifications, equivalent substitutions, improvements and the like made within the spirit and principle of the present application should be included in the scope of the present application.

Claims (10)

1. A method of operating a service system, wherein the service system comprises at least one functional node, wherein each functional node corresponds to a function of the service system; the business process instantiated by the business system is controlled by the orchestration component, and the method is executed by the orchestration component and comprises the following steps:
receiving an inquiry request sent by the service system, wherein the inquiry request comprises a first function node which is currently executed and completed by the service system and an execution result of the first function node;
reading an operation instruction to be executed from a preset storage unit according to the first function node and the execution result, wherein the preset storage unit is used for storing a process arrangement relation among the function nodes configured for a business process, and the process arrangement relation at least comprises each function node of the business system, the operation instruction corresponding to each function node and an execution condition of the operation instruction of a part of function nodes;
if the operation instruction is an end instruction, returning the end instruction to the service system, wherein the end instruction is used for indicating the service system to end running;
and if the operation instruction is an execution instruction, reading a second function node to be executed, and returning the execution instruction and the second function node to the service system, wherein the execution instruction is used for indicating the service system to execute a function corresponding to the second function node.
2. The method according to claim 1, wherein the reading, according to the first functional node and the execution result, an operation instruction to be executed from a preset storage unit specifically includes:
comparing the first functional node with each functional node in the preset storage unit;
if the operating instruction is consistent with any functional node, reading the operating instruction corresponding to the functional node;
and when the number of the read operation instructions is multiple, matching the execution result with the execution conditions of the operation instructions, and if the execution result is matched with the execution condition of a first operation instruction, selecting the first operation instruction as the operation instruction to be executed.
3. The method according to claim 1, wherein when the operation instruction stored in the predetermined storage unit is an execution instruction, the predetermined storage unit further includes a function node executed by the execution instruction.
4. The method according to claim 3, wherein the reading of the second function node to be executed is specifically:
reading a function node executed by the execution instruction from the preset storage unit according to the first function node, the execution result and the execution instruction;
and selecting the functional node executed by the execution instruction as the second functional node to be executed.
5. The method according to any of claims 1-4, wherein before said receiving an interrogation request sent by a service system, the method further comprises:
receiving a starting instruction sent by the service system;
and returning a first function node of the service system to the service system according to the starting instruction so that the service system executes the function corresponding to the first function node, and after the first function node is executed, sending the inquiry request to the service system.
6. An operating device of a service system, characterized in that the service system comprises at least one functional node, wherein each functional node corresponds to a function of the service system; the business process instantiated by the business system is controlled by an arrangement component, and the device is arranged on the arrangement component and comprises:
a receiving unit, configured to receive an inquiry request sent by the service system, where the inquiry request includes a first function node that is currently executed by the service system and an execution result of the first function node;
a reading unit, configured to read an operation instruction to be executed from a preset storage unit according to the first function node and the execution result received by the receiving unit, where the preset storage unit is configured to store a flow arrangement relationship between each function node configured for a business flow, and the flow arrangement relationship at least includes each function node of the business system, an operation instruction corresponding to each function node, and an execution condition of an operation instruction of a part of function nodes;
a sending unit, configured to return the end instruction to the service system if the operation instruction read by the reading unit is an end instruction, where the end instruction is used to instruct the service system to end operation;
if the operation instruction read by the reading unit is an execution instruction, reading a second function node to be executed, and returning the execution instruction and the second function node to the service system, where the execution instruction is used to instruct the service system to execute a function corresponding to the second function node.
7. The apparatus according to claim 6, wherein the reading unit is specifically configured to:
comparing the first functional node with each functional node in the preset storage unit;
if the operating instruction is consistent with any functional node, reading the operating instruction corresponding to the functional node;
and when the number of the read operation instructions is multiple, matching the execution result with the execution conditions of the operation instructions, and if the execution result is matched with the execution condition of a first operation instruction, selecting the first operation instruction as the operation instruction to be executed.
8. The apparatus according to claim 6, wherein when the operation instruction stored in the predetermined storage unit is an execution instruction, the predetermined storage unit further includes a function node executed by the execution instruction.
9. The apparatus according to claim 8, wherein the reading of the second function node to be executed is specifically:
reading a function node executed by the execution instruction from the preset storage unit according to the first function node, the execution result and the execution instruction;
and selecting the functional node executed by the execution instruction as the second functional node to be executed.
10. The apparatus according to any one of claims 6 to 9,
the receiving unit is further configured to receive a start instruction sent by the service system;
the sending unit is further configured to return a first function node of the service system to the service system according to the start instruction received by the receiving unit, so that the service system executes a function corresponding to the first function node, and after the first function node is executed, send the inquiry request to the service system.
CN201610161557.2A 2016-03-21 2016-03-21 Operation method and device of service system Active CN107220031B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610161557.2A CN107220031B (en) 2016-03-21 2016-03-21 Operation method and device of service system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610161557.2A CN107220031B (en) 2016-03-21 2016-03-21 Operation method and device of service system

Publications (2)

Publication Number Publication Date
CN107220031A CN107220031A (en) 2017-09-29
CN107220031B true CN107220031B (en) 2020-12-29

Family

ID=59927713

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610161557.2A Active CN107220031B (en) 2016-03-21 2016-03-21 Operation method and device of service system

Country Status (1)

Country Link
CN (1) CN107220031B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114500486A (en) * 2020-11-12 2022-05-13 京东方科技集团股份有限公司 Service management system and method

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1859348A (en) * 2006-02-20 2006-11-08 华为技术有限公司 Service capacity coordinating system, calling system and method
CN103679401A (en) * 2013-12-31 2014-03-26 浙江中控研究院有限公司 Flow control method, server, client side and system
CN104715309A (en) * 2013-12-11 2015-06-17 阿里巴巴集团控股有限公司 Service control method and device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8250521B2 (en) * 2007-12-14 2012-08-21 International Business Machines Corporation Method and apparatus for the design and development of service-oriented architecture (SOA) solutions

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1859348A (en) * 2006-02-20 2006-11-08 华为技术有限公司 Service capacity coordinating system, calling system and method
CN104715309A (en) * 2013-12-11 2015-06-17 阿里巴巴集团控股有限公司 Service control method and device
CN103679401A (en) * 2013-12-31 2014-03-26 浙江中控研究院有限公司 Flow control method, server, client side and system

Also Published As

Publication number Publication date
CN107220031A (en) 2017-09-29

Similar Documents

Publication Publication Date Title
CN108319547B (en) Test case generation method, device and system
CN108228166B (en) Template-based back-end code generation method and system
US9141678B2 (en) Distributed query cache in a database system
CN102148805B (en) Feature matching method and device
CN107480260B (en) Big data real-time analysis method and device, computing equipment and computer storage medium
CN110162387A (en) Thread scheduling method, device, computer equipment and computer readable storage medium
CN111654542B (en) Proxy server, execution server, reception device, and task execution method
CN111240892A (en) Data backup method and device
CN111144132B (en) Semantic recognition method and device
CN107220031B (en) Operation method and device of service system
CN110704130A (en) Data processing method and device
US11068463B2 (en) System and method for managing log data
US11138004B1 (en) Modification of application functionality using object-oriented configuration data
CN113553214A (en) Idempotent checking method and device
CN110109986B (en) Task processing method, system, server and task scheduling system
CN114218278A (en) Data table field query method and system of http interface
CN105893445A (en) Data processing method, server and terminal device
CN113741868B (en) Service computing task processing method, device, computer equipment and storage medium
CN111538491B (en) Data event processing method, device, equipment and storage medium
CN114116674A (en) Service modeling method, device, medium and equipment based on integrated service platform
CN114547007A (en) Big data feature extraction method and device and computer-readable storage medium
CN113656374A (en) Method and device for processing service message with attachment
CN110019296B (en) Database query script generation method and device, storage medium and processor
CN112732367A (en) Event flow processing method, device and equipment and readable storage medium
CN112035650A (en) Information processing method and device, computer readable storage medium and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20200924

Address after: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Applicant after: Innovative advanced technology Co.,Ltd.

Address before: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Applicant before: Advanced innovation technology Co.,Ltd.

Effective date of registration: 20200924

Address after: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Applicant after: Advanced innovation technology Co.,Ltd.

Address before: A four-storey 847 mailbox in Grand Cayman Capital Building, British Cayman Islands

Applicant before: Alibaba Group Holding Ltd.

GR01 Patent grant
GR01 Patent grant