Service process control method, service process control device and service process control equipment based on state machine

A business process and control method technology, applied in computer readable storage medium, state machine-based business process control field, can solve problems such as program cannot be reused, program complexity, etc., so as to improve the probability of program reuse and reduce program complexity sexual effect

Inactive Publication Date: 2018-04-17
ZHENGZHOU YUNHAI INFORMATION TECH CO LTD
View PDF4 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The purpose of the present invention is to provide a state machine-based business process control method, device, equipment and a comput...

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Service process control method, service process control device and service process control equipment based on state machine
  • Service process control method, service process control device and service process control equipment based on state machine
  • Service process control method, service process control device and service process control equipment based on state machine

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0041] The following is a detailed introduction to Embodiment 1 of a state machine-based business process control method provided by the present invention, see figure 1 , Embodiment 1 specifically includes:

[0042] Step S11: Obtain the current state of the state machine in response to the trigger instruction.

[0043] State machine, a mathematical model that can represent a finite number of states and behaviors such as transitions and actions between these states in a computer, reflects the input change from the beginning of the system to the present moment, and the transition indicates a state change, and must be satisfied to ensure Describe the conditions that make a transition happen. Here, the trigger instruction may represent a condition for a state transition of the computer system, that is, an instruction that triggers a change in the state of the computer, for example, an instruction to receive a message may cause the computer to change to a receiving state. Specifi...

Embodiment 2

[0051] The second embodiment of the state machine-based business process control method provided by the present invention will be introduced in detail below, see figure 2 Embodiment two specifically includes:

[0052] Step S21: Obtain the current state of the state machine in response to the trigger instruction.

[0053] Step S22: Judging whether the current state is an exit state, if the current state is not an exit state, proceed to step S23.

[0054] Step S23: Obtain the target state from the state change array according to the trigger instruction and the current state, and the state change array stores the corresponding relationship between the trigger instruction, the current state and the target state.

[0055] Specifically, all state states of the state machine and all trigger instruction stimulations can be determined according to the business process control. For example, the sent data can correspond to the en_state_send state, the end of sending can correspond to t...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a service process control method based on a state machine. Correspondence relationships of triggering instructions and current states and corresponding processing functions arepreset, a current state of a system and a triggering instruction are acquired, and a corresponding processing function is acquired through the current state and the triggering instruction to facilitate execution of the processing function for realizing service process control. Therefore, according to the service process control method based on the state machine provided by the invention, only anoperation of acquiring the triggering instruction and the current state is needed for finding the corresponding processing function, thus program complexity of service process control is greatly reduced, and probability of program reuse is increased. The invention also provides a device and equipment based on service process control and a computer-readable storage medium of which effects correspond to effects of the above-mentioned service process control method based on the state machine.

Description

technical field [0001] The present invention relates to the computer field, in particular to a state machine-based business process control method, device, equipment and a computer-readable storage medium. Background technique [0002] With the development of computer technology, the functions of computers are becoming more and more powerful. Computers often need to perform multiple tasks during operation, and even computers often receive new task instructions when performing tasks. For example, the computer is in the receiving state after receiving the instruction to receive the message, but at this time it receives the instruction to analyze the message, so at this time, should the computer continue to receive the message or analyze the message? Is it in the receiving state or the analyzing state? This requires business process control to help computers make decisions. [0003] The traditional business process control method is realized by using program statements such a...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06F9/48
CPCG06F9/4881
Inventor 韩廷卯
Owner ZHENGZHOU YUNHAI INFORMATION TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products