Software rapid programming method based on state machine
A programming method and state machine technology, applied in visual/graphical programming, creating/generating source code, etc., can solve problems such as inefficiency of programming methods, reduce the difficulty of writing and learning, the logic is concise and clear, and reduce the difficulty of programming. Effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0037] A method for rapid programming of software based on a state machine is characterized in that it comprises the following steps:
[0038] 1) Build a resource (Res) consisting of a state graph (graph) collection and an interface (interface) collection;
[0039] 2) Create a graphtop instance of the state graph (graph), and initialize the start point (point start) and the end point (point end) to be inactive;
[0040] 3) Create a state graph (graph) according to the state graph (graph) relationship specified by the resource (Res), and initialize all state points (points) to an inactive state;
[0041] 4) activate the starting point (point start) of the graphtop instance, and wait for the worker thread to execute the point;
[0042] 5) Multiple superior state points want to activate the current state point, and the return value of the code block is equal to the state value of the current state point;
[0043] 6) The current state point outputs a logic value through the logi...
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