CN112966457A - Graphical cloud development platform - Google Patents

Graphical cloud development platform Download PDF

Info

Publication number
CN112966457A
CN112966457A CN202110223849.5A CN202110223849A CN112966457A CN 112966457 A CN112966457 A CN 112966457A CN 202110223849 A CN202110223849 A CN 202110223849A CN 112966457 A CN112966457 A CN 112966457A
Authority
CN
China
Prior art keywords
plug
graphic
script interpreter
program
programming
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.)
Granted
Application number
CN202110223849.5A
Other languages
Chinese (zh)
Other versions
CN112966457B (en
Inventor
向诗雨
严伟豪
王若楠
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to CN202110223849.5A priority Critical patent/CN112966457B/en
Publication of CN112966457A publication Critical patent/CN112966457A/en
Application granted granted Critical
Publication of CN112966457B publication Critical patent/CN112966457B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/30Circuit design
    • G06F30/31Design entry, e.g. editors specifically adapted for circuit design
    • 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2115/00Details relating to the type of the circuit
    • G06F2115/02System on chip [SoC] design

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • General Physics & Mathematics (AREA)
  • Evolutionary Computation (AREA)
  • Geometry (AREA)
  • Stored Programmes (AREA)

Abstract

The invention provides a graphical cloud development platform, which comprises: the plug-in manufacturing module is used for manufacturing and/or uploading a plug-in file containing chip information; the plug-in processing module is used for analyzing and processing the plug-in file, generating a corresponding SDK program package and JSON datagram and recording the SDK program package and the JSON datagram in a database; the script interpreter making module is used for generating a script interpreter executable file and a script interpreter information table according to the selected plug-in and the corresponding SDK program package; the graphic programming module is used for providing a graphic programming interface and carrying out graphic rendering according to the JSON datagram to generate a graphic programming datagram; and the script program generating module is used for generating a script program according to the graphic programming datagram, and the script program is used for driving the script interpreter executable file. Through graphical programming, the programming threshold can be reduced, the program logicality and structurality are improved, non-professionals can easily perform embedded programming, and the programming can be performed by using portable equipment such as a mobile phone, a tablet and the like.

Description

Graphical cloud development platform
Technical Field
The invention relates to the field of graphical programming, in particular to a graphical cloud development platform.
Background
With the development of the times, the use threshold of science and technology is gradually reduced, but the threshold of the invention of science and technology is still high, for a common non-scientific and technical practitioner, knowledge required for mastering hardware programming and circuit design for manufacturing a simple singlechip design is very complicated, and the method is not limited to be without a foundation, cannot be used for planning targeted learning, and is more difficult to learn. There is also an open source item on the market today, Ardu i no, that seems to improve this situation. However, in practical situations, because the Ardu i no source code relates to C + +, it is difficult for a novice user to implement the method independently at a place other than the frame, which causes a situation that the user is always restricted by the frame and cannot override the frame. And because the system is a foreign open source project, the system is not really suitable for domestic users because the system is poor in Chinese support for documents and a plurality of frames.
Disclosure of Invention
The invention aims to overcome the defects in the prior art, and provides a graphical cloud development platform, which adopts an imaging programming mode to replace the traditional C/C + + programming mode, thereby greatly reducing the learning threshold and improving the learning efficiency.
The purpose of the invention is realized by the following technical scheme:
a graphical cloud development platform, comprising:
the plug-in manufacturing module is used for manufacturing and/or uploading a plug-in file containing chip information;
the plug-in processing module is used for analyzing and processing the plug-in file, generating a corresponding SDK program package and JSON datagram and recording the SDK program package and the JSON datagram in a database;
the script interpreter manufacturing module is used for generating a script interpreter executable file and a script interpreter information table according to the selected plug-in and the corresponding SDK program package on the basis of the database;
the graphic programming module is used for providing a graphic programming interface and carrying out graphic rendering according to the JSON datagram to generate a graphic programming datagram;
and the script program generating module is used for generating a script program according to the graphic programming datagram, and the script program is used for driving the script interpreter executable file script interpreter making module script interpreter selecting module.
The method has the advantages that cloud programming can be realized through the cooperation of the SDK and the JSON datagram, so that the pressure of user equipment is reduced. Meanwhile, through graphical programming, the programming threshold can be reduced, the program logicality and structurality are improved, non-professionals can easily perform embedded programming, and the programming can be performed by using portable equipment such as a mobile phone and a tablet.
The script interpreter selection module is used for uploading a local script interpreter information table, generating a corresponding script interpreter executable file according to the local script interpreter information table, and uploading the script interpreter executable file and the script interpreter information table in a public database.
Further, the plug-in file comprises one or more plug-in function contents, and each plug-in function content comprises four core data: function codes, interface usage, function descriptions and display effects.
Further, each core data is composed of one or more passwords and a plurality of members corresponding to each password, and each member comprises one or more of codes, fields and characters; the password is used to determine the role and processing method of the corresponding member.
The plug-in processing module is used for analyzing and processing the plug-in file, positioning is only needed according to the password, corresponding processing functions are executed on the appointed blocks, the requirement on the specific format of the plug-in is lowered, a modularized effect is obtained, the process of positioning the inside of the program is more convenient and faster, and the modification of the plug-in file is more convenient. Meanwhile, if the plug-in file is designed according to a fixed format, if the plug-in rule is adjusted in the future, the whole plug-in processing module needs to be modified in a large range, which is very inconvenient, and if the password is used, the password and the processing mode thereof need to be increased or the corresponding password area needs to be modified according to the actual adjustment, which is more efficient.
Further, the plug-in processing module is configured to parse and process the plug-in file, generate a corresponding SDK package and JSON datagram, and record the SDK package and the JSON datagram in a database, and specifically includes:
copying the member content of the function codes according to the password, and combining the function codes of all the plug-in functions in the plug-in file to generate a C language SDK program package;
extracting member contents of the interface usage according to the password, generating C language API information, recording and storing the C language API information in a database in a data table mode, and generating graphic interface attribute information and temporarily storing the graphic interface attribute information;
extracting the member content of the function description according to the password, generating graphic function description information and temporarily storing the graphic function description information;
extracting the member content of the display effect according to the password, generating graphic display effect information and temporarily storing the graphic display effect information;
and combining the graphic interface attribute information, the graphic function description information and the graphic display effect information to generate and store the JSON datagram, and recording information in a database.
The method has the advantages that the SDK can be preprocessed and compiled by calling the API of the SDK to compile and compile the program, meanwhile, the method needs less processing when compiling and linking, and can effectively shorten the compiling time of the program and reduce the occupation of server resources; the API can be recorded in a data table form, so that the speed of calling API information in post processing can be increased, and the occupation of server resources can be reduced; by generating the JSON file in advance instead of processing the plug-in file in real time, the JSON generation time in the later period can be reduced, and the occupation of server resources is reduced.
Further, the script interpreter making module is used for generating a script interpreter executable file and a script interpreter information table according to the selected plug-in and the corresponding SDK program package based on the database, and comprises the following steps:
based on the database, packaging the API of the SDK program package corresponding to the selected plug-in through a search program, adding a Bootloader program, and generating a script interpreter program file together;
compiling the script interpreter program file through a cross compiling tool to generate the script interpreter executable file, and simultaneously generating a script interpreter information table consisting of the selected plug-ins, wherein the script interpreter information table comprises the plug-in information and/or the content of a graphical programming interface selected by the script interpreter executable file.
The method has the advantages that the method can directly use the lighter-weight information table for sharing when the projects between networks are shared, can generate the corresponding graphical programming interface by processing the information table more conveniently than processing the executable file of the script interpreter, and can easily realize the mutual propagation and calling between the projects.
Further, the graphic programming module is configured to provide a graphic programming interface, and performing graphic rendering according to the JSON datagram to generate a graphic programming datagram includes:
and generating the graphic programming datagram in the graphic programming interface by packaging interface connection information and each icon attribute information of an attribute column, wherein the content of the graphic programming datagram comprises program operation logic and data flow direction logic corresponding to the operation calling logic and parameter setting of each API in the SDK program packet.
Further, the process of generating the script interpreter executable file by the script program generation module comprises:
coding the contents of the operation calling logic of the API to generate function calling codes and sequencing the function calling codes;
coding the content of the parameter setting to generate a plurality of strings of data calling codes and sequencing;
splitting the content of the parameter setting into constant data and variable data;
according to different types of the constant data and the variable data, subdividing the constant data and the variable data to generate a plurality of strings of data calling codes;
and adding keywords, isolating the function calling codes from the multi-string data calling codes, and packaging the isolated data to generate the script program.
The further scheme has the advantages that the method is helpful for users to clear own logics and beautify interfaces in modes of connection, inclusion relation and the like.
Further, the graphical programming interface includes a toolbar, a plug-in bar, a property bar, an annotation bar, and a graphical programming bar.
The method has the advantages that a changeable graphical programming interface is provided, content display can be screened according to plug-in selection, arrangement during plug-in selection can be increased, and redundant functions can be prevented from appearing on the interface.
Further, the plug-in bar comprises plug-in function icons, and the plug-in function icons are generated by rendering the JSON datagram of the selected plug-in the front-end network.
Further, the graphic programming bar is a drawing interface, and the graphic programming is carried out by dragging the plug-in function icon into the graphic programming bar.
Drawings
Fig. 1 is a block diagram of a graphical cloud development platform according to the present invention.
As shown in Table 1, the terms and definitions used in the present invention are:
TABLE 1
Figure BDA0002954730930000051
Figure BDA0002954730930000061
Detailed Description
The technical solutions of the present invention are further described in detail below with reference to the accompanying drawings, but the scope of the present invention is not limited to the following.
Example 1
A graphical cloud development platform, comprising:
the plug-in manufacturing module is used for manufacturing and/or uploading a plug-in file containing chip information;
the plug-in processing module is used for analyzing and processing the plug-in file, generating a corresponding SDK program package and JSON datagram and recording the SDK program package and the JSON datagram in a database;
the script interpreter manufacturing module is used for generating a script interpreter executable file and a script interpreter information table according to the selected plug-in and the corresponding SDK program package on the basis of the database;
the graphic programming module is used for providing a graphic programming interface and carrying out graphic rendering according to the JSON datagram to generate a graphic programming datagram;
and the script program generating module is used for generating a script program according to the graphic programming datagram, and the script program is used for driving the script interpreter executable file.
The script interpreter selection module is used for uploading a local script interpreter information table, generating a corresponding script interpreter executable file according to the local script interpreter information table, and uploading the script interpreter executable file and the script interpreter information table in a public database.
In this embodiment, the plug-in making module provides a plug-in file uploading interface and a plug-in making page, and can make a plug-in file by filling content in the plug-in making page and sending the filled data to the server; the plug-in file uploading interface is a webpage and server interaction interface, and local plug-in files can be uploaded to the server through the interface, so that the requirement of a user for offline plug-in file production is met.
In this embodiment, the plug-in file includes one or more plug-in function contents, and each of the plug-in function contents includes four core data: function code (C language SDK code), interface usage (C language API generated information), function description, and display effect.
Each core data is composed of one or more passwords and a plurality of members corresponding to each password, and each member comprises one or more of codes, fields and characters; the password is used to determine the role and processing method of the corresponding member.
When the plug-in processing module analyzes and processes the plug-in file, the plug-in processing module only needs to position according to the password and execute corresponding processing functions on the appointed block, the requirement on the specific format of the plug-in is reduced, a modularized effect is obtained, the process of positioning the inside of the program is more convenient and faster, and the modification of the plug-in file is more convenient. Meanwhile, if the plug-in file is designed according to a fixed format, if the plug-in rule is adjusted in the future, the whole plug-in processing module needs to be modified in a large range, which is very inconvenient, and if the password is used, the password and the processing mode thereof need to be increased or the corresponding password area needs to be modified according to the actual adjustment, which is more efficient.
For example, there are three kinds of passwords originally set by one program, but when a new function needs to be added and a fourth password needs to be set, the original script program can still run on the new script interpreter without conflict after the addition.
In this embodiment, the plug-in file is divided into a bottom plug-in directly related to the chip or development board characteristics and an algorithm plug-in not directly related to the chip, and the bottom plug-in has a purpose of solving the following problems: the compatibility problem exists in different chips or development boards due to the characteristics of clock, memory size and the like, or the bottom layer characteristics or functions which need to call chip internal registers and operate accurate addresses in the chips.
The manufacturing requirements of the bottom layer insert are as follows: the bottom layer plug-in requires that on the basis of four core function contents required by the plug-in function of the plug-in file, at least information which influences code compatibility for a chip, crystal oscillator configuration and the like is added in a core part form (one or more passwords + corresponding to a plurality of members).
The function code part of the algorithm plug-in only needs to use C language API provided by the official or generated by other plug-in interface usage core parts, and the purpose of the requirement is to prevent the code from being influenced by the underlying characteristics or functions when the algorithm plug-in is manufactured to cause compatibility loss.
The same bottom layer plug-in can be made into a plurality of different chip versions, the functions realized in the bottom layer plug-ins are the same, the API is the same, the function code core part is different in realization, and the bottom layer plug-ins are regarded as the versions of the same plug-in on different chips. The plug-in is manufactured according to the requirement, and the compatibility of the plug-in during multiplexing is improved.
And the plug-in making page packages the input content in a plug-in file format and sends the packaged input content to the server.
And inputting the member part of each core part in the input field, and combining the member part of the input field with the corresponding password to generate the plug-in file.
In this embodiment, the plug-in file processing module is configured to parse and process the plug-in file, generate a corresponding SDK package and JSON datagram, and record corresponding information in a database, and specifically includes:
copying the member content of the function codes according to the password, and combining the function codes of all the plug-in functions in the plug-in file to generate a C language SDK program package;
extracting member contents of the interface usage according to the password, generating C language API information, recording and storing the C language API information in a database in a data table mode, and generating graphic interface attribute information and temporarily storing the graphic interface attribute information; the API can be recorded in a data table form, so that the speed of calling API information in post processing can be increased, and the occupation of server resources can be reduced; by calling the API of the SDK to compile the program, the SDK can be preprocessed and compiled, and meanwhile, the method needs less processing when compiling and linking, so that the program compiling time can be effectively shortened, and the occupation of server resources can be reduced.
Extracting the member content of the function description according to the password, generating graphic function description information and temporarily storing the graphic function description information;
extracting the member content of the display effect according to the password, generating graphic display effect information and temporarily storing the graphic display effect information; and deleting the plug-in file which is analyzed and completed.
And combining the graphic interface attribute information, the graphic function description information and the graphic display effect information to generate and store the JSON datagram, and recording information in a database. By generating the JSON file in advance instead of processing the plug-in file in real time, the JSON generation time in the later period can be reduced, and the occupation of server resources is reduced.
In this embodiment, the generating, by the script interpreter creating module, a script interpreter executable file and a script interpreter information table according to the selected plug-in and the corresponding SDK package based on the database includes:
and the server generates a plug-in list in the interpreter making module according to the information recorded by the SDK in the database, wherein each plug-in corresponds to one SDK program package. The general introduction of the plug-in and the introduction of the functions inside can be known by looking at the plug-in list.
Based on the database, packaging the API of the SDK program package corresponding to the selected plug-in through a search program, adding a Bootloader program, and generating a script interpreter program file together;
compiling the script interpreter program file through a cross compiling tool to generate the script interpreter executable file, and simultaneously generating a script interpreter information table consisting of the selected plug-ins, wherein the script interpreter information table comprises the plug-in information and/or the content of a graphical programming interface selected by the script interpreter executable file.
Because the script program is based on the logic and data relation, the volume of the script program is small, the generation time of the script program can be effectively shortened, the information density of the script program is improved, and the formal operation of the script program from the completion of the manufacture to the downloading and the uploading to the chip is faster than that of the conventional programming compiling and burning mode. Meanwhile, because the script program space is small and the script interpreter program can be provided with Bootloader, the functions of multi-platform portable programming such as mobile phones, panels and the like, IAP and the like can be realized. The script interpreter program file and the script program, and the user can add functions by adding keywords to realize function extension. The conventional programming, compiling and burning mode needs to complete the following work: programming, cross compiling, and burning the c language operable file generated after compiling through a JTAG simulator. In the case of cloud programming, a process of downloading the executable file is added after compiling. The script interpreter executable file is burnt in advance, so that the connection logic of the script interpreter is only required to be packaged into a script program after programming is completed, and compared with cross compiling, the process is quicker, and less information needs to be processed. Then, because we generate fewer messages, the downloading takes less time. Moreover, the Bootloader can be directly used for burning without the help of the jtag, so that the method is more convenient and easy to use.
In this embodiment, the IAP is an acronym of In Application Programming, and the IAP is a program of a User to write a partial area of the User Flash during operation, so as to conveniently update and upgrade a firmware program In a product through a reserved communication port after the product is released. Here Bootloader is an implementation method and once Bootloader is implemented, it is equal to implementing IAP functions.
When the projects between networks are shared, the lighter information table can be directly used for sharing, the corresponding graphical programming interface can be generated by processing the information table, and the method is more convenient than processing the executable file of the script interpreter and is easier to realize the mutual propagation and calling between the projects.
In this embodiment, the graphics programming module is configured to provide a graphics programming interface, and the generating the graphics programming datagram by performing graphics rendering according to the JSON datagram includes:
and generating the graphic programming datagram in the graphic programming interface by packaging interface connection information and each icon attribute information of an attribute column, wherein the content of the graphic programming datagram comprises program operation logic and data flow direction logic corresponding to the operation calling logic and parameter setting of each API in the SDK program packet.
In this embodiment, a datagram is a basic unit of data transmitted through a network, and includes a header (header) and the data itself, where the header describes the destination of the data and the relationship with other data. Datagrams are self-contained, independent data entities that carry information to be passed from a source computer to a destination computer, and in this embodiment JSON datagrams contain data required for front-end rendering.
In this embodiment, the spatial connection lines may be understood as the flow connection arrangement to the programming module, similar to the connection lines of the drawn program block diagram. Attribute tuning can be understood as: parameter adjustment to the programming module is similar to the process of programming call function pass parameters. The backend may be understood as a service running in a web server.
In this embodiment, the graphical programming interface includes a toolbar, a plug-in bar, a property bar, an annotation bar, a graphical programming bar, and the like.
The toolbar provides basic engineering operations such as new construction, save construction, download construction, upload construction, share construction or load construction and convenient tools such as code conversion and calculator tools. The user can create and store a project on the cloud platform, or download the project to the local in an off-line mode and upload the project again when needed, and can share the common platform or load the project using the common platform.
In this embodiment, the plug-in bar is generated according to the selected plug-in file recorded by the script interpreter information table.
The add-in bar is a graphical presentation bar in which add-in function icons listed therein may be selected.
And according to the script interpreter information table, the server finds the JSON datagram corresponding to the plug-in after analyzing the JSON datagram and sends the JSON datagram to the front end of the webpage.
And the plug-in column part analyzes the JSON datagram, a plug-in icon list is finally generated after rendering, all plug-in functions of the selected plug-in are listed through characters, and the characters are recorded in the JSON datagram graphic function description information.
In actual operation, a plug-in is selected by a mouse, after the list is expanded, the mouse is hovered above the corresponding plug-in function to generate a floating window, plug-in function icons are displayed in the floating window, and the function icons are composed of integral appearances and interface icons. The icon generates the appearance of the interface icon such as the number and the shape of the interface according to the graphic interface attribute information in the JSON datagram, and generates the overall appearance such as the color, the size and the shape according to the control of the graphic display effect information. And carrying out graphical programming by dragging the plug-in function icon to the graphical programming bar.
The attribute column can perform parameter configuration on each function icon in programming, the function configuration of the icon can be performed by clicking the non-interface icon part of the function icon, and part of the configuration can be reflected and displayed on the function icon.
The annotations in the annotation column can be classified into official annotations, plug-in annotations and module annotations, exist in a text form, and are used for explaining the content of icons, attributes, functions and the like appearing in a programming interface.
A changeable graphical programming interface is provided, content display can be screened according to plug-in selection, the arrangement during plug-in selection can be increased, and redundant functions can be prevented from appearing on the interface.
In this embodiment, the process of generating the script interpreter executable file by the script program generating module includes:
coding the contents of the operation calling logic of the API to generate function calling codes and sequencing the function calling codes;
coding the content of the parameter setting to generate a plurality of strings of data calling codes and sequencing;
splitting the content of the parameter setting into constant data and variable data;
according to different types of the constant data and the variable data, subdividing the constant data and the variable data to generate a plurality of strings of data calling codes;
and adding keywords, isolating the function calling codes from the multi-string data calling codes, and packaging the isolated data to generate the script program. By burning the script executable file in the chip, the script program drives the script executable file, so that the chip can realize corresponding functions.
Practical application examples are provided below for understanding and reference:
the purpose is as follows: the user needs to use STM32F103C8T6 to realize LED flicker connected with the pin PA5 under an 8M external clock, the anode of the LED is connected with the pin PA5, the cathode of the LED is connected with the GND pole through a 1K resistor, the flicker frequency is 1s bright, and 1s dark.
Explanation: what the user needs to achieve is that the PA5 pin level-shifts at a frequency of 1s output once, under an 8M external clock.
The method comprises the following steps:
1. and selecting a basic flow plug-in, a hardware configuration plug-in, a time plug-in and a basic input and output plug-in of the STM32F103C series on a user selection interface, wherein the four plug-ins can enter a graphical programming unit after generating an interpreter tool set.
2. And selecting a new project at a tool bar of the graphic programming unit.
3. The clock selection clock configuration function icon of the hardware configuration plug-in bar is then dragged into the graphical programming bar.
4. And clicking the dragged clock configuration function icon in the graphic programming bar to enable the attribute bar to display the attribute, wherein the function becomes capable of configuring the clock of the series of chips as an 8M external clock after the attribute is configured.
5. And then dragging the pin configuration function icon and the pin output level icon of the basic input and output plug-in bar in the plug-in bar into the graphic programming bar again.
6. In the same way as above, the PA5 pin is configured as an output function in the attribute column of the pin configuration function icon, and the PA5 pin is configured as a high level in the output level icon.
7. The loop function icon is then dragged from the basic flow plug-in.
8. The loop function icon is configured in the property bar as an infinite loop, and two next step interfaces of the loop function icon disappear one at the time.
9. The level shifting icon is then dragged from the base input output plugin.
10. The icon is configured in the property bar for pin PA 5.
11. And then drag the delay function icon from the time plug-in.
12. And configuring the icon in the attribute column as 1s delay.
13. And clicking a clock configuration function icon by a right mouse button in the graphical programming bar to set the icon as a starting point, wherein the interface of the previous step of the time sequence of the icon disappears.
14. And connecting the icon time sequence to a previous step interface of the pin configuration function icon.
15. And by parity of reasoning, the pin is connected with the output level function icon, the cycle function icon, the level conversion icon and the delay function icon in sequence.
16. The cyclic function icon in the icon is provided with two previous step interfaces, and one interface is selected when the pin output level function icon is connected with the next step interface.
17. And connecting the next step interface of the delay function icon to the rest previous step interface of the circulation function icon.
18. The steps are completed with function programming, wherein the processes of the steps of selecting the plug-in and connecting the plug-in can be exchanged, and only the final display results are required to be the same.
19. When the tool bar selects to generate a script program, the script program can be downloaded and uploaded to an STM32F103C8T6 chip on which the interpreter executable file of the interpreter tool set is burned, and then the execution can be carried out.
The foregoing is merely a preferred embodiment of the invention, it is to be understood that the invention is not limited to the forms disclosed herein, but is not intended to be exhaustive or to limit the invention to other embodiments, and to various other combinations, modifications, and environments and may be modified within the scope of the inventive concept as expressed herein, by the teachings or the skill or knowledge of the relevant art. And that modifications and variations may be effected by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (10)

1. A graphical cloud development platform, comprising:
the plug-in manufacturing module is used for manufacturing and/or uploading a plug-in file containing chip information;
the plug-in processing module is used for analyzing and processing the plug-in file, generating a corresponding SDK program package and JSON datagram and recording the SDK program package and the JSON datagram in a database;
the script interpreter manufacturing module is used for generating a script interpreter executable file and a script interpreter information table according to the selected plug-in and the corresponding SDK program package on the basis of the database;
the graphic programming module is used for providing a graphic programming interface and carrying out graphic rendering according to the JSON datagram to generate a graphic programming datagram;
and the script program generating module is used for generating a script program according to the graphic programming datagram, and the script program is used for driving the script interpreter executable file.
2. The graphical cloud development platform of claim 1, further comprising a script interpreter selection module, wherein the script interpreter selection module is configured to upload a local script interpreter information table, generate a corresponding script interpreter executable file according to the local script interpreter information table, and upload the script interpreter executable file and the script interpreter information table in a public database.
3. The graphical cloud development platform of claim 1, wherein the plug-in file includes one or more plug-in function contents, each plug-in function content including four core data: function codes, interface usage, function descriptions and display effects.
4. The graphical cloud development platform of claim 3, wherein each of the core data is composed of one or more passwords and a plurality of members corresponding to each password, each of the members comprising one or more of codes, fields, and characters; the password is used to determine the role and processing method of the corresponding member.
5. The graphical cloud development platform of claim 4, wherein the plug-in processing module is configured to parse and process the plug-in file, generate a corresponding SDK package and JSON datagram, and record the SDK package and the JSON datagram in a database, and specifically includes:
copying the member content of the function codes according to the password, and combining the function codes of all the plug-in functions in the plug-in file to generate a C language SDK program package;
extracting member contents of the interface usage according to the password, generating C language API information, recording and storing the C language API information in a database in a data table mode, and generating graphic interface attribute information and temporarily storing the graphic interface attribute information;
extracting the member content of the function description according to the password, generating graphic function description information and temporarily storing the graphic function description information;
extracting the member content of the display effect according to the password, generating graphic display effect information and temporarily storing the graphic display effect information;
and combining the graphic interface attribute information, the graphic function description information and the graphic display effect information to generate and store the JSON datagram, and recording information in a database.
6. The graphical cloud development platform of claim 1, wherein the script interpreter authoring module, based on the database, is configured to generate a script interpreter executable and a script interpreter information table from the selected plug-ins and corresponding SDK packages comprises:
based on the database, packaging the API of the SDK program package corresponding to the selected plug-in through a search program, adding a Bootloader program, and generating a script interpreter program file together;
compiling the script interpreter program file through a cross compiling tool to generate the script interpreter executable file, and simultaneously generating a script interpreter information table consisting of the selected plug-ins, wherein the script interpreter information table comprises the plug-in information and/or the content of a graphical programming interface selected by the script interpreter executable file.
7. The graphical cloud development platform of any of claims 1-6, wherein the graphics programming module is configured to provide a graphics programming interface, and wherein generating graphics programming datagrams from the JSON datagrams for graphical rendering comprises:
and generating the graphic programming datagram in the graphic programming interface by packaging interface connection information and each icon attribute information of an attribute column, wherein the content of the graphic programming datagram comprises program operation logic and data flow direction logic corresponding to the operation calling logic and parameter setting of each API in the SDK program packet.
8. The graphical cloud development platform of claim 7, wherein the script program generation module generates the script interpreter executable file by:
coding the contents of the operation calling logic of the API to generate function calling codes and sequencing the function calling codes;
coding the content of the parameter setting to generate a plurality of strings of data calling codes and sequencing;
splitting the content of the parameter setting into constant data and variable data;
according to different types of the constant data and the variable data, subdividing the constant data and the variable data to generate a plurality of strings of data calling codes;
and adding keywords, isolating the function calling codes from the multi-string data calling codes, and packaging the isolated data to generate the script program.
9. The graphical cloud development platform of any of claims 1-6, wherein the graphical programming interface comprises a toolbar, a plug-in bar, a property bar, an annotation bar, and a graphical programming bar.
10. The graphical cloud development platform of claim 9, wherein the plug-in bar contains plug-in function icons generated by front-end rendering of JSON datagrams from a selected plug-in.
CN202110223849.5A 2021-02-26 2021-02-26 Graphical cloud development platform Active CN112966457B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110223849.5A CN112966457B (en) 2021-02-26 2021-02-26 Graphical cloud development platform

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110223849.5A CN112966457B (en) 2021-02-26 2021-02-26 Graphical cloud development platform

Publications (2)

Publication Number Publication Date
CN112966457A true CN112966457A (en) 2021-06-15
CN112966457B CN112966457B (en) 2024-07-16

Family

ID=76277531

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110223849.5A Active CN112966457B (en) 2021-02-26 2021-02-26 Graphical cloud development platform

Country Status (1)

Country Link
CN (1) CN112966457B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114501079A (en) * 2022-01-29 2022-05-13 京东方科技集团股份有限公司 Method for processing multimedia data and related device

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102156784A (en) * 2011-04-18 2011-08-17 烽火通信科技股份有限公司 Verifying environment patterned chip verifying method and device
WO2017088388A1 (en) * 2015-11-25 2017-06-01 乐视控股(北京)有限公司 Method and system for upgrading sdk of application
WO2017219884A1 (en) * 2016-06-23 2017-12-28 斑马网络技术有限公司 Service layer generating method and apparatus, terminal device, and user interface system
CN107566114A (en) * 2017-10-30 2018-01-09 济南浪潮高新科技投资发展有限公司 A kind of method of equipment encryption and transmission encryption in cloud Internet of Things platform
CN108446140A (en) * 2017-02-15 2018-08-24 阿里巴巴集团控股有限公司 Interface display method, device, the device and operating system
US20180302384A1 (en) * 2015-12-14 2018-10-18 Prime Brains, Inc. Information communication system, information communication program, and information communication method
CN110362299A (en) * 2019-06-14 2019-10-22 杭州古德微机器人有限公司 A kind of inline graphics programing system and its application method based on blockly and raspberry pie
CN110620765A (en) * 2019-08-28 2019-12-27 昆明理工大学 Evaporator mobile phone online control device and method based on automatic rain shielding and early warning pushing functions
CN111488102A (en) * 2020-04-13 2020-08-04 支付宝(杭州)信息技术有限公司 Modular editing method, terminal, server and system for graphic animation

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102156784A (en) * 2011-04-18 2011-08-17 烽火通信科技股份有限公司 Verifying environment patterned chip verifying method and device
WO2017088388A1 (en) * 2015-11-25 2017-06-01 乐视控股(北京)有限公司 Method and system for upgrading sdk of application
US20180302384A1 (en) * 2015-12-14 2018-10-18 Prime Brains, Inc. Information communication system, information communication program, and information communication method
WO2017219884A1 (en) * 2016-06-23 2017-12-28 斑马网络技术有限公司 Service layer generating method and apparatus, terminal device, and user interface system
CN108446140A (en) * 2017-02-15 2018-08-24 阿里巴巴集团控股有限公司 Interface display method, device, the device and operating system
CN107566114A (en) * 2017-10-30 2018-01-09 济南浪潮高新科技投资发展有限公司 A kind of method of equipment encryption and transmission encryption in cloud Internet of Things platform
CN110362299A (en) * 2019-06-14 2019-10-22 杭州古德微机器人有限公司 A kind of inline graphics programing system and its application method based on blockly and raspberry pie
CN110620765A (en) * 2019-08-28 2019-12-27 昆明理工大学 Evaporator mobile phone online control device and method based on automatic rain shielding and early warning pushing functions
CN111488102A (en) * 2020-04-13 2020-08-04 支付宝(杭州)信息技术有限公司 Modular editing method, terminal, server and system for graphic animation

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114501079A (en) * 2022-01-29 2022-05-13 京东方科技集团股份有限公司 Method for processing multimedia data and related device

Also Published As

Publication number Publication date
CN112966457B (en) 2024-07-16

Similar Documents

Publication Publication Date Title
CN110362299B (en) Online graphical programming system based on block and raspberry pie and using method thereof
US20200356350A1 (en) Methods and Systems for Visual Programming using Polymorphic, Dynamic Multi-Dimensional Structures
US10255265B2 (en) Process flow diagramming based on natural language processing
CN113268226B (en) Page data generation method, device, storage medium and equipment
CN112199086A (en) Automatic programming control system, method, device, electronic device and storage medium
US20230119466A1 (en) Code block element for integrated graphic design system
CN114036425A (en) Page access method, client, server and system
JP6199314B2 (en) Graphical representation of operator precedence
CN115080016A (en) Extended function implementation method, device, equipment and medium based on UE editor
CN112966457A (en) Graphical cloud development platform
CN114579118A (en) Programming method and system, equipment, storage medium
KR20180135654A (en) Intuitive method of making a program
CN112860244A (en) Graphical programming method and system
CN102043628A (en) Method and system for developing on screen display (OSD) application software and multimedia terminal
CN111199568A (en) Vector diagram drawing method and device and computer readable storage medium
WO2023069561A1 (en) Code block element for integrated graphic design system
KR102417862B1 (en) the method for making the program simple
CN114238072A (en) HIL requirement design method, HIL requirement design device, computer equipment and storage medium
Bryksin et al. Ubiq Mobile+ QReal a Technology for Development of Distributed Mobile Services
US20240143869A1 (en) System and method for using section grouping to generate simulations
CN106446136A (en) Method for displaying data map on intelligent terminal
CN113641842A (en) BIM-based atlas query method
CN118819485A (en) Application code generation method, related device and medium
Gao et al. A Rule-Based Approach for UI Migration from Android to iOS
CN116966593A (en) Data processing method, apparatus, device, readable storage medium, and program product

Legal Events

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