CN113126977A - Graphical programming system and method for realizing graphical programming of single chip microcomputer - Google Patents

Graphical programming system and method for realizing graphical programming of single chip microcomputer Download PDF

Info

Publication number
CN113126977A
CN113126977A CN201911421644.7A CN201911421644A CN113126977A CN 113126977 A CN113126977 A CN 113126977A CN 201911421644 A CN201911421644 A CN 201911421644A CN 113126977 A CN113126977 A CN 113126977A
Authority
CN
China
Prior art keywords
controls
control
graphical programming
program editing
editing area
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.)
Withdrawn
Application number
CN201911421644.7A
Other languages
Chinese (zh)
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.)
Shenzhen Sinone Chip Electronic Co ltd
Original Assignee
Shenzhen Sinone Chip Electronic 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 Shenzhen Sinone Chip Electronic Co ltd filed Critical Shenzhen Sinone Chip Electronic Co ltd
Priority to CN201911421644.7A priority Critical patent/CN113126977A/en
Publication of CN113126977A publication Critical patent/CN113126977A/en
Withdrawn legal-status Critical Current

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

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The invention provides a method for realizing graphical programming of a singlechip, which comprises the following steps: providing a graphical programming interface in which icons of a plurality of controls are loaded, each control of the plurality of controls comprising a code segment, and the plurality of controls comprising at least one configurable control; in response to selection and dragging of the presented controls, placing the dragged one or more controls in a program editing area of the graphical programming interface; receiving a configuration of a configurable control in the program editing area; responding to connection operation of a plurality of controls in the program editing area, and generating logic relations of the plurality of controls; and generating codes by the plurality of controls in the program editing area according to the logical relation.

Description

