[go: up one dir, main page]

CN115469852A - Graphical chip programming system, system operation method and computer readable medium - Google Patents

Graphical chip programming system, system operation method and computer readable medium Download PDF

Info

Publication number
CN115469852A
CN115469852A CN202111432472.0A CN202111432472A CN115469852A CN 115469852 A CN115469852 A CN 115469852A CN 202111432472 A CN202111432472 A CN 202111432472A CN 115469852 A CN115469852 A CN 115469852A
Authority
CN
China
Prior art keywords
chip
icon
code
editing
frame
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.)
Pending
Application number
CN202111432472.0A
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 Saiyuan Microelectronics Co ltd
Original Assignee
Shenzhen Saiyuan Microelectronics 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 Saiyuan Microelectronics Co ltd filed Critical Shenzhen Saiyuan Microelectronics Co ltd
Priority to CN202111432472.0A priority Critical patent/CN115469852A/en
Publication of CN115469852A publication Critical patent/CN115469852A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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

本发明提供一种芯片图形化编程系统、系统运行方法及计算机可读介质,其中运行方法包括:生成芯片资源工具展示区,芯片资源工具展示区包括多个芯片资源工具项;形成图符框编辑与展示区,在芯片资源工具展示区接收对芯片资源工具项的点选和拖动操作,当在图符框编辑与展示区监测到拖动操作时,生成与芯片资源工具项对应的图符框;在图符框编辑与展示区对多个图符框进行排列和连接操作,表征芯片信号的传输与数据处理的逻辑关系;生成代码编辑与展示区,生成代码编辑与展示区包括与图符框对应的代码段,并展示与图符框的排列分布和连接关系所代表的逻辑关系的代码嵌套关系。本发明只需对芯片资源工具项点选和拖动就可以实现芯片编程。

Figure 202111432472

The present invention provides a chip graphical programming system, system operation method and computer-readable medium, wherein the operation method includes: generating a chip resource tool display area, the chip resource tool display area includes a plurality of chip resource tool items; forming an icon box for editing In the chip resource tool display area, the click and drag operation of the chip resource tool item is received, and when the drag operation is detected in the icon box editing and display area, an icon corresponding to the chip resource tool item is generated In the icon frame editing and display area, arrange and connect multiple icon frames to represent the logical relationship between chip signal transmission and data processing; generate code editing and display area, and generate code editing and display area including The code segment corresponding to the symbol frame, and display the code nesting relationship with the logical relationship represented by the arrangement distribution and connection relationship of the symbol frame. The invention can realize chip programming only by clicking and dragging the chip resource tool item.

Figure 202111432472

Description

芯片图形化编程系统、系统运行方法及计算机可读介质Graphical chip programming system, system operation method and computer readable medium

技术领域technical field

本发明主要涉及可视化编程领域,尤其涉及一种芯片图形化编程系统、系统运行方法及计算机可读介质。The invention mainly relates to the field of visual programming, in particular to a chip graphic programming system, a system operation method and a computer readable medium.

背景技术Background technique

芯片编程是基于芯片进行的程序开发,芯片为硬件,可以在有周围外设支持的情况下,用软件控制的部分通过芯片编程来实现。目前的芯片编程技术领域对开发人员的技能要求较高,开发人员需要完成阅读芯片手册、编写芯片配置程序和外设驱动程序、编写应用控制程序等工作,这样导致使用芯片编程的产品的开发周期非常长,也存在大量重复性的工作,效率较低。Chip programming is the program development based on the chip. The chip is hardware, and it can be realized by programming the chip with the part controlled by software with the support of surrounding peripherals. The current field of chip programming technology requires relatively high skills for developers. Developers need to complete tasks such as reading chip manuals, writing chip configuration programs and peripheral driver programs, and writing application control programs. This leads to the development cycle of products using chip programming. It is very long, and there are a lot of repetitive tasks, so the efficiency is low.

因此,亟需一种简单便捷的芯片图形化编程系统及系统运行方法,缩短用户的开发周期。Therefore, there is an urgent need for a simple and convenient chip graphical programming system and system operation method to shorten the development cycle of users.

发明内容Contents of the invention

本发明要解决的技术问题是提供一种芯片图形化编程系统、系统运行方法及计算机可读介质,解决芯片编程过程中开发步骤复杂,开发周期长的问题。The technical problem to be solved by the present invention is to provide a chip graphic programming system, a system operation method and a computer-readable medium, so as to solve the problems of complicated development steps and long development cycle in the chip programming process.

为解决上述技术问题,本发明提供了一种芯片图形化编程系统的运行方法,包括以下步骤:生成芯片资源工具展示区,所述芯片资源工具展示区包括多个芯片资源工具项;形成图符框编辑与展示区,在所述芯片资源工具展示区接收对所述芯片资源工具项的点选和拖动操作,当在所述图符框编辑与展示区监测到所述拖动操作时,生成与所述芯片资源工具项对应的图符框;在所述图符框编辑与展示区对多个所述图符框进行排列和连接操作,表征芯片信号的传输与数据处理的逻辑关系;生成代码编辑与展示区,所述生成代码编辑与展示区包括与所述图符框对应的代码段,并展示与所述图符框的排列分布和连接关系所代表的所述逻辑关系的代码嵌套关系;其中,所述代码段包括一个或多个代码行,每一代码段具有对应的标记符,所述标记符与所述代码行所在的代码段对应的图符框关联且用于指示所述代码行的位置,当接收到对所述代码行的修改操作时,根据与所述代码行对应的所述标记符,将所述修改操作的结果与所述图符框形成关联。In order to solve the above-mentioned technical problems, the present invention provides a method for operating a chip graphical programming system, comprising the following steps: generating a chip resource tool display area, the chip resource tool display area including a plurality of chip resource tool items; forming an icon In the frame editing and display area, the click and drag operation of the chip resource tool item is received in the chip resource tool display area, and when the drag operation is detected in the icon frame editing and display area, generating an icon frame corresponding to the chip resource tool item; arranging and connecting a plurality of the icon frames in the icon frame editing and display area, representing the logical relationship between chip signal transmission and data processing; Generate a code editing and display area, the generated code editing and display area includes the code segment corresponding to the icon frame, and displays the code of the logical relationship represented by the arrangement distribution and connection relationship of the icon frame Nesting relationship; wherein, the code segment includes one or more code lines, each code segment has a corresponding marker, and the marker is associated with the icon box corresponding to the code segment where the code line is located and used for The position of the code line is indicated, and when a modification operation on the code line is received, the result of the modification operation is associated with the icon box according to the marker corresponding to the code line.

在本发明的一实施例中,芯片图形化编程系统的运行方法还包括,当在所述图符框编辑与展示区接收到对一个图符框的选中操作时,展示与所述图符框对应的代码编辑框;当在所述代码编辑框接收到编辑完成操作时,将所述代码编辑的结果更新至所述代码编辑与展示区;其中,更新的所述代码中的每一代码行具有对应的标记符。In an embodiment of the present invention, the operating method of the chip graphical programming system further includes, when a selection operation of an icon frame is received in the icon frame editing and display area, displaying the icon frame Corresponding code editing box; when the editing completion operation is received in the code editing box, the result of the code editing is updated to the code editing and display area; wherein, each line of code in the updated code have corresponding tags.

在本发明的一实施例中,在所述图符框编辑与展示区对多个所述图符框进行排列和连接操作,表征芯片信号的传输与数据处理的逻辑关系包括:在所述图符框编辑与展示区内,所述图符框之间的水平方向的连线表示与所述图符框对应的代码段之间的嵌套关系,所述图符框之间的竖直方向的连线表示与所述图符框对应的代码段之间的顺序运行关系。In an embodiment of the present invention, arranging and connecting a plurality of icon frames in the icon frame editing and display area, and representing the logical relationship between chip signal transmission and data processing include: In the symbol frame editing and display area, the horizontal connection between the symbol frames represents the nesting relationship between the code segments corresponding to the symbol frames, and the vertical connection between the symbol frames The connecting lines of represent the sequential execution relationship between the code segments corresponding to the symbol boxes.

在本发明的一实施例中,在生成芯片资源工具展示区的步骤之间,还包括:呈现新建工程项目页面,并接收导入芯片的板级支持包操作;呈现芯片配置界面,所述芯片配置界面包括与所述板级支持包对应的芯片资源列表项,接收对芯片资源列表项的点选操作,确定图形化编程所需的芯片资源工具。In an embodiment of the present invention, between the steps of generating the chip resource tool display area, it also includes: presenting the new engineering project page, and receiving the board-level support package operation of importing the chip; presenting the chip configuration interface, the chip configuration The interface includes a chip resource list item corresponding to the board-level support package, receives a click operation on the chip resource list item, and determines the chip resource tool required for graphical programming.

在本发明的一实施例中,在所述图符框编辑与展示区对多个所述图符框进行排列和连接操作包括:当一个图符框包括与其嵌套的图符框时,在所述一个图符框的边角区域添加嵌套展示与操作标记;当接收对所述嵌套操作标记进行点选操作时,对所述嵌套的图符框进行对应的展示或隐藏动作。In an embodiment of the present invention, arranging and connecting a plurality of icon frames in the icon frame editing and display area includes: when an icon frame includes icon frames nested with it, A nested display and operation mark is added to the corner area of the icon frame; when a click operation on the nested operation mark is received, a corresponding display or hide action is performed on the nested icon frame.

在本发明的一实施例中,在所述图符框编辑与展示区对多个所述图符框进行排列和连接操作包括:当接收到对一个图符框的选择操作时,展示所述一个图符框的一个或多个连线响应符;当一个待连接的图符框被拖动至距所述一个图符框的一个连线响应符小于第一阈值间距值时,生成所述一个图符框至所述一个待连接的图符框之间的连接线。In an embodiment of the present invention, arranging and connecting a plurality of icon frames in the icon frame editing and display area includes: when receiving a selection operation on an icon frame, displaying the icon frame One or more link responders of an icon box; when an icon box to be connected is dragged to a link responder less than a first threshold distance value from the icon box, generating the A connection line between an icon frame and the icon frame to be connected.

