Development and upgrade method of graphic programming cloud platform based on graphic primitives

Through the graphical programming cloud platform based on primitives, the problem of graphical language editors relying on local environment and updating in the existing technology is solved, and software development and updates in the cloud are realized, reducing costs and difficulty.

CN118626075BActive Publication Date: 2025-02-07重庆唯哲科技有限公司
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410885127.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-03-10
Publication Date
2025-02-07
Estimated Expiration
2042-03-10

AI Technical Summary

Technical Problem

The existing graphical language editor relies on the local development environment, occupying the storage space of the user's computer, and updates are cumbersome, making it difficult to quickly follow up on software and hardware updates, increasing the difficulty of development and use.

Method used

Design a graphical programming cloud platform based on primitives. Through the connection between the editing platform, user end and technical backend, it provides a basic primitive library, basic environment library and user coding environment. Users can build and configure software development environment online and update it. The element library and functional logic realize cloud editing and publishing.

Benefits of technology

It eliminates the dependence on the local development environment, reduces the use of user computer storage space, simplifies the editor update process, improves the efficiency and flexibility of updates, and reduces the update cost of network platform programming.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118626075B_ABST
    Figure CN118626075B_ABST
Patent Text Reader

Abstract

The present invention discloses a method for developing and upgrading a graphic programming cloud platform based on graphic primitives, which is characterized by: including the development of a graphic programming cloud platform based on graphic primitives, obtaining user demand analysis or the user's original narrow operation logic from the user coding environment, an upgrade method of a graphic programming cloud platform based on graphic primitives, and a technical background developing the generalized operation logic of the new graphic primitives. Beneficial effects: In combination with its development and upgrade method, the software development environment problem is solved, and the local storage space of the computer is saved; the code segment corresponding to the graphic primitive can be updated in real time. The update difficulty of network platform programming is digested, and the update cost of network platform programming is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] This invention is a divisional application based on the parent case 202210228981.X, the application date of which is March 10, 2022, and the invention name is "Graphical programming cloud platform based on graphic elements and its development and upgrade method". Technical Field

[0002] The present invention belongs to the technical field of industrial Internet, and specifically relates to a method for developing and upgrading a graphic programming cloud platform based on graphic primitives. Background Art

[0003] Programming control technology has been widely used in many technical fields such as industry, commerce, agriculture, medical treatment, and education, and many of these cases have entered smart homes and smart cities. With the development of Internet technology, network platform programming has connected technical development talents with project demanders. The network platform provides the basic software and hardware environment, and technical talents build the technical background offline to support market demand. However, various software and hardware suppliers continue to launch updated underlying tools. For example, the most basic Windows has several new systems and eliminated the old systems. Not only is it difficult for technical talents to follow up on technology and hardware in a timely manner, but the network platform is also difficult to quickly update and improve the basic software and hardware environment. Continuously downloading new systems and updating new systems has become a pain point in the industry. The diversification and pluralism of programming languages ​​and logical relationships have further increased the difficulty of the industry's development. With the emergence of graphical language editing technology, such as PLC graphic editing technology, it can only solve the problem of logical language to a certain extent in individual fields.

[0004] The existing graphical language editor provides a more intuitive and user-friendly language editor. Graphical programming languages ​​reduce the user's learning cost, allowing users to quickly get started. If the editor needs to be updated, the developer needs to release a new version and publish it, and the user downloads the new version or upgrades the old version.

[0005] But its main drawbacks are:

[0006] (1) Dependence on the local development environment. Developers need to configure the development environment before use, which takes up storage space on the user's computer.

[0007] (2) The pain points of updating work still exist. Updating the editor is very cumbersome and requires releasing a new version, which users need to download and install. If a serious bug occurs, the version may need to be rolled back. Summary of the invention

[0008] In view of this, the purpose of the present invention is to provide a graphical programming cloud platform based on graphics primitives and a development and upgrade method thereof. First, it can solve the problem of software development environment, and second, it can coordinate the display pain points of editor updates. It can digest the update difficulty of network platform programming and reduce the update cost of network platform programming.

[0009] The technical solution is as follows:

