Method and device for constructing finite-state machine model framework and electronic device

A finite state machine, state technology, applied in the direction of program control devices, etc., to achieve the effect of convenient and efficient processing, good scalability, and improved development efficiency

Inactive Publication Date: 2015-11-11
KINGSOFT
View PDF4 Cites 17 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, in the application scenario of object state transition, there is no general finite state machine model framework, which can efficiently handle the more co...

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
  • Method and device for constructing finite-state machine model framework and electronic device
  • Method and device for constructing finite-state machine model framework and electronic device
  • Method and device for constructing finite-state machine model framework and electronic device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0055] Embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings.

[0056] It should be clear that the described embodiments are only some of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0057] figure 1 A schematic flowchart of a method for constructing a finite state machine model framework for an embodiment of the present invention. see figure 1 , the method includes:

[0058] Step 101, generating an object state set according to the state of the object;

[0059] In this step, the state (State) is a state of the object in its life cycle. Objects in a certain state must be able to meet predetermined events and perform predetermined actions. Among them, an event refers to an event that occupies ...

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 embodiment of the invention discloses a method and device for constructing a finite-state machine model framework and an electronic device. The method for constructing the finite-state machine model framework comprises the following steps: generating an object state set according to states of objects; determining state conversion included in the object state set so as to obtain an event type corresponding to each determined state conversion, and configuring a corresponding event processor to each determined state conversion; constructing a state conversion mapping table according to the event type and the event processor respectively corresponding to each state conversion in the object state set; and registering the constructed state conversion mapping table in a pre-set event distribution controller. By using the method, the device and the electronic device disclosed by the invention, increasing and decreasing of extended object state conversion can be supported; and the coding efficiency for state conversion is improved.

Description

technical field [0001] The invention relates to computer communication application technology, in particular to a method, device and electronic device for constructing a finite state machine model framework. Background technique [0002] In the field of computer communication applications, an object can contain multiple states, that is, it has different states under different conditions, and the object can be described by a finite state machine model framework. Among them, the finite state machine refers to a calculation model that includes a finite number of states and can perform transitions and actions between the finite number of states, that is, in the finite state machine model framework, if the object is in the first state The occurrence of a specific event will cause the object to transition from the first state to the second state, and when the object is in the second state, if other specific events occur, it will cause the object to transition from the second state...

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/44
Inventor 潘洪安
Owner KINGSOFT
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