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

Graphical programming method and system

A graphical programming and graphical programming technology, which is applied in the field of graphical programming methods and systems, can solve the problems that the user's own ability cannot escape the framework, and it is difficult for novice users to implement independently.

Pending Publication Date: 2021-05-28
SOUTHWEST UNIV
View PDF0 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

But in reality, because the Arduino source code is more involved in C++, it is difficult for novice users to implement independently outside the framework, resulting in the situation that users are always subject to the framework and their own abilities cannot escape the framework.
And because it is a foreign open source project, both the documentation and many frameworks are poorly supported in Chinese, and it is not really suitable for domestic users.

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 and system
  • Graphical programming method and system
  • Graphical programming method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0086] refer to figure 1 , a graphical programming method comprising the following steps:

[0087] S1: Analyze the internal data of the plug-in files of different chips, generate SDK program packages and JSON datagrams, and record them in the database;

[0088] S2: based on the database, generate a script interpreter executable file according to the selected plug-in and the corresponding SDK program package;

[0089] S3: based on the database, performing graphical rendering on the selected plug-in and the corresponding JSON datagram to generate a graphical programming interface;

[0090] S4: In the graphical programming interface, realize the program logic and data control of the functional module through spatial connection and attribute adjustment to generate a graphical programming datagram and send it to the backend;

[0091] S5: Generate a script program according to the graphic programming datagram, and the script program is used to drive the executable file of the scri...

Embodiment 2

[0146] On the basis of embodiment 1, the embodiment 2 that realizes further is:

[0147] refer to Figure 6 , the present invention also provides a graphics programming system, including a file parsing module, a script interpreter generating module, a graphics rendering module, a graphics programming module, and a script program generating module;

[0148] Described file parsing module is used for parsing the internal data of the plug-in file of different chips, generates SDK program package and JSON data report, records in database;

[0149] The script interpreter generation module is used to generate a script interpreter executable file according to the selected plug-in and the corresponding SDK package based on the database;

[0150] The graphic rendering module is configured to perform graphic rendering of the selected plug-in and the corresponding JSON datagram based on the database to generate a graphic programming interface;

[0151] The graphic programming module is ...

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 provides a graphical programming method and system, and the method comprises the steps: S1, analyzing the internal data of plug-in files of different chips, generating an SDK program package and a JSON datagram, and recording the SDK program package and the JSON datagram in a database; s2, based on the database, generating a script interpreter executable file according to the selected plug-in and the corresponding SDK program package; s3, based on the database, performing graphic rendering on the selected plug-in and the corresponding JSON datagram to generate a graphic programming interface; s4, in the graphic programming interface, program logic and data control of the functional module are realized through spatial connection and attribute adjustment to generate a graphic programming datagram, and the graphic programming datagram is sent to a rear end; and S5, generating a script program according to the graphic programming datagram, wherein the script program is used for driving the script interpreter to execute the file. Through graphical programming, the programming threshold can be reduced, the logicality and the structure of a program can be improved, non-professionals can easily carry out embedded programming, and programming can be carried out by using portable equipment such as a mobile phone and a tablet computer conveniently.

Description

technical field [0001] The invention relates to the field of graphical programming, in particular to a graphical programming method and system. Background technique [0002] With the development of the times, the threshold for using technology is gradually lowered, but the threshold for technological invention is still high. For an ordinary non-tech industry practitioner, if you want to make a simple single-chip design, you need to master hardware programming and circuit design. The knowledge is already very complicated, and it is limited to no foundation, unable to study in a planned and targeted manner, and learning is more difficult. There is also an open source project, Arduino, which seems to improve the situation. But in reality, because the Arduino source code is more related to C++, it is difficult for novice users to implement independently outside the framework, resulting in the situation that users are always subject to the framework and their own abilities canno...

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 Applications(China)
IPC IPC(8): G06F8/34G06F8/38G06F8/41G06F9/445
CPCG06F8/34G06F8/38G06F8/427G06F8/44G06F9/44526
Inventor 严伟豪王家壹彭璐袁静思向诗雨张鹏王若楠李华青
Owner SOUTHWEST UNIV
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