[0010] A graphic programming cloud platform based on graphic elements, including an editing platform, a user terminal and a technical background connected to the editing platform through a network. The key is that the editing platform is provided with a basic graphic element library, a basic environment library and a user coding environment, and the basic graphic element library and the basic environment library are bidirectionally connected with the user coding environment respectively:

[0011] Among them, the user coding environment is used to build the software development environment required by the user.

[0012] The basic environment library is used to store various versions of underlying systems, such as various versions of Windows, Android, etc., as well as various development tools, such as mechanical 2D tools, 3D tools, circuit diagram development tools, PCB drawing tools, office tools, various mobile APP development and application tools, etc. The needs of various program editing are guaranteed. After entering the editing platform, developers can fully configure the software development environment of their own personal needs, that is, the user coding environment. After the user account logs in to the editing platform, the editing platform automatically loads the previously configured software development environment.

[0013] in;

[0014] User graphic element library: used to store the graphic elements required by users to develop software;

[0015] Graphics: The smallest abstract unit of a graphical programming language, which is represented by dashboard controls, functions, resources, lines, structure diagrams, etc. It is displayed in the development platform in the form of entity graphics and consists of name, ID, icon, code, help document, etc. Such as switch controls, pressure adjustment controls, integral function controls, pi controls, various PID controls, known data controls representing input resources, such as text input controls, waveform controls, numeric controls, table controls, instrument and dashboard controls, borders, lines, arrows, structure diagrams and other result data controls, etc.

[0016] User workbench combination: used to call graphics elements and generate graphics element combinations according to software development logic. The graphics element combinations are mapped with underlying logic programs.

[0017] The user coding environment is consistent with the software environment on the user side;

[0018] The user graphic element library is connected to the basic graphic element library, and the user graphic element library is provided with a control style library, a basic control library, a resource library, a basic function library and a data dictionary;

[0019] The data dictionary is a collection of information describing data, and is a collection of definitions of all data elements used in the system. It provides the basic data required for operations for the resource workbench, function logic workbench, and kanban workbench;

[0020] These basic data also exist in the form of graphic elements, such as pi controls, metric unit controls, imperial unit controls, and various expressions of atmospheric pressure, Pa, mmHg, MPa, bar, etc.

[0021] The basic function library provides the functional relationship required for the operation of the functional logic workbench;

[0022] Basic function relationships such as summation function graphs, square root function graphs, etc.

[0023] The resource library provides data resources for the resource workbench;

[0024] These data resources can be text files, video files, tables, forms, block diagram relationships, etc.

[0025] Any program has input information and output results. Users use graphics primitives according to functional requirements, fill in relevant information, calculate intermediate data, and generate result graphics primitives, which are then stored in the coding environment.

[0026] The basic control library provides control elements with various basic functions for the kanban workbench;

[0027] The control style library provides the kanban workbench with styles of control graphic elements waiting to be given functions;

[0028] The resource workbench generates basic input resource control primitives and output result control primitives for the function logic workbench;

[0029] The function logic workbench generates a function logic relationship expressed by a combination of graphic elements, and maps the underlying function logic relationship to the kanban workbench;

[0030] The kanban workbench combines the function logic relationship with the control graphics element to generate a kanban interface expressed by the combination of control graphics elements, and presents the kanban interface and the underlying logic program to the user end or technical background.

[0031] Furthermore, the editing platform is provided with a compiler and a memory, wherein the compiler is connected to the kanban workbench, receives and compiles the logic program output by the kanban workbench, and stores it in the memory, and the user end extracts the compiled logic program from the memory for publishing.

[0032] According to the operating environment and language requirements of different markets, the compiler compiles and stores the corresponding program language.

[0033] Furthermore, the technical background is also connected to the compiler, basic graphic element library and basic environment library.

[0034] Only the technical background can edit the content and limit the functions of the compiler, basic graphic library and basic environment library.

[0035] Furthermore, the editing platform is provided with a user interface, and the user terminal is connected to each unit inside the editing platform via the user interface;

[0036] The editing platform is provided with a technical interface, and the technical background is connected to each unit inside the editing platform via the technical interface.

[0037] The technical backend can also enter the editing platform as a user, but the permissions are restricted.