在本发明的一实施例中,所述芯片配置界面包括与芯片资源列表项对应的芯片图示区域,当接收对芯片资源列表项的点选操作时,在所述芯片图示区域将与所述点选的芯片资源列表项所在的芯片管脚及该管脚对应的功能标记渲染为与其余管脚及管脚对应的功能标记不同的颜色。In an embodiment of the present invention, the chip configuration interface includes a chip icon area corresponding to the chip resource list item, and when a click operation is received on the chip resource list item, the The pin of the chip where the above-mentioned selected chip resource list item is located and the function mark corresponding to the pin are rendered in a color different from that of the other pins and the function marks corresponding to the pin.

在本发明的一实施例中,所述标记符包括与所述代码行所在的代码段对应的图符框对应的字符标记和序号标记。In an embodiment of the present invention, the marker includes a character mark and a serial number mark corresponding to the icon box corresponding to the code segment where the code line is located.

在本发明的一实施例中,芯片图形化编程系统的运行方法还包括,当在所述代码编辑与展示区接收到对一个所述代码段中的一个或多个所述代码行的编辑操作时,在所述图符框编辑与展示区将与所述一个或多个所述代码行所在的所述代码段对应的图符框标识为编辑中状态。In an embodiment of the present invention, the operating method of the chip graphical programming system further includes, when an editing operation on one or more of the code lines in one of the code segments is received in the code editing and display area , the icon box corresponding to the code segment where the one or more code lines are located is marked as being edited in the icon box editing and display area.

在本发明的一实施例中,所述将与所述一个或多个所述代码行所在的所述代码段对应的图符框标识为编辑中状态包括:将所述图符框的外框颜色展示为与其余的图符框的外框不同的颜色。In an embodiment of the present invention, the marking the symbol box corresponding to the code segment where the one or more code lines are located as being edited includes: setting the outer frame of the icon box The color is displayed as a different color than the outline of the rest of the icon box.

为解决上述技术问题,本发明还提供了一种芯片图形化编程系统,包括:存储器,用于存储可由处理器执行的指令;以及处理器,执行所述指令以实现本发明一种芯片图形化编程系统的运行方法。In order to solve the above technical problems, the present invention also provides a chip graphical programming system, including: a memory for storing instructions executable by a processor; and a processor for executing the instructions to realize a chip graphical programming system of the present invention How to program the system.

为解决上述技术问题,本发明还提供了一种存储有计算机程序代码的计算机可读介质,所述计算机程序代码在由处理器执行时实现本发明一种芯片图形化编程系统的运行方法。In order to solve the above technical problems, the present invention also provides a computer-readable medium storing computer program codes, the computer program codes implement the operating method of a chip graphical programming system of the present invention when executed by a processor.

与现有技术相比,本发明具有以下优点:Compared with the prior art, the present invention has the following advantages:

本申请的通过芯片图形化编程系统的运行方法,通过将芯片上的资源拆解成多个芯片资源工具项,只需对芯片资源工具项的点选和拖动操作就可以实现芯片编程,简化了芯片编程过程中的开发步骤,缩短了开发周期;本申请的通过芯片图形化编程系统的运行方法通过图符框的排列和连接关系表征芯片信号的传输与数据处理的逻辑关系,便于用户可视化编程,提高了用户的使用感受;本申请的通过芯片图形化编程系统的运行方法通过标识符将图符框和代码段相关联,图符框和代码段可以双向同步,用户开发过程更友好。In the operating method of the chip graphical programming system of the present application, by disassembling the resources on the chip into multiple chip resource tool items, chip programming can be realized only by clicking and dragging the chip resource tool items, which simplifies The development steps in the chip programming process are shortened, and the development cycle is shortened; the operation method of the chip graphical programming system in this application represents the logical relationship between chip signal transmission and data processing through the arrangement and connection relationship of icon boxes, which is convenient for users to visualize The programming improves the user experience; the operation method of the chip graphical programming system of the present application associates the icon frame with the code segment through the identifier, and the icon frame and the code segment can be synchronized in two directions, making the user development process more friendly.

附图说明Description of drawings

附图是为提供对本申请进一步的理解,它们被收录并构成本申请的一部分,附图示出了本申请的实施例,并与本说明书一起起到解释本申请原理的作用。附图中:The accompanying drawings are to provide a further understanding of the present application, they are included and constitute a part of the present application, the accompanying drawings show the embodiments of the present application, and together with the description, serve to explain the principle of the present application. In the attached picture:

图1是根据本发明一实施例的芯片图形化编程系统的运行方法的示例性流程图;FIG. 1 is an exemplary flow chart of an operating method of a chip graphical programming system according to an embodiment of the present invention;

图2A是根据本发明一实施例的芯片图形化编程系统的运行方法的界面示意图;FIG. 2A is a schematic interface diagram of an operating method of a chip graphical programming system according to an embodiment of the present invention;

图2B是根据本发明一实施例的芯片图形化编程系统的运行方法的界面展示图;2B is an interface display diagram of the operation method of the chip graphical programming system according to an embodiment of the present invention;

图3A是根据本发明一实施例的芯片图形化编程系统的运行方法的芯片配置界面示意图;3A is a schematic diagram of a chip configuration interface of an operating method of a chip graphical programming system according to an embodiment of the present invention;

图3B是根据本发明一实施例的芯片图形化编程系统的运行方法的芯片配置界面展示图;FIG. 3B is a display diagram of a chip configuration interface of the operating method of the chip graphical programming system according to an embodiment of the present invention;

图4是根据本发明一实施例的芯片图形化编程系统的运行方法的图符框连接展示状态示意图;Fig. 4 is a schematic diagram of the icon frame connection display state of the operation method of the chip graphical programming system according to an embodiment of the present invention;

图5是根据本发明一实施例的芯片图形化编程系统的运行方法的图符框连接隐藏状态示意图;5 is a schematic diagram of a hidden state of icon frame connections of an operating method of a chip graphical programming system according to an embodiment of the present invention;

图6是根据本发明一实施例的芯片图形化编程系统的运行方法的图符框自动连线示意图;Fig. 6 is a schematic diagram of the automatic connection of the icon frame of the operation method of the chip graphical programming system according to an embodiment of the present invention;

图7是根据本申请一实施例示出的芯片图形化编程系统的系统框图。Fig. 7 is a system block diagram of a chip graphical programming system according to an embodiment of the present application.

具体实施方式detailed description

为了更清楚地说明本申请的实施例的技术方案,下面将对实施例描述中所需要使用的附图作简单的介绍。显而易见地,下面描述中的附图仅仅是本申请的一些示例或实施例,对于本领域的普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图将本申请应用于其他类似情景。除非从语言环境中显而易见或另做说明,图中相同标号代表相同结构或操作。In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following briefly introduces the drawings that need to be used in the description of the embodiments. Obviously, the accompanying drawings in the following description are only some examples or embodiments of the present application, and those skilled in the art can also apply the present application to other similar scenarios. Unless otherwise apparent from context or otherwise indicated, like reference numerals in the figures represent like structures or operations.

如本申请和权利要求书中所示,除非上下文明确提示例外情形,“一”、“一个”、“一种”和/或“该”等词并非特指单数,也可包括复数。一般说来,术语“包括”与“包含”仅提示包括已明确标识的步骤和元素,而这些步骤和元素不构成一个排它性的罗列,方法或者设备也可能包含其他的步骤或元素。As indicated in this application and claims, the terms "a", "an", "an" and/or "the" do not refer to the singular and may include the plural unless the context clearly indicates an exception. Generally speaking, the terms "comprising" and "comprising" only suggest the inclusion of clearly identified steps and elements, and these steps and elements do not constitute an exclusive list, and the method or device may also contain other steps or elements.

除非另外具体说明,否则在这些实施例中阐述的部件和步骤的相对布置、数字表达式和数值不限制本申请的范围。同时,应当明白,为了便于描述,附图中所示出的各个部分的尺寸并不是按照实际的比例关系绘制的。对于相关领域普通技术人员已知的技术、方法和设备可能不作详细讨论,但在适当情况下,所述技术、方法和设备应当被视为授权说明书的一部分。在这里示出和讨论的所有示例中,任何具体值应被解释为仅仅是示例性的,而不是作为限制。因此,示例性实施例的其它示例可以具有不同的值。应注意到:相似的标号和字母在下面的附图中表示类似项,因此,一旦某一项在一个附图中被定义,则在随后的附图中不需要对其进行进一步讨论。The relative arrangements of components and steps, numerical expressions and numerical values set forth in these embodiments do not limit the scope of the present application unless specifically stated otherwise. At the same time, it should be understood that, for the convenience of description, the sizes of the various parts shown in the drawings are not drawn according to the actual proportional relationship. Techniques, methods and devices known to those of ordinary skill in the relevant art may not be discussed in detail, but where appropriate, such techniques, methods and devices should be considered part of the Authorized Specification. In all examples shown and discussed herein, any specific values should be construed as exemplary only, and not as limitations. Therefore, other examples of the exemplary embodiment may have different values. It should be noted that like numbers and letters denote similar items in the following figures, therefore, once an item is defined in one figure, it does not require further discussion in subsequent figures.

在本申请的描述中,需要理解的是,方位词如“前、后、上、下、左、右”、“横向、竖向、垂直、水平”和“顶、底”等所指示的方位或位置关系通常是基于附图所示的方位或位置关系,仅是为了便于描述本申请和简化描述,在未作相反说明的情况下,这些方位词并不指示和暗示所指的装置或元件必须具有特定的方位或者以特定的方位构造和操作,因此不能理解为对本申请保护范围的限制;方位词“内、外”是指相对于各部件本身的轮廓的内外。In the description of the present application, it should be understood that orientation words such as "front, back, up, down, left, right", "horizontal, vertical, vertical, horizontal" and "top, bottom" etc. indicate the orientation Or positional relationship is generally based on the orientation or positional relationship shown in the drawings, and is only for the convenience of describing the application and simplifying the description. In the absence of a contrary statement, these orientation words do not indicate or imply the device or element referred to It must have a specific orientation or be constructed and operated in a specific orientation, so it should not be construed as limiting the protection scope of the present application; the orientation words "inner and outer" refer to the inner and outer relative to the outline of each component itself.