Graphical programming system and method for realizing graphical programming of single chip microcomputer
Technical Field
The invention mainly relates to the technical field of singlechip programming, in particular to a graphical programming system and a method for realizing graphical programming of a singlechip.
Background
The singlechip programming is based on program development of the singlechip, the singlechip is hardware, and the part controlled by software can be realized by the singlechip programming under the condition of peripheral external support. The technical field of single chip microcomputer programming at present has high requirements on skills of developers, and the developers need to complete the work of reading a chip manual, writing a chip configuration program, writing a peripheral driver, writing an application control program and the like, so that the development cycle of a product programmed by using the single chip microcomputer is very long, a large amount of repetitive work also exists, and the efficiency is low.
Disclosure of Invention
The technical problem to be solved by the invention is to provide a graphical programming system and a method for realizing graphical programming of a single chip microcomputer, which can improve the working efficiency of single chip microcomputer programming.
In order to solve the technical problem, the invention provides a method for realizing graphical programming of a singlechip, which comprises the following steps: providing a graphical programming interface in which icons of a plurality of controls are loaded, each control of the plurality of controls comprising a code segment, and the plurality of controls comprising at least one configurable control; in response to selection and dragging of the presented controls, placing the dragged one or more controls in a program editing area of the graphical programming interface; receiving a configuration of a configurable control in the program editing area; responding to connection operation of a plurality of controls in the program editing area, and generating logic relations of the plurality of controls; and generating codes by the plurality of controls in the program editing area according to the logical relation.
In an embodiment of the invention, the controls include a condition control, a loop control, and a function control.
In an embodiment of the invention, the logical relationship comprises a context and a nesting relationship.
In an embodiment of the present invention, each control includes a first type port and/or a second type port, where the first type port corresponds to the context, and the second type port corresponds to the nesting.
In an embodiment of the present invention, the plurality of controls include custom controls, and the method further includes: receiving a control code segment written by a user; and generating a custom control according to the control code segment.
In an embodiment of the present invention, the step of receiving a configuration for a configurable control in the program editing area includes: input and output configurations for the configurable control are received.
In an embodiment of the present invention, the connecting operation of the plurality of controls in the program editing area includes: connecting the plurality of controls using a connector; and/or drag one of the plurality of controls to a hotspot region of another control.
The invention also provides a graphical programming system, comprising: a plurality of controls, each control of the plurality of controls comprising a code segment, and the plurality of controls comprising at least one configurable control; a graphical programming interface component configured to: providing a graphical programming interface, and presenting icons of the plurality of controls in the graphical programming interface; in response to selection and dragging of the presented controls, placing the dragged one or more controls in a program editing area of the graphical programming interface; receiving a configuration of a configurable control in the program editing area; responding to connection operation of a plurality of controls in the program editing area, and generating logic relations of the plurality of controls; and the code generator is configured to generate codes according to the logical relation by the plurality of controls in the program editing area.
In an embodiment of the invention, the controls include a condition control, a loop control, and a function control.
In an embodiment of the invention, the logical relationship comprises a context and a nesting relationship.
In an embodiment of the present invention, each control includes a first type port and/or a second type port, where the first type port corresponds to the context, and the second type port corresponds to the nesting.
In an embodiment of the present invention, the plurality of controls include custom controls, and the graphical programming interface component is further configured to: receiving a control code segment written by a user; and generating a custom control according to the control code segment.
In an embodiment of the present invention, the connecting operation of the plurality of controls in the program editing area includes: connecting the plurality of controls using a connector; and/or drag one of the plurality of controls to a hotspot region of another control.
The invention also provides a graphical programming device, comprising: a memory for storing instructions executable by the processor; and the processor is used for executing the instructions to realize the method for realizing the graphical programming of the single chip microcomputer in any one of the embodiments.
The present invention also provides a computer readable medium storing computer program code, which when executed by a processor implements the method of implementing graphical programming of a single chip microcomputer as in any one of the embodiments described above.
The invention encapsulates and abstracts general characteristics of a single chip microcomputer program, provides a configurable method, expresses the characteristics by using a graphic control, realizes a graphical programming system and a graphical programming method of the single chip microcomputer, greatly shortens the development period of the single chip microcomputer, reduces the threshold of the single chip microcomputer programming, and simultaneously ensures high reliability and high readability of codes.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the application and together with the description serve to explain the principle of the invention. In the drawings:
FIG. 1 is a diagram of a graphical programming device according to an embodiment of the present invention.
FIG. 2 is a block diagram of a graphical programming system in an embodiment of the invention.
Fig. 3 is a flowchart of a method for implementing graphical programming of a single chip in an embodiment of the present invention.
Fig. 4A-4E are schematic diagrams of graphical programming interfaces in an embodiment of the invention.
Detailed Description
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings used in the description of the embodiments will be briefly introduced below. It is obvious that the drawings in the following description are only examples or embodiments of the application, from which the application can also be applied to other similar scenarios without inventive effort for a person skilled in the art. Unless otherwise apparent from the context, or otherwise indicated, like reference numbers in the figures refer to the same structure or operation.
As used in this application and the appended claims, the terms "a," "an," "the," and/or "the" are not intended to be inclusive in the singular, but rather are intended to be inclusive in the plural unless the context clearly dictates otherwise. In general, the terms "comprises" and "comprising" merely indicate that steps and elements are included which are explicitly identified, that the steps and elements do not form an exclusive list, and that a method or apparatus may include other steps or elements.
The relative arrangement of the components and steps, the numerical expressions, and numerical values set forth in these embodiments do not limit the scope of the present application unless specifically stated otherwise. Meanwhile, it should be understood that the sizes of the respective portions shown in the drawings are not drawn in an actual proportional relationship for the convenience of description. Techniques, methods, and apparatus known to those of ordinary skill in the relevant art may not be discussed in detail but are intended to be part of the specification where appropriate. In all examples shown and discussed herein, any particular value should be construed as merely illustrative, and not limiting. Thus, other examples of the exemplary embodiments may have different values. It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, further discussion thereof is not required in subsequent figures.
In the description of the present application, it is to be understood that the orientation or positional relationship indicated by the directional terms such as "front, rear, upper, lower, left, right", "lateral, vertical, horizontal" and "top, bottom", etc., are generally based on the orientation or positional relationship shown in the drawings, and are used for convenience of description and simplicity of description only, and in the case of not making a reverse description, these directional terms do not indicate and imply that the device or element being referred to must have a particular orientation or be constructed and operated in a particular orientation, and therefore, should not be considered as limiting the scope of the present application; the terms "inner and outer" refer to the inner and outer relative to the profile of the respective component itself.
It should be noted that the terms "first", "second", and the like are used to define the components, and are only used for convenience of distinguishing the corresponding components, and the terms have no special meanings unless otherwise stated, and therefore, the scope of protection of the present application is not to be construed as being limited. Further, although the terms used in the present application are selected from publicly known and used terms, some of the terms mentioned in the specification of the present application may be selected by the applicant at his or her discretion, the detailed meanings of which are described in relevant parts of the description herein. Further, it is required that the present application is understood not only by the actual terms used but also by the meaning of each term lying within.
It will be understood that when an element is referred to as being "on," "connected to," "coupled to" or "contacting" another element, it can be directly on, connected or coupled to, or contacting the other element or intervening elements may be present. In contrast, when an element is referred to as being "directly on," "directly connected to," "directly coupled to" or "directly contacting" another element, there are no intervening elements present. Similarly, when a first component is said to be "in electrical contact with" or "electrically coupled to" a second component, there is an electrical path between the first component and the second component that allows current to flow. The electrical path may include capacitors, coupled inductors, and/or other components that allow current to flow even without direct contact between the conductive components.
Flow charts are used herein to illustrate operations performed by systems according to embodiments of the present application. It should be understood that the preceding or following operations are not necessarily performed in the exact order in which they are performed. Rather, various steps may be processed in reverse order or simultaneously. Meanwhile, other operations are added to or removed from these processes.
FIG. 1 is a diagram of a graphical programming device according to an embodiment of the present invention. As shown in FIG. 1, graphical programming device 100 may include a communication bus 101, a processor 102, Read Only Memory (ROM)103, Random Access Memory (RAM)104, a communication port 105, an input/output component 106, a hard disk 107, and a user interface 108. The communication bus 101 may enable data communication between the various components of the system implementation environment 100, and the processor 102 may make decisions and issue prompts. In some embodiments, the processor 102 may be comprised of one or more processors. The communication port 105 may enable data communication between the system implementation environment 100 and other components. In some embodiments, system implementation environment 100 may send and receive information and data to a single chip via communication port 105. Input/output component 106 supports input/output data flow between system implementation environment 100 and other components. User interface 108 may enable interaction and information exchange between system implementation environment 100 and a user. The system implementation environment 100 may also include various forms of program storage units and data storage units, such as a hard disk 107, Read Only Memory (ROM)103 and Random Access Memory (RAM)104, capable of storing various data files for computer processing and/or communication use, as well as possible program instructions for execution by the processor 102, such as a graphical programming system as will be described later. The input/output component 106 may be, for example, one or more of a mouse, a keyboard, a touch-sensitive component, and the like.
Fig. 2 is a graphical programming system 2 according to an embodiment of the present invention, where the graphical programming system 2 includes a plurality of controls 21, a graphical programming interface component 22, and a code generator 23.
Each control 21 may comprise a code segment. In the present embodiment, the plurality of controls 21 includes a condition control 211, a loop control 212, and a function control 213. The types of these controls are merely examples, and in practice, more functional controls may be included. In this embodiment, the plurality of controls 21 may include a configurable control 214. Configurable control 214 is a control for which at least a portion of its code is configurable. For example, the input and output of configurable control 214 may be configurable. As another example, in this embodiment, some of the functionality of configurable control 214 may be configurable. The configurable control can contain a part of preset fixed codes and can be further configured, so that the configurable control can be configured into controls of various functions. Non-configurable fixed controls may also be included in the plurality of controls 21. The codes in the fixed controls are preset so that predetermined functions such as motor control, lamp control, and sound control can be implemented. In this embodiment, the plurality of controls 21 may further include a custom control 215. The custom control 215 may be fully code entered by the user.
The graphical programming interface component 22 is configured to provide a graphical programming interface 221 as shown in FIG. 4A, and to present icons of the plurality of controls 21 in the graphical programming interface 221. The user may view the controls in graphical programming interface 221 and select and drag one or more controls. In response to selection and dragging of the presented controls 21, the graphical programming interface component 22 can place the dragged one or more controls 21 in a program editing area 221a of the graphical programming interface 221, such as shown in FIG. 4B. The user may configure the configurable control 21C in the program editing region 221a, for example, double-clicking the control to open the editing interface of the control, so that the code may be entered in the editing interface, as shown in fig. 4C. Correspondingly, the graphical programming interface component 22 may receive a configuration of the configurable control 21 c. For example, the configurable control 21c may be configured for input and output. As shown with reference to fig. 4D and 4E, the user may also connect together multiple controls in the program editing area 221 a. In response, the graphical programming interface component 22 generates logical relationships of the plurality of controls 21.
In an embodiment of the present application, the logical relationship of the plurality of controls 21 includes a contextual relationship and a nesting relationship. The context represents the temporal relationship between controls. A nested relationship refers to one control that may include one or more other controls. In an embodiment of the present application, the connecting operation of the plurality of controls 21 in the program editing area 221a may include connecting the plurality of controls 21 using the connector 216, and may further include dragging one control of the plurality of controls 21 to a hotspot area of another control.
The graphical programming interface component 22 may also allow a user to customize controls. For example, a user may create a control and then enter a code in the control. The graphical programming interface component 22 may receive user-written control code segments and generate the custom control 215 shown in fig. 2 from the control code segments.
As shown in fig. 4C, each control 21 includes a first type port a and a second type port b, where the first type ports correspond to a front-back relationship and the second type ports correspond to a nesting relationship. If two controls are connected through a first type of port, graphical programming interface component 22 identifies them as contextual. If the two controls are connected through a second type of port, the graphical programming interface component 22 recognizes them as a nested relationship.
And after all the controls are configured and the connection relation is determined, the program configuration is completed, and a code generation stage is entered. The code generator 23 is configured to generate code in logical relationship to a plurality of controls 21a-21c, for example, in the program edit area 221a of FIG. 4E.
Fig. 3 is a flowchart of a method for implementing graphical programming of a single chip microcomputer in an embodiment of the present invention, and as shown in fig. 3, the method for implementing graphical programming of a single chip microcomputer includes:
step 301: a graphical programming interface is provided and icons of a plurality of controls are presented in the graphical programming interface, each control of the plurality of controls comprising a code segment.
In step 301, the controls include condition controls, loop controls, and function controls. There may be at least one configurable control in the controls. Optionally, there may also be custom controls in the controls. Each control comprises a first type port and/or a second type port, the first type ports correspond to a front-back relationship, and the second type ports correspond to a nesting relationship.
The step of generating the custom control can comprise: receiving a control code segment written by a user; and generating a custom control according to the control code segment.
Step 302, in response to the selection and dragging of the presented controls, placing the dragged one or more controls in a program editing area of the graphical programming interface.
Step 303, receiving a configuration of a configurable control in the program editing area.
In step 303, receiving a configuration of a configurable control in a program editing area includes receiving input and output configurations for the configurable control.
Step 304: and generating the logical relations of the plurality of controls in response to the connection operation of the plurality of controls in the program editing area.
In step 304, the logical relationships include context and nesting relationships. The connecting operation of the plurality of controls in the program editing area comprises the following steps: the method includes connecting the plurality of controls using the connector and/or dragging one of the plurality of controls to a hotspot region of another control.
Step 305: and generating codes according to the plurality of controls in the program editing area according to the logical relation.
The above steps will be described in detail according to a specific embodiment of generating codes by using the steps in the method for realizing the graphical programming of the single chip microcomputer.
Step 301: a graphical programming interface is provided and icons of a plurality of controls are presented in the graphical programming interface, each control of the plurality of controls comprising a code segment and the plurality of controls comprising at least one configurable control.
Fig. 4A-4E are schematic diagrams of graphical programming interfaces in an embodiment of the invention. In step 301, a resource library is loaded according to a rule, wherein the resource library is an IC (Integrated Circuit) resource library, and the loading process includes: and assembling, modeling and configuring IC resources according to a certain format. And loading a peripheral driver, wherein the peripheral driver can be compiled and assembled according to a certain rule or can be imported by a user, and the peripheral driver can be displayed on a graphical programming interface in an icon form. As shown in fig. 4A, the corresponding controls 21 in the IC repository are generated on the graphical programming interface 221, and the controls 21 are displayed on the graphical programming interface 221 through icons. The user can customize the control 21, and the custom control added by the user history needs to be loaded by analysis.
Step 302: in response to selection and dragging of the presented controls, the dragged one or more controls are placed in a program editing area of the graphical programming interface.
As shown in fig. 4B and 4C, the user may select and drag a control 21 that the user needs to use, one or more controls 21 dragged by the user are placed in the program editing area 221a of the graphical programming interface 221, and the user may edit the code bodies of the plurality of controls 21 dragged into the program editing area 221 a.
Step 303: a configuration of a configurable control in a program editing region is received.
In this step, the user is allowed to configure the configurable control 21C in the program editing area 221a, for example, double-clicking the control to open the editing interface of the control, so that the code can be input in the editing interface, as shown in fig. 4C.
Step 304: and generating the logical relations of the plurality of controls in response to the connection operation of the plurality of controls in the program editing area.
As shown in fig. 4D, the control 21 dragged by the user into the program editing region 221a generates a control relationship through connection, where the connection relationship corresponds to a logical relationship, the north-south connection corresponds to a front-back relationship in the logical relationship, and the east-west connection corresponds to a nested relationship in the logical relationship. In the present embodiment, the control 21a and the control 21b form a front-back relationship, and the control 21b and the control 21c form a nested relationship. In addition, new controls can be added and the connection relationship can be edited.
Step 305: and generating codes according to the plurality of controls in the program editing area according to the logical relation.
In step 305, code is generated in logical relationship to all controls in the program editing area 221a in fig. 4D.
In the embodiment, the invention provides a graphical programming system and a method for realizing graphical programming of a single chip microcomputer, wherein the single chip microcomputer is programmed and graphical, general characteristics of a program of the single chip microcomputer are encapsulated and abstracted, a configurable method is provided, and the characteristics are represented by a graphical control, so that the graphical programming system and the method for realizing graphical programming of the single chip microcomputer are realized, the development period of the single chip microcomputer is greatly shortened, the programming threshold of the single chip microcomputer is reduced, and meanwhile, the high reliability and the high readability of codes are ensured.
Having thus described the basic concept, it will be apparent to those skilled in the art that the foregoing disclosure is by way of example only, and is not intended to limit the present application. Various modifications, improvements and adaptations to the present application may occur to those skilled in the art, although not explicitly described herein. Such modifications, improvements and adaptations are proposed in the present application and thus fall within the spirit and scope of the exemplary embodiments of the present application.
Also, this application uses specific language to describe embodiments of the application. Reference throughout this specification to "one embodiment," "an embodiment," and/or "some embodiments" means that a particular feature, structure, or characteristic described in connection with at least one embodiment of the present application is included in at least one embodiment of the present application. Therefore, it is emphasized and should be appreciated that two or more references to "an embodiment" or "one embodiment" or "an alternative embodiment" in various places throughout this specification are not necessarily all referring to the same embodiment. Furthermore, some features, structures, or characteristics of one or more embodiments of the present application may be combined as appropriate.
Aspects of the present application may be embodied entirely in hardware, entirely in software (including firmware, resident software, micro-code, etc.) or in a combination of hardware and software. The above hardware or software may be referred to as "data block," module, "" engine, "" unit, "" component, "or" system. The processor may be one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), digital signal processing devices (DAPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), processors, controllers, microcontrollers, microprocessors, or a combination thereof. Furthermore, aspects of the present application may be represented as a computer product, including computer readable program code, embodied in one or more computer readable media. For example, computer-readable media may include, but are not limited to, magnetic storage devices (e.g., hard disk, floppy disk, magnetic strips … …), optical disks (e.g., Compact Disk (CD), Digital Versatile Disk (DVD) … …), smart cards, and flash memory devices (e.g., card, stick, key drive … …).
The computer readable medium may comprise a propagated data signal with the computer program code embodied therein, for example, on a baseband or as part of a carrier wave. The propagated signal may take any of a variety of forms, including electromagnetic, optical, and the like, or any suitable combination. The computer readable medium can be any computer readable medium that can communicate, propagate, or transport the program for use by or in connection with an instruction execution system, apparatus, or device. Program code on a computer readable medium may be propagated over any suitable medium, including radio, electrical cable, fiber optic cable, radio frequency signals, or the like, or any combination of the preceding.
Similarly, it should be noted that in the preceding description of embodiments of the application, various features are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the disclosure aiding in the understanding of one or more of the embodiments. This method of disclosure, however, is not intended to require more features than are expressly recited in the claims. Indeed, the embodiments may be characterized as having less than all of the features of a single embodiment disclosed above.
Numerals describing the number of components, attributes, etc. are used in some embodiments, it being understood that such numerals used in the description of the embodiments are modified in some instances by the use of the modifier "about", "approximately" or "substantially". Unless otherwise indicated, "about", "approximately" or "substantially" indicates that the number allows a variation of ± 20%. Accordingly, in some embodiments, the numerical parameters used in the specification and claims are approximations that may vary depending upon the desired properties of the individual embodiments. In some embodiments, the numerical parameter should take into account the specified significant digits and employ a general digit preserving approach. Notwithstanding that the numerical ranges and parameters setting forth the broad scope of the range are approximations, in the specific examples, such numerical values are set forth as precisely as possible within the scope of the application.
Although the present application has been described with reference to the present specific embodiments, it will be recognized by those skilled in the art that the foregoing embodiments are merely illustrative of the present application and that various changes and substitutions of equivalents may be made without departing from the spirit of the application, and therefore, it is intended that all changes and modifications to the above-described embodiments that come within the spirit of the application fall within the scope of the claims of the application.