[0038] A method for developing the graphic programming cloud platform based on graphic primitives, the key of which is:

[0039] Step 1: The user terminal logs in to the editing platform via the network and builds a user coding environment in the editing platform. The user coding environment is set by the user terminal.

[0040] Step 2: The user builds a user graphic library on the editing platform according to his / her own functional requirements, including filling and building the content of the control style library, basic control library, resource library, basic function library and data dictionary;

[0041] Step 3, in the Kanban workbench;

[0042] Users can use the user graphic library to generate input controls, output display controls and debugging controls according to their own functional requirements;

[0043] Step 4: Extract existing data resources and their control primitives from the resource library to the resource workbench according to its own functional requirements;

[0044] Or in the resource workbench, the data dictionary is used to adapt the available data resources in the resource library to generate available data and its control primitives;

[0045] Step 5. In the Function Logic Workbench:

[0046] Or use the basic functions of the basic function library and their icons to enter the function logic workbench;

[0047] Or use basic functions, mature data resources, and data dictionaries to edit user-created logic function graphs;

[0048] Step 6. In the Function Logic Workbench:

[0049] According to the program logic sequence requirements, the graphics elements representing all logic functions, mature data resource graphics elements, input resource control graphics elements and output result display control graphics elements are dragged and dropped into the same running process graphics element to generate a logic program, and the logic program is mapped to the Kanban workbench;

[0050] According to the program logic, connect each graphic element in the function logic workbench, and map the program logic to the kanban workbench;

[0051] Step 7: Adjust the input value of the input resource control element. The logic program calculates the output result data according to the input value. The output result data is mapped to the display control for display.

[0052] Step 8: The kanban workbench sends the completed logic program to the compiler. The compiler compiles the corresponding logic program according to market demand and stores it in the memory, waiting for the user to release it to the outside world.

[0053] In step 1, the basic environment library provides the editing platform with the software development tools required by the user, and the versions of these software development tools are consistent with the configuration versions required by the user.

[0054] In step 2, the construction of the user primitive library includes

[0055] The control style library is constructed by extracting various icon control style options from the basic graphic element library;

[0056] The basic control library is constructed by extracting various basic controls from the basic graphic element library for standby use;

[0057] Filling the resource library with content: users can fill the resource library with data information of known resources, unknown resources, and intermediate resources according to their own resource needs, and assign independent display icons and known attributes, unknown attributes, and intermediate attributes respectively;

[0058] Basic function library, extracting various required operation function relationships and operation graphics from the basic graphics library for standby;

[0059] Data dictionary, extract the required standing graphics from the basic graphics library, such as values, roles, units, positions, payment methods, etc.

[0060] The key to upgrading the graphic programming cloud platform based on graphics primitives is:

[0061] Step A, the technical background designs an icon of a new graphic element and stores it in the technical background;

[0062] Step B: register the icon of the new primitive into the basic primitive library and assign the ID of the new primitive;

[0063] Step C, obtaining user demand analysis or user's original narrow operation logic from the user coding environment;

[0064] Step D, the technical background develops the generalized operation logic of the new primitive;

[0065] Step E, testing the technical effect of the new primitive in multiple user coding environments;

[0066] Step F: When the test results of step E meet the design requirements, the new graphics element is released in grayscale, that is, it is tested internally within a limited range of users;

[0067] Step G: When the test result of step F meets the design requirements, it is published to the entire network through the basic graphic element library, and users can choose whether to apply the new graphic element according to their own needs.

[0068] Generally speaking, there is no need to upgrade the system version. New functions exist in the form of graphics elements. Users can choose whether to call new graphics elements according to their needs and no longer have to worry about bugs in the new system.

[0069] The beneficial effects of the present invention include: development of a graphic programming cloud platform based on graphics primitives, obtaining user demand analysis or the user's original narrow operation logic from the user coding environment, an upgrade method of a graphic programming cloud platform based on graphics primitives, and development of the generalized operation logic of the new graphics primitive by the technical background. It eliminates the dependence on the local development environment and only requires a network and a browser to run. It solves the problem of software development environment. The update method updates the editor to save local computer storage space; the code segment corresponding to the graphics primitive can also be updated in real time according to the graphics primitive ID. It reduces the update difficulty of network platform programming and reduces the update cost of network platform programming. BRIEF DESCRIPTION OF THE DRAWINGS

