Unlock instant, AI-driven research and patent intelligence for your innovation.

A HMI State Transition Method Based on Finite State Machine

A finite state machine and state transition technology, which is applied to multi-programming devices, program startup/switching, etc., can solve the problems of error-prone code writing and low production efficiency, and achieve a clear structure, improve development efficiency, and program hierarchy. Effect

Active Publication Date: 2021-09-21
上海畅星软件有限公司
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Implementing any design with FSM requires a lot of work, and there are problems such as error-prone code writing, which leads to low production efficiency

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
  • A HMI State Transition Method Based on Finite State Machine
  • A HMI State Transition Method Based on Finite State Machine
  • A HMI State Transition Method Based on Finite State Machine

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0048] The following will be combined with Figures 1 to 6 The present invention is further described, but it should not be used to limit the protection scope of the present invention. For the convenience of description and understanding of the technical solution of the present invention, the orientation words used in the following description are all subject to the orientation shown in the drawings.

[0049] The technical solution of this embodiment redefines the structural elements of the state matrix, extracts the core logical relationship of the finite state machine processing idea into a common core code, and fills in the complicated and repeated state matrix inheritance relationship, state entry and exit processing, and state transition processing. Excel template form to automatically generate state matrix table code and processing function table.

[0050] The HMI state transition method of this embodiment receives, analyzes and judges the trigger event through the fini...

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 relates to an HMI state transition method based on a finite state machine. The finite state machine receives and analyzes and judges the trigger event, and calls the screen management interface or performs state transition according to the type of the trigger event. It can automatically generate state matrix table codes and processing function tables by filling in Excel templates for complex and repetitive state matrix inheritance relationships, state entry and exit processing, and state transition processing, and provides HMI developers with a visual and intuitive state transition structure Design, automatic check of logical relationship, automatic generation of state transition tree, and automatic generation of code framework for state transition according to state transition structure design, thereby improving the development efficiency of embedded products. Moreover, the code generated by the invention has the characteristics of clear program hierarchy, clear structure, easy to read and understand, and good portability.

Description

technical field [0001] The invention relates to an HMI state transition method based on a finite state machine. Background technique [0002] In the development of embedded products, problems such as complex HMI state transition relationship, difficult design, heavy code writing workload, and error-prone manual coding of complex migration relationship are often involved. [0003] The existing embedded product development technology is too low-level and the work is repetitive. The logic of editing FSM (Finite State Machine) is very low-level and mechanical. We often find ourselves building similar behaviors all the time, and it takes most of our time. Implementing any design with FSM requires a lot of work, and there are problems such as error-prone writing code, which leads to low production efficiency. [0004] This problem urgently needs to be changed. Contents of the invention [0005] In order to overcome the deficiencies of the prior art, the present invention aims...

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
Patent Type & Authority Patents(China)
IPC IPC(8): G06F9/48
Inventor 柳建胜王军勇王剑青梁强生
Owner 上海畅星软件有限公司