CN111142975A - State machine persistence method and state machine persistence system - Google Patents

State machine persistence method and state machine persistence system Download PDF

Info

Publication number
CN111142975A
CN111142975A CN201911276372.6A CN201911276372A CN111142975A CN 111142975 A CN111142975 A CN 111142975A CN 201911276372 A CN201911276372 A CN 201911276372A CN 111142975 A CN111142975 A CN 111142975A
Authority
CN
China
Prior art keywords
service
state
state machine
flow
service flow
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.)
Granted
Application number
CN201911276372.6A
Other languages
Chinese (zh)
Other versions
CN111142975B (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.)
Beike Technology Co Ltd
Original Assignee
Beike Technology 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 Beike Technology Co Ltd filed Critical Beike Technology Co Ltd
Priority to CN201911276372.6A priority Critical patent/CN111142975B/en
Publication of CN111142975A publication Critical patent/CN111142975A/en
Application granted granted Critical
Publication of CN111142975B publication Critical patent/CN111142975B/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/44Arrangements for executing specific programs
    • G06F9/448Execution paradigms, e.g. implementations of programming paradigms
    • G06F9/4488Object-oriented
    • G06F9/4493Object persistence
    • 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/44Arrangements for executing specific programs
    • G06F9/448Execution paradigms, e.g. implementations of programming paradigms
    • G06F9/4498Finite state machines

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention relates to the field of computers, and discloses a state machine persistence method and a state machine persistence system. The persistence method comprises the following steps: in response to a request of a service flow of a specific service, initializing a state machine for the service flow to acquire flow information for the specific service, including the service flow; determining and setting the current state of the state machine based on the service data corresponding to the initial state of the service flow; and selecting the service flow taking the current state of the state machine as an initial state based on the flow information for the specific service, and executing the action of the selected service flow. The invention does not need to separately store the state machine data which is irrelevant to the service, thereby simplifying the process of state machine persistence and further greatly improving the stability of the system.

Description