[0070] Figure 1 It is a structural block diagram of the present invention;

[0071] Figure 2 This is a flow chart of the online upgrade method of the present invention;

[0072] Figure 3 It is a Kanban workbench display diagram;

[0073] Figure 4 It is a display diagram of the resource workbench

[0074] Figure 5 This is a diagram showing the function logic workbench. DETAILED DESCRIPTION

[0075] The present invention is further described below in conjunction with embodiments and drawings.

[0076] like Figure 1 As shown, the graphic element-based graphical programming cloud platform includes an editing platform, a user terminal 2 and a technical backend 3 connected to the editing platform 1 through a network. The editing platform 1 is provided with a basic graphic element library 11, a basic environment library 12 and a user coding environment. The basic graphic element library 11 and the basic environment library 12 are bidirectionally connected to the user coding environment respectively:

[0077] Among them, the user coding environment is consistent with the software environment of the user terminal 2;

[0078] The user coding environment is provided with a user graphic element library 4, which is connected to the basic graphic element library 11, and the user graphic element library 4 is provided with a control style library 41, a basic control library 42, a resource library 43, a basic function library and a data dictionary;

[0079] The user coding environment also includes a resource workbench 5, a kanban workbench and a function logic workbench;

[0080] The data dictionary provides the basic data required for operation for the resource workbench 5, the function logic workbench 7 and the kanban workbench 6;

[0081] The basic function library provides the functional relationship required for the operation of the function logic workbench 7;

[0082] The resource library 43 provides data resources for the resource workbench 5;

[0083] The basic control library 42 provides control elements of various basic functions for the kanban workbench 6;

[0084] The control style library 41 provides the kanban workbench 6 with the styles of control graphic elements waiting to be given functions;

[0085] The resource workbench 5 generates basic input resource control primitives and output result control primitives to the function logic workbench 7;

[0086] The function logic workbench 7 generates the function logic relationship expressed by the combination of graphic elements, and maps the underlying function logic relationship to the kanban workbench 6;

[0087] The kanban workbench 6 combines the function logic relationship with the control graphics element to generate a kanban interface expressed by the combination of control graphics elements, and presents the kanban interface and the underlying logic program to the user terminal 2 or the technical background 3.

[0088] The editing platform 1 is provided with a compiler 8 and a memory 9, wherein the compiler 8 is connected to the kanban workbench 6, receives and compiles the logic program output by the kanban workbench 6, and stores it in the memory 9, and the user end 2 extracts the compiled logic program from the memory 9 for publishing.

[0089] The technical background 3 is also connected to the compiler 8 , the basic graphic element library 11 and the basic environment library 12 .

[0090] The editing platform 1 is provided with a user interface, and the user terminal 2 is connected to each unit inside the editing platform 1 via the user interface;

[0091] The editing platform 1 is provided with a technical interface, and the technical background 3 is connected to each unit inside the editing platform 1 via the technical interface.

[0092] The present invention takes the comprehensive control of the throttle opening of an automobile by the stroke of an accelerator pedal and the altitude as an example to demonstrate the implementation of the present invention.

[0093] like Figure 2 As shown, a method for developing the graphic programming cloud platform based on graphic primitives has the following key points:

[0094] Step 1, the user terminal 2 logs in to the editing platform 1 via the network, and builds a user coding environment in the editing platform 1, and the user coding environment is set by the user terminal 2 itself;

[0095] In step 1, the basic environment library 12 provides the editing platform 1 with the software development tools required by the user, and the versions of these software development tools are consistent with the configuration versions required by the user.

[0096] Step 2: The user builds a user graphic element library 4 on the editing platform 1 according to his / her own functional requirements, including filling and building the content of a control style library 41, a basic control library 42, a resource library 43, a basic function library 44 and a data dictionary 45;

[0097] In step 2, the construction of the user primitive library 4 includes

[0098] The control style library 41 is constructed by extracting various icon control style options from the basic graphic element library 11;

