CN113535154A - Code-free programming method and device, electronic equipment and readable storage medium - Google Patents
Code-free programming method and device, electronic equipment and readable storage medium Download PDFInfo
- Publication number
- CN113535154A CN113535154A CN202110805640.XA CN202110805640A CN113535154A CN 113535154 A CN113535154 A CN 113535154A CN 202110805640 A CN202110805640 A CN 202110805640A CN 113535154 A CN113535154 A CN 113535154A
- Authority
- CN
- China
- Prior art keywords
- user
- point
- data
- target
- graphical interface
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 58
- 238000012545 processing Methods 0.000 claims abstract description 71
- 230000006870 function Effects 0.000 claims description 78
- 238000004590 computer program Methods 0.000 claims description 8
- 230000006854 communication Effects 0.000 description 6
- 238000010586 diagram Methods 0.000 description 6
- 238000004891 communication Methods 0.000 description 5
- 230000008569 process Effects 0.000 description 5
- 230000009471 action Effects 0.000 description 3
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000012423 maintenance Methods 0.000 description 3
- 230000005540 biological transmission Effects 0.000 description 2
- 238000007667 floating Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000004364 calculation method Methods 0.000 description 1
- 239000003086 colorant Substances 0.000 description 1
- 238000013479 data entry Methods 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000012827 research and development Methods 0.000 description 1
- 230000003313 weakening effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/30—Creation or generation of source code
- G06F8/34—Graphical or visual programming
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
Abstract
The application provides a codeless programming method and device, an electronic device and a readable storage medium. The code-free programming method comprises the following steps: displaying a graphical interface for programming, wherein the graphical interface comprises a data input point set, a function module set and a data output point set; respectively determining a target data input point, a target function module and a target data output point from the data input point set, the function module set and the data output point set based on a selection instruction of a user on the graphical interface; and determining the processing logic of the data based on the connection operation of the target data input point, the target function module and the target data output point on the graphical interface by the user. The programming method is used for reducing programming difficulty and improving programming applicability and convenience.
Description
Technical Field
The present application relates to the field of programming technologies, and in particular, to a codeless programming method and apparatus, an electronic device, and a readable storage medium.
Background
Current software applications are developed that require programming in programming languages such as C, C + + or Java.
The prior art has the defects that an application developer is required to be a programmer who is trained professionally and masters a programming language, the programmer often does not know application logic, a product manager or an industry application expert is familiar with the application logic, the intermediate communication process is complex, information transmission deformation or weakening is easy to occur, so that the product cannot well meet the application or the iteration number is increased, and the research and development cost is greatly increased. In addition, program codes are often not intuitive enough and subsequent maintenance costs are high.
Therefore, the existing programming method has higher difficulty and poorer applicability and convenience.
Disclosure of Invention
An object of the embodiments of the present application is to provide a codeless programming method and apparatus, an electronic device, and a readable storage medium, so as to reduce the programming difficulty and improve the applicability and convenience of programming.
In a first aspect, an embodiment of the present application provides a code-free programming method, including: displaying a graphical interface for programming, wherein the graphical interface comprises a data input point set, a function module set and a data output point set; respectively determining a target data input point, a target function module and a target data output point from the data input point set, the function module set and the data output point set based on a selection instruction of a user on the graphical interface; and determining the processing logic of the data based on the connection operation of the target data input point, the target function module and the target data output point on the graphical interface by the user.
In the embodiment of the application, compared with the prior art, by displaying a graphical interface for programming, a user can select a required data point and a required function module from the graphical interface and then connect the data point and the function module, so that the programming of the processing logic of the data can be realized. In the whole process, a user realizes programming through selection and connection operation without compiling codes, so that the method does not need the user to perform software programming with higher difficulty any more, the difficulty is reduced, and the applicability and the convenience are improved; moreover, the processing logic programmed by the user can be visually displayed on a graphical interface, so that subsequent utilization and maintenance are facilitated.
As a possible implementation manner, the set of function modules includes a custom function module, and the method further includes: receiving a first custom operation of the user; the first self-defining operation is used for self-defining a new functional module; generating a new functional module according to the first custom operation; and adding the new functional module as a self-defined functional module into the functional module set.
In the embodiment of the application, the functional module set can include the user-defined functional module, and then, a user can realize more flexible programming through the user-defined functional module, and the user-defined functional module has higher expandability and stronger flexibility.
As a possible implementation manner, the graphical interface further includes a customized temporary data point set, and the method further includes: receiving a second custom operation of the user; the second customizing operation is used for customizing a temporary data point; generating a temporary data point according to the second custom operation; and adding the temporary data point into the user-defined temporary data point set as a user-defined temporary data point.
In the embodiment of the application, the user can also customize the temporary data point, and then the user can realize more flexible programming by customizing the temporary data point, so that the expandability is higher and the flexibility is stronger.
As a possible implementation, the method further includes: determining a target temporary data point from the user-defined temporary data point set based on a selection instruction of a user in the graphical interface; the determining data processing logic based on the connection operation of the user to the target data input point, the target function module and the target data output point on the graphical interface comprises: and determining the processing logic of the data based on the connection operation of the target data input point, the target function module, the target temporary data point and the target data output point by the user on the graphical interface.
In the embodiment of the application, the connection operation is performed by using the user-defined temporary data points, so that more flexible programming is realized.
As a possible implementation, the method further includes: receiving a first click operation of the user on any data input point in the data input point set; and displaying the information of the corresponding data input point according to the first click operation.
In the embodiment of the application, the user can check the information of the data input point through clicking operation, so that the user can conveniently realize more effective and accurate code-free programming.
As a possible implementation, the method further includes: receiving a second click operation of the user on any data output point in the data output point set; and displaying the information of the corresponding data output point according to the second clicking operation.
In the embodiment of the application, a user can check the information of the data output point through clicking operation, so that the user can conveniently realize more effective and accurate code-free programming.
As a possible implementation, the method further includes: receiving a third click operation of the user on any functional module in the functional module set; and displaying the functions of the corresponding functional modules according to the third click operation.
In the embodiment of the application, the user can check the functions of the function modules through clicking operation, so that the user can conveniently realize more effective and accurate code-free programming.
In a second aspect, an embodiment of the present application provides a code-free programming apparatus, including: functional modules for implementing the code-free programming method as described in the first aspect and any one of its possible implementations.
In a third aspect, an embodiment of the present application provides an electronic device, including: a processor; and a memory and a display communicatively coupled to the processor; wherein the memory stores instructions executable by the processor to enable the processor to perform the code-free programming method of the first aspect and any one of its possible implementations.
In a fourth aspect, an embodiment of the present application provides a readable storage medium, where a computer program is stored on the readable storage medium, and when the computer program is executed by a computer, the computer program performs the code-free programming method described in the first aspect and any one of the possible implementation manners of the first aspect.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments of the present application will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and that those skilled in the art can also obtain other related drawings based on the drawings without inventive efforts.
FIG. 1 is a flow chart of a method for codeless programming provided by an embodiment of the present application;
FIG. 2 is a diagram of a first example of a graphical interface provided by an embodiment of the present application;
FIG. 3 is a diagram of a second example of a graphical interface provided by an embodiment of the present application;
FIG. 4 is a schematic structural diagram of a codeless programming device according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Icon: 400-codeless programming device; 410-a display module; 420-a processing module; 500-an electronic device; 510-a processor; 520-a memory; 530-a display; 540-input and output module.
Detailed Description
The technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application.
The code-free programming method provided by the embodiment of the application can be applied to a programming product, and the programming product can be programming software (application program) or programming equipment; if the software is programmed, the software is also installed on the corresponding equipment when in use.
Furthermore, the hardware operating environment of the code-free programming method may be an electronic device, such as a computer, a server, a tablet and other electronic devices with data processing functions.
In the programming product, a code-free programming interface (which can be understood as a graphical interface without programming code involved) can be predefined, and when code-free programming is required, the programming product displays the code-free programming interface, and a user can realize code-free programming based on the displayed code-free programming interface.
The code-free programming method can be applied to various application scenes and realizes the programming of processing logic of different hardware or software. For example: the processing logic of the cloud, controller and PC (Personal Computer) are programmed.
If the processing logic of the cloud is programmed, the programming of various processing logics such as data processing, business logic and the like of the cloud can be realized.
If the processing logic of the PC is programmed, the programming of various processing logics of data processing, data presentation and the like of the PC can be realized.
Programming of the control logic of the controller may be achieved if the processing logic of the controller is programmed.
In the prior art, if the processing logic of a controller, a PC or a cloud needs to be programmed, corresponding codes need to be written; in the embodiments of the present application, however, code need not be written.
In addition, when the corresponding hardware or software needs to be programmed, the device corresponding to the programming product is connected with the corresponding hardware or software.
Based on the introduction of the application scenario, please refer to fig. 1, which is a flowchart of a method for code-free programming according to an embodiment of the present application, the method includes:
step 110: a graphical interface for programming is presented. The graphical interface comprises a data input point set, a function module set and a data output point set.
Step 120: and respectively determining a target data input point, a target function module and a target data output point from the data input point set, the function module set and the data output point set based on a selection instruction of a user on the graphical interface.
Step 130: and determining the processing logic of the data based on the connection operation of the user on the target data input point, the target function module and the target data output point on the graphical interface.
In the embodiment of the application, compared with the prior art, by displaying a graphical interface for programming, a user can select a required data point and a required function module from the graphical interface and then connect the data point and the function module, so that the programming of the processing logic of the data can be realized. In the whole process, a user realizes programming through selection and connection operation without compiling codes, so that the method does not need the user to perform software programming with higher difficulty any more, the difficulty is reduced, and the applicability and the convenience are improved; moreover, the processing logic programmed by the user can be visually displayed on a graphical interface, so that subsequent utilization and maintenance are facilitated.
A detailed implementation of steps 110-130 is described next.
Referring to fig. 2, which is an exemplary diagram of a graphical interface for programming according to an embodiment of the present disclosure, in fig. 2, a data input point set includes a plurality of data input points, a data output point set includes a plurality of data output points, and a function module set includes a plurality of function modules.
In applying the programming product, a developer may define a set of data input points, a set of data output points, and a set of function module points. In defining, the application scenario of the programming product can be defined in connection with. For example: if the programming product is applied to the cloud, the data entry points and data exit points may be associated with inputs and outputs in the processing logic of the cloud. For another example: if the programming is applied to a controller, the data input points and data output points may be associated with input signals and output signals in the processing logic of the controller.
After the definition is completed, the various graphical interfaces defined are stored as graphical interface files. When a user needs to program, the needed graphical interface can be selected according to actual requirements.
Thus, as an alternative embodiment, step 110 includes: and showing a target graphical interface selected by a user from a plurality of predefined graphical interfaces.
Of course, the predefined data input point set, the predefined function module set and the predefined data output point set may also be universal, and the user does not need to select and displays a universal graphical interface by default.
In the embodiment of the present application, the set of functional modules may include: a logic operation module, a mathematic operation module, a functional block and the like. The logic operation module is used for representing a logic operation relation between data, and comprises: and, or, not, comparator, etc. The data operation module is used for representing mathematical operation relation among data, and comprises: addition, subtraction, multiplication, division, and the like. The functional module is used for representing functional operation relation among data, and comprises: PID (proportional-Integral-derivative), Delay, and the like.
On the graphical interface shown in fig. 2, the plurality of data input points and the plurality of data output points may be preferentially centered and displayed at a preset distance, and the positions thereof may be arbitrarily adjusted in the subsequent programming process.
Wherein the data input point and the data output point may have different data types, such as: logical type, floating point type, etc. To facilitate distinguishing between different data types, data points of different data types may be represented by different colors on the interface, for example: the logical type data points are red and the floating point type data points are green.
In addition to the data input points, data output points and functional modules, the programming of the processing logic should also include various connection tools on the graphical interface, such as: the connecting wire, the connecting wire still corresponds has different setting options, for example: thickness of the connecting line, color, form of the connecting line (dotted line, solid line, presence or absence of an arrow, etc.). Namely, a corresponding toolbar is also configured on the graphical interface to facilitate programming by the user.
In addition, the graphical interface is not a separate one display interface, but a display interface corresponding to the programming product.
After the graphical interface is presented in step 110, the user may proceed with codeless programming. In step 120, a target data input point, a target function module and a target data output point are determined from the data input point set, the function module set and the data output point set respectively based on a selection instruction of a user on the graphical interface.
The user can initiate a selection instruction in a selection and/or dragging mode, and based on the selection instruction, the programming product can determine a target data input point, a target function module and a target data output point. It is understood that the number of the target data input points, the target function modules, and the target data output points is plural respectively.
After determining the target data input point, the target function module and the target data output point, step 130 is executed to determine the processing logic of the data based on the connection operation of the user to the target data input point, the target function module and the target data output point on the graphical interface.
When the connection operation is executed, the user can move the target data input point, the target function module and the target data output point to any position, and the programming product responds to the operation of the user and places the target data input point, the target function module and the target data output point at the corresponding positions.
Then, the user connects the data input point, the function module and the data output point according to the required logical relationship by the connection tool (for example, the connection line) described in the foregoing embodiment.
For example: assume that the processing logic is: summing data collected by the sensor A and the sensor B, and then determining whether the equipment C needs to be closed or not according to a summing result; and the sensor A corresponds to the data input point 1, the sensor B corresponds to the data input point 2, and the control instruction of the device C corresponds to the data output point 1, so that when the data input point 1 and the data input point 2 are connected to the input end of the addition operation functional module by a user, and the output end of the addition operation functional module is connected to the data output point 1.
After the connection, the processing logic programmed by the user is also determined accordingly. For example: the input data point 1 (corresponding to the signal of the sensor a) and the data input point 2 (corresponding to the signal of the sensor B) are subjected to and operation, then the result of the and operation is summed with the data input point 3 (corresponding to the signal of the sensor C), and finally the data output point 1 (corresponding to the control instruction of the device C) is obtained, and then the processing logic therein is: performing AND operation on the signal acquired by the sensor A and the signal acquired by the sensor B; and performing summation operation on the result obtained by the summation operation and the signal acquired by the sensor C, and judging whether the equipment C needs to be started or not based on the result of the summation operation.
It will be appreciated that when the definition of the functional modules is initially made, it may not be possible to take into account all of the functional modules, i.e. there may be situations where the programming requirements of the user are not fully met. Therefore, in order to solve this problem, it is also possible to provide the user with a function customized to the function module.
Furthermore, as an optional implementation manner, the set of function modules further includes a custom function module, and a custom process of the custom function module includes: receiving a first custom operation of a user; the first self-defining operation is used for self-defining a new functional module; generating a new functional module according to the first custom operation; and adding the new functional module as a self-defined functional module into the functional module set.
In this embodiment, the user can customize a new function module according to his own needs, program and generate a corresponding new function module first, and then add it to the function module set to implement configuration and storage of the customized function module. Furthermore, the user may initiate a selection instruction based on the custom function module and/or the predefined function module, that is, the target function module may be the custom function module or the predefined function module.
In the embodiment of the application, the functional module set can include the user-defined functional module, and then, a user can realize more flexible programming through the user-defined functional module, and the user-defined functional module has higher expandability and stronger flexibility.
Besides the self-defining function module, the data input point and the data output point may also only consider some basic input data or output data when defining, therefore, in order to adapt to the requirements of the user, the user can also self-define the temporary data point, and correspondingly, on the graphical interface, the method further includes: and self-defining the temporary data point set. The method further comprises the following steps: receiving a second user-defined operation of the user; the second self-defining operation is used for self-defining the temporary data point; generating a temporary data point according to the second custom operation; and adding the temporary data points into the user-defined temporary data point set as user-defined temporary data points.
In this embodiment, the user can customize the temporary data points according to the needs of the user, so as to perform more convenient operation on the data corresponding to the data input points. For example: when the operation logic of the data input point is more complex, some intermediate data points can be defined by users, and the complex operation flow is simplified to a certain extent.
In the embodiment of the application, the user can also customize the temporary data point, and then the user can realize more flexible programming by customizing the temporary data point, so that the expandability is higher and the flexibility is stronger.
For the application of the custom temporary data point, the method further comprises: and determining a target temporary data point from the self-defined temporary data point set based on a selection instruction of a user in the graphical interface. Further, in step 130, the processing logic of the data is determined based on the user's connection operation of the target data input point, the target function module, the target temporary data point and the target data output point on the graphical interface.
After the user selects the target temporary data point, a connection operation is performed on the target data input point, the target function module, the target temporary data point, and the target data output point, and the programming product can determine the processing logic of the data based on the connection operation.
In addition, during the process of code-free programming based on the graphical interface, if the function or the represented meaning of any data input point, data output point and function module is not clear, the user can view the data input point, the data output point and the function module.
Therefore, as an optional implementation, the method further comprises: receiving a first click operation of a user on any data input point in the data input point set; and displaying the information of the corresponding data input point according to the first click operation.
In this embodiment, the user can view the information of the data input point by means of a click operation, such as: and inputting data corresponding to the data input points. In this manner, more efficient and accurate code-free programming is facilitated for the user.
As an optional implementation method, the method further includes: receiving a second click operation of the user on any data output point in the data output point set; and displaying the information of the corresponding data output point according to the second click operation.
In this embodiment, the user can view the information of the data output point by means of a click operation, such as: and outputting data corresponding to the data output points. In this manner, more efficient and accurate code-free programming is facilitated for the user.
In addition to the data input point and the data output point, the function module described in the foregoing embodiment may also be viewed by the user through a click operation. Thus, the method further comprises: receiving a third click operation of the user on any functional module in the functional module set; and displaying the functions of the corresponding functional modules according to the third click operation. For example: the function of the function block is an and operation, a sum operation, and the like.
For example, referring to fig. 3, an exemplary diagram of a graphical interface after a user completes all programming is shown, in fig. 3, a plurality of data input points, a plurality of data output points, and a plurality of function modules are connected and completed, and processing logic to be programmed by the user is correspondingly determined.
After determining the processing logic, the processing logic may be directly saved as a codeless programming file, and when an application is needed, the file is recalled for application. Or the application can be downloaded to the software or hardware of the application in real time to realize the application.
As a first optional implementation, the application manner of the processing logic is as follows: generating a program code corresponding to the processing logic; compiling or analyzing the program codes to obtain corresponding compiling results or analyzing results; and downloading the compiling result or the analyzing result into software or hardware.
In the embodiment of the present application, a relationship between the processing logic and the program code may be preset, and when the program code is generated, the program code corresponding to the processing logic is searched for, so as to generate the program code. When the correspondence is preset, the processing logic may be some sub-processing logic, such as: and arithmetic processing logic; after the program codes corresponding to the sub-processing logics are found, the program codes are combined to obtain the whole program code. Different sub-processing logics should adopt the same programming language, and then program codes corresponding to the sub-processing logics can be combined into corresponding whole program codes.
After the corresponding program code is generated, the program code may be compiled or parsed directly, and after the compilation or the parsing is completed, the obtained compilation result or parsing result may be downloaded to software or hardware. Taking the compiling result or the analyzing result as the control instruction as an example, if the final result of the compiling or the analyzing is 0, the equipment is closed; if the final result of compiling or analyzing is 1, the equipment is started; the control instruction is downloaded to the controller, and the controller can execute the corresponding control instruction.
As a second optional implementation, the application manner of the processing logic is as follows: generating a processing logic file corresponding to the processing logic; the processing logic file is downloaded into software or hardware.
The implementation mode is suitable for application scenes that software or hardware has a logic file parsing function. The processing logic file can be understood as a file describing the processing logic, the file is downloaded into software or hardware, the processing logic in the software or hardware can be analyzed due to the file analyzing function of the software or hardware, and then the input data is processed according to the processing logic, so that corresponding output data can be obtained.
After the software or hardware executes the corresponding processing logic, the execution result can be fed back to the programming product, and the programming product is fed back to the user, so that the user can view the programming result.
Through the introduction of the above embodiments, it can be seen that the embodiment of the present application replaces a way of a programmer writing a program by a combination of a graphical, a logical connection and a functional module to write a business application logic. Therefore, the technical requirements on users are reduced, common individuals can realize own business requirements without depending on professional programmers, the business requirements can be visually and conveniently realized, and the development cost is greatly saved.
Based on the same inventive concept, referring to fig. 4, an embodiment of the present application further provides a codeless programming apparatus 400, including: a presentation module 410 and a processing module 420.
The presentation module 410 is used to: and displaying a graphical interface for programming, wherein the graphical interface comprises a data input point set, a function module set and a data output point set. The processing module 420 is configured to: respectively determining a target data input point, a target function module and a target data output point from the data input point set, the function module set and the data output point set based on a selection instruction of a user on the graphical interface; and determining the processing logic of the data based on the connection operation of the target data input point, the target function module and the target data output point on the graphical interface by the user.
In this embodiment of the application, the processing module 420 is further configured to: receiving a first custom operation of the user; the first self-defining operation is used for self-defining a new functional module; generating a new functional module according to the first custom operation; and adding the new functional module as a self-defined functional module into the functional module set.
In this embodiment of the present application, the processing module 420 is further configured to receive a second custom operation of the user; the second customizing operation is used for customizing a temporary data point; generating a temporary data point according to the second custom operation; and adding the temporary data point into the user-defined temporary data point set as a user-defined temporary data point.
In this embodiment of the application, the processing module 420 is further configured to: determining a target temporary data point from the user-defined temporary data point set based on a selection instruction of a user in the graphical interface; and in particular for: and determining the processing logic of the data based on the connection operation of the target data input point, the target function module, the target temporary data point and the target data output point by the user on the graphical interface.
In this embodiment of the application, the processing module 420 is further configured to: receiving a first click operation of the user on any data input point in the data input point set; and displaying the information of the corresponding data input point according to the first click operation.
In this embodiment of the application, the processing module 420 is further configured to: receiving a second click operation of the user on any data output point in the data output point set; and displaying the information of the corresponding data output point according to the second clicking operation.
In this embodiment of the application, the processing module 420 is further configured to: receiving a third click operation of the user on any functional module in the functional module set; and displaying the functions of the corresponding functional modules according to the third click operation.
The codeless programming apparatus 400 corresponds to a codeless programming method, and each functional module corresponds to each step of a hardware programming method, so that embodiments of each module of the codeless programming apparatus 400 may refer to embodiments of the codeless programming method, and will not be described again here.
Based on the same inventive concept, referring to fig. 5, an embodiment of the present application further provides an electronic device 500, where the electronic device 500 may be used as a programming product, and may also be used as a device for installing the programming product, and includes: processor 510, memory 520, display 530, input output module 540.
The processor 510, the memory 520, the display 530 and the input/output module 540 are electrically connected directly or indirectly to realize data transmission or interaction. For example, electrical connections between these components may be made through one or more communication or signal buses. The codeless programming method includes at least one software functional module that may be stored in the memory 520 in the form of software or firmware (firmware), respectively, such as a software functional module or a computer program included in the codeless programming device 400.
The memory 520 may store various software programs and modules, such as program instructions/modules corresponding to the code-free programming methods and apparatuses provided by the embodiments of the present application. The processor 510 executes various functional applications and data processing by executing software programs and modules stored in the memory 520, thereby implementing the methods in the embodiments of the present application.
The Memory 520 may include, but is not limited to, a RAM (Random Access Memory), a ROM (Read Only Memory), a PROM (Programmable Read-Only Memory), an EPROM (Erasable Read-Only Memory), an EEPROM (electrically Erasable Read-Only Memory), and the like.
The display 530 provides an interactive interface (e.g., a user interface) for a user and for presenting graphical interfaces. In the embodiment of the present application, the display 530 may be a liquid crystal display or a touch display. In the case of a touch display, the display can be a capacitive touch screen or a resistive touch screen, which supports single-point and multi-point touch operations. Supporting single-point and multi-point touch operations means that the touch display can sense touch operations from one or more locations on the touch display at the same time, and the sensed touch operations are sent to the processor 510 for calculation and processing.
The input/output module 540 can be used as an input or output tool, such as: mouse, keyboard lamp, through input/output module 540, the user can accomplish the operation of self-defining function module and self-defining interim data point better.
It will be appreciated that the configuration shown in FIG. 5 is merely illustrative, and that electronic device 500 may include more or fewer components than shown in FIG. 5, or have a different configuration than shown in FIG. 5, such as: the electronic device 500 may also include a communication module and the like. The components shown in fig. 5 may be implemented in hardware, software, or a combination thereof.
Based on the same inventive concept, embodiments of the present application further provide a readable storage medium, where a computer program is stored on the readable storage medium, and when the computer program is executed by a computer, the computer program executes the code-free programming method of any of the above embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one logical division, and there may be other divisions when actually implemented, and for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of devices or units through some communication interfaces, and may be in an electrical, mechanical or other form.
In addition, units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
Furthermore, the functional modules in the embodiments of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
In this document, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions.
The above description is only an example of the present application and is not intended to limit the scope of the present application, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application shall be included in the protection scope of the present application.
Claims (10)
1. A codeless programming method, comprising:
displaying a graphical interface for programming, wherein the graphical interface comprises a data input point set, a function module set and a data output point set;
respectively determining a target data input point, a target function module and a target data output point from the data input point set, the function module set and the data output point set based on a selection instruction of a user on the graphical interface;
and determining the processing logic of the data based on the connection operation of the target data input point, the target function module and the target data output point on the graphical interface by the user.
2. The method of claim 1, wherein the set of functional modules includes custom functional modules, the method further comprising:
receiving a first custom operation of the user; the first self-defining operation is used for self-defining a new functional module;
generating a new functional module according to the first custom operation;
and adding the new functional module as a self-defined functional module into the functional module set.
3. The method of claim 1, wherein the graphical interface further comprises a custom temporary set of data points, the method further comprising:
receiving a second custom operation of the user; the second customizing operation is used for customizing a temporary data point;
generating a temporary data point according to the second custom operation;
and adding the temporary data point into the user-defined temporary data point set as a user-defined temporary data point.
4. The method of claim 3, further comprising:
determining a target temporary data point from the user-defined temporary data point set based on a selection instruction of a user in the graphical interface;
the determining data processing logic based on the connection operation of the user to the target data input point, the target function module and the target data output point on the graphical interface comprises:
and determining the processing logic of the data based on the connection operation of the target data input point, the target function module, the target temporary data point and the target data output point by the user on the graphical interface.
5. The method of claim 1, further comprising:
receiving a first click operation of the user on any data input point in the data input point set;
and displaying the information of the corresponding data input point according to the first click operation.
6. The method of claim 1, further comprising:
receiving a second click operation of the user on any data output point in the data output point set;
and displaying the information of the corresponding data output point according to the second clicking operation.
7. The method of claim 1, further comprising:
receiving a third click operation of the user on any functional module in the functional module set;
and displaying the functions of the corresponding functional modules according to the third click operation.
8. A codeless programming apparatus, comprising:
the display module is used for displaying a graphical interface for programming, and the graphical interface comprises a data input point set, a function module set and a data output point set;
the processing module is used for determining a target data input point, a target function module and a target data output point from the data input point set, the function module set and the data output point set respectively based on a selection instruction of a user on the graphical interface; and determining the processing logic of the data based on the connection operation of the target data input point, the target function module and the target data output point on the graphical interface by the user.
9. An electronic device, comprising:
a processor; and a memory and a display communicatively coupled to the processor;
wherein the memory stores instructions executable by the processor to enable the processor to perform the code-free programming method of any of claims 1 to 7.
10. A readable storage medium, having stored thereon a computer program which, when executed by a computer, performs a code-free programming method according to any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110805640.XA CN113535154B (en) | 2021-07-16 | 2021-07-16 | Code-free programming method and device, electronic equipment and readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110805640.XA CN113535154B (en) | 2021-07-16 | 2021-07-16 | Code-free programming method and device, electronic equipment and readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113535154A true CN113535154A (en) | 2021-10-22 |
CN113535154B CN113535154B (en) | 2024-06-14 |
Family
ID=78128405
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110805640.XA Active CN113535154B (en) | 2021-07-16 | 2021-07-16 | Code-free programming method and device, electronic equipment and readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113535154B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114661292A (en) * | 2022-03-07 | 2022-06-24 | 北京时空墨科技有限公司 | Data processing device and programming system |
CN115657571A (en) * | 2022-12-26 | 2023-01-31 | 广东群宇互动科技有限公司 | Intelligent toy production method, system, platform and storage medium |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8171461B1 (en) * | 2006-02-24 | 2012-05-01 | Nvidia Coporation | Primitive program compilation for flat attributes with provoking vertex independence |
US20120324353A1 (en) * | 2011-06-20 | 2012-12-20 | Tandemseven, Inc. | System and Method for Building and Managing User Experience for Computer Software Interfaces |
WO2019047218A1 (en) * | 2017-09-11 | 2019-03-14 | 深圳配天智能技术研究院有限公司 | Graphic programming method, device, computer storage medium, and vision system |
CN109542422A (en) * | 2018-11-21 | 2019-03-29 | 成都聚维合科技有限公司 | A method of realizing visual patternization programming |
CN109960516A (en) * | 2019-02-28 | 2019-07-02 | 珠海市横琴新区芯云平台科技有限公司 | A kind of concentrating type Internet of Things application development system and its method |
CN111694637A (en) * | 2020-05-22 | 2020-09-22 | 哈尔滨工业大学 | Online full-automatic multi-agent control simulation compiling system |
CN111736822A (en) * | 2020-08-21 | 2020-10-02 | 深圳点猫科技有限公司 | Variable operation method and device in graphical programming tool |
CN112199085A (en) * | 2020-09-10 | 2021-01-08 | 广州致远电子有限公司 | Application program development method, application program operation method and application program operation device based on flow graph drawing |
CN112306481A (en) * | 2020-10-16 | 2021-02-02 | 深圳市大富网络技术有限公司 | Code display method, system, device and storage medium for graphical programming scene |
-
2021
- 2021-07-16 CN CN202110805640.XA patent/CN113535154B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8171461B1 (en) * | 2006-02-24 | 2012-05-01 | Nvidia Coporation | Primitive program compilation for flat attributes with provoking vertex independence |
US20120324353A1 (en) * | 2011-06-20 | 2012-12-20 | Tandemseven, Inc. | System and Method for Building and Managing User Experience for Computer Software Interfaces |
WO2019047218A1 (en) * | 2017-09-11 | 2019-03-14 | 深圳配天智能技术研究院有限公司 | Graphic programming method, device, computer storage medium, and vision system |
CN109542422A (en) * | 2018-11-21 | 2019-03-29 | 成都聚维合科技有限公司 | A method of realizing visual patternization programming |
CN109960516A (en) * | 2019-02-28 | 2019-07-02 | 珠海市横琴新区芯云平台科技有限公司 | A kind of concentrating type Internet of Things application development system and its method |
CN111694637A (en) * | 2020-05-22 | 2020-09-22 | 哈尔滨工业大学 | Online full-automatic multi-agent control simulation compiling system |
CN111736822A (en) * | 2020-08-21 | 2020-10-02 | 深圳点猫科技有限公司 | Variable operation method and device in graphical programming tool |
CN112199085A (en) * | 2020-09-10 | 2021-01-08 | 广州致远电子有限公司 | Application program development method, application program operation method and application program operation device based on flow graph drawing |
CN112306481A (en) * | 2020-10-16 | 2021-02-02 | 深圳市大富网络技术有限公司 | Code display method, system, device and storage medium for graphical programming scene |
Non-Patent Citations (2)
Title |
---|
JENSE++: "Arduino图形化编程", pages 35 - 37, Retrieved from the Internet <URL:https://blog.csdn.net/weixin_41318622/article/details/86520415> * |
边馥萍等编著: "《工科基础数学实验》", 天津大学出版社, pages: 35 - 37 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114661292A (en) * | 2022-03-07 | 2022-06-24 | 北京时空墨科技有限公司 | Data processing device and programming system |
CN115657571A (en) * | 2022-12-26 | 2023-01-31 | 广东群宇互动科技有限公司 | Intelligent toy production method, system, platform and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN113535154B (en) | 2024-06-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109542399B (en) | Software development method and device, terminal equipment and computer readable storage medium | |
EP3809257B1 (en) | Naming robotic process automation activities according to automatically detected target labels | |
CN108351764B (en) | Data processing method and system | |
US7024631B1 (en) | System and method for enabling graphical program polymorphism | |
US12073196B2 (en) | Application platform for designing and executing applications | |
CN113535154B (en) | Code-free programming method and device, electronic equipment and readable storage medium | |
EP3940538A2 (en) | Method and device for operator registration processing based on deep learning and electronic device | |
US7992128B2 (en) | Computer software adaptation method and system | |
US7761859B2 (en) | Application development environment with features for aiding a user in writing function calls | |
US20020184611A1 (en) | Design system and method having improved display of code | |
US8255886B2 (en) | Methods and apparatus for analyzing SIMD code | |
US20060036997A1 (en) | Application development environment with features for increasing the ease and efficiency of viewing function help text | |
JP2006344076A (en) | Program generating device, program generating method and program | |
De Boeck et al. | High-level modeling of multimodal interaction techniques using nimmit | |
CN112214256B (en) | Machine learning operation control method and device, electronic equipment and storage medium | |
CN113609823B (en) | Method and device for editing questionnaire logic, terminal equipment and storage medium | |
EP4006715A1 (en) | Creating a native app method and system | |
US20150178072A1 (en) | Creating a prerequisite checklist corresponding to a software application | |
CN115269285A (en) | Test method and device, equipment and computer readable storage medium | |
Silva et al. | Android App Development Applied to Remote Tasks Simplification | |
CN113467772A (en) | Project template generation method and device, electronic equipment and storage medium | |
US20200310791A1 (en) | Error checking of notebook code blocks | |
US20040030963A1 (en) | Method and apparatus for debugging computer program | |
CN112988139A (en) | Method and device for developing event processing file | |
US9250870B2 (en) | Automated creation of shim programs and interfaces |
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 |