Claims (16)

1. A method for realizing graphic programming of a singlechip comprises the following steps:
providing a graphical programming interface in which icons of a plurality of controls are loaded, each control of the plurality of controls comprising a code segment, and the plurality of controls comprising at least one configurable control;
in response to selection and dragging of the presented controls, placing the dragged one or more controls in a program editing area of the graphical programming interface;
receiving a configuration of a configurable control in the program editing area;
responding to connection operation of a plurality of controls in the program editing area, and generating logic relations of the plurality of controls; and
and generating codes by the plurality of controls in the program editing area according to the logical relation.
2. The method of claim 1, wherein the controls comprise conditional controls, cyclic controls, and function controls.
3. The method of claim 1, wherein the logical relationships comprise contextual relationships and nested relationships.
4. The method of claim 3, wherein each control comprises a first type of port and/or a second type of port, the first type of port corresponding to the context, the second type of port corresponding to the nesting.
5. The method of claim 1, wherein the plurality of controls comprise custom controls, and the method further comprises:
receiving a control code segment written by a user; and
and generating a custom control according to the control code segment.
6. The method of claim 1, wherein receiving a configuration of a configurable control in the program editing region comprises:
input and output configurations for the configurable control are received.
7. The method of claim 1, wherein the connecting operations to the plurality of controls in the program editing area comprise:
connecting the plurality of controls using a connector; and/or
Dragging one of the plurality of controls to a hotspot area of another control.
8. A graphical programming system, comprising:
a plurality of controls, each control of the plurality of controls comprising a code segment, and the plurality of controls comprising at least one configurable control;
a graphical programming interface component configured to:
providing a graphical programming interface, and presenting icons of the plurality of controls in the graphical programming interface;
in response to selection and dragging of the presented controls, placing the dragged one or more controls in a program editing area of the graphical programming interface;
receiving a configuration of a configurable control in the program editing area; and
responding to connection operation of a plurality of controls in the program editing area, and generating logic relations of the plurality of controls; and
and the code generator is configured to generate codes according to the logical relation by the plurality of controls in the program editing area.
9. The graphical programming system of claim 8, wherein the controls comprise a condition control, a loop control, and a function control.
10. The graphical programming system of claim 8, wherein the logical relationships comprise contextual relationships and nested relationships.
11. The graphical programming system of claim 10, wherein each control comprises a first type of port corresponding to the context and/or a second type of port corresponding to the nesting.
12. The graphical programming system of claim 8, wherein the plurality of controls comprises custom controls, and the graphical programming interface component is further configured to:
receiving a control code segment written by a user; and
and generating a custom control according to the control code segment.
13. The graphical programming system of claim 8, wherein receiving a configuration of a configurable control in the program editing region comprises:
input and output configurations for the configurable control are received.
14. The graphical programming system of claim 8, wherein the connecting operations to the plurality of controls in the program editing area comprise:
connecting the plurality of controls using a connector; and/or
Dragging one of the plurality of controls to a hotspot area of another control.
15. A graphical programming apparatus, comprising:
a memory for storing instructions executable by the processor; and
a processor for executing the instructions to implement the method of any one of claims 1-7.
16. A computer-readable medium having stored thereon computer program code which, when executed by a processor, implements the method of any of claims 1-7.
CN201911421644.7A 2019-12-31 2019-12-31 Graphical programming system and method for realizing graphical programming of single chip microcomputer Withdrawn CN113126977A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911421644.7A CN113126977A (en) 2019-12-31 2019-12-31 Graphical programming system and method for realizing graphical programming of single chip microcomputer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911421644.7A CN113126977A (en) 2019-12-31 2019-12-31 Graphical programming system and method for realizing graphical programming of single chip microcomputer