为了便于描述,在这里可以使用空间相对术语,如“在……之上”、“在……上方”、“在……上表面”、“上面的”等,用来描述如在图中所示的一个器件或特征与其他器件或特征的空间位置关系。应当理解的是,空间相对术语旨在包含除了器件在图中所描述的方位之外的在使用或操作中的不同方位。例如,如果附图中的器件被倒置,则描述为“在其他器件或构造上方”或“在其他器件或构造之上”的器件之后将被定位为“在其他器件或构造下方”或“在其他器件或构造之下”。因而,示例性术语“在……上方”可以包括“在……上方”和“在……下方”两种方位。该器件也可以其他不同方式定位(旋转90度或处于其他方位),并且对这里所使用的空间相对描述作出相应解释。For the convenience of description, spatially relative terms may be used here, such as "on ...", "over ...", "on the surface of ...", "above", etc., to describe the The spatial positional relationship between one device or feature shown and other devices or features. It will be understood that the spatially relative terms are intended to encompass different orientations of the device in use or operation in addition to the orientation depicted in the figures. For example, if the device in the figures is turned over, devices described as "above" or "above" other devices or configurations would then be oriented "beneath" or "above" the other devices or configurations. under other devices or configurations". Thus, the exemplary term "above" can encompass both an orientation of "above" and "beneath". The device may be otherwise oriented (rotated 90 degrees or at other orientations) and the spatially relative descriptions used herein interpreted accordingly.

此外,需要说明的是,使用“第一”、“第二”等词语来限定零部件,仅仅是为了便于对相应零部件进行区别,如没有另行声明,上述词语并没有特殊含义,因此不能理解为对本申请保护范围的限制。此外,尽管本申请中所使用的术语是从公知公用的术语中选择的,但是本申请说明书中所提及的一些术语可能是申请人按他或她的判断来选择的,其详细含义在本文的描述的相关部分中说明。此外,要求不仅仅通过所使用的实际术语,而是还要通过每个术语所蕴含的意义来理解本申请。In addition, it should be noted that the use of words such as "first" and "second" to define components is only for the convenience of distinguishing corresponding components. To limit the protection scope of this application. In addition, although the terms used in this application are selected from well-known and commonly used terms, some terms mentioned in the specification of this application may be selected by the applicant according to his or her judgment, and their detailed meanings are listed in this article described in the relevant section of the description. Furthermore, it is required that this application be understood not only by the actual terms used, but also by the meaning implied by each term.

本申请中使用了流程图用来说明根据本申请的实施例的系统所执行的操作。应当理解的是,前面或下面操作不一定按照顺序来精确地执行。相反,可以按照倒序或同时处理各种步骤。同时,或将其他操作添加到这些过程中,或从这些过程移除某一步或数步操作。The flow chart is used in this application to illustrate the operations performed by the system according to the embodiment of this application. It should be understood that the preceding or following operations are not necessarily performed in an exact order. Instead, various steps may be processed in reverse order or concurrently. At the same time, other operations are either added to these procedures, or a certain step or steps are removed from these procedures.

本申请的实施例描述一种芯片图形化编程系统、系统运行方法及计算机可读介质。The embodiments of the present application describe a chip graphical programming system, a system operation method, and a computer-readable medium.

图1是根据本发明一实施例的芯片图形化编程系统的运行方法的示例性流程图。如图1所示,本实施例的芯片图形化编程系统的运行方法100包括以下步骤:FIG. 1 is an exemplary flow chart of an operating method of a chip graphical programming system according to an embodiment of the present invention. As shown in FIG. 1 , the operating method 100 of the chip graphical programming system of this embodiment includes the following steps:

步骤S11:生成芯片资源工具展示区,芯片资源工具展示区包括多个芯片资源工具项。Step S11: Generate a chip resource tool display area, the chip resource tool display area includes a plurality of chip resource tool items.

步骤S12:形成图符框编辑与展示区,在芯片资源工具展示区接收对芯片资源工具项的点选和拖动操作,当在图符框编辑与展示区监测到拖动操作时,生成与芯片资源工具项对应的图符框。Step S12: Form the icon frame editing and display area, receive the click and drag operation of the chip resource tool item in the chip resource tool display area, when the drag operation is detected in the icon frame editing and display area, generate and The icon box corresponding to the chip resource tool item.

步骤S13:在图符框编辑与展示区对多个图符框进行排列和连接操作,表征芯片信号的传输与数据处理的逻辑关系。Step S13: Arranging and connecting multiple icon frames in the icon frame editing and display area to represent the logical relationship between chip signal transmission and data processing.

步骤S14:生成代码编辑与展示区,生成代码编辑与展示区包括与图符框对应的代码段,并展示与图符框的排列分布和连接关系所代表的逻辑关系的代码嵌套关系。Step S14: Generate a code editing and display area. The generated code editing and display area includes the code segment corresponding to the icon frame, and displays the code nesting relationship with the logical relationship represented by the arrangement distribution and connection relationship of the icon frame.

下面结合图1-图2B对上述步骤S11-S14进行详细说明:The above steps S11-S14 will be described in detail below in conjunction with FIG. 1-FIG. 2B:

图2A是根据本发明一实施例的芯片图形化编程系统的运行方法的界面示意图。如图2A所示,根据步骤S11-S14,本发明的芯片图形化编程系统的主页面20包括三个区域,分别是芯片资源工具展示区21、图符框编辑与展示区22、代码编辑与展示区23。FIG. 2A is a schematic interface diagram of the operation method of the chip graphical programming system according to an embodiment of the present invention. As shown in FIG. 2A, according to steps S11-S14, the main page 20 of the chip graphical programming system of the present invention includes three areas, which are respectively a chip resource tool display area 21, an icon frame editing and display area 22, and a code editing and display area 22. Display area 23.

在步骤S11中,芯片资源工具项是芯片图形化编程的程序的组成单元,芯片资源工具项可以包括编程控制函数接口、用户工程驱动列表、BSP常用接口、中断、自定义工具项、复合工具项、头文件、程序块、工具目录驱动列表及公共存储区等工具项。In step S11, the chip resource tool item is a component unit of the chip graphical programming program, and the chip resource tool item may include programming control function interface, user project driver list, BSP common interface, interrupt, custom tool item, compound tool item , header file, program block, tool directory driver list and public storage area and other tool items.

其中,编程控制函数接口包含编程语言逻辑语句控件。用户工程驱动列表包括外设驱动,外设驱动包含通用外设驱动与用户加载外设驱动用户需要时可以选择芯片配置界面勾选的驱动调用该驱动的函数。BSP常用接口包含了函数中常用的一些接口。中断包含芯片所有的中断服务函数,用户可调用相应的中断服务函数连接进行编程。自定义工具项包含函数、全局变量、局部变量、复合类型。用户可以对自定义工具项作添加、查询、修改、删除等操作。头文件可以添加常用的一些头文件到芯片资源工具展示区内。程序块可以在工具项中编写所需要的程序。Wherein, the programming control function interface includes programming language logic statement control. The list of user project drivers includes peripheral drivers. Peripheral drivers include general peripheral drivers and user-loaded peripheral drivers. When needed, users can select the driver checked on the chip configuration interface to call the driver's function. BSP common interface contains some commonly used interfaces in functions. The interrupt includes all the interrupt service functions of the chip, and the user can call the corresponding interrupt service function connection for programming. Custom tool items include functions, global variables, local variables, and composite types. Users can add, query, modify, delete and other operations on custom tool items. Header files You can add some commonly used header files to the display area of the chip resource tool. The program block can write the required program in the tool item.

工具目录驱动列表包含系统驱动列表、自定义驱动列表。公共存储区可以存储用户自定义函数,在新建的工程中可以使用公共存储区的函数。芯片资源工具展示区可以包括所有的芯片资源工具项,也可以包括部分的芯片资源工具项,本申请对此不作限制。The tool directory driver list includes a system driver list and a custom driver list. The public storage area can store user-defined functions, and the functions in the public storage area can be used in new projects. The chip resource tool display area may include all chip resource tool items, and may also include some chip resource tool items, which is not limited in this application.

图2B是根据本发明一实施例的芯片图形化编程系统的运行方法的界面展示图。示例性地,如图2A和图2B所示,芯片资源工具展示区21包括芯片资源工具项编程控制函数接口211、用户工程驱动列表212、中断213及自定义工具项214。FIG. 2B is an interface display diagram of the operation method of the chip graphical programming system according to an embodiment of the present invention. Exemplarily, as shown in FIG. 2A and FIG. 2B , the chip resource tool display area 21 includes a chip resource tool item programming control function interface 211 , a user project driver list 212 , an interrupt 213 and a custom tool item 214 .

如前述编程控制函数接口包括编程语言逻辑语句控件。具体地,编程控制函数接口例如提供多种类型的控制函数,例如判断型函数(例如while、if类型)、选择型函数(例如switch、case类型)。As mentioned above, the programming control function interface includes programming language logic statement control. Specifically, the programming control function interface, for example, provides various types of control functions, such as judgment functions (such as while, if types), and selection functions (such as switch, case types).

在一些实施例中,在生成芯片资源工具展示区的步骤S11之前,还包括以下步骤:In some embodiments, before the step S11 of generating the display area of the chip resource tool, the following steps are further included:

步骤S110:呈现新建工程项目页面,并接收导入芯片的板级支持包操作。Step S110: presenting a new engineering project page, and receiving the operation of importing the board support package of the chip.