State machine persistence method and state machine persistence system
Technical Field
The invention relates to the field of computers, in particular to a state machine persistence method and a state machine persistence system.
Background
In a multi-state business system, there are states such as order generation, cancellation, and reduction during the full lifecycle of an order system. For such a system with a lot of states and frequent changes of service flows, how to uniformly manage the state flows becomes crucial. To this end, a state machine engine (e.g., Spring state machine engine) may be introduced, but when the user modifies the order state, the newly created state machine instance is in an initial state, which is clearly inconsistent with the current state of the order system. To overcome this drawback, it is necessary to save the state machine instance (i.e. persist the state machine instance), and after creating the state machine instance, the current state of the business system can be restored by only reading the persisted data of the state machine instance.
Currently, Spring state machines support the persistence of stand-alone memory, Redis cache, and Databases (DB). Specifically, after the state machine is newly built, a computer stand-alone memory, a Redis cache or a database (such as Mongodb and Mysql) are read through a unique identifier (such as an order id) and an order system is restored to a current correct state, and current state data are persistently stored to a storage medium after state circulation is completed, wherein the persistent state machine data need to be stored separately, and the storage process is independent of services. The prior art has the following disadvantages and shortcomings: 1. for the persistent mode of the single-machine memory, the state can be lost after the computer is restarted; 2. for the Redis cache persistence mode, as Redis stores data in a memory, the one hundred percent safety of the data cannot be ensured; 3. although the data is not lost in the persistence mode of the database, the service complexity is increased because the state data which is irrelevant to the service needs to be stored separately.
Disclosure of Invention
The invention aims to provide a state machine persistence method and a state machine persistence system, which do not need to separately store state machine data irrelevant to the service, thereby simplifying the persistence process of the state machine and further greatly improving the stability of the system.
In order to achieve the above object, a first aspect of the present invention provides a state machine persistence method, including: in response to a request of a service flow of a specific service, initializing a state machine for the service flow to acquire flow information for the specific service, including the service flow; determining and setting the current state of the state machine based on the service data corresponding to the initial state of the service flow; and selecting the service flow taking the current state of the state machine as an initial state based on the flow information for the specific service, and executing the action of the selected service flow.
Preferably, the determining and setting the current state of the state machine comprises: acquiring the current state of the specific service based on the service data corresponding to the initial state of the service flow; and determining and setting the current state of the state machine based on the current state of the specific service.
Preferably, before performing the step of determining and setting the current state of the state machine, the persistence method further comprises: and acquiring the service data based on the identification of the service data corresponding to the initial state of the service flow.
Preferably, after the step of performing the action of executing the selected traffic flow, the persistence method further comprises: and storing the service data and the corresponding identification corresponding to the final state of the service flow so as to be used as the service data and the corresponding identification corresponding to the initial state of the next service flow.
Preferably, the specific service is an order service.
A second aspect of the present invention provides a state machine persistence system, the persistence system comprising: the initialization device is used for responding to a request of a service flow of a specific service, and executing initialization on a state machine for the service flow so as to acquire flow information, including the service flow, aiming at the specific service; setting means for determining and setting a current state of the state machine based on service data corresponding to an initial state of the service flow; and the execution device is used for selecting the service flow taking the current state of the state machine as an initial state based on the flow information aiming at the specific service and executing the action of the selected service flow.
Preferably, the setting means includes: an obtaining module, configured to obtain a current state of the specific service based on the service data corresponding to the initial state of the service flow; and the setting module is used for determining and setting the current state of the state machine based on the current state of the specific service.
Preferably, the persistence system further comprises: and the data acquisition device is used for acquiring the service data based on the identification of the service data corresponding to the initial state of the service flow.
Preferably, the persistence system further comprises: and the storage device is used for storing the service data corresponding to the final state of the service flow and the corresponding identifier so as to be used as the service data corresponding to the initial state of the next service flow and the corresponding identifier.
Through the technical scheme, the invention creatively determines and sets the current state of the state machine through the service data corresponding to the initial state of the service flow; then selecting a service flow taking the current state of the state machine as an initial state from the service flows configured in the initialized state machine; and finally, executing the selected service flow action, thereby directly acquiring the current state of the service from the service data without independently storing state machine data irrelevant to the service, simplifying the persistent flow of the state machine and further greatly improving the stability of the system.
A third aspect of the invention provides a machine-readable storage medium having stored thereon instructions for causing a machine to perform the state machine persistence method.
Additional features and advantages of the invention will be set forth in the detailed description which follows.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the principles of the invention and not to limit the invention. In the drawings:
FIG. 1 is a flow diagram of a state machine persistence method provided by an embodiment of the invention;
FIG. 2 is a flow diagram for determining and setting the current state of the state machine, as provided by one embodiment of the present invention;
FIG. 3 is a flow diagram of a state machine persistence method provided by an embodiment of the invention; and
fig. 4 is a block diagram of a state machine persistence system according to an embodiment of the present invention.
Description of the reference numerals
10 initialization device
20 setting device
30 actuator
Detailed Description
The following detailed description of embodiments of the invention refers to the accompanying drawings. It should be understood that the detailed description and specific examples, while indicating the present invention, are given by way of illustration and explanation only, not limitation.
Fig. 1 is a flowchart of a state machine persistence method according to an embodiment of the present invention. As shown in FIG. 1, the state machine persistence method may include steps S101-S103.
Step S101, in response to a request for a service flow of a specific service, initializing a state machine for the service flow.
After the step of initializing the state machine is performed, flow information for the specific service including the service flow may be acquired. Wherein the specific service may be an order service. Taking decoration as an example, the order service may include: order generation, reservation, uploading scheme, signing, payment, transaction, acceptance and order completion, and accordingly, the process information for the specific service may include: and information related to business flows such as order generation, reservation, uploading scheme, signing, payment, transaction, acceptance check, order completion and the like. When the flow of the order service changes, the order system needs to execute the service flow corresponding to the change of the service flow, and at this time, a state machine for the service flow needs to be newly established. For example, when a user pays for an order, the order system needs to execute a "pay" business flow from a pending payment state to a pending payment state, and at this time, a state machine for the "pay" flow process is created.
After creating the state machine for the traffic flow of the specific traffic, first, initialization needs to be performed on the state machine. Specifically, the initializing the state machine mainly includes initializing data of the following three aspects: (1) basic configuration data, such as whether the state machine is automatically started, the machine ID of the state machine, etc.; (2) initialized configuration data, such as an initial state of a specific service (taking an order service as an example, the initial state is order generation), a target state (such as order cancellation or order completion), and a list of all intermediate states, which are equivalent to flow information for the specific service; (3) the configuration data of the traffic flow, i.e. the event triggered state, flows from the initial state to the target state.
Step S102, based on the service data corresponding to the initial state of the service flow, determining and setting the current state of the state machine.
Before performing the step S102, the persistence method may further include: and acquiring the service data based on the identification of the service data corresponding to the initial state of the service flow. Taking the order business as an example, the corresponding order data in the Mysql database can be read by the order ID (with uniqueness) corresponding to the initial state of the "order complete" circulation process.
For step S102, as shown in fig. 2, the determining and setting the current state of the state machine may include steps S201 to S202.
Step S201, obtaining the current state of the specific service based on the service data corresponding to the initial state of the service flow.
Taking the order service as an example, the current state (e.g., the pending payment state) of the order service is obtained from the order data corresponding to the initial state of the "payment" circulation process. The order data includes a final state (for example, a state to be paid) of a state machine in a last service flow process (for example, a subscription flow process) of a 'payment' flow process in the whole order flow, and the final state of the state machine in the last service flow process is a current state of the order service.
Step S202, based on the current state of the specific service, determining and setting the current state of the state machine.
Taking the order service as an example, first, according to the current state of the order service acquired in the step S201, determining the current state (for example, the state to be paid) of the state machine corresponding to the "payment" circulation process; the state of the state machine is then set to the current state (e.g., the pending payment state), i.e., the current state of the state machine is consistent with the real-time state of the order service.
The above steps S201 and S202 may obtain the current state of the state machine from the service data, so that after the operation of the service flow is completed in step S103, no additional step of storing the state of the state machine is required.
Step S103, based on the flow information for the specific service, selecting the service flow with the current state of the state machine as an initial state, and executing the action of the selected service flow.
The initialized configuration content in the state machine can comprise the whole process aiming at a specific service, and the whole process comprises each service circulation process. Therefore, the service flow taking the current state of the state machine as the initial state can be selected from the whole flow aiming at the specific service, and the action of the service flow is executed. For example, a "pay" business flow from the order flow to the pending status is selected and the action of the business flow is performed, so that the status of the order business changes to the pending status (i.e., the payment flow in the order business is completed).
After performing step S103, the persistence method may further include: and storing the service data and the corresponding identification corresponding to the final state of the service flow so as to be used as the service data and the corresponding identification corresponding to the initial state of the next service flow.
Wherein the service data may include information related to a current state of the specific service.
Taking the order service as an example, after the action of the payment service flow is executed, the flow of the order service enters the initial state of the payment flow process. At this time, the service data corresponding to the final state of the current service flow (i.e., the pending status), including the state of the state machine corresponding to the final state of the current service flow (i.e., the pending status), and the identifier (e.g., the order ID) thereof may be stored. Thus, the stored service data and its identification can be directly employed in step S201 of performing the "rendezvous floor" flow process.
Because the step of storing the service data is indispensable in the whole order service, the method can omit the step of separately storing the state of the state machine by acquiring the state of the state machine from the service data, thereby simplifying the lasting process of the state machine, avoiding any potential safety hazard brought by the separate storage step, and greatly improving the stability of the system.
Specifically, the process of the state machine persistence provided by the present invention is explained and illustrated by taking the order service as an example.
As shown in fig. 3, the process of state machine persistence may include steps S301 to S307.
Step S301, in response to a request of the "payment" service flow of the order service, creates a state machine for the "payment" service flow.
In step S302, initialization is performed on the created state machine.
After the initialization is executed, the configuration content of the state machine includes the flow information for the order service.
Step S303, based on the order ID corresponding to the to-be-paid status of the "pay" service flow, acquires order data.
Step S304, based on the obtained order data, obtaining the current state of the order business.
Step S305, determining and setting the current state of the state machine based on the current state of the order business.
Step S306, based on the flow information for the order business, selecting the 'payment' business flow taking the current state of the state machine as the initial state, and executing the action of the selected 'payment' business flow.
Step S307, storing order data and corresponding ID corresponding to the pending transaction status of the "Payment" service flow.
Wherein the order data and corresponding ID may be used as service data and corresponding identification corresponding to the initial state of the next service flow (e.g., "bottom-of-delivery" service flow).
In summary, the present invention creatively determines and sets the current state of the state machine through the service data corresponding to the initial state of the service flow; then selecting a service flow taking the current state of the state machine as an initial state from the service flows configured in the initialized state machine; and finally, executing the selected service flow action, thereby directly acquiring the current state of the service from the service data without independently storing state machine data irrelevant to the service, simplifying the persistent flow of the state machine and further greatly improving the stability of the system.
Based on the same concept, a state machine persistence system is provided.
Accordingly, fig. 4 is a structural diagram of a state machine persistence system provided by an embodiment of the present invention. As shown in fig. 4, the state machine persistence system may include: an initialization device 10, configured to initialize a state machine for a service flow in response to a request of the service flow for a specific service; setting means 20 for determining and setting a current state of the state machine based on service data corresponding to an initial state of the service flow; and an executing device 30, configured to select the service flow with the current state of the state machine as an initial state based on the initialized configuration content in the state machine, and execute an action of the selected service flow.
Preferably, the setting device 20 may include: an obtaining module, configured to obtain a current state of the specific service based on the service data corresponding to the initial state of the service flow; and the setting module is used for determining and setting the current state of the state machine based on the current state of the specific service.
Preferably, the persistence system further comprises: and the data acquisition device is used for acquiring the service data based on the identification of the service data corresponding to the initial state of the service flow.
Preferably, the persistence system further comprises: and the storage device is used for storing the service data corresponding to the final state of the service flow and the corresponding identifier so as to be used as the service data corresponding to the initial state of the next service flow and the corresponding identifier.
Preferably, the specific service is an order service.
For specific details and benefits of the state machine persistence system provided by the present invention, reference may be made to the above description of the state machine persistence method, which is not described herein again.
An embodiment of the present invention further provides a machine-readable storage medium, where the machine-readable storage medium has stored thereon instructions for causing a machine to execute the state machine persistence method.
Correspondingly, the embodiment of the invention also provides a processor for running the program, wherein the program is used for executing the state machine persistence method when running.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more machine-readable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may 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, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a machine-readable storage medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). The memory is an example of a machine-readable storage medium.
Machine-readable storage media, including both non-transitory and non-transitory, removable and non-removable media, may implement any method or technology for target information storage. The target information may be computer readable instructions, data structures, means of a program, 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 technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store target information that can be accessed by a computing device. As defined herein, a machine-readable storage medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in the process, method, article, or apparatus that comprises the element.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more machine-readable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
The above are merely examples of the present application and are not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims (10)