Publications (1)

Publication Number Publication Date
CN113126977A true CN113126977A (en) 2021-07-16

Family

ID=76770116

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911421644.7A Withdrawn CN113126977A (en) 2019-12-31 2019-12-31 Graphical programming system and method for realizing graphical programming of single chip microcomputer

Country Status (1)

Country Link
CN (1) CN113126977A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023050231A1 (en) * 2021-09-29 2023-04-06 西门子(中国)有限公司 Graphical programming method and apparatus for plc

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104932354A (en) * 2015-05-28 2015-09-23 芜湖思沃电子科技有限公司 Intelligent trolley graphical programming method based on ARM Cortex-M series single-chip microcomputer platform
CN105739974A (en) * 2016-01-25 2016-07-06 杭州电子科技大学 Method for controlling electronic building blocks by graphical programming
CN109542422A (en) * 2018-11-21 2019-03-29 成都聚维合科技有限公司 A method of realizing visual patternization programming
CN109605366A (en) * 2018-11-09 2019-04-12 中科新松有限公司 Robot graphic programming interactive system and robot

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104932354A (en) * 2015-05-28 2015-09-23 芜湖思沃电子科技有限公司 Intelligent trolley graphical programming method based on ARM Cortex-M series single-chip microcomputer platform
CN105739974A (en) * 2016-01-25 2016-07-06 杭州电子科技大学 Method for controlling electronic building blocks by graphical programming
CN109605366A (en) * 2018-11-09 2019-04-12 中科新松有限公司 Robot graphic programming interactive system and robot
CN109542422A (en) * 2018-11-21 2019-03-29 成都聚维合科技有限公司 A method of realizing visual patternization programming

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
张梅: ""面向机器人应用的可视化开发平台的设计与实现"", 《中国优秀博硕士学位论文全文数据库(硕士) 信息科技辑》 *
祝叶等: "基于LM3S101微控制器的可视化编程入门软件设计", 《军民两用技术与产品》 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023050231A1 (en) * 2021-09-29 2023-04-06 西门子(中国)有限公司 Graphical programming method and apparatus for plc

