Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Graphical programming method based on flow chart structure

A graphical programming and flow chart technology, applied in the field of program programming, can solve the problems of graphical programming that cannot be general-purpose programming, lack of flexibility and scalability, and lack of structural intuition, so as to improve readability and intuition , improve flexibility, and avoid text errors

Pending Publication Date: 2021-08-10
湖南中医药高等专科学校
View PDF6 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, the current graphical programming cannot be used as general-purpose programming like C++ and JAVA. Among them, scratch is only used for children's programming education, and LabVIEW is only used in the field of measurement and control. They all lack versatility
There are two main reasons for this: on the one hand, the limited operating space of graphical programming lacks sufficient flexibility and scalability compared with text-based programming; on the other hand, most graphical programming still uses the conditional and Structural programming design of loop control, a large amount of program code stacking and loop nesting, resulting in the inability to understand the program flow and structure directly from the code, lacking structural intuition

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
  • Graphical programming method based on flow chart structure
  • Graphical programming method based on flow chart structure
  • Graphical programming method based on flow chart structure

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0028] In order to enable those skilled in the art to better understand that the technical solutions of the present invention can be implemented, the present invention will be further described below in conjunction with specific examples, but the given examples are not intended to limit the present invention.

[0029] Such as figure 1 As shown, the graphical programming tool in the embodiment of the present invention includes a graphical programming tool interface, a building block graphic color block storage area, a flow chart programming block storage area, a grammar rule library and a work library, and the graphical programming tool interface is used for Edit and display the effect of programming. The block graphic color block storage area stores various types of block graphic color blocks that support dragging operations. The flowchart programming block storage area stores various types of flowchart programming blocks that support dragging operations. The grammatical rule ...

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 graphical programming method based on a flow chart structure, and the method comprises the following steps: S1, a graphical programming tool is started, a graphical programming tool interface is generated, function elements to be programmed are added in the graphical programming tool interface by a user, and named, and then parameters are added; S2, according to the programming function in the S1, the user selects flow chart programming blocks on a graphical programming tool interface, description of the flow chart programming blocks is added, the flow chart programming blocks are connected, and a flow chart structure is created and obtained; and S3, according to the flow chart structure created in the S2, the user selects building block graphic color blocks on the graphical programming tool interface, nesting combination is carried out, element names are added to the building block graphic color blocks, a graphical structure is obtained, and graphical programming is realized. According to the programming method provided by the invention, a structured program design controlled by conditions and cycles is replaced by the flow chart structure, the program can be effectively understood without checking specific codes, and the readability and intuition are improved.

Description

technical field [0001] The invention belongs to the technical field of program programming, and in particular relates to a graphical programming method based on a flowchart structure. Background technique [0002] Graphical programming has emerged in the fields of children's programming education and robot programming in recent years. Compared with text-based programming languages ​​such as JAVA and PYTHON, graphical programming avoids the strict grammar and syntax rules of traditional text-based programming, and devotes more energy to program design itself. It has the advantages of an easy-to-understand graphical interface and simple interaction methods. . [0003] However, the current graphical programming cannot be used as general-purpose programming like C++ and JAVA. Among them, scratch is only used for children's programming education, and LabVIEW is only used in the field of measurement and control. They all lack versatility. There are two main reasons for this: on ...

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): G06F8/34G06F8/33G06F8/10
CPCG06F8/34G06F8/33G06F8/10
Inventor 田海平李梦峡
Owner 湖南中医药高等专科学校
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products