步骤S111:呈现芯片配置界面,芯片配置界面包括与板级支持包对应的芯片资源列表项,接收对芯片资源列表项的点选操作,确定图形化编程所需的芯片资源工具。Step S111: presenting a chip configuration interface, the chip configuration interface includes a chip resource list item corresponding to the board support package, receiving a click operation on the chip resource list item, and determining the chip resource tool required for graphical programming.

在步骤S110中,可以为每个芯片图形化编程程序新建一个工程,与这个芯片图形化编程相关的文件资源都可以放在这个工程内,方便用户管理。In step S110, a new project can be created for each chip graphical programming program, and all file resources related to the chip graphical programming can be placed in this project, which is convenient for users to manage.

具体地,图形化编程系统向用户呈现新建工程项目页面,用户可以对新建工程项目命名及选择新建工程项目存储的路径。同时,新建工程项目可以接收导入芯片的板级支持包操作。Specifically, the graphical programming system presents a new project page to the user, and the user can name the new project and select a storage path for the new project. At the same time, the newly-built project can receive the board-level support package operation of the imported chip.

板级支持包是指对芯片资源抽象和封装后的资源,可以包括软件开发工具包(Software Development Kit,简称SDK开发包)和资源描述文件。The board-level support package refers to resources after abstraction and packaging of chip resources, and may include a software development kit (Software Development Kit, SDK development kit for short) and a resource description file.

SDK开发包是一些被软件开发者用于为特定的软件包、软件框架、硬件平台、操作系统等创建应用软件的开发工具的集合。它可以是为某个程序设计语言提供应用程序接口(Application Programming Interface,简称API)的一些文件。The SDK development kit is a collection of development tools used by software developers to create application software for specific software packages, software frameworks, hardware platforms, operating systems, etc. It may be some files that provide an application programming interface (Application Programming Interface, API for short) for a certain programming language.

资源描述文件一方面完成对资源的描述和分类,为图形化配置准备。另一方面,资源描述文件完成对资源的初始化信息配置,为代码生成准备。在导入芯片的板级支持包操作之前,需要确定图形化编程新建工程项目需要的芯片型号,图形化编程系统向用户呈现芯片选型页面,芯片选型页面包括筛选方式列表、显示栏、微控制单元(Micro ControllerUnit,简称MCU)型号列表等三个部分,筛选方式列表包括型号搜索、种类、封装、高级选择等。On the one hand, the resource description file completes the description and classification of resources and prepares for graphical configuration. On the other hand, the resource description file completes the initialization information configuration of the resource and prepares for code generation. Before importing the board-level support package operation of the chip, it is necessary to determine the chip model required for the new project of the graphical programming, and the graphical programming system presents the chip selection page to the user. Unit (Micro ControllerUnit, referred to as MCU) model list and other three parts, the filtering method list includes model search, type, package, advanced selection, etc.

芯片图形化编程系统的使用者(即系统的用户)可以按芯片的型号搜索,也可以按芯片的种类搜索,也可以芯片的封装方式搜索,也可以按内存的大小、主频的大小等高级选择搜索,本申请对此不作限制。Users of the chip graphical programming system (that is, users of the system) can search by the model of the chip, the type of the chip, the packaging method of the chip, or the size of the memory, the size of the main frequency, etc. Choose to search, this application is not limited to this.

显示栏包括一个显示框和规格书、开始项目等按钮。MCU型号列表显示所有的MCU型号以及筛选结果。The display bar includes a display box and buttons for specification, start project, etc. The MCU model list displays all MCU models and filtering results.

在步骤S111中,在步骤S110中的MCU型号列表选中一个芯片型号后,点击显示栏中的“开始项目”按钮,图形化编程系统会向用户呈现芯片配置界面。In step S111, after selecting a chip model in the MCU model list in step S110, click the "start project" button in the display column, and the graphical programming system will present the chip configuration interface to the user.

图3A是根据本发明一实施例的芯片图形化编程系统的运行方法的芯片配置界面。FIG. 3A is a chip configuration interface of the operating method of the chip graphical programming system according to an embodiment of the present invention.

图3B是根据本发明一实施例的芯片图形化编程系统的运行方法的芯片配置界面展示图。FIG. 3B is a display diagram of a chip configuration interface of the operating method of the chip graphical programming system according to an embodiment of the present invention.

如图3A和图3B所示,芯片配置界面30包括芯片资源列表项31、芯片资源配置栏32。芯片资源列表项31包括与该型号板级支持包对应的芯片资源列表311及该型号所支持的驱动资源列表312。芯片资源列表311展示该型号所有的芯片资源,芯片资源之间存在芯片内部互斥,芯片与驱动互斥。As shown in FIG. 3A and FIG. 3B , the chip configuration interface 30 includes a chip resource list item 31 and a chip resource configuration column 32 . The chip resource list item 31 includes a chip resource list 311 corresponding to the model board support package and a driver resource list 312 supported by the model. The chip resource list 311 displays all the chip resources of the model, and there is mutual exclusion between the chip resources, and mutual exclusion between the chip and the driver.

驱动资源列表312包括系统驱动和用户自定义驱动、备份区、用户工程驱动列表五个部分,其中,备份区将用户工程驱动列表的驱动备份保存并保存驱动现有的配置信息。The driver resource list 312 includes five parts: system driver and user-defined driver, backup area, and user project driver list. The backup area saves the driver backup of the user project driver list and saves the existing configuration information of the driver.

芯片资源配置栏32用来显示当前勾选的芯片资源列表311或者驱动资源列表312的配置项。用户可根据需要对芯片资源列表311或者驱动资源列表312中的资源作点选操作,当芯片资源之间存在芯片内部互斥时,只能点选其中一个资源,其他剩余资源会处于不可选的状态。The chip resource configuration column 32 is used to display configuration items of the currently checked chip resource list 311 or driver resource list 312 . The user can click on the resources in the chip resource list 311 or the driver resource list 312 as needed. When there is mutual exclusion between the chip resources, only one of the resources can be clicked, and the remaining resources will be unselectable. state.

当芯片资源之间存在芯片与驱动互斥时,当驱动已经占用了芯片该资源时,用户不能再配置该项芯片资源配置;同理,当芯片资源先被点选时,驱动处于不可选的状态。When there is mutual exclusion between the chip resource and the driver, when the driver has already occupied the chip resource, the user can no longer configure the chip resource configuration; similarly, when the chip resource is selected first, the driver is in the non-selectable state.

图形化编程系统接收对芯片资源列表311或者驱动资源列表312的点选操作,确定图形化编程所需的芯片资源工具。The graphical programming system receives a click operation on the chip resource list 311 or the driver resource list 312, and determines the chip resource tool required for graphical programming.

在一些实施例中,如图3A和图3B所示,芯片配置界面还包括与芯片资源列表项31对应的芯片图示区域33。芯片图示区域33用来展示所用的驱动图片及其配置管脚信息以及该型号的配置管脚占用信息。例如图3B的芯片图示区域33展示的芯片335及其管脚信息。当图形化编程系统接收到对芯片资源列表项31的点选操作时,在芯片图示区域33将与点选的芯片资源列表项31所在的芯片管脚及管脚对应的功能标记渲染为与其余管脚及管脚对应的功能标记不同的颜色。In some embodiments, as shown in FIG. 3A and FIG. 3B , the chip configuration interface further includes a chip diagram area 33 corresponding to the chip resource list item 31 . The chip diagram area 33 is used to display the used driver picture and its configuration pin information, as well as the configuration pin occupancy information of the model. For example, the chip 335 and its pin information shown in the chip diagram area 33 of FIG. 3B . When the graphical programming system receives a click operation on the chip resource list item 31, the chip pin and the function mark corresponding to the chip resource list item 31 where the clicked chip resource list item 31 is located in the chip icon area 33 will be rendered as the same as The rest of the pins and their corresponding functions are marked with different colors.

例如图3B中,示例性地标示了对芯片资源列表项31中的芯片资源318的点选,与芯片资源配置栏32中芯片资源配置项328的展示与配置和芯片图示区域33对点选的芯片资源对应的芯片管脚及管脚对应的功能标记338的渲染与展示。For example, in FIG. 3B , it exemplarily indicates that clicking on the chip resource 318 in the chip resource list item 31 corresponds to the display and configuration of the chip resource configuration item 328 in the chip resource configuration column 32 and the chip icon area 33. The rendering and display of the chip pins corresponding to the chip resources and the function markers 338 corresponding to the pins.

在一些实施例中,用户点击显示栏中的“开始项目”按钮,图形化编程系统向用户呈现芯片配置界面之前,还包括图形化编程系统向用户呈现模板选择界面,用户可以新建一个空白模板,也可以基于示例模板进行修改转化成需要的工程,本申请对此不作限制。In some embodiments, the user clicks the "Start Project" button in the display bar, before the graphical programming system presents the chip configuration interface to the user, the graphical programming system also presents a template selection interface to the user, and the user can create a blank template, It can also be modified and transformed into a required project based on the example template, which is not limited in this application.

在步骤S12中,芯片资源工具展示区接收对芯片资源工具项的点选和拖动操作,当在图符框编辑与展示区监测到拖动操作时,生成与芯片资源工具项对应的图符框。示例性地,如图2A所示,芯片资源工具展示区21包括芯片资源工具项,具体例如包括编程控制函数接口211、用户工程驱动列表212、中断213及自定义工具项214。In step S12, the chip resource tool display area receives the click and drag operation of the chip resource tool item, and when the drag operation is detected in the icon box editing and display area, an icon corresponding to the chip resource tool item is generated frame. Exemplarily, as shown in FIG. 2A , the chip resource tool display area 21 includes chip resource tool items, specifically including programming control function interface 211 , user project driver list 212 , interrupt 213 and custom tool item 214 .

