CN106775765B - Graphical programming system - Google Patents

Graphical programming system Download PDF

Info

Publication number
CN106775765B
CN106775765B CN201710021316.2A CN201710021316A CN106775765B CN 106775765 B CN106775765 B CN 106775765B CN 201710021316 A CN201710021316 A CN 201710021316A CN 106775765 B CN106775765 B CN 106775765B
Authority
CN
China
Prior art keywords
visual
module
program
node
modules
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710021316.2A
Other languages
Chinese (zh)
Other versions
CN106775765A (en
Inventor
赵洪鹏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Wuhan Shenzhi Yunying Technology Co.,Ltd.
Original Assignee
Wuhan Turingmaker Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Wuhan Turingmaker Technology Co ltd filed Critical Wuhan Turingmaker Technology Co ltd
Priority to CN201710021316.2A priority Critical patent/CN106775765B/en
Publication of CN106775765A publication Critical patent/CN106775765A/en
Application granted granted Critical
Publication of CN106775765B publication Critical patent/CN106775765B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/34Graphical or visual programming

Abstract

The invention discloses a graphical programming system, which comprises: the visual operation interface can be added with visual functional components and visual line components, each visual functional component represents one function, the visual line components are used for establishing the connection relation among the visual functional components, and the visual line components have directionality; and the program interpretation unit can add node modules and side modules, each node module corresponds to one visual functional component and can realize the function represented by the visual functional component, and the side modules correspond to the visual line components and can transmit data among the node modules according to the direction of the visual line components. The method utilizes a pure graphical interface to operate and construct the program, does not need to write codes and compile, and is simple and easy to use.

Description

Graphical programming system
Technical Field
The invention relates to the field of human-computer interaction. More particularly, the present invention relates to a graphical programming system.
Background
With the rapid development of the software industry, computer programming is no longer the work of IT professionals, but users of various industries use tools for achieving targets in respective fields. However, in the conventional programming language based on texts and symbols, the non-IT professionals have abnormal difficulty in understanding, and the work of writing, compiling, debugging and the like of codes further increases the use difficulty of the non-IT professionals. Therefore, it is necessary to design a programming system with good usability, high intuition, and weakened concepts of editing, running, debugging, etc.
Disclosure of Invention
An object of the present invention is to provide a graphical programming system which constructs a program using purely graphical interface operations, does not require writing of code, does not require compilation, and is simple and easy to use.
To achieve these objects and other advantages and in accordance with the purpose of the invention, there is provided a graphic programming system, comprising:
the visual operation interface can be added with visual functional components and visual line components, each visual functional component represents one function, the visual line components are used for establishing the connection relation among the visual functional components, and the visual line components have directionality;
the program interpretation unit can add node modules and side modules, each node module corresponds to one visual functional component and can realize the function represented by the visual functional component, and the side modules correspond to the visual line components and can transmit data among the node modules according to the direction of the visual line components;
the program interpretation unit correspondingly adds a node module and a side module in the program interpretation unit according to a visual function component and a visual line component which are added on a visual operation interface in real time, and establishes a data transmission relation between the node modules by using the side module according to the direction of the visual line component.
Preferably, in the graphical programming system, the visual function component displays settable parameters, the node module corresponding to the visual function component has settable variables, and when a user modifies the settable parameters, the settable variables are also modified synchronously.
Preferably, in the graphical programming system, the program interpretation unit includes a control operation module, and the control operation module receives data sent by the node modules and forwards the data to the corresponding node modules according to a data transmission relationship between the node modules.
Preferably, in the graphical programming system, the node modules are inseparable program units.
Preferably, in the graphical programming system, the program interpretation unit includes a program optimization module, and the program optimization module optimizes a program composed of the node module and the side module based on graph theory.
Preferably, in the graphical programming system, the program optimization module proposes optimization suggestions for the program composed of the node module and the side module, and displays the optimization suggestions on the visual operation interface.
Preferably, in the graphical programming system, the program interpretation unit includes a communication module, and the communication module is used for connecting the data sensor of the internet of things and transmitting the data acquired by the data sensor of the internet of things to the target node module.
Preferably, in the graphical programming system, the communication module is further configured to connect to an internet of things executor and transmit data generated by the target node module to the internet of things executor.
The invention at least comprises the following beneficial effects:
1. the invention constructs the flow chart of the program by utilizing the visual functional components and the line components on the visual operation interface, automatically generates the program, does not need a user to understand a programming language, does not need to write codes, does not need operations such as compiling, running, debugging and the like, and is suitable for beginners and even children.
2. The invention can run the automatically generated program in real time, and the user can generate and run the program in real time after modifying.
3. The invention is easy to access the hardware of the Internet of things, inputs the data collected by the sensor of the Internet of things and carries out operation, or transmits the data generated by the operation to the executor of the Internet of things.
Additional advantages, objects, and features of the invention will be set forth in part in the description which follows and in part will become apparent to those having ordinary skill in the art upon examination of the following or may be learned from practice of the invention.
Drawings
FIG. 1 is a flow chart of the present invention.
FIG. 2 is a schematic view of a visual operation interface according to an embodiment of the present invention.
Detailed Description
The present invention is further described in detail below with reference to the attached drawings so that those skilled in the art can implement the invention by referring to the description text.
It will be understood that terms such as "having," "including," and "comprising," as used herein, do not preclude the presence or addition of one or more other elements or groups thereof.
As shown in FIG. 1, the present invention provides a graphical programming system, comprising:
the visual operation interface can be added with visual functional components and visual line components, each visual functional component represents one function, the visual line components are used for establishing the connection relation among the visual functional components, and the visual line components have directionality;
the program interpretation unit can add node modules and side modules, each node module corresponds to one visual functional component and can realize the function represented by the visual functional component, and the side modules correspond to the visual line components and can transmit data among the node modules according to the direction of the visual line components;
the program interpretation unit correspondingly adds node modules and side modules in the program interpretation unit in real time according to visual function components and visual line components added on a visual operation interface, establishes a data transmission relationship between the node modules by using the side modules according to the direction of the visual line components, and runs a program consisting of the node modules and the side modules in real time.
In the above technical solution, the visualization function components may be represented in a form of a combination of a square frame and a symbol, the visualization line components may be represented in a form of a straight arrow, that is, the visualization function components may be connected by the visualization line components to form a flowchart of a program for performing a series of operations, and the visualization line components may represent functions such as addition, multiplication, or representing a specific constant. The program interpretation unit is invisible to users, the node modules correspond to the visual function modules one to one, small programs for realizing functions expressed by the visual function modules, such as programs for realizing addition and multiplication, are stored in the node modules, the side modules are used for transmitting data among the node modules, the transmission direction of the side modules is consistent with that of the visual line assembly, and therefore the modules form a complete program, and the node modules process data in sequence, and therefore the functions of the program are realized. The data transmission relation between the node modules and the connection relation between the visual function components are synchronously generated and changed, namely, the operation of a user on the visual function components and the visual line components on the visual operation interface is immediately reflected to the node modules and the edge modules, so that the node modules and the edge modules jointly form a complete program. It can be seen that the node modules are independent in function, and a program can be formed only by transmitting data through the side modules, that is, the program formed by the node modules can run in real time, that is, any operation on the visual operation interface can generate the program and run in real time. Therefore, the invention does not need the user to understand the programming language, does not need to write codes, does not need operations such as compiling, running, debugging and the like, is suitable for beginners and even children to use, and can generate the program in real time and run in real time by the modification of the user on the visual operation interface.
In another example, in the graphical programming system, the visual function component displays settable parameters, the node module corresponding to the visual function component has settable variables, and when the user modifies the settable parameters, the settable variables are also modified synchronously. Here, a user is provided with a way to modify the function of the node module, for example, the node module implements a constant function, and then the value of the constant is modified on the corresponding visual function component, and the constant represented by the node module changes accordingly.
In another example, in the graphical programming system, the program interpretation unit includes a control operation module, and the control operation module receives data sent by the node modules and forwards the data to the corresponding node modules according to a data transfer relationship between the node modules. The control operation module is responsible for processing all data streams, the data is sent by the node modules, all the node modules send the data to the control operation module, the control operation module sends the data to corresponding nodes for processing by inquiring the relationship between the node modules and the edge modules, and the control operation module plays a role in logic control.
In another example, the node module of the graphical programming system is a non-separable program unit. In order to make each node module independent as much as possible and reduce the coupling degree with other node modules, the node modules of the invention are all inseparable program units, namely, a basic function, such as a constant function, an addition function and a number-changing function, is realized, thus, the correlation between each node module and other node modules is very small, and a program can be formed and directly run only after the data transmission relation between the node modules is determined.
In another example, the graphical programming system, the program interpretation unit comprises a program optimization module, and the program optimization module optimizes the program composed of the node module and the side module based on graph theory. The program optimization module optimizes a program consisting of the node module and the side module, so that the computer runs the optimized program with low resource utilization rate, but the operation result of the program flow chart obtained by the user operating on the visual operation interface is not changed.
In another example, in the graphical programming system, the program optimization module proposes optimization suggestions to the program composed of the node module and the side module, and the optimization suggestions are displayed on the visual operation interface. Optimization suggestions are provided for users, and the users can modify program flow charts conveniently.
In another example, in the graphical programming system, the program interpretation unit includes a communication module, and the communication module is configured to connect to the data sensor of the internet of things and transmit data collected by the data sensor of the internet of things to the target node module. The communication module enables the temperature sensor to be connected with the sensor of the internet of things, data collected by the sensor of the internet of things is processed, for example, the temperature sensor transmits the data to the target node module, a user performs programming operation on a visual operation interface to obtain a processing flow chart of the temperature data, and the corresponding node module and side module generation program process the temperature data to obtain a processing result.
In another example, in the graphical programming system, the communication module is further configured to connect to an internet of things executor and transmit data generated by the target node module to the internet of things executor. The communication module enables the invention to be connected with the actuator of the internet of things, the node module and the side module generate programs to process data and transmit the data to the actuator of the internet of things, so that the actuator of the internet of things executes corresponding operations, for example, a user inputs 1-10 numbers, the programs generated by the node module process the numbers and transmit the numbers to the ringer, and the ringer sends out rings with unequal sound volumes.
In another example, as shown in FIG. 2, an embodiment of the present invention is provided, a program simulating sunflower shaking following light intensity. The left side and the right side of the steering engine are respectively provided with a first light intensity sensor and a second light intensity sensor, so that the steering engine can swing according to the illumination intensity of the left side and the right side. A user adds a first light intensity component and a second light intensity component on a visual operation interface, the first light intensity component and the second light intensity component are connected to a subtraction component, the subtraction component and an adding constant component are connected to an adding component, and finally the subtraction component is connected to a steering engine component. The first light intensity sensor, the second light intensity sensor and the steering engine are respectively connected with a communication module in the invention, the first light intensity sensor and the second light intensity sensor respectively input left light intensity and right light intensity to the first light intensity module and the second light intensity module, the steering engine module outputs a shaking angle instruction to the steering engine, the steering engine executes corresponding swing, the first light intensity module and the second light intensity module are subtracted by the subtraction module to obtain a light intensity difference, the light intensity difference is added with a constant by the addition module to obtain data which can be identified by the steering engine, and the steering engine swings at an angle according to the data.
While embodiments of the invention have been described above, it is not limited to the applications set forth in the description and the embodiments, which are fully applicable in various fields of endeavor to which the invention pertains, and further modifications may readily be made by those skilled in the art, it being understood that the invention is not limited to the details shown and described herein without departing from the general concept defined by the appended claims and their equivalents.

Claims (4)

1. A graphical programming system, comprising:
the visual operation interface can be added with visual functional components and visual line components, each visual functional component represents one function, the visual line components are used for establishing the connection relation among the visual functional components, and the visual line components have directionality;
the program interpretation unit can add node modules and side modules, each node module corresponds to one visual functional component and can realize the function represented by the visual functional component, and the side modules correspond to the visual line components and can transmit data among the node modules according to the direction of the visual line components;
the program interpretation unit correspondingly adds a node module and a side module in the program interpretation unit according to a visual function component and a visual line component which are added on a visual operation interface in real time, and establishes a data transmission relation between the node modules by using the side module according to the direction of the visual line component;
the node module is a non-separable program unit;
the program interpretation unit comprises a program optimization module, and the program optimization module optimizes a program consisting of the node module and the side module based on graph theory;
the program interpretation unit comprises a communication module, and the communication module is used for connecting the data sensor of the Internet of things and transmitting the data acquired by the sensor of the Internet of things to the target node module;
the communication module is also used for connecting the Internet of things executor and transmitting the data generated by the target node module to the Internet of things executor.
2. The graphical programming system of claim 1, wherein the visual function component exhibits settable parameters, the node modules corresponding to the visual function component having settable variables, the settable variables being modified synchronously as the user modifies the settable parameters.
3. The graphical programming system of claim 1, wherein the program interpretation unit comprises a control operation module, the control operation module receiving the data transmitted from the node modules and forwarding the data to the corresponding node modules according to the data transfer relationship between the node modules.
4. The graphical programming system of claim 1, wherein the program optimization module proposes optimization suggestions for the program consisting of node modules and side modules and displays them on a visual operation interface.
CN201710021316.2A 2017-01-12 2017-01-12 Graphical programming system Active CN106775765B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710021316.2A CN106775765B (en) 2017-01-12 2017-01-12 Graphical programming system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710021316.2A CN106775765B (en) 2017-01-12 2017-01-12 Graphical programming system

Publications (2)

Publication Number Publication Date
CN106775765A CN106775765A (en) 2017-05-31
CN106775765B true CN106775765B (en) 2020-10-27

Family

ID=58947948

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710021316.2A Active CN106775765B (en) 2017-01-12 2017-01-12 Graphical programming system

Country Status (1)

Country Link
CN (1) CN106775765B (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109690473B (en) * 2017-09-11 2022-04-15 深圳配天智能技术研究院有限公司 Graphical programming method and device, computer storage medium and visual system
CN109753281B (en) * 2017-11-01 2022-04-22 北京德意新能科技有限公司 Micro-grid energy management strategy visualization development tool based on graphical programming
CN108415695A (en) * 2018-01-25 2018-08-17 新智数字科技有限公司 A kind of data processing method, device and equipment based on visualization component
CN110554863A (en) * 2018-05-31 2019-12-10 宁波科安网信通讯科技有限公司 Graphical programming method of quasi-integrated circuit
CN109634572A (en) * 2018-12-17 2019-04-16 王相军 A kind of flow chart programming method and system
CN111831272A (en) * 2019-04-15 2020-10-27 阿里巴巴集团控股有限公司 Method, medium, equipment and device for development by adopting graphics
CN110955420B (en) * 2019-10-16 2022-07-08 珠海格力电器股份有限公司 User-defined equipment control method, device, equipment and readable medium
CN112987606B (en) * 2021-01-22 2022-12-20 中央民族大学 Visual programming tool system based on artificial intelligence and Internet of things
CN113406922A (en) * 2021-06-23 2021-09-17 疯壳(深圳)科技有限公司 Method and system for controlling programmable device based on graphic block programming

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103136406A (en) * 2011-12-03 2013-06-05 南京南瑞继保电气有限公司 Method for automatic generation of function code for simulation through visualization application program
CN103942380A (en) * 2014-04-14 2014-07-23 河南理工大学 Graphical control system design and simulation tool
CN105739996A (en) * 2016-03-03 2016-07-06 南京南瑞继保电气有限公司 Embedded device development and user step-by-step development method

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7200838B2 (en) * 2000-12-20 2007-04-03 National Instruments Corporation System and method for automatically generating a graphical program in response to a state diagram
CN105511860A (en) * 2015-11-30 2016-04-20 大连文森特软件科技有限公司 On-line graphical programming system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103136406A (en) * 2011-12-03 2013-06-05 南京南瑞继保电气有限公司 Method for automatic generation of function code for simulation through visualization application program
CN103942380A (en) * 2014-04-14 2014-07-23 河南理工大学 Graphical control system design and simulation tool
CN105739996A (en) * 2016-03-03 2016-07-06 南京南瑞继保电气有限公司 Embedded device development and user step-by-step development method

Also Published As

Publication number Publication date
CN106775765A (en) 2017-05-31

Similar Documents

Publication Publication Date Title
CN106775765B (en) Graphical programming system
US20100205580A1 (en) Generating parallel simd code for an arbitrary target architecture
US10360004B2 (en) Using dynamic information to refine control flow graphs
CN105354180A (en) Method and system for realizing open semantic interaction service
CN107086949A (en) It is a kind of to be used for people and the auxiliary intelligent apparatus of smart machine interactive operation
CN115562629A (en) RPA flow representation method, system, device and storage medium
Azimjon o‘g‘li et al. The Evolution of Graphical Interfaces for Programming TRACE MODE 6 Algorithms
CN108121285B (en) Application software collaborative compiling method and device based on continuous function diagram
Xue et al. Learning with remote laboratories: Designing control algorithms with both block diagrams and customized C code schemes
WO2014061516A1 (en) Method and device for generation of conversion module linking between different robot middleware types
CN110209565A (en) A kind of metadata schema adjustment method and its device
Tan et al. Copilot for Xcode: Exploring AI-Assisted Programming by Prompting Cloud-based Large Language Models
Zietsch et al. Identifying the potential of edge computing in factories through mixed reality
CN115816459A (en) Robot control method, device, computer equipment, storage medium and product
CN112799724B (en) Stable control device strategy table analysis and calculation method and device
US20050138601A1 (en) Multiple-user graphical programming and analysis environment
Song et al. Data Visualization of the Advertising Exchange Flow Statements Generation System on Demand Side Platform Based on Highcharts
Dahir et al. Mobile Based Robotic Wireless Path Controller.
KR102108389B1 (en) Method for generating control scenario of service robot and device thereof
CN107817776B (en) Secondary development system for serial port screen
Potter et al. An ontological approach to visualization resource management
Dittmer Programmer Productivity Enhancement Through Controlled Natural Language Input
Combéfis et al. State event models for the formal analysis of human-machine interactions
Tumenjargal et al. Software Development Tool for Agricultural Machinery Based on IsoAgLib Open Source Library
JP2019212122A (en) Control system, method for controlling control system, and program for control system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20231124

Address after: Room 80, 2nd Floor (3), CRO Building, No. 666 Gaoxin Avenue, Donghu New Technology Development Zone, Wuhan City, Hubei Province, 430000, China

Patentee after: Wuhan Shenzhi Yunying Technology Co.,Ltd.

Address before: 16th Floor, Fangshun Hengrui International Plaza, No. 22 Guanggu Avenue, Donghu New Technology Development Zone, Wuhan City, Hubei Province, 430074

Patentee before: WUHAN TURINGMAKER TECHNOLOGY CO.,LTD.