A tree-form atomic state machine and a realization method and device for a control logic interface thereof
A logic interface and state machine technology, applied in the field of concurrent program design, can solve problems such as reducing the complexity of reading, and achieve the effect of reducing complexity and improving modification efficiency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
specific Embodiment 1
[0050] The embodiment of the present invention provides a tree-shaped atomic state machine, each tree-shaped atomic state machine entity includes several node entities, and each node entity maintains a reference to an atomic state machine entity and a node entity; the atomic state machine There are n states of the entity that can be mapped one by one to all non-negative integers less than n, where n is a positive integer; the reference of the node entity is used to provide the addressing mode of the node entity. like figure 1 As shown, Node is the tree-shaped atomic counter node entity. The atomic state machine entity maintained by the node entity is not reflected. The arrow is the reference maintained by the node entity. The top root node maintains an invalid reference, so no arrow is drawn.
[0051]In the embodiment of the present invention, each tree-shaped atomic state machine entity includes several node entities, where the number of nodes can be one, two or more.
[005...
specific Embodiment 2
[0060] like figure 2 As shown, the embodiment of the present invention provides a method for implementing any one of the tree-shaped atomic state machine control logic interfaces in the specific embodiment 1, including:
[0061] Semantic requirements document acquisition step S101:
[0062] Receive the user's selection instruction for the programming language and determine the programming language;
[0063] Query the semantic requirement document corresponding to the programming language, the semantic requirement document includes the logical interface and the semantic requirement corresponding to the logical interface; the logical interface includes a linear buffer logical interface, a tree-shaped atomic state machine initializer logical interface, a tree-shaped One or more of the atomic state transitioner logic interfaces;
[0064] Code acquisition step S102:
[0065] Obtain a data structure; the data structure includes a stackable linear buffer data structure and a tree...
specific Embodiment 3
[0087] like Figure 4 As shown, the embodiment of the present invention provides a device for implementing any one of the tree-shaped atomic state machine control logic interfaces in the specific embodiment 1, which is characterized in that it includes:
[0088] Semantic requirements document acquisition module 201, used for:
[0089] Receive the user's selection instruction for the programming language and determine the programming language;
[0090] Query the semantic requirement document corresponding to the programming language, the semantic requirement document includes the logical interface and the semantic requirement corresponding to the logical interface; the logical interface includes a linear buffer logical interface, a tree-shaped atomic state machine initializer logical interface, a tree-shaped One or more of the atomic state transitioner logic interfaces;
[0091] The code acquisition module 202 is used for:
[0092] Obtain a data structure; the data structure...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com