1. A method for state machine persistence, the method comprising:
in response to a request of a service flow of a specific service, initializing a state machine for the service flow to acquire flow information for the specific service, including the service flow;
determining and setting the current state of the state machine based on the service data corresponding to the initial state of the service flow; and
based on the flow information for the specific service, selecting the service flow taking the current state of the state machine as an initial state, and executing the action of the selected service flow.
2. The state machine persistence method of claim 1, wherein the determining and setting the current state of the state machine comprises:
acquiring the current state of the specific service based on the service data corresponding to the initial state of the service flow; and
determining and setting the current state of the state machine based on the current state of the specific service.
3. The state machine persistence method of claim 2, wherein prior to performing the step of determining and setting the current state of the state machine, the method further comprises:
and acquiring the service data based on the identification of the service data corresponding to the initial state of the service flow.
4. The state machine persistence method of claim 1, wherein after the step of performing the action of executing the selected traffic flow, the method further comprises: and storing the service data and the corresponding identification corresponding to the final state of the service flow so as to be used as the service data and the corresponding identification corresponding to the initial state of the next service flow.
5. The state machine persistence method of claim 1, wherein the specific transaction is an order transaction.
6. A state machine persistence system, the system comprising:
the initialization device is used for responding to a request of a service flow of a specific service, and executing initialization on a state machine for the service flow so as to acquire flow information, including the service flow, aiming at the specific service;
setting means for determining and setting a current state of the state machine based on service data corresponding to an initial state of the service flow; and
and the execution device is used for selecting the service flow taking the current state of the state machine as an initial state based on the flow information aiming at the specific service and executing the action of the selected service flow.
7. The state machine persistence system of claim 6, wherein the setting means comprises:
an obtaining module, configured to obtain a current state of the specific service based on the service data corresponding to the initial state of the service flow; and
and the setting module is used for determining and setting the current state of the state machine based on the current state of the specific service.
8. The state machine persistence system of claim 7, further comprising:
and the data acquisition device is used for acquiring the service data based on the identification of the service data corresponding to the initial state of the service flow.
9. The state machine persistence system of claim 6, further comprising:
and the storage device is used for storing the service data corresponding to the final state of the service flow and the corresponding identifier so as to be used as the service data corresponding to the initial state of the next service flow and the corresponding identifier.
10. A machine-readable storage medium having stored thereon instructions for causing a machine to perform the state machine persistence method of any of claims 1-5.
CN201911276372.6A 2019-12-12 2019-12-12 State machine persistence method and state machine persistence system Active CN111142975B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911276372.6A CN111142975B (en) 2019-12-12 2019-12-12 State machine persistence method and state machine persistence system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911276372.6A CN111142975B (en) 2019-12-12 2019-12-12 State machine persistence method and state machine persistence system