系统的用户可以对芯片资源工具展示区21中的芯片资源工具项进行点选和拖动操作,当图符框编辑与展示区22监测到芯片资源工具项中的编程控制函数接口211被点选,或从芯片资源工具展示区21拖动到图符框编辑与展示区22时,生成与芯片资源工具项编程控制函数接口211对应的图符框221。当图符框编辑与展示区22监测到芯片资源工具项中的中断213被点选,或从芯片资源工具展示区21拖动到图符框编辑与展示区22时,生成与芯片资源工具项中的中断213对应的图符框223。System users can click and drag the chip resource tool item in the chip resource tool display area 21, when the icon box editing and display area 22 monitors that the programming control function interface 211 in the chip resource tool item is clicked , or when dragging from the chip resource tool display area 21 to the icon frame editing and display area 22, an icon frame 221 corresponding to the chip resource tool item programming control function interface 211 is generated. When the icon frame editing and display area 22 detects that the interrupt 213 in the chip resource tool item is selected, or is dragged from the chip resource tool display area 21 to the icon frame editing and display area 22, the chip resource tool item is generated The icon box 223 corresponding to the interrupt 213 in .

在图2B中,示例性标示了从芯片资源工具展示区21中的芯片资源工具项219到图符框编辑与展示区22的图符框排列和连接关系图229的操作对应结果,还示例性标示了图符框编辑与展示区22的图符框排列和连接关系图229与代码编辑与展示区23中的代码段239的对应关系,反映出编程过程的在视觉上的直观性和图形化编程的顺畅性。In FIG. 2B , the operation corresponding results from the chip resource tool item 219 in the chip resource tool display area 21 to the icon frame arrangement and connection relationship diagram 229 in the icon frame editing and display area 22 are shown exemplarily. The icon frame arrangement and connection diagram 229 in the icon frame editing and display area 22 is marked, and the corresponding relationship between the code segment 239 in the code editing and display area 23 reflects the visual intuition and graphics of the programming process. The smoothness of programming.

在一些实施例汇总,图符框上还可展示有对该图符框对应的代码段的功能简述,以使图符框排列和连接关系图更为明晰,如图2B中的图符框排列和连接关系图229中的各图符框所例示。In summary of some embodiments, the icon box can also display a brief description of the function of the code segment corresponding to the icon box, so that the arrangement of the icon box and the connection diagram are clearer, as shown in the icon box in Figure 2B The arrangement and connection relationship diagram 229 is illustrated by each icon box.

在步骤S13中,按照程序逻辑对多个图符框进行排列,然后按照连线规则对多个图符框进行连线,图符框之间的连线表征了芯片信号的传输与数据处理的逻辑关系。连线规则可以是图符框之间的连线分顺序关系和嵌套关系,顺序关系表示在当前图符框的代码体后插入被连接图符框的代码体;嵌套关系表示在当前图符框代码体中插入被连接芯片图符框的代码体,本申请对连线规则的具体设置不作限制。In step S13, a plurality of icon frames are arranged according to the program logic, and then a plurality of icon frames are connected according to the connection rules. Logic. The connection rules can be the sequence relationship and nesting relationship between the connection lines between icon frames. The sequence relationship means that the code body of the connected icon frame is inserted after the code body of the current icon frame; the nesting relationship means that the code body of the connected icon frame Insert the code body of the symbol frame of the connected chip into the code body of the symbol frame, and this application does not limit the specific setting of the connection rules.

在一些实施例中,在图符框编辑与展示区内,图符框之间的水平方向的连线表示与图符框对应的代码段之间的嵌套关系,图符框之间的竖直方向的连线表示与图符框对应的代码段之间的顺序运行关系。In some embodiments, in the icon frame editing and display area, the horizontal connection lines between the icon frames represent the nesting relationship between the code segments corresponding to the icon frames, and the vertical lines between the icon frames The straight lines represent the sequence running relationship between the code segments corresponding to the symbol boxes.

具体地,水平方向上右侧的图符框对应的代码段被嵌套在与其连线的左侧的图符框对应的代码段中,竖直方向上下侧的图符框对应的代码段在与其连线的上侧的图符框对应的代码段的顺序后执行。Specifically, the code segment corresponding to the icon frame on the right side in the horizontal direction is nested in the code segment corresponding to the icon frame on the left side of the connection line, and the code segment corresponding to the icon frame on the upper and lower sides in the vertical direction is in The code segment corresponding to the icon box on the upper side of the line is executed after the sequence.

图4是根据本发明一实施例的芯片图形化编程系统的运行方法的图符框连接展示状态示意图。FIG. 4 is a schematic diagram of the icon box connection display state of the operation method of the chip graphical programming system according to an embodiment of the present invention.

如图4所示,在图符框编辑与展示区22内,图符框41和图符框42之间的水平方向的连线H1表示与图符框对应的代码段之间的嵌套关系,图符框42对应的代码段被嵌套在图符框41对应的代码段中。As shown in Figure 4, in the icon frame editing and display area 22, the horizontal connection line H1 between the icon frame 41 and the icon frame 42 represents the nesting relationship between the code segments corresponding to the icon frame , the code segment corresponding to the icon frame 42 is nested in the code segment corresponding to the icon frame 41 .

图符框41和图符框43之间的竖直方向的连线V1表示与图符框对应的代码段之间的顺序关系,图符框43对应的代码段在图符框41的代码段之后执行。The vertical line V1 between the icon frame 41 and the icon frame 43 represents the sequence relationship between the code segments corresponding to the icon frame, and the code segment corresponding to the icon frame 43 is in the code segment of the icon frame 41 Execute afterwards.

在一些实施例中,连线规则可以是水平方向的图符框与竖直方向的图符框不能相连接,因其属于不同层次的嵌套逻辑。例如,如图4所示,图符框42和图符框43之间不能相连接。In some embodiments, the connection rule may be that icon frames in the horizontal direction and icon frames in the vertical direction cannot be connected because they belong to different levels of nesting logic. For example, as shown in FIG. 4 , the icon frame 42 and the icon frame 43 cannot be connected.

在一些实施例中,当一个图符框包括与其嵌套的图符框时,在一个图符框的边角区域添加嵌套展示与操作标记;当接收对嵌套操作标记进行点选操作时,对嵌套的图符框进行对应的展示或隐藏动作。In some embodiments, when an icon frame includes an icon frame nested with it, a nested display and operation mark is added in the corner area of an icon frame; when receiving a click operation on the nested operation mark , perform the corresponding display or hide action on the nested icon frame.

图5是与图4对应的图符框连接隐藏状态示意图,如图5所示,图符框41和图符框42(未示出)之间的嵌套关系处于隐藏状态,图符框41的区域上具有嵌套展示与操作标记S。Fig. 5 is a schematic diagram of the hidden state of the icon frame connection corresponding to Fig. 4, as shown in Fig. 5, the nested relationship between the icon frame 41 and the icon frame 42 (not shown) is in the hidden state, and the icon frame 41 has nested display and action markers S on the area.

操作标记S可以在图符框41的区域内的任意位置,本申请对操作标记S的位置不作限定。The operation mark S can be at any position within the area of the icon frame 41 , and the application does not limit the position of the operation mark S.

当接收对嵌套操作标记S进行点选操作时,图符框41和图符框42都被展示出来,处于如图4所示的展示状态;当接收对处于展示状态的嵌套操作标记S进行点选操作时,图符框42被隐藏起来,图符框41的区域上重新生成嵌套展示与操作标记S,回到图5所示的隐藏状态。When receiving the click operation on the nested operation mark S, the icon frame 41 and the icon frame 42 are displayed, in the display state as shown in Figure 4; when receiving the nested operation mark S in the display state When a click operation is performed, the icon frame 42 is hidden, and the nested display and operation mark S is regenerated on the area of the icon frame 41, returning to the hidden state shown in FIG. 5 .

在一些实施例中,当接收到对一个图符框的选择操作时,展示一个图符框的一个或多个连线响应符;当一个待连接的图符框被拖动至距一个图符框的一个连线响应符小于第一阈值间距值时,生成一个图符框至一个待连接的图符框之间的连接线。In some embodiments, when a selection operation on an icon box is received, one or more connection responders of an icon box are displayed; when an icon box to be connected is dragged When a connecting line responder of a frame is smaller than the first threshold distance value, a connecting line between an icon frame and an icon frame to be connected is generated.

图6是根据本发明一实施例的芯片图形化编程系统的运行方法的图符框自动连线示意图。FIG. 6 is a schematic diagram of automatic connection of icon frames of the operating method of the chip graphical programming system according to an embodiment of the present invention.

示例性地,如图6所示,用户对图符框61按下选择按键时,系统接收到对图符框61的选择操作时,图符框61的边框上会显示连线响应符61a,连线响应符61a的数量可以为4个,也可以为1个或其他数目,本申请对连线响应符的数量不作限制。Exemplarily, as shown in FIG. 6, when the user presses the selection button on the icon frame 61, when the system receives a selection operation on the icon frame 61, a connection response symbol 61a will be displayed on the border of the icon frame 61, The number of connection responders 61a may be 4, or 1 or other numbers, and this application does not limit the number of connection responders.

同时,本申请对连线响应符的位置也不做限制。当一个待连接的图符框61被拖动至想要连线的图符框62旁时,当图符框61和图符框62之间的间距值L1小于第一阈值间距值时,图符框61和图符框62之间的连接线H1会自动生成,此时,松开选择按键才会实际上把图符框61和图符框62连接在一起。At the same time, this application does not limit the position of the connection responder. When an icon frame 61 to be connected is dragged to the icon frame 62 that wants to be connected, when the interval value L1 between the icon frame 61 and the icon frame 62 is less than the first threshold interval value, the icon The connection line H1 between the symbol frame 61 and the symbol frame 62 will be automatically generated, and at this time, the symbol frame 61 and the symbol frame 62 will actually be connected together only when the selection button is released.