Similar Documents

Publication Publication Date Title
CN109471773B (en) Method, device, server and storage medium for multi-channel output of front-end log
CN103150456B (en) Under a kind of MATLAB environment, gui system makes method and system
CN103718159B (en) Image processing software development approach, image processing software development device
CN1973253A (en) Method and apparatus for generating configuration data
CN110018866B (en) User interface theme updating method, device and system, vehicle machine and vehicle
CN110704364A (en) Automatic dynamic reconstruction method and system based on field programmable gate array
CN112650966A (en) Method, generator and medium for generating dynamic list page of online design
CN111090438A (en) Method, equipment and medium for FPGA virtualization training based on kubernets
CN112698924A (en) Clinical test electronic data acquisition system and operation method thereof
KR101826828B1 (en) System and method for managing log data
CN113407254B (en) Form generation method and device, electronic equipment and storage medium
CN114168114A (en) Operator registration method, device and equipment
CN113126977A (en) Graphical programming system and method for realizing graphical programming of single chip microcomputer
CN114518884A (en) Method and device for repairing weak memory order problem
CN107391872B (en) Method and device for using PDMS three-dimensional model in software
CN106020802A (en) Generation method of theme, application method of theme and terminal
CN110968404A (en) Equipment data processing method and device
CN107391099B (en) Resource preprocessing method and device
CN117724714A (en) Workflow creation method, workflow creation device, electronic device and computer readable storage medium
CN117215556A (en) Modularized page rapid construction method, system, equipment and medium
EP2962181A1 (en) An interface for creating a plan artifact
CN109324838A (en) Execution method, executive device and the terminal of SCM program
CN105446788B (en) A kind of information processing method and electronic equipment
CN112988139B (en) Method and device for developing event processing file
US8954307B1 (en) Chained programming language preprocessors for circuit simulation

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
WW01 Invention patent application withdrawn after publication

Application publication date: 20210716

WW01 Invention patent application withdrawn after publication