Publications (2)

Publication Number Publication Date
CN111142975A true CN111142975A (en) 2020-05-12
CN111142975B CN111142975B (en) 2023-07-14

Family

ID=70518236

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911276372.6A Active CN111142975B (en) 2019-12-12 2019-12-12 State machine persistence method and state machine persistence system

Country Status (1)

Country Link
CN (1) CN111142975B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116977048A (en) * 2023-09-25 2023-10-31 天津金城银行股份有限公司 State machine system, transaction state management method and bank transaction system
CN111708524B (en) * 2020-06-02 2024-02-23 苏州宏软信息技术有限公司 Method and system for realizing distributed dynamic finite state machine

Citations (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020032590A1 (en) * 2000-03-28 2002-03-14 International Business Machines Corporation E-market architecture for supporting multiple roles and reconfigurable business porcesses
WO2002069142A1 (en) * 2001-02-23 2002-09-06 Skyva International Business modeling framework system and methods
US20060294493A1 (en) * 2003-05-27 2006-12-28 Geir Melby Non blocking persistent state machines on enterprise java bean platform
US20070130174A1 (en) * 2005-12-07 2007-06-07 Bhashyam Ramesh Automating business events
CN101201753A (en) * 2007-12-13 2008-06-18 浪潮通信信息系统有限公司 Method for configuring and managing multimode machine supervising engine
CN102075390A (en) * 2011-02-16 2011-05-25 华为技术有限公司 Transmission state detection method and related device thereof
CN102467414A (en) * 2010-11-19 2012-05-23 阿里巴巴集团控股有限公司 State machine control method, device and state machine system
US20140025425A1 (en) * 2012-07-17 2014-01-23 Winshuttle, Llc Bulk business workflow systems and methods
US20140214759A1 (en) * 2011-09-30 2014-07-31 Cardlink Services Limited Transaction document storage
US8886995B1 (en) * 2011-09-29 2014-11-11 Emc Corporation Fault tolerant state machine for configuring software in a digital computer
US9569255B1 (en) * 2015-03-25 2017-02-14 Amazon Technologies, Inc. Persistent state machine
CN106919438A (en) * 2017-03-06 2017-07-04 郑州云海信息技术有限公司 Workflow processing method and framework in a kind of virtualized environment
CN107239324A (en) * 2017-05-22 2017-10-10 阿里巴巴集团控股有限公司 Work flow processing method, apparatus and system
CN107992332A (en) * 2017-11-24 2018-05-04 江苏神州信源系统工程有限公司 A kind of realization method and system of state machine
CN109104297A (en) * 2018-07-09 2018-12-28 中国银行股份有限公司 A kind of processing method and processing device of operation flow
US10318911B1 (en) * 2013-03-14 2019-06-11 Jpmorgan Chase Bank, N.A. Persistenceless business process management system and method
US20190332433A1 (en) * 2018-04-27 2019-10-31 Paypal, Inc. Systems and methods for providing services in a stateless application framework

Patent Citations (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020032590A1 (en) * 2000-03-28 2002-03-14 International Business Machines Corporation E-market architecture for supporting multiple roles and reconfigurable business porcesses
WO2002069142A1 (en) * 2001-02-23 2002-09-06 Skyva International Business modeling framework system and methods
US20060294493A1 (en) * 2003-05-27 2006-12-28 Geir Melby Non blocking persistent state machines on enterprise java bean platform
US20070130174A1 (en) * 2005-12-07 2007-06-07 Bhashyam Ramesh Automating business events
CN101201753A (en) * 2007-12-13 2008-06-18 浪潮通信信息系统有限公司 Method for configuring and managing multimode machine supervising engine
CN102467414A (en) * 2010-11-19 2012-05-23 阿里巴巴集团控股有限公司 State machine control method, device and state machine system
CN102075390A (en) * 2011-02-16 2011-05-25 华为技术有限公司 Transmission state detection method and related device thereof
US8886995B1 (en) * 2011-09-29 2014-11-11 Emc Corporation Fault tolerant state machine for configuring software in a digital computer
US20140214759A1 (en) * 2011-09-30 2014-07-31 Cardlink Services Limited Transaction document storage
US20140025425A1 (en) * 2012-07-17 2014-01-23 Winshuttle, Llc Bulk business workflow systems and methods
US10318911B1 (en) * 2013-03-14 2019-06-11 Jpmorgan Chase Bank, N.A. Persistenceless business process management system and method
US9569255B1 (en) * 2015-03-25 2017-02-14 Amazon Technologies, Inc. Persistent state machine
CN106919438A (en) * 2017-03-06 2017-07-04 郑州云海信息技术有限公司 Workflow processing method and framework in a kind of virtualized environment
CN107239324A (en) * 2017-05-22 2017-10-10 阿里巴巴集团控股有限公司 Work flow processing method, apparatus and system
CN107992332A (en) * 2017-11-24 2018-05-04 江苏神州信源系统工程有限公司 A kind of realization method and system of state machine
US20190332433A1 (en) * 2018-04-27 2019-10-31 Paypal, Inc. Systems and methods for providing services in a stateless application framework
CN109104297A (en) * 2018-07-09 2018-12-28 中国银行股份有限公司 A kind of processing method and processing device of operation flow

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111708524B (en) * 2020-06-02 2024-02-23 苏州宏软信息技术有限公司 Method and system for realizing distributed dynamic finite state machine
CN116977048A (en) * 2023-09-25 2023-10-31 天津金城银行股份有限公司 State machine system, transaction state management method and bank transaction system

Also Published As

Publication number Publication date
CN111142975B (en) 2023-07-14

Similar Documents

Publication Publication Date Title
CN107016016B (en) Data processing method and device
CN108960790B (en) Method, device, server and system for processing bill service
CN110008018A (en) A kind of batch tasks processing method, device and equipment
CN107578338B (en) Service publishing method, device and equipment
CN111142975B (en) State machine persistence method and state machine persistence system
CN110297837B (en) Data updating method and device and data query method and device
CN110674105A (en) Data backup method, system and server
CN111882317A (en) Business processing system, readable storage medium and electronic device
CN114510296A (en) Applet storage and calling method, device and equipment
CN109829678B (en) Rollback processing method and device and electronic equipment
CN110837446A (en) Equipment management method and device applied to embedded system, medium and embedded equipment
CN109977317B (en) Data query method and device
CN111523886A (en) Service processing method and device
CN107291439B (en) Target incremental data construction method and device
CN113360251B (en) Intelligent contract execution and cross-contract calling method, device and storage medium
CN106548331B (en) Method and device for determining release sequence
CN114594944A (en) Application construction system and device
CN112598461A (en) Cloud product delivery method, device and medium
CN114217697A (en) Multi-screen input method and device, electronic equipment and computer readable storage medium
CN110046141B (en) Data storage method and system based on data playback
CN108734446B (en) Preference setting and service processing system, method, device and equipment
CN112286572A (en) Configuration method and device of business process
CN112764676A (en) Resource allocation system and method
CN110933120A (en) Computing method, device and system based on hybrid cloud
CN111198846A (en) Data exchange method and device based on block chain

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
GR01 Patent grant
GR01 Patent grant