在图符框61被拖动至想要连线的图符框62的过程中经过其他图符框,例如图符框63,当图符框61和图符框63之间的间距值L2小于第一阈值间距值时,图符框61和图符框63之间的连接线H2会自动生成,此时不松开按住的选择按键,图符框61和图符框63就不会实际连接在一起。When the icon frame 61 is dragged to the icon frame 62 that wants to be connected, other icon frames, such as the icon frame 63, pass through other icon frames, when the distance value L2 between the icon frame 61 and the icon frame 63 is less than During the first threshold distance value, the connection line H2 between the icon frame 61 and the icon frame 63 can be automatically generated, and the selection button that is not released now, the icon frame 61 and the icon frame 63 will not be actual. connected together.

继续按住选择按键拖动图符框61,直到将图符框61放置到图符框62旁,再松开选择按键才会实际上把图符框61和图符框62连接在一起。Continue to hold down the selection button and drag the icon frame 61 until the icon frame 61 is placed next to the icon frame 62, and then release the selection button to actually connect the icon frame 61 and the icon frame 62 together.

在步骤S14中,生成代码编辑与展示区包括与图符框对应的代码段,并展示与图符框的排列分布和连接关系所代表的逻辑关系的代码嵌套关系。其中,每一代码段具有与图符框对应的标记符,标记符用来将代码段和图符框关联起来。代码段包括一个或多个代码行,在代码段的第一行代码行前一行有一个起始标记符,在代码段的最后一行代码行的后一行有一个终止标记符。在起始标记符和终止标记符之间的代码行具有相同的标记符。In step S14, the generated code editing and display area includes the code segment corresponding to the icon frame, and displays the code nesting relationship with the logical relationship represented by the arrangement distribution and connection relationship of the icon frame. Wherein, each code segment has a marker corresponding to the icon frame, and the marker is used to associate the code segment with the icon frame. A code segment consists of one or more lines of code with a start marker one line before the first code line of the code segment and a stop marker one line after the last code line of the code segment. Lines of code between the start tag and the end tag have the same tag.

如果一个图符框与另一个图符框为嵌套关系,在代码编辑与展示区内表示为一个代码段嵌套另一个代码段,被嵌套的代码段具有自己的标记符。If a symbol frame is nested with another symbol frame, it will be represented as a code segment nesting another code segment in the code editing and display area, and the nested code segment has its own marker.

当用户操作图符框编辑与展示区的图符框时,根据图符框与代码段关联的标记符,在代码编辑与展示区定位该图符框对应的代码段的代码行的位置。When the user operates the icon frame in the icon frame editing and display area, the position of the code line of the code segment corresponding to the icon frame is located in the code editing and display area according to the marker associated with the icon frame and the code segment.

在一些实施例中,可以设置该图符框对应的代码段的第一行的代码行突出显示,也可以将所有具有该标记符的代码行突出显示,本申请对此不作限制。In some embodiments, the code line of the first line of the code segment corresponding to the icon box may be highlighted, or all code lines with the symbol may be highlighted, which is not limited in the present application.

突出显示的方式可以是加底色,也可以是将代码文字显示与其他代码文字不同的颜色,或其他方式,本申请对此不作限制。The way of highlighting may be adding a background color, or displaying the code characters in a different color from other code characters, or other methods, which are not limited in this application.

当在代码编辑与展示区对代码行进行修改操作时,根据代码行对应的标记符与其所属的图符框关联。When the code line is modified in the code editing and display area, the corresponding marker of the code line is associated with the icon box to which it belongs.

在一些实施例中,所述标记符包括与所述代码行所在的代码段对应的图符框对应的字符标记和序号标记。字符标记和序号标记使代码行所在的代码段与对应的图符框实现关联,序号标记例如也可表征代码行在所述代码段中的顺序位置。In some embodiments, the marker includes a character mark and a serial number mark corresponding to the icon box corresponding to the code segment where the code line is located. The character mark and the sequence number mark associate the code segment where the code line is located with the corresponding icon frame, and the sequence number mark can also represent the sequence position of the code line in the code segment, for example.

如图2A所示,图符框编辑与展示区22内具有图符框221和图符框223。代码编辑与展示区23内具有图符框221对应的代码段C1和图符框223对应的代码段C2。As shown in FIG. 2A , the icon frame editing and display area 22 has an icon frame 221 and an icon frame 223 . The code editing and display area 23 has a code segment C1 corresponding to the icon frame 221 and a code segment C2 corresponding to the icon frame 223 .

图符框221和代码段C1通过标记符S1关联。图符框223和代码段C2通过标记符S2关联。图符框221和图符框223之间为嵌套关系,对应地,代码段C1和代码段C2也为嵌套关系。The icon box 221 and the code segment C1 are associated by a label S1. The symbol box 223 and the code segment C2 are associated by the symbol S2. The icon frame 221 and the icon frame 223 are in a nested relationship, and correspondingly, the code segment C1 and the code segment C2 are also in a nested relationship.

示例性的,代码段C1具有一行代码行C100,代码行C100的前一行具有起始标记符S1a,代码行C100的后一行具有终止标记符S1b。起始标记符S1a和终止标记符S1b之间的代码行C100具有标记符S1。Exemplarily, the code segment C1 has a code line C100, the line before the code line C100 has a start marker S1a, and the line after the code line C100 has an end marker S1b. A code line C100 between a start tag S1a and an end tag S1b has a tag S1.

代码段C2被嵌套在代码段C1中,示例性,代码段C2具有一行代码行C200,代码行C200的前一行具有起始标记符S2a,代码行C200的后一行具有终止标记符S2b。起始标记符S2a和终止标记符S2b之间的代码行C200具有标记符S2。当用户操作图符框223时,系统根据图符框223与代码段C2关联的标记符S2,会将光标自动定位到代码行C200上,同时将代码行C200突出显示。当用户在代码编辑与展示区对代码行C200进行操作时,根据代码行C200的标记符S2与其对应的图符框223相关联。The code segment C2 is nested in the code segment C1. For example, the code segment C2 has a code line C200, the line before the code line C200 has the start marker S2a, and the line after the code line C200 has the end marker S2b. A line of code C200 between a start tag S2a and an end tag S2b has a tag S2. When the user operates the icon box 223, the system will automatically position the cursor on the code line C200 according to the marker S2 associated with the icon box 223 and the code segment C2, and at the same time highlight the code line C200. When the user operates the code line C200 in the code editing and display area, the marker S2 according to the code line C200 is associated with its corresponding icon box 223 .

在一些实施例中,当在代码编辑与展示区接收到对一个代码段中的一个或多个代码行的编辑操作时,在图符框编辑与展示区将与一个或多个代码行所在的代码段对应的图符框标识为编辑中状态。In some embodiments, when an editing operation to one or more code lines in a code segment is received in the code editing and display area, the icon frame editing and display area will match the The icon box corresponding to the code segment is marked as being edited.

示例性地,如图2A所示,当用户在码编辑与展示区对代码行C200进行编辑操作时,根据代码行C200的标记符S2与其对应地图符框223相关联,并在图符框编辑与展示区将码行C200所在的代码段C2对应的图符框223标识为编辑中状态。Exemplarily, as shown in FIG. 2A, when the user performs an editing operation on the code row C200 in the code editing and display area, the marker S2 according to the code row C200 is associated with its corresponding symbol box 223, and edited in the symbol box The icon box 223 corresponding to the code segment C2 where the code line C200 is located in the display area is marked as being edited.

在一些实施例中,将图符框标识为编辑中状态可以是将图符框的外框颜色展示为与其余的图符框的外框不同的颜色,也可以以其他形式显示为编辑中状态,本申请对此不作限制。In some embodiments, marking the icon frame as being edited may be to display the outer frame color of the icon frame as a color different from that of the rest of the icon frames, or may be displayed as the editing state in other forms , this application is not limited to this.

在一些实施例中,芯片图形化编程系统的运行方法还包括当在图符框编辑与展示区接收到对一个图符框的选中操作时,展示与所述图符框对应的代码编辑框。In some embodiments, the operating method of the chip graphical programming system further includes displaying a code editing box corresponding to the icon box when a selection operation of an icon box is received in the icon box editing and display area.

当在代码编辑框接收到编辑完成操作时,将代码编辑的结果更新至代码编辑与展示区。其中,更新的代码中的每一代码行具有对应的标记符。具体地,当在图符框编辑与展示区接收到对一个图符框的选中操作时,生成一个与该图符框对应的代码编辑框并将该代码编辑框展示给用户。When the editing completion operation is received in the code editing box, the code editing result is updated to the code editing and display area. Wherein, each line of code in the updated code has a corresponding tag. Specifically, when a selection operation of an icon box is received in the icon box editing and display area, a code editing box corresponding to the icon box is generated and displayed to the user.

用户可以在该代码编辑框内编辑代码,在编辑过程中,编辑的代码并不会更新到代码编辑与展示区内。待编辑完成,用户选择保存操作后,代码编辑的结果会更新至代码编辑与展示区,更新的代码中的每一代码行都具有与该图符框对应的标记符。The user can edit the code in the code editing box. During the editing process, the edited code will not be updated in the code editing and display area. After the editing is completed and the user selects the save operation, the code editing result will be updated to the code editing and display area, and each code line in the updated code has a marker corresponding to the icon box.

在一些实施例中,如图2B所例示,芯片图形化编程系统的运行方法还包括工程项展示区24,工程项展示区用来展示与代码段相关的工程项文件视图。In some embodiments, as shown in FIG. 2B , the operating method of the chip graphical programming system further includes a project item display area 24 , and the project item display area is used to display project item file views related to code segments.

本申请的通过芯片图形化编程系统的运行方法通过将芯片拆解成多个芯片资源工具项,只需对芯片资源工具项的点选和拖动操作就可以实现芯片编程,简化了芯片编程过程中的开发步骤,缩短了开发周期。The operating method of the chip graphical programming system of the present application disassembles the chip into multiple chip resource tool items, and only needs to click and drag the chip resource tool items to realize chip programming, which simplifies the chip programming process In the development steps, shorten the development cycle.