[0099] The basic control library 42 is formed by extracting various basic controls from the basic graphic element library 11 for use;

[0100] Filling the content of the resource library 43: users fill the resource library 43 with data information of known resources, unknown resource information, and intermediate resource information according to their own resource needs, and assign independent display icons and known attributes, unknown attributes, and intermediate attributes respectively;

[0101] A basic function library 44 extracts various required operation function relationships and operation graphics elements from the basic graphics element library 11 for use;

[0102] The data dictionary 45 extracts the required standing graphics elements from the basic graphics element library 11 for standby use, such as values, roles, units, positions, payment methods, etc.

[0103] Step 3, in the Kanban workbench 6;

[0104] The user generates input controls, output display controls and debugging controls using the user graphic element library 4 according to his / her own functional requirements;

[0105] The input controls of this embodiment include the altitude and the travel of the accelerator pedal, the output display control is the throttle opening, and the debugging control includes the atmospheric pressure which is converted into the altitude.

[0106] like Figure 3 As shown, drag the functional control primitive style waiting to be assigned from the control style library 41 to the kanban workbench 6, and drag a vertical columnar control as an altitude control;

[0107] Drag a horizontal column control to serve as the throttle control;

[0108] Drag the arc pointer control with scale as the throttle opening control;

[0109] like Figure 4 As shown, step 4, according to its own functional requirements, extract the existing data resources and their control primitives from the resource library 43 to the resource workbench 5;

[0110] Extract the atmospheric pressure value graphic element to the resource workbench 5, and assign the atmospheric pressure value graphic element the pressure calculation unit Pa in the data dictionary 45.

[0111] Extract the accelerator pedal travel value graphic element to the resource workbench 5, and assign the accelerator pedal travel value graphic element the operation unit mm in the data dictionary 45.

[0112] The throttle opening value graphic element is extracted to the resource workbench 5, and the data dictionary 45 assigns the throttle opening value graphic element the operation unit %.

[0113] Or in the resource workbench 5, the data dictionary 45 performs adaptive processing on the available data resources of the resource library 43 to generate available data and its control primitives;

[0114] Step 5. In the Function Logic Workbench 7:

[0115] Or use the basic functions and icons of the basic function library 44 to enter the function logic workbench 7;

[0116] Or use basic functions, mature data resources, and rely on data dictionaries 45 to edit user-created logic function graphs;

[0117] The functional relationship F(X) between the atmospheric pressure value, the accelerator pedal travel and the throttle opening is edited in the functional logic workbench 7, and the corresponding functional operation graph is established.

[0118] Finally, the relationship between the throttle opening value and the rotation amount of the throttle control motor is used to calculate the stroke of the throttle control motor and express it through the corresponding graphic elements.

[0119] Step 6. In the Function Logic Workbench 7:

[0120] According to the program logic sequence requirements, the graphics elements representing all logic functions, mature data resource graphics elements, input resource control graphics elements and output result display control graphics elements are dragged and dropped into the same running process graphics element to generate a logic program, and the logic program is mapped to the Kanban workbench 6;

[0121] like Figure 5 As shown, according to the program logic, each graphic element is connected in the function logic workbench 7, and the program logic is mapped to the kanban workbench 6.

[0122] Step 7: Adjust the input value of the input resource control element. The logic program calculates the output result data according to the input value. The output result data is mapped to the display control for display.

[0123] At the same time, after the icons in the kanban workbench 6 are assigned, the atmospheric pressure graphic element, the accelerator pedal travel graphic element and the throttle opening graphic element are generated;

[0124] Step 8: The kanban workbench 6 sends the completed logic program to the compiler 8. The compiler 8 compiles the corresponding logic program according to market demand and stores it in the memory 9, waiting for the user to release it to the outside world.

[0125] After the development of the graphic programming cloud platform based on graphics primitives is completed, the upgrade of the graphic programming cloud platform based on graphics primitives is realized;

[0126] The development work of the graphic programming cloud platform based on graphic primitives includes, in the Kanban workbench 6, using the user graphic primitive library 4 to generate input controls, output display controls, and debugging controls according to its own functional requirements;

[0127] Drag the functional control primitive style waiting to be assigned from the control style library 41 to the kanban workbench 6, and drag a vertical columnar control as an altitude control;