本申请的通过芯片图形化编程系统的运行方法通过图符框的排列和连接关系表征芯片信号的传输与数据处理的逻辑关系,便于用户可视化编程,改善了用户的使用感受。The operating method of the chip graphical programming system of the present application represents the logical relationship between chip signal transmission and data processing through the arrangement and connection relationship of icon frames, which is convenient for users to visualize programming and improves user experience.

本申请的通过芯片图形化编程系统的运行方法通过标识符将图符框和代码段相关联,图符框和代码段可以双向同步,使用户使用系统进行程序开发时,开发过程的可视性极大提高,并使开发过程更友好、更顺畅。The operation method of the chip graphical programming system of the present application associates the icon frame with the code segment through the identifier, and the icon frame and the code segment can be synchronized in both directions, so that when the user uses the system for program development, the visibility of the development process Greatly improved and made the development process friendlier and smoother.

本申请还提供了一种芯片图形化编程系统,包括:存储器,用于存储可由处理器执行的指令;以及处理器,用于执行所述指令以实现本申请的任一种芯片图形化编程系统的运行方法。The present application also provides a chip graphical programming system, including: a memory for storing instructions executable by a processor; and a processor for executing the instructions to implement any chip graphical programming system of the present application method of operation.

图7是根据本申请一实施例示出的芯片图形化编程系统的系统框图。芯片图形化编程系统70可包括内部通信总线701、处理器(Processor)702、只读存储器(ROM)703、随机存取存储器(RAM)704、以及通信端口705。当应用在个人计算机上时,芯片图形化编程系统70还可以包括硬盘707。内部通信总线701可以实现芯片图形化编程系统70组件间的数据通信。处理器702可以进行判断和发出提示。在一些实施例中,处理器702可以由一个或多个处理器组成。通信端口705可以实现芯片图形化编程系统70与外部的数据通信。Fig. 7 is a system block diagram of a chip graphical programming system according to an embodiment of the present application. The chip graphical programming system 70 may include an internal communication bus 701 , a processor (Processor) 702 , a read only memory (ROM) 703 , a random access memory (RAM) 704 , and a communication port 705 . When applied to a personal computer, the chip graphical programming system 70 may also include a hard disk 707 . The internal communication bus 701 can realize data communication between components of the chip graphical programming system 70 . The processor 702 can make a judgment and issue a prompt. In some embodiments, processor 702 may consist of one or more processors. The communication port 705 can realize data communication between the chip graphical programming system 70 and the outside.

在一些实施例中,芯片图形化编程系统70可以通过通信端口705从网络发送和接受信息及数据。芯片图形化编程系统70还可以包括不同形式的程序储存单元以及数据储存单元,例如硬盘707,只读存储器(ROM)703和随机存取存储器(RAM)704,能够存储计算机处理和/或通信使用的各种数据文件,以及处理器702所执行的可能的程序指令。处理器执行这些指令以实现方法的主要部分。处理器处理的结果通过通信端口传给用户设备,在用户界面上显示。In some embodiments, the chip graphical programming system 70 can send and receive information and data from the network through the communication port 705 . Chip graphic programming system 70 can also include different forms of program storage units and data storage units, such as hard disk 707, read-only memory (ROM) 703 and random access memory (RAM) 704, which can store computer processing and/or communication usage various data files, and possibly program instructions executed by the processor 702. The processor executes these instructions to implement the main parts of the method. The result processed by the processor is transmitted to the user equipment through the communication port, and displayed on the user interface.

上述的芯片图形化编程系统的运行方法可以实施为计算机程序,保存在硬盘707中,并可记载到处理器702中执行,以实施本申请中的任一种芯片图形化编程系统的运行方法。The above-mentioned operating method of the chip graphical programming system can be implemented as a computer program, stored in the hard disk 707, and recorded in the processor 702 for execution, so as to implement any operating method of the chip graphical programming system in this application.

本申请还提供了一种存储有计算机程序代码的计算机可读介质,所述计算机程序代码在由处理器执行时实现如上所述的任一种芯片图形化编程系统的运行方法。The present application also provides a computer-readable medium storing computer program code, the computer program code implements any one of the above-mentioned operation methods of the chip graphical programming system when executed by a processor.

芯片图形化编程系统的运行方法实施为计算机程序时,也可以存储在计算机可读存储介质中作为制品。例如,计算机可读存储介质可以包括但不限于磁存储设备(例如,硬盘、软盘、磁条)、光盘(例如,压缩盘(CD)、数字多功能盘(DVD))、智能卡和闪存设备(例如,电可擦除可编程只读存储器(EPROM)、卡、棒、键驱动)。此外,本文描述的各种存储介质能代表用于存储信息的一个或多个设备和/或其它机器可读介质。术语“机器可读介质”可以包括但不限于能存储、包含和/或承载代码和/或指令和/或数据的无线信道和各种其它介质(和/或存储介质)。When the operating method of the chip graphical programming system is implemented as a computer program, it can also be stored in a computer-readable storage medium as a product. For example, computer-readable storage media may include, but are not limited to, magnetic storage devices (e.g., hard disk, floppy disk, magnetic stripe), optical disks (e.g., compact disk (CD), digital versatile disk (DVD)), smart cards, and flash memory devices ( For example, Electrically Erasable Programmable Read Only Memory (EPROM), card, stick, key drive). Additionally, various storage media described herein can represent one or more devices and/or other machine-readable media for storing information. The term "machine-readable medium" may include, but is not limited to, wireless channels and various other media (and/or storage media) capable of storing, containing and/or carrying code and/or instructions and/or data.

应该理解,上文所描述的实施例仅是示意。本文描述的实施例可在硬件、软件、固件、中间件、微码或者其任意组合中实现。对于硬件实现,处理单元可以在一个或者多个特定用途集成电路(ASIC)、数字信号处理器(DSP)、数字信号处理设备(DSPD)、可编程逻辑器件(PLD)、现场可编程门阵列(FPGA)、处理器、控制器、微控制器、微处理器和/或设计为执行本文所述功能的其它电子单元或者其结合内实现。It should be understood that the embodiments described above are illustrative only. Embodiments described herein may be implemented in hardware, software, firmware, middleware, microcode, or any combination thereof. For hardware implementation, the processing unit can be implemented in one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays ( FPGA), processors, controllers, microcontrollers, microprocessors, and/or other electronic units designed to perform the functions described herein, or combinations thereof.

上文已对基本概念做了描述,显然,对于本领域技术人员来说,上述申请披露仅仅作为示例,而并不构成对本申请的限定。虽然此处并没有明确说明,本领域技术人员可能会对本申请进行各种修改、改进和修正。该类修改、改进和修正在本申请中被建议,所以该类修改、改进、修正仍属于本申请示例性实施例的精神和范围。The basic concepts have been described above. Obviously, for those skilled in the art, the above disclosure is only an example and does not constitute a limitation to the present application. Although not expressly stated here, various modifications, improvements and amendments to this application may be made by those skilled in the art. Such modifications, improvements, and amendments are suggested in this application, so such modifications, improvements, and amendments still belong to the spirit and scope of the exemplary embodiments of this application.

同时,本申请使用了特定词语来描述本申请的实施例。如“一个实施例”、“一实施例”、和/或“一些实施例”意指与本申请至少一个实施例相关的某一特征、结构或特点。因此,应强调并注意的是,本说明书中在不同位置两次或多次提及的“一实施例”或“一个实施例”或“一替代性实施例”并不一定是指同一实施例。此外,本申请的一个或多个实施例中的某些特征、结构或特点可以进行适当的组合。Meanwhile, the present application uses specific words to describe the embodiments of the present application. For example, "one embodiment", "an embodiment", and/or "some embodiments" refer to a certain feature, structure or characteristic related to at least one embodiment of the present application. Therefore, it should be emphasized and noted that two or more references to "an embodiment" or "an embodiment" or "an alternative embodiment" in different places in this specification do not necessarily refer to the same embodiment . In addition, certain features, structures or characteristics of one or more embodiments of the present application may be properly combined.

本申请的一些方面可以完全由硬件执行、可以完全由软件(包括固件、常驻软件、微码等)执行、也可以由硬件和软件组合执行。以上硬件或软件均可被称为“数据块”、“模块”、“引擎”、“单元”、“组件”或“系统”。处理器可以是一个或多个专用集成电路(ASIC)、数字信号处理器(DSP)、数字信号处理器件(DAPD)、可编程逻辑器件(PLD)、现场可编程门阵列(FPGA)、处理器、控制器、微控制器、微处理器或者其组合。此外,本申请的各方面可能表现为位于一个或多个计算机可读介质中的计算机产品,该产品包括计算机可读程序编码。例如,计算机可读介质可包括,但不限于,磁性存储设备(例如,硬盘、软盘、磁带……)、光盘(例如,压缩盘CD、数字多功能盘DVD……)、智能卡以及闪存设备(例如,卡、棒、键驱动器……)。Some aspects of the present application may be entirely implemented by hardware, may be entirely implemented by software (including firmware, resident software, microcode, etc.), or may be implemented by a combination of hardware and software. The above hardware or software may be referred to as "block", "module", "engine", "unit", "component" or "system". The processor can 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 , a controller, a microcontroller, a microprocessor, or a combination thereof. Additionally, aspects of the present application may be embodied as a computer product comprising computer readable program code on 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 tape...), optical disks (e.g., compact disk CD, digital versatile disk DVD...), smart cards, and flash memory devices ( For example, cards, sticks, key drives...).

同理,应当注意的是,为了简化本申请披露的表述,从而帮助对一个或多个申请实施例的理解,前文对本申请实施例的描述中,有时会将多种特征归并至一个实施例、附图或对其的描述中。但是,这种披露方法并不意味着本申请对象所需要的特征比权利要求中提及的特征多。实际上,实施例的特征要少于上述披露的单个实施例的全部特征。In the same way, it should be noted that in order to simplify the expression disclosed in this application and thus help the understanding of one or more application embodiments, in the foregoing descriptions of the embodiments of the application, sometimes multiple features are combined into one embodiment, drawings or descriptions thereof. This method of disclosure does not, however, imply that the subject matter of the application requires more features than are recited in the claims. Indeed, embodiment features are less than all features of a single foregoing disclosed embodiment.