[0128] Drag a horizontal column control to serve as the throttle control;

[0129] Drag the arc pointer control with scale as the throttle opening control;

[0130] Extract the existing data resources and their control primitives from the resource library 43 to the resource workbench 5;

[0131] Extract the atmospheric pressure value graphic element to the resource workbench 5, and assign the atmospheric pressure value graphic element the pressure calculation unit Pa in the data dictionary 45.

[0132] Extract the accelerator pedal travel value graphic element to the resource workbench 5, and assign the accelerator pedal travel value graphic element the operation unit mm in the data dictionary 45.

[0133] Extract the throttle opening value graphic element to the resource workbench 5, and assign the throttle opening value graphic element the operation unit % in the data dictionary 45;

[0134] Or in the resource workbench 5, the data dictionary 45 performs adaptive processing on the available data resources of the resource library 43 to generate available data and its control primitives;

[0135] Edit the functional relationship F(X) between the atmospheric pressure value, the accelerator pedal travel and the throttle opening in the function logic workbench 7, and establish the corresponding function operation primitive;

[0136] The steps to implement the upgrade of the primitive-based graphical programming cloud platform are:

[0137] Step A, the technical background 3 designs an icon of a new graphic element and stores it in the technical background 3;

[0138] When you need to develop a high altitude throttle opening logic program, design a high altitude throttle icon.

[0139] Step B: registering the icon of the new graphic element into the basic graphic element library 11, and assigning the ID of the new graphic element;

[0140] Step C, obtaining user demand analysis or user's original narrow operation logic from the user coding environment;

[0141] Step D, the technical background 3 develops the generalized operation logic of the new primitive;

[0142] Technical background 3 edits a new high altitude function graph based on the functional relationship F(X) between atmospheric pressure value, accelerator pedal travel and throttle opening;

[0143] Using the relationship between the throttle opening value and the rotation amount of the throttle control motor, the stroke amount of the throttle control motor is calculated and expressed through the corresponding graphic element;

[0144] In Functional Logic Workbench 7:

[0145] According to the program logic sequence requirements, the graphics elements representing all logic functions, mature data resource graphics elements, input resource control graphics elements and output result display control graphics elements are dragged and dropped into the same running process graphics element to generate a logic program, and the logic program is mapped to the Kanban workbench 6;

[0146] Adjust the input value of the input resource control element, and the logic program calculates the output result data according to the input value, and the output result data is mapped to the display control for display;

[0147] At the same time, after the icons in the kanban workbench 6 are assigned, the atmospheric pressure graphic element, the accelerator pedal travel graphic element and the throttle opening graphic element are generated;

[0148] Step E, testing the technical effect of the new primitive in multiple user coding environments;

[0149] Step F: When the test results of step E meet the design requirements, the new graphics element is released in grayscale, that is, it is tested internally within a limited range of users;

[0150] Step G: When the test result of step F meets the design requirements, the new graphic element is published to the whole network through the basic graphic element library 11, and the user chooses whether to apply the new graphic element according to his own needs.

[0151] It should be pointed out that the above description is not a limitation of the present invention, and the present invention is not limited to the above examples. Changes, modifications, additions or substitutions made by ordinary technicians in this technical field within the essential scope of the present invention should also fall within the protection scope of the present invention.

Claims

1. A method for developing a graphic programming cloud platform based on graphic primitives, characterized in that: First, build a graphical programming cloud platform based on graphics primitives. The development steps of the graphical programming cloud platform are as follows: Step 1, the user terminal (2) logs in to the editing platform (1) via the network, and sets up a user coding environment in the editing platform (1), and the user coding environment is set by the user terminal (2); Step 2: The user builds a user graphic element library (4) on the editing platform (1) according to his / her own functional requirements, including filling and building the content of a control style library (41), a basic control library (42), a resource library (43), a basic function library (44) and a data dictionary (45); Step 3, in the Kanban workbench (6); The user generates input controls, output display controls and debugging controls using the user graphic element library (4) according to his / her own functional requirements; Step 4: extract the existing data resources and their control elements from the resource library (43) to the resource workbench (5) according to its own functional requirements; Or in the resource workbench (5), the data dictionary (45) is used to adaptively process the available data resources of the resource library (43) to generate available data and its control element; Step 5. In the Function Logic Workbench (7): Or use the basic functions of the basic function library (44) and their icons to enter the function logic workbench (7); Or use basic functions, mature data resources, and rely on data dictionaries (45) to edit user-created logic function graphs; Step 6. In the Function Logic Workbench (7): According to the program logic sequence, the graphic elements representing all logic functions, the mature data resource graphic element, the input resource control graphic element and the output result display control graphic element are dragged and dropped into the same running process graphic element to generate a logic program, and the logic program is mapped to the Kanban workbench (6); Step 7: Adjust the input value of the input resource control element, and the logic program calculates the output result data according to the input value, and the output result data is mapped to the display control for display; The graphic element-based graphical programming cloud platform comprises an editing platform, a user terminal (2) and a technical background (3) connected to the editing platform (1) via a network, wherein the editing platform (1) is provided with a basic graphic element library (11), a basic environment library (12) and a user coding environment, and the basic graphic element library (11) and the basic environment library (12) are bidirectionally connected to the user coding environment respectively: the user coding environment is consistent with the software environment of the user terminal (2); The user coding environment is used to build the software development environment required by the user, and the user coding environment is provided with a user graphic element library (4) and a user workbench combination, wherein; User graphic element library (4): used to store graphic elements required by users to develop software; User workbench combination: used to call primitives and generate primitive combinations according to software development logic. The primitive combinations are mapped with underlying logic programs. The user graphic element library (4) is connected to the basic graphic element library (11), and the user graphic element library (4) is provided with a control style library (41), a basic control library (42), a resource library (43), a basic function library (44) and a data dictionary (45); The data dictionary (45) provides the basic data required for operations for the resource workbench (5), the function logic workbench (7) and the kanban workbench (6); The basic function library (44) provides the functional logic workbench (7) with the functional relationships required for operations; The resource library (43) provides data resources for the resource workbench (5); The basic control library (42) provides control elements of various basic functions for the kanban workbench (6); The control style library (41) provides the kanban workbench (6) with styles of control graphic elements waiting to be assigned functions; The user workbench combination includes a resource workbench (5), a kanban workbench (6) and a function logic workbench (7); The resource workbench (5) generates basic input resource control primitives and output result control primitives for the function logic workbench (7); The function logic workbench (7) generates a function logic relationship expressed by a combination of graphic elements, and maps the underlying function logic relationship to the kanban workbench (6); The kanban workbench (6) combines the function logic relationship with the control graphic elements to generate a kanban interface expressed by the combination of control graphic elements, and presents the kanban interface and the underlying logic program to the user end (2) or the technical background (3).

2. The method for developing a graphic programming cloud platform based on graphic primitives according to claim 1, characterized in that: In step 1, the basic environment library (12) provides the editing platform (1) with software development tools required by the user, and the versions of these software development tools are consistent with the configuration versions required by the user.

3. The method for developing a graphic programming cloud platform based on graphic primitives according to claim 1, characterized in that: In step 2, the construction of the user primitive library (4) includes: The construction of a control style library (41) extracts various icon control style options from the basic graphic element library (11); The basic control library (42) is constructed, and various basic controls are extracted from the basic graphic element library (11) for use; Filling the content of the resource library (43), the user fills the resource library (43) with data information of known resources, unknown resource information, and intermediate resource information according to his own resource needs, and assigns independent display icons and known attributes, unknown attributes, and intermediate attributes respectively; A basic function library (44) extracts various required operation function relationships and operation graphics elements from the basic graphics element library (11) for use; The data dictionary (45) extracts the required standing graphics elements from the basic graphics element library (11) for use.

4. The method for developing a graphic programming cloud platform based on graphic primitives according to claim 1, characterized in that: Also includes: Step 8: The Kanban workbench (6) sends the completed logic program to the compiler (8). The compiler (8) compiles the corresponding logic program according to market demand and stores it in the memory (9), waiting for the user to release it to the outside world.