虽然本申请已参照当前的具体实施例来描述,但是本技术领域中的普通技术人员应当认识到,以上的实施例仅是用来说明本申请,在没有脱离本申请精神的情况下还可做出各种等效的变化或替换,因此,只要在本申请的实质精神范围内对上述实施例的变化、变型都将落在本申请的权利要求书的范围内。Although the present application has been described with reference to the current specific embodiments, those of ordinary skill in the art should recognize that the above embodiments are only used to illustrate the present application, and can be made without departing from the spirit of the present application. Various equivalent changes or substitutions are made, therefore, as long as the changes and modifications to the above embodiments are within the true spirit of the application, they will all fall within the scope of the claims of the application.

Claims (12)

1. A method for operating a chip graphical programming system comprises the following steps:
generating a chip resource tool display area, wherein the chip resource tool display area comprises a plurality of chip resource tool items;
forming an icon frame editing and displaying area, receiving clicking and dragging operations of the chip resource tool item in the chip resource tool displaying area, and generating an icon frame corresponding to the chip resource tool item when the dragging operations are monitored in the icon frame editing and displaying area;
arranging and connecting a plurality of icon frames in the icon frame editing and displaying area to represent the logical relationship between the transmission of chip signals and data processing;
generating a code editing and displaying area, wherein the code editing and displaying area comprises code segments corresponding to the icon frames and displays a code nesting relation of the logical relation represented by the arrangement distribution and connection relation of the icon frames;
the code segments comprise one or more code lines, each code segment is provided with a corresponding marker, the marker is associated with an icon frame corresponding to the code segment where the code line is located, and when a modification operation on the code line is received, the result of the modification operation is associated with the icon frame according to the marker corresponding to the code line.
2. The method for operating the chip graphic programming system according to claim 1, further comprising displaying a code edit box corresponding to an icon box when a check operation for the icon box is received in the icon box edit and display area;
when the code editing frame receives an editing completion operation, updating the result of the code editing to the code editing and displaying area;
wherein each line of code in the code being updated has a corresponding marker.
3. The method of claim 1, wherein the operations of arranging and connecting the plurality of frames in the frame editing and displaying area are performed, and the logical relationship between the transmission of chip signals and data processing comprises:
in the icon frame editing and displaying area, a horizontal connecting line between the icon frames represents a nesting relation with the code segments corresponding to the icon frames, and a vertical connecting line between the icon frames represents a sequential operation relation with the code segments corresponding to the icon frames.
4. The method for operating the chip graphic programming system according to claim 1, further comprising, before the step of generating the chip resource tool exposure area:
presenting a new project page, and receiving a board-level support package operation of a lead-in chip;
and presenting a chip configuration interface, wherein the chip configuration interface comprises a chip resource list item corresponding to the board-level support package, receiving click operation on the chip resource list item, and determining a chip resource tool required by graphical programming.
5. The method for operating the chip graphic programming system according to claim 3, wherein the arranging and connecting the plurality of icon frames in the icon frame editing and displaying area comprises: when one icon frame comprises the icon frame nested with the icon frame, adding nested display and operation marks in the corner area of the icon frame;
and when receiving the clicking operation on the nested operation mark, carrying out corresponding display or hiding action on the nested icon frame.
6. The method for operating the chip graphic programming system according to claim 3, wherein the arranging and connecting the plurality of icon frames in the icon frame editing and displaying area comprises:
when a selection operation for one icon frame is received, displaying one or more link responders of the icon frame;
and when one icon frame to be connected is dragged to a connecting line responder which is less than a first threshold distance value from the icon frame, generating a connecting line from the icon frame to be connected.
7. The method according to claim 4, wherein the chip configuration interface includes a chip graphic area corresponding to the list item of chip resources, and when receiving a clicking operation on the list item of chip resources, the chip graphic area renders the chip pin where the clicked list item of chip resources is located and the function mark corresponding to the pin to a color different from the color of the rest pins and the function marks corresponding to the pins.
8. The method for operating the chip graphic programming system according to claim 1, wherein the tag comprises a character tag and a serial number tag corresponding to an icon frame corresponding to the code segment where the code line is located.
9. The method for operating a chip graphical programming system according to claim 1, further comprising, when an editing operation for one or more of the code lines in one of the code segments is received in the code editing and displaying area, identifying an icon frame corresponding to the code segment in which the one or more of the code lines are located as an editing state in the icon frame editing and displaying area.
10. The method for operating the chip graphic programming system according to claim 9, wherein the identifying the icon frame corresponding to the code segment where the one or more code lines are located as the editing state comprises: and displaying the color of the outer frame of the icon frame to be different from the color of the outer frames of the rest icon frames.
11. A chip patterning programming system, comprising:
a memory for storing instructions executable by the processor; and
a processor executing the instructions to implement the method of any of claims 1-10.
12. A computer-readable medium having stored thereon computer program code which, when executed by a processor, implements the method of any of claims 1-10.
CN202111432472.0A 2021-11-29 2021-11-29 Graphical chip programming system, system operation method and computer readable medium Pending CN115469852A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111432472.0A CN115469852A (en) 2021-11-29 2021-11-29 Graphical chip programming system, system operation method and computer readable medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111432472.0A CN115469852A (en) 2021-11-29 2021-11-29 Graphical chip programming system, system operation method and computer readable medium

Publications (1)

Publication Number Publication Date
CN115469852A true CN115469852A (en) 2022-12-13

Family

ID=84363425

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111432472.0A Pending CN115469852A (en) 2021-11-29 2021-11-29 Graphical chip programming system, system operation method and computer readable medium

Country Status (1)

Country Link
CN (1) CN115469852A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118132053A (en) * 2024-05-10 2024-06-04 青岛国创智能家电研究院有限公司 A method and device for generating chip hardware configuration code

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080098349A1 (en) * 2001-10-25 2008-04-24 The Mathworks, Inc. Traceability in a modeling environment
US20160018952A1 (en) * 2014-07-21 2016-01-21 Aptitude Software Limited Multi-Format Editors
US9983855B1 (en) * 2016-12-29 2018-05-29 Walmart Apollo, Llc Systems, method, and non-transitory computer-readable storage media for displaying software components
US20190072929A1 (en) * 2017-09-06 2019-03-07 Rockwell Automation Technologies, Inc. Ladder logic graphical programming and textual programming synchronization
CN112860244A (en) * 2021-02-26 2021-05-28 西南大学 Graphical programming method and system
CN113126977A (en) * 2019-12-31 2021-07-16 深圳市赛元微电子有限公司 Graphical programming system and method for realizing graphical programming of single chip microcomputer

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080098349A1 (en) * 2001-10-25 2008-04-24 The Mathworks, Inc. Traceability in a modeling environment
US20160018952A1 (en) * 2014-07-21 2016-01-21 Aptitude Software Limited Multi-Format Editors
US9983855B1 (en) * 2016-12-29 2018-05-29 Walmart Apollo, Llc Systems, method, and non-transitory computer-readable storage media for displaying software components
US20190072929A1 (en) * 2017-09-06 2019-03-07 Rockwell Automation Technologies, Inc. Ladder logic graphical programming and textual programming synchronization
CN113126977A (en) * 2019-12-31 2021-07-16 深圳市赛元微电子有限公司 Graphical programming system and method for realizing graphical programming of single chip microcomputer
CN112860244A (en) * 2021-02-26 2021-05-28 西南大学 Graphical programming method and system

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
胡国永: "《图形化程序编写教程》", 28 February 2021, 哈尔滨工程大学出版社, pages: 162 - 164 *
范效玮: "基于单片机的图形化编程平台的设计与实现", 中国优秀硕士学位论文全文数据库· 信息科技, vol. 2016, no. 3, 15 March 2016 (2016-03-15) *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118132053A (en) * 2024-05-10 2024-06-04 青岛国创智能家电研究院有限公司 A method and device for generating chip hardware configuration code

Similar Documents

Publication Publication Date Title
US10068040B2 (en) Method and apparatus for transaction recording and visualization
KR100921357B1 (en) Product edition and simulation database system with user interactive graphical tool
CA2951145C (en) Page constructor and page constructing method
CN103208046B (en) Workflow engine architecture method and system based on interactive dynamic flowchart
CN105930064B (en) The method and system and calculating equipment of item in managing user interface
CN112364496A (en) Avionics simulation panel generation system based on HTML5 and VUE technology
CN116627418B (en) Multi-level form interface visual generation method and device based on recursion algorithm
CN103019738B (en) The digital control system that a kind of interface can customize and implementation method
CN114270313A (en) Computer-implemented method, computer program and physical computing environment
CN107562710B (en) A chart processing device and method
US20080040677A1 (en) HMI Development Support Apparatus, HMI Development Support Method and HMI Development Support Program
CN101198957B (en) Method and device for generation of a parametric model associated with a 3d geometry
CN115469852A (en) Graphical chip programming system, system operation method and computer readable medium
CN102446097B (en) Method for changing user interface skins
US20110298809A1 (en) Animation editing device, animation playback device and animation editing method
CN112631585A (en) XML-based rapid parameter interface configuration method
JP6600953B2 (en) Information processing apparatus, information processing apparatus control method, information processing system, and program
CN113128524A (en) Key point marking method and device
CN102436374B (en) Method capable of customizing skin of user interface
CN119148907A (en) Portable map legend component based on Goldmap API and layer loading method thereof
WO2013170525A1 (en) Method and device for presenting or drawing logical flow relationship of computer application program organization in the form of logical flow chart
CN107491311A (en) Method and system for generating page file and computer equipment
CN102360293A (en) Method for replacing skins of user interface
CN115700505A (en) A method and system for automatically constructing and dynamically configuring a large visual screen
CN116185197A (en) Method, device, device and storage medium for editing virtual objects

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