5. The method for developing a graphic programming cloud platform based on graphic primitives according to claim 1, characterized in that: After the development of the primitive-based graphical programming cloud platform is completed, the steps to upgrade the primitive-based graphical programming cloud platform are as follows: Step A, the technical background (3) designs an icon of a new graphic element and stores it in the technical background (3); Step B: register the icon of the new graphic element into the basic graphic element library (11), and assign an ID to the new graphic element; Step C, obtaining user demand analysis or user's original narrow operation logic from the user coding environment; Step D, technical background (3) develops the generalized operation logic of the new primitive; Step E, testing the technical effect of the new primitive in multiple user coding environments; Step F: When the test results of step E meet the design requirements, the new graphics element is released in grayscale, that is, it is tested internally within a limited range of users; Step G: When the test result of step F meets the design requirements, the new graphic element is published to the whole network through the basic graphic element library (11), and the user can choose whether to apply the new graphic element according to his own needs.

6. The method for developing a graphic programming cloud platform based on graphic primitives according to claim 5, characterized in that: The development work of the graphic programming cloud platform based on graphic primitives includes: in the Kanban workbench (6), according to its own functional requirements, using the user graphic primitive library (4) to generate input controls, output display controls, and debugging controls; Drag the style of the control element to be assigned a function from the control style library (41) to the Kanban workbench (6), and drag a vertical columnar control as the altitude control; Drag a horizontal column control to serve as the throttle control; Drag the arc pointer control with scale as the throttle opening control; Extract the existing data resources and their control elements from the resource library (43) to the resource workbench (5); Extract the atmospheric pressure value graphic element to the resource workbench (5), and assign the atmospheric pressure value graphic element the pressure calculation unit Pa in the data dictionary (45). Extract the accelerator pedal travel value graphic element to the resource workbench (5), and assign the accelerator pedal travel value graphic element the operation unit mm in the data dictionary (45). Extract the throttle opening value graphic element to the resource workbench (5), and assign the throttle opening value graphic element the operation unit of % in the data dictionary (45); Or in the resource workbench (5), the data dictionary (45) is used to adaptively process the available data resources of the resource library (43) to generate available data and its control element; Edit the functional relationship F(X) between the atmospheric pressure value, the accelerator pedal travel and the throttle opening in the function logic workbench (7), and create the corresponding function operation primitive; The upgrade steps are: Step A, the technical background (3) designs an icon of a new graphic element and stores it in the technical background (3); When you need to develop a high altitude throttle opening logic program, design a high altitude throttle icon. Step B: register the icon of the new graphic element into the basic graphic element library (11), and assign the new graphic element ID; Step C, obtaining user demand analysis or user's original narrow operation logic from the user coding environment; Step D, technical background (3) develops the generalized operation logic of the new primitive; Technical background (3) Based on the functional relationship F(X) between atmospheric pressure, accelerator pedal travel and throttle opening, edit a new high altitude function graph; Using the relationship between the throttle opening value and the rotation amount of the throttle control motor, the stroke amount of the throttle control motor is calculated and expressed through the corresponding graphic element; In the Functional Logic Workbench (7): According to the program logic sequence, the graphic elements representing all logic functions, the mature data resource graphic element, the input resource control graphic element and the output result display control graphic element are dragged and dropped into the same running process graphic element to generate a logic program, and the logic program is mapped to the Kanban workbench (6); Adjust the input value of the input resource control element, and the logic program calculates the output result data according to the input value, and the output result data is mapped to the display control for display; At the same time, after the icons in the Kanban workbench (6) are assigned, the atmospheric pressure graphic element, the accelerator pedal travel graphic element and the throttle opening graphic element are generated; Step E, testing the technical effect of the new primitive in multiple user coding environments; Step F: When the test results of step E meet the design requirements, the new graphics element is released in grayscale, that is, it is tested internally within a limited range of users; Step G: When the test result of step F meets the design requirements, the new graphic element is published to the whole network through the basic graphic element library (11), and the user can choose whether to apply the new graphic element according to his own needs.

Citation Information

Patent Citations

  • Visual development method and system based on component and data asset transaction

    CN113672228A

  • Intelligent software auto development system with real-time collaboration support and method thereof

    KR102237877B1