WO2021217657A1 - 快速开发软件的方法、计算机设备、及存储介质 - Google Patents

快速开发软件的方法、计算机设备、及存储介质 Download PDF

Info

Publication number
WO2021217657A1
WO2021217657A1 PCT/CN2020/088494 CN2020088494W WO2021217657A1 WO 2021217657 A1 WO2021217657 A1 WO 2021217657A1 CN 2020088494 W CN2020088494 W CN 2020088494W WO 2021217657 A1 WO2021217657 A1 WO 2021217657A1
Authority
WO
WIPO (PCT)
Prior art keywords
instruction
function body
node
interface
input
Prior art date
Application number
PCT/CN2020/088494
Other languages
English (en)
French (fr)
Inventor
顾峰巍
冯燕朋
Original Assignee
深圳中砼物联网科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳中砼物联网科技有限公司 filed Critical 深圳中砼物联网科技有限公司
Priority to PCT/CN2020/088494 priority Critical patent/WO2021217657A1/zh
Publication of WO2021217657A1 publication Critical patent/WO2021217657A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code

Definitions

  • the present invention relates to the field of computer technology, in particular to a method for rapid software development, computer equipment, and storage media.
  • the present invention provides a method for rapid software development, and the rapid software development includes:
  • a plurality of instruction packages and/or one or more function bodies are provided, each of the instruction packages is packaged by an instruction programming statement frame; each of the function bodies is packaged by a processing logic block Into; the instruction package and the function body have the same framework, each of the instruction package includes an instruction input interface, an instruction output interface and an instruction call function, the function body includes a function body input interface, a function body output Interface and function body call functions;
  • the configuration information includes the node information that needs to be configured, the associated information of the node, the input information element and the output information element of the node, where the node information is used to indicate the instruction package that needs to be configured, and/ Or function body; the associated information of the node is used to indicate the order of the instruction package that needs to be configured and/or the connection sequence of the function body; the input information element and the output information element of the node are used to indicate what needs to be configured The instruction package, and/or the input information element and output information element of the function body that need to be configured, wherein, in the two interconnected nodes, the input information element of one node and the output information element of the other node are all or partly the same, or The output information elements of one node are all or partly the same as the input information elements of another node;
  • the input information element and output information element of the node are correspondingly allocated to the instruction input interface and the corresponding instruction output interface, and/or the input information element and output information of the node are correspondingly allocated to the A function body input interface and the function body output interface;
  • the instruction programming statement frame corresponding to the instruction package body that needs to be configured is called through the instruction calling function, and/or the function body that needs to be configured is called through the function body calling function.
  • the multiple instruction packages, one or more instructions are packaged through the instruction input interface and the instruction output interface, and/or the function body input interface and the function body output interface Body and/or function body are associated to form another processing logic block;
  • the another processing logic program block is encapsulated to form another function body, and the another function body has the same frame as the function body.
  • the present invention also provides a computer device, which includes:
  • a memory for storing computer executable programs
  • a processor which is used to execute the executable program to implement the above-mentioned method for rapid software development.
  • the present invention also provides a storage medium for storing a computer-executable program, and the computer-executable program is executed by a processor to implement the above-mentioned method for rapid software development.
  • the instruction packages corresponding to the programming sentence framework are provided, the instruction packages having the same framework can associate or combine the instruction packages to form a data processing logic block. Moreover, since the developed function body can be called, the software development process is greatly accelerated.
  • Fig. 1 is a schematic diagram of a running environment for rapid development of a software program provided by the first embodiment of the present invention.
  • FIG. 2 is a structural diagram of the internal structure of a computer device provided by the first embodiment of the present invention.
  • Fig. 3 is a schematic flowchart of a method for rapid software development provided by the first embodiment of the present invention.
  • FIG. 4 is a schematic diagram of program modules of the rapid development software provided by the first embodiment of the present invention.
  • FIG. 5 is a schematic diagram of the structural framework of the instruction package provided by the first embodiment of the present invention.
  • FIG. 6 is a schematic diagram of the instruction package configured as a function body provided by the first embodiment of the present invention.
  • FIG. 7 is a schematic diagram of the data storage architecture set by the rapid development software provided by the first embodiment of the present invention.
  • FIG. 8 is a schematic diagram of a user interface of the method for rapid software development provided by the first embodiment of the present invention.
  • FIG. 9 is a schematic diagram of another user interface of the method for rapid software development provided by the second embodiment of the present invention.
  • FIG. 10 is a schematic diagram of a sub-flow of a method for rapid software development provided by the first embodiment of the present invention.
  • FIG. 11 is a schematic diagram of a sub-flow of a method for rapid software development provided by the second embodiment of the present invention.
  • FIG. 12 is a schematic diagram of the formation process of the third function body provided by the third embodiment of the present invention.
  • FIG. 13a to 13c are schematic diagrams of the internal structure of the created function body provided by the first embodiment of the present invention.
  • FIG. 1 is a schematic diagram of the environment in which the rapid development software program operates according to the first embodiment.
  • the system 1000 for rapid software development includes a client 1001 and a background server 1002.
  • the background server 1002 communicates with the client 1001 through the network 1003.
  • the backend server 1002 instructs the package body and/or function body, and displays the graphical elements required for constructing the visual illustration on the client 1001; the user configures the graphical elements through the client 1001 A visual icon corresponding to the instruction package/or function body; the back-end server 1002 presets rules to parse the instruction package and/or function body information contained in the visual icon, and uses the corresponding instruction programming statement framework and
  • the processing logic block generates one or more executable software.
  • the instruction programming statement frame is an instruction programming statement that does not include input parameters and output parameters or the input parameters and output parameters are empty, including but not limited to the registered programming statement frame, the assignment programming statement frame, and the judgment programming statement frame.
  • Graphic elements used to construct graphics, including but not limited to icons, node graphics, configuration lines, input boxes, etc. in:
  • the icons include at least icons and function body icons corresponding to the programming statement framework required by the data processing logic, and the function body icons correspond to the configured logic handlers or event handlers.
  • the node graph corresponds to the icon one by one.
  • the configuration line is used to associate each node graph.
  • the input box is used for users to configure input parameters (input information elements) and output parameters (output information elements).
  • FIG. 2 is a diagram of the internal structure of the computer device 800 provided in the first embodiment.
  • the client 1001 and the server 1002 install computer equipment having client and server programs, respectively.
  • the computer equipment can be a tablet computer, a desktop computer, or a notebook computer. Computer equipment can be loaded with or Wait for the operating system.
  • the computer device 800 includes a storage medium 801, a processor 802, and a bus 803.
  • the storage medium 801 includes at least one type of readable storage medium.
  • the readable storage medium includes flash memory, hard disk, multimedia card, card-type memory (for example, SD or DX memory, etc.), magnetic memory, magnetic disk, optical disk, and the like.
  • the storage medium 801 may be an internal storage unit of the computer device 800 in some embodiments, such as a hard disk of the computer device 800. In other embodiments, the storage medium 801 may also be an external computer device 800 storage device, such as a plug-in hard disk equipped on the computer device 800, a smart memory card (Smart Media Card, SMC), and a secure digital (Secure Digital, SD) ) Card, Flash Card, etc. Further, the storage medium 801 may also include both an internal storage unit of the computer device 800 and an external storage device. The storage medium 801 can be used not only to store application software and various data installed in the computer device 800, such as program instructions for rapid software development, but also to temporarily store data that has been output or will be output.
  • an external computer device 800 storage device such as a plug-in hard disk equipped on the computer device 800, a smart memory card (Smart Media Card, SMC), and a secure digital (Secure Digital, SD) ) Card, Flash Card, etc.
  • the storage medium 801 may also include both an internal
  • the bus 803 may be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus, etc.
  • PCI peripheral component interconnect
  • EISA extended industry standard architecture
  • the bus can be divided into address bus, data bus, control bus and so on. For ease of representation, only one thick line is used in FIG. 2, but it does not mean that there is only one bus or one type of bus.
  • the computer device 800 may further include a display component 804.
  • the display component 804 may be an LED (Light Emitting Diode, light emitting diode) display, a liquid crystal display, a touch liquid crystal display, an OLED (Organic Light-Emitting Diode, organic light emitting diode) touch device, and the like.
  • the display component 804 may also be appropriately referred to as a display device or a display unit, which is used to display information processed in the computer device 800 and used to display a visualized user interface.
  • the computer device 800 may also include a communication component 805.
  • the communication component 805 may optionally include a wired communication component and/or a wireless communication component (such as a WI-FI communication component, a Bluetooth communication component, etc.), which is usually used in computer equipment 800 establishes a communication connection with other computer equipment.
  • a wireless communication component such as a WI-FI communication component, a Bluetooth communication component, etc.
  • the processor 802 may be a central processing unit (CPU), controller, microcontroller, microprocessor, or other data processing chip, and is used to run the program code stored in the storage medium 801 or Data processing. Specifically, the processor 802 executes a rapid development software program to control the computer device 800 to implement a rapid development software method.
  • CPU central processing unit
  • controller microcontroller
  • microprocessor microprocessor
  • FIG. 2 only shows a computer device 800 with components 801-805 and 01.
  • FIG. 3 does not constitute a limitation on the computer device 800, and may include Fewer or more parts are shown, or some parts are combined, or different parts are arranged.
  • FIG. 3 schematically shows a flowchart of a method for rapid software development provided by the first embodiment.
  • Figure 4 schematically shows a block diagram of the rapid development software.
  • the program instructions of the rapid development software are executed in the computer device 800.
  • the rapid development software program instructions are stored in the storage medium 801.
  • the processor 802 executes the rapid development software program instructions to implement the method for rapid software development.
  • the method of rapid software development includes the following steps.
  • Step S301 Provide multiple instruction packages and/or one or more function bodies, each instruction package is packaged by an instruction programming statement frame; each function body is packaged by a processing logic block ; The instruction package body and the function body have the same framework.
  • Each instruction package body includes an instruction input interface, an instruction output interface and an instruction calling function.
  • the function body includes a function body input interface, a function body output interface and a function body calling function.
  • the instruction programming statement frame is an instruction programming statement that does not include input parameters (instruction input information elements) and output parameters (instruction output information elements).
  • the instruction programming statement frame D includes a first instruction programming frame FD and a second programming statement frame RD.
  • the first instruction programming statement frame FD is an event processing instruction programming statement frame required for front-end software (user interface) development;
  • the second instruction programming statement frame RD is a data processing logic instruction programming statement frame required for developing back-end software development.
  • the instruction package B includes a first instruction package FB formed by packaging a first instruction programming sentence frame FD and a second instruction package RB formed by packaging a second instruction programming sentence frame RD.
  • the first instruction programming statement frame FD includes, but is not limited to, the Null programming statement frame D1, the conversion string programming statement frame D2, and the decrement operation programming statement frame D3.
  • the second instruction programming statement frame RD includes, but is not limited to, a registered programming statement frame D4, an assignment programming statement frame D5, and a judgment programming statement frame D6. Understandably, with the same function but using different programming languages, the syntax structure of the first instruction programming sentence frame FD or the second instruction programming sentence frame RD having the same function is different. For example, the use of C++ software development language is different from the framework of registered programming statements that use JAVA software development language. The user can determine the instruction programming statement frame according to the specific software development language used, which is not limited here.
  • the instruction package B includes a first instruction package FB and a second instruction package RB.
  • the first instruction package FB is packaged by the first instruction programming statement frame FD.
  • the second instruction package RB is packaged by the second instruction programming statement frame RB.
  • the instruction package B includes an instruction input interface I1, an instruction output interface O1, and an instruction calling function F1.
  • the instruction calling function F1 of the first instruction package FB and the second instruction package RB are the same.
  • the instruction calling functions of the first instruction package FB and the second instruction package RB may be different.
  • the instruction input interface I1 is used to receive instruction input information elements configured by the user; the instruction output interface O1 is used to receive instruction output information elements configured by the user.
  • the command calling function F1 is used to call the corresponding command programming sentence frame, and combine the command input information elements and command input information elements configured by the user to form the command programming sentence. Understandably, the input information element and the output information element corresponding to the first instruction package FB are page elements 203 (as shown in FIG. 8). The input information element and output information element corresponding to the second instruction package RB are the information element 318 (as shown in FIG. 9).
  • the processing logic block P may include an event processing logic block and a data processing logic block.
  • the event processing logic program block is used to call the data processing logic program to process the data input by the front-end user interface and output the corresponding processing results.
  • the data processing logic block is used to process back-end data and provide data to the event processing logic block.
  • the processing logic program block P is formed by combining the instruction package B.
  • the processing logic program block P can also be processed by the system's own system processing logic program.
  • the function body S includes an event processing function body FS and a data processing logic body RS.
  • the function body S can be understood as being formed after encapsulating the processing logic block P.
  • the framework of the function body S is the same as the framework of the instruction package body B.
  • the function body S includes a function body calling function F2, a function body input interface I2, and a function body output interface O2.
  • the event processing function body FS and the function body calling function F2 of the data processing logic body RS are the same.
  • the function body calling function F2 of the event processing function body FS and the data processing logic body RS may be different.
  • the function body input interface I2 is used to receive the function body input information elements configured by the user; the instruction output interface O2 is used to receive the function body output information elements configured by the user.
  • Function body calling function F2 is used to call the corresponding processing logic program block P, and provide the function body input information elements and function body output information elements configured by the user to the corresponding processing logic body program block P for the processing program block P according to the function
  • the body input information element is processed and the output function body outputs the information element.
  • Step S303 Obtain the configuration information of the user, the configuration information includes the node information that needs to be configured, the associated information of the node, the input information element and the output information element of the node.
  • the node information is used to indicate the instruction package and/or function body that needs to be configured;
  • the associated information of the node is used to indicate the connection sequence of the instruction package and/or function body that needs to be configured;
  • the information element is used to indicate the instruction package that needs to be configured, and/or the input information element and output information element of the function body that needs to be configured.
  • the input information element of one node and the output of the other node All or part of the information elements are the same, or the output information elements of one node are all or part of the same as the input information elements of another node.
  • the user inputs the configuration information by means of graphical configuration (as shown in FIG. 8 and FIG. 9). How to configure it will be described in detail below.
  • Step S305 the input information element and output information element of the node are correspondingly allocated to the instruction input interface I1 and the corresponding instruction output interface O1, and/or the input information element and output information of the node are correspondingly allocated to the function body input interface I2 And the function body output interface O2.
  • Step S307 according to the node information, call the instruction programming statement frame RD corresponding to the instruction package B that needs to be configured through the instruction call function F1, and/or call the processing logic corresponding to the function body that needs to be configured through the function call function F2 Program block.
  • Step S309 according to the associated information, multiple instruction packages B, one or more instruction packages B and/or function body input interface I2 and function body output interface O2 Or the function body S is associated to form another processing logic block P.
  • FIGS. 13a-13c schematically show the association diagrams of each instruction package and/or each function body.
  • the instruction input interface I1 of one instruction package B is associated with the output interface I2 of the other instruction package B, and the input information element configured by the instruction input interface I1 is the output interface O1 Some or all of the information elements of the output information elements ( Figure 13a).
  • the function body input interface I2 of one function body S is associated with the output interface O2 of the other function body S, and the input information element configured by the function body input interface I2 is the function body output interface Part or all of the information elements of O2's output information elements ( Figure 13b).
  • the function body input interface I2 or output interface O2 of the function body S is associated with the output interface O1 or input interface I1 of the instruction package B, and the function body input interface I2
  • the configured input information elements are configured as part or all of the output information elements of the command output interface O1, or all or part of the output information elements configured by the function body output interface O2 are configured as the input of the command enclosure input interface I1 Intelligence elements ( Figure 13c).
  • the related instruction package and function body also associate the input information element and the output information element.
  • the input information element and the output information element can be Form a tree data structure.
  • the rapid software development method provides the correlation function J.
  • Step S309 is executed by the correlation function J.
  • the associated function J is used to associate each instruction package and/or function body through the instruction input interface I1, the instruction output interface O1, the function body input interface I2, and the function body output interface O2.
  • Step S311 encapsulate another processing logic program block to form another function body.
  • step S311 includes the following steps.
  • Step S1001 Obtain an instruction input interface and/or function body input interface that is not associated with another instruction package and/or function body from another processing logic program block.
  • Step S1003 Use the acquired command input interface and/or function body input interface as the function body input interface of another function body.
  • Step S1005 Obtain an instruction output interface/function body output interface that is not associated with another instruction package and/or function body from another processing logic program block.
  • Step S1007 Use the acquired instruction output interface and/or function body output interface as the function body output interface of another function body.
  • Step S1009 Define a logic body calling function that calls another processing logic block.
  • the instruction package body and the function body have the same framework, they can be combined according to the set rules to generate a new logic body to meet the current business processing requirements.
  • the new logic body generated can be invoked into a new business processing flow according to the needs of subsequent business processing, so that no further development is required and the development progress is accelerated.
  • this example provides an instruction package that can call the instruction programming statement framework, the combination of instruction programming statements can fulfill the requirements of various business scenarios.
  • each instruction package and each function body are configured through the input interface and output interface. Even if the new business scenario changes, it can be configured quickly without modifying the code line by line. , Greatly improve efficiency.
  • the instruction package body and the function body can call the programming sentence framework and the back-end programming sentence framework adopted by the front-end development software.
  • the rapid software development method provided by this embodiment can not only realize the development of front-end software (user interface) but also Realize back-end software development.
  • each instruction package body and each function body adopt the same framework, and the event processing function body of the front and back ends can be associated with the data processing logic body, and the data processing logic body can be called as a node in the event flow for rapid implementation.
  • the same framework is used for the call combination, only the input and output parameters of the instruction package and/or function body, the instruction package and/or function body, and the configuration instruction package and/or function need to be configured.
  • FIG. 8 and FIG. 9 schematically show a schematic diagram of a user interface for a user to input configuration information through graphics.
  • the user can realize the development of front-end and back-end software by graphically inputting configuration information.
  • the method for rapid software development further includes the following steps.
  • Step S1101 Provide a user interface, where the user interface includes a first configuration page and a second configuration page.
  • the first configuration page is used to configure configuration information required for front-end software development.
  • the second page is used to configure configuration information required for back-end software development.
  • the first configuration page 101 and the second configuration page 103 are located in two windows displayed side by side. Since the front-end and back-end configuration processes often need to be viewed and revised in the development process, the side-by-side display operation of the first configuration page 101 and the second configuration page 103 is more convenient.
  • the first visual graphic element is provided on the first page for the user to configure the event flow graphic diagram.
  • the first visual graphic element includes a page element configuring a static page and an event icon configuring an event stream.
  • Page elements include containers, buttons, tables, input boxes, etc.
  • the event icon is used to associate with the function body and the instruction package body.
  • a corresponding node graph is generated for the user to configure the association relationship of each node graph to form a configuration diagram, and the association relationship of each node graph is used to represent each corresponding function body and/or each instruction The association relationship of the package body.
  • the embodiment of the present invention also provides a configuration line 64.
  • the configuration diagram 61 is composed of each node graph 62 and a configuration line 64 connected between two associated node graphs 62. Further, the node graph 62 provides an input terminal 620 and an output terminal 622, and the user can form a configuration line 64 by connecting the input terminal 620 of the associated node graph 62 and the output terminal 622 of another node. In this embodiment, the association relationship between the two node graphs 62 can be displayed in a visual manner, and the interaction is more friendly.
  • the processed object is the page, that is, the input information elements and output information elements of the instruction package and/or function body are page elements.
  • the logical processing of a page is to use a programming language to describe the process of one or more pages from one node to the next node, that is, to describe what is needed to generate the next node after a node is processed according to the required page information Page intelligence. Since the page information required by each node can be represented by page elements, and the page elements adopt a tree structure, the pages required by each node can be completely described. In this example, page elements that guide users to configure the tree structure are also provided. Specifically, in this example, the first page 101 provides a page configuration area 63 and a page component icon 31.
  • the page configuration area 63 is divided into different areas according to the tree storage structure.
  • the nesting relationship between the page elements can be determined, for example, the parent-child relationship, the side-by-side relationship, etc., thereby forming the page elements and page elements of each static page
  • the data storage relationship between For the data storage relationship between pages and pages, a corresponding mechanism can be provided when each page is created to realize the tree storage relationship of the pages, as shown in the page layout 33 in FIG. 8. For example, each time a page is created, the user is guided to establish whether the page and the existing page are in a parent-child relationship or a parallel relationship.
  • Each page element uses a tree-shaped data storage page to form a component.
  • a component calling function that sets page elements stored in a calling tree structure is also provided, and a component icon 31 related to the component calling function is also provided.
  • the page elements stored in the tree structure can be adjusted and displayed in the page configuration area 63 accordingly. For example, the user can configure the page components that need to be called
  • Step S1105 If the user enters the second configuration page, provide a second visual graphic element on the second page for the user to configure the data logic processing graphic diagram.
  • the configuration information required by the user to configure the back-end software development is similar to the configuration information required by the user to configure the front-end software development.
  • the difference lies in the input of the instruction package and/or function body.
  • the configuration of intelligence elements and output intelligence elements are different. Because the user configures the information elements in the configuration information required for front-end software development as page elements, while the information elements in the configuration information required for back-end software development are information elements.
  • the second configuration page 103 provides an input box with a tree structure that guides the user to construct a tree-shaped information element, and the user can configure the corresponding input information element and output information element through the input box.
  • Step S1107 Obtain user configuration information according to the corresponding relationship between the configuration diagram and the configuration information.
  • the corresponding relationship between the configuration diagram and the configuration information is: the node graph is used to indicate the node information that needs to be configured; the configuration line is used to indicate the associated information of the node; The input information element and output information element of the node graph or the arrangement line are used to represent the input information element and output information element of the node.
  • FIG. 12 schematically illustrates a flow diagram of configuring configuration information for front-end software development and configuring configuration information for back-end software development.
  • Step S1201 providing a visual graphic element for the user's corresponding configuration diagram.
  • Step S1203 In response to the user's operation on the instruction package icon and/or calling the icon, a corresponding node graph is generated, and each node graph includes an input terminal and/or an output terminal.
  • Step S1205 In response to the user's connection between the input terminal of one node graph and the output terminal of another node graph, a configuration line connected between one node and another node is generated.
  • a configuration interface is provided for the user to configure the input information element and output information element of each node graph and/or configuration line.
  • the configuration interface includes an input box that restricts the user to configure the input information element and the output information element in a tree structure.
  • step S1209 the input information element and the output information element are stored using the arranged tree structure.
  • instruction packages RB and FB, instruction programming statement frames FD and RD are stored in paths 95, 92, 90, and 94, respectively.
  • the input information elements and output information elements configured by the user are respectively stored in T1 and T2. Understandably, the input information element and the output information element representing the information element configured by the user are stored in the route 96.
  • the user configuration indicates that the input information element and the output information element of the page element are stored in the route 95.
  • the function bodies RS and FS configured by the user are stored in a tree structure. In this embodiment, when a function body S is created, the user is restricted to store the function body S in a tree structure. For example, when creating a function body S, a tree list is displayed for the user to create the next node.
  • the front-end software and back-end software of the configuration development are configured using visual graphics. You only need to operate the visual graphic elements, such as dragging, clicking, etc., to configure the corresponding configuration information, according to the configuration information
  • the required software can be generated by calling the corresponding instruction package and function body and configuration instruction package and function body, making software development more convenient.
  • the computer program product includes one or more computer instructions.
  • the computer equipment may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices.
  • the computer instruction can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium.
  • the computer instruction can be transmitted from a website, computer, server, or data center through a wired (Such as coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (such as infrared, wireless, microwave, etc.) to another website site, computer, server or data center.
  • the computer-readable storage medium may be any available medium that can be stored by a computer or a data storage device such as a server or a data center integrated with one or more available media.
  • the usable medium may be a magnetic medium (for example, a floppy disk, a hard disk, and a magnetic tape), an optical medium (for example, a DVD), or a semiconductor medium (for example, a solid state disk (SSD)).
  • the disclosed system, device, and method can be implemented in other ways.
  • the device embodiments described above are only illustrative.
  • the division of the unit is only a logical function division, and there may be other divisions in actual implementation, for example, multiple units or components may be combined or may be Integrate into another system, or some features can be ignored or not implemented.
  • the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may be in electrical, mechanical or other forms.
  • the unit described as a separate component may or may not be physically separated, and the component displayed as a unit may or may not be a physical unit, that is, it may be located in one place, or may also be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
  • the functional units in the various embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit.
  • the above-mentioned integrated unit can be implemented in the form of hardware or software functional unit.
  • the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer readable storage medium.
  • the technical solution of the present application essentially or the part that contributes to the existing technology or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium , Including several instructions to make a computer device (which can be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the methods in the various embodiments of the present application.
  • the aforementioned storage media include: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disks or optical disks and other media that can store program codes. .

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

一种快速开发软件的方法,快速开发软件的方法包括:提供多个指令封装体(B)、和/或一个或者多个函数体(S);获取用户的配置信息;通过所述指令输入接口(I1)和所述指令输出接口(O1)、和/或所述函数体输入接口(I2)和所述函数体输出接口(O2)将所述多个指令封装体(B)、一个或者多个指令封装体(B)和/或函数体(S)进行关联形成另一处理逻辑程序块(P);以及将所述另一处理逻辑程序块(P)进行封装处理形成另一函数体(S)。此外,还提供一种应用快速开发软件的方法的计算机设备和存储介质。上述快速开发软件的方法可以调用已开发的函数体(S),大大加快了软件开发的进程。

Description

快速开发软件的方法、计算机设备、及存储介质 技术领域
本发明涉及计算机技术领域,尤其涉及一种快速开发软件的方法、计算机设备、及存储介质。
背景技术
随着互联网技术在企业应用领域的发展,且为了降低成本以及量产,企业逐步采用了产品信息化。相应地,市场上从基本的财务、HR、OA、CRM系统建设到移动办公、决策分析等系统不断推陈出新。
由于企业信息化建设是一项专业性较强的技能,大部分企业却并不具备该项能力,需依托专业的信息化建设企业。每个业务场景内都需要对涉及的进行不同的数据处理。信息化建设者为了加快开发,将开发好的各种业务数据的处理程序块进行重复引用,但是引用这些既有程序块需要在相同的业务处理流程下才能适用。
然而,不同的企业针对不同场景甚至相同场景所需求的数据处理流程上存在一定差异,因此,在实际开发过程中,仍然需要对既有的程序块进行修改才能够引用,且往往修改的工作量较大。
发明内容
有鉴于此,实用必要一种提高软件开发效率的快速开发软件的方法、计算机设备、存储介质。
第一方面,本发明提供一种快速开发软件的方法,所述快速开发软件包括:
提供多个指令封装体、和/或一个或者多个函数体,每一所述指令封装体由一指令编程语句框架进行封装而成;每一所述函数体由一处理逻辑程序块进行封装而成;所述指令封装体和所述函数体具有相同的框架,每一所述指令封装体包括指令输入接口、指令输出接口和指令调用函数,所述函数体包括函数体输入接口、函数体输出接口和函数体调用函数;
获取用户的配置信息,所述配置信息包括需要配置的节点信息、节点的关联信息、节点的输入情报要素和输出情报要素,其中,所述节点信息用于表示需要配置的指令封装体、和/或函数体;所述节点的关联信息用于表示所述需要配置 的指令封装体、和/或函数体的连接顺序;所述节点的输入情报要素和所述输出情报要素用于表示需要配置的指令封装体、和/或需要配置的函数体输入情报要素和输出情报要素,其中,互连的两个节点中,一个节点的输入情报要素和另一节点的输出情报要素全部或者部分相同,或者一个节点的输出情报要素与另一节点的输入情报要素全部或者部分相同;
将所述节点的输入情报要素和输出情报要素对应地配置给所述指令输入接口和所述对应的指令输出接口,和/或将所述节点的输入情报要素和输出情报对应地配置给所述函数体输入接口和所述函数体输出接口;
根据所述节点信息,通过所述指令调用函数调用与所述需要配置的指令封装体相对应的指令编程语句框架、和/或通过所述函数体调用函数调用所述需要配置的函数体相对应的处理逻辑程序块;
根据所述关联信息,通过所述指令输入接口和所述指令输出接口、和/或所述函数体输入接口和所述函数体输出接口将所述多个指令封装体、一个或者多个指令封装体和/或函数体进行关联形成另一处理逻辑程序块;以及
将所述另一处理逻辑程序块进行封装处理形成另一函数体,所述另一函数体与所述函数体框架相同。
第二方面,本发明还提供一种计算机设备,所述计算设备包括:
存储器,所述存储器用于存储计算机可执行程序;以及
处理器,所述处理器用于执行所述可执行程序以实现上述快速开发软件的方法。
第三方面,本发明还提供一种存储介质,所述存储介质用于存储计算机可执行程序,所述计算机可执行程序由处理器执行以实现上述快速开发软件的方法。
上述软件开发方法,由于提供与编程语句框架对应的指令封装体,各指令封装体具有相同框架可以将各指令封装体进行关联或者组合形成数据处理逻辑块。而且由于可以调用已开发的函数体,大大加快了软件开发的进程。
附图说明
图1为本发明第一实施例提供的一种快速开发软件程序的运行环境示意图。
图2为本发明第一实施例提供的一种计算机设备的内部结构架构图。
图3为本发明第一实施例提供的快速开发软件方法的流程示意图。
图4为本发明第一实施例提供的快速开发软件的程序模块示意图。
图5为本发明第一实施例提供的指令封装体的结构框架结构示意图。
图6为本发明第一实施例提供的指令封装体配置成函数体示意图。
图7为本发明第一实施例提供的快速开发软件设置到的数据存储架构示意图。
图8为本发明第一实施例提供的快速开发软件方法的用户界面示意图。
图9为本发明第二实施例提供的快速开发软件方法的另一用户界面示意图。
图10为本发明第一实施例提供快速开发软件方法的子流程示意图。
图11为本发明第二实施例提供快速开发软件方法的子流程示意图。
图12为本发明第三实施例提供的第三函数体形成过程示意图。
图13a~13c为本发明第一实施例提供的创建的函数体的内部结构示意图。
具体实施方式
为了使本发明的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本发明进行进一步详细说明。应当理解,此处所描述的具体实施例仅用以解释本发明,并不用于限定本发明。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
本申请的说明书和权利要求书及上述附图中的术语“第一”、“第二”、“第三”、“第四”等(如果存在)是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的实施例能够以除了在这里图示或描述的内容以外的顺序实施。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。
需要说明的是,在本发明中涉及“第一”、“第二”等的描述仅用于描述目的, 而不能理解为指示或暗示其相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括至少一个该特征。另外,各个实施例之间的技术方案可以相互结合,但是必须是以本领域普通技术人员能够实现为基础,当技术方案的结合出现相互矛盾或无法实现时应当认为这种技术方案的结合不存在,也不在本发明要求的保护范围之内。
请参看图1,其为第一实施例提供的快速开发软件程序运行的环境示意图。快速开发软件的系统1000包括客户端1001和后台服务器端1002。后台服务器端1002通过网络1003与客户端1001通讯。在本实施例中,后台服务器端1002指令封装体和/或函数体、以及在客户端1001显示用于构建可视化图示所需的图形化元素;用户通过客户端1001利用该图形化元素配置出与指令封装体/或函数体相对应的可视化图示;后台服务器端1002预设规则解析该可视化图示中包含的表示指令封装体和/或函数体信息,并利用对应的指令编程语句框架和处理逻辑程序块生成一个或者多个可执行软件。
函数体,封装后的程序块。
指令编程语句框架,为未包含入参和出参的指令编程语句或者入参和出参为空的,包括但不限于寄存编程语句框架、赋值编程语句框架、判断编程语句框架。
图形元素,用于构建图形,包括但不限于图标、节点图形、配置线、输入框等。其中:
图标,至少包括与数据处理逻辑所需的编程语句框架相对应的图标和函数体图标,函数体图标与已配置的逻辑处理程序或者事件处理程序相对应。
节点图形,与该图标一一对应。
配置线,用于将各节点图形进行关联。
输入框,用于供用户配置入参(输入情报要素)和出参(输出情报要素)。
具体如何利用编程语句框架生成数据处理逻辑程序块将在下文详细描述。
请结合参看图2,其为第一实施例提供的计算机设备800的内部结构图示。在本实施例中,客户端1001和服务器端1002分别安装具有的客户端和服务器端程序的计算机设备。计算机设备可以为装载有平板电脑、台式计算机、笔记型计算机。计算机设备可以装载有
Figure PCTCN2020088494-appb-000001
Figure PCTCN2020088494-appb-000002
等操作系统。 计算机设备800包括存储介质801、处理器802和总线803。其中,存储介质801至少包括一种类型的可读存储介质,该可读存储介质包括闪存、硬盘、多媒体卡、卡型存储器(例如,SD或DX存储器等)、磁性存储器、磁盘、光盘等。存储介质801在一些实施例中可以是计算机设备800的内部存储单元,例如计算机设备800的硬盘。存储介质801在另一些实施例中也可以是的外部计算机设备800存储设备,例如计算机设备800上配备的插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字(Secure Digital,SD)卡,闪存卡(Flash Card)等。进一步地,存储介质801还可以既包括计算机设备800的内部存储单元也包括外部存储设备。存储介质801不仅可以用于存储安装于计算机设备800的应用软件及各类数据,例如实现快速开发软件的程序指令等,还可以用于暂时地存储已经输出或者将要输出的数据。
总线803可以是外设部件互连标准(peripheral component interconnect,简称PCI)总线或扩展工业标准结构(extended industry standard architecture,简称EISA)总线等。该总线可以分为地址总线、数据总线、控制总线等。为便于表示,图2中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。
进一步地,计算机设备800还可以包括显示组件804。显示组件804可以是LED(Light Emitting Diode,发光二极管)显示器、液晶显示器、触控式液晶显示器以及OLED(Organic Light-Emitting Diode,有机发光二极管)触摸器等。其中,显示组件804也可以适当的称为显示装置或显示单元,用于显示在计算机设备800中处理的信息以及用于显示可视化的用户界面。
进一步地,计算机设备800还可以包括通信组件805,通信组件805可选的可以包括有线通信组件和/或无线通信组件(如WI-FI通信组件、蓝牙通信组件等),通常用于在计算机设备800与其他计算机设备之间建立通信连接。
处理器802在一些实施例中可以是一中央处理器(Central Processing Unit,CPU)、控制器、微控制器、微处理器或其他数据处理芯片,用于运行存储介质801中存储的程序代码或处理数据。具体地,处理器802执行快速开发软件程序以控制计算机设备800实现快速开发软的方法。
可以理解地,图2仅示出了具有组件801-805以及01的计算机设备800,本领域技术人员可以理解的是,图3示出的结构并不构成对计算机设备800的 限定,可以包括比图示更少或者更多的部件,或者组合某些部件,或者不同的部件布置。
请参看图3和图4,图3示意性地示出第一实施例提供的快速开发软件的方法流程图。图4示意性地示出快速开发软件的程序块示意图。在本实施例中,快速开发软件的程序指令执行于计算机设备800中。其中,快速开发软件程序指令存储于存储介质801中。处理器802执行快速开发软件程序指令以实现快速开发软件的方法。快速开发软件的方法包括以下步骤。
步骤S301,提供多个指令封装体、和/或一个或者多个函数体,每一指令封装体由一指令编程语句框架进行封装而成;每一函数体由一处理逻辑程序块进行封装而成;指令封装体和函数体具有相同的框架,每一指令封装体包括指令输入接口、指令输出接口和指令调用函数,函数体包括函数体输入接口、函数体输出接口和函数体调用函数。
请结合参看图4和图5,在本实施例中,指令编程语句框架为未包含入参(指令输入情报要素)和出参(指令输出情报要素)的指令编程语句。指令编程语句框架D包括第一指令编程框架FD和第二编程语句框架RD。第一指令编程语句框架FD为前端软件(用户界面)开发所需的事件处理指令编程语句框架;第二指令编程语句框架RD为开发后端软件开发所需的数据处理逻辑指令编程语句框架。指令封装体B包括对第一指令编程语句框架FD进行封装形成的第一指令封装体FB和对第二指令编程语句框架RD进行封装形成的第二指令封装体RB。第一指令编程语句框架FD包括但不限于Null编程语句框架D1、转换字符串编程语句框架D2、自减运算编程语句框架D3。第二指令编程语句框架RD包括但不限于寄存编程语句框架D4、赋值编程语句框架D5、判断编程语句框架D6。可以理解地,具有同样功能但采用不同编程语言,具有相同功能的第一指令编程语句框架FD或者第二指令编程语句框架RD语法结构不同。例如,采用C++软件开发语言的与采用JAVA软件开发语言的寄存编程语句框架不同。用户可以根据具体采用软件开发语言确定指令编程语句框架,在此不做限定。
指令封装体B包括第一指令封装体FB和第二指令封装体RB。第一指令封装体FB由第一指令编程语句框架FD封装而成。第二指令封装体RB由第二指令编程语句框架RB封装而成。指令封装体B包括指令输入接口I1、指令输出 接口O1、指令调用函数F1。在本实例中,第一指令封装体FB和第二指令封装体RB的指令调用函数F1相同。在一些可行的实施例中,第一指令封装体FB和第二指令封装体RB的指令调用函数可以不相同。指令输入接口I1用于接收用户配置的指令输入情报要素;指令输出接口O1用于接收用户配置的指令输出情报要素。指令调用函数F1用于调用对应的指令编程语句框架,并将用户配置的指令输入情报要素和指令输入情报要素进行组合形成指令编程语句。可以理解地,第一指令封装体FB对应的输入情报要素和输出情报要素为页面元素203(如图8)。第二指令封装体RB对应的输入情报要素和输出情报要素为信息元素318(如图9)。
处理逻辑程序块P可以包括事件处理逻辑程序块和数据处理逻辑程序块。其中,事件处理逻辑程序块用于调用数据处理逻辑程序处理前端用户界面输入的数据并输出相应的处理结果。数据处理逻辑程序块用于处理后端数据并提供数据给事件处理逻辑程序块。在本实施例中,处理逻辑程序块P由指令封装体B进行组合而成。在一些可行的本实施例中,处理逻辑程序块P也可以由系统自带的系统处理逻辑程序。
请参看图6,函数体S包括事件处理函数体FS和数据处理逻辑体RS。在本实施例中,函数体S可以理解为对处理逻辑块P进行封装后形成的。函数体S的框架和指令封装体B的框架相同。函数体S包括函数体调用函数F2、函数体输入接口I2和函数体输出接口O2。在本实施例中,事件处理函数体FS和数据处理逻辑体RS的函数体调用函数F2相同。在一些可行的实施例中,事件处理函数体FS和数据处理逻辑体RS的函数体调用函数F2可以不相同。函数体输入接口I2用于接收用户配置的函数体输入情报要素;指令输出接口O2用于接收用户配置的函数体输出情报要素。函数体调用函数F2用于调用对应的处理逻辑程序块P,并将用户配置的函数体输入情报要素和函数体输出情报要素提供给对应的处理逻辑体程序块P以供处理程序块P根据函数体输入情报要素进行处理输出函数体输出情报要素。
步骤S303,获取用户的配置信息,配置信息包括需要配置的节点信息、节点的关联信息、节点的输入情报要素和输出情报要素。其中,节点信息用于表示需要配置的指令封装体、和/或函数体;节点的关联信息用于表示需要配置的指 令封装体、和/或函数体的连接顺序;节点的输入情报要素和输出情报要素用于表示需要配置的指令封装体、和/或需要配置的函数体输入情报要素和输出情报要素,其中,互连的两个节点中,一个节点的输入情报要素和另一节点的输出情报要素全部或者部分相同,或者一个节点的输出情报要素与另一节点的输入情报要素全部或者部分相同。
在本实施例中,用户是通过图形配置的方式来输入配置信息的(如图8和图9所示)。具体如何配置将在下文详细描述。
步骤S305,将节点的输入情报要素和输出情报要素对应地配置给指令输入接口I1和对应的指令输出接口O1,和/或将节点的输入情报要素和输出情报对应地配置给函数体输入接口I2和函数体输出接口O2。
步骤S307,根据节点信息,通过指令调用函数F1调用与需要配置的指令封装体B相对应的指令编程语句框架RD、和/或通过函数体调用函数F2调用需要配置的函数体相对应的处理逻辑程序块。
步骤S309,根据关联信息,通过指令输入接口I1和指令输出接口O1、和/或函数体输入接口I2和函数体输出接口O2将多个指令封装体B、一个或者多个指令封装体B和/或函数体S进行关联形成另一处理逻辑程序块P。
请结合参看图13a-13c,图13a-13c示意性地示出各指令封装体和/或各函数体关联示意图。
当两个指令封装体B关联时,将一个指令封装体B的指令输入接口I1与另一指令封装体B的输出接口I2进行关联,且指令输入接口I1所配置的输入情报要素为输出接口O1的输出情报要素的部分或者全部情报要素(如图13a)。
当两个函数体S关联时,将一个函数体S的函数体输入接口I2和另一函数体S的输出接口O2进行关联,且函数体输入接口I2所配置的输入情报要素为函数体输出接口O2的输出情报要素的部分或者全部情报要素(如图13b)。
当一个函数体S和一个指令封装体B关联时,将函数体S的函数体输入接口I2或者输出接口O2和指令封装体B的输出接口O1或者输入接口I1进行关联,且函数体输入接口I2所配置的输入情报要素被配置为指令输出接口O1的输出情报要素的部分或者全部情报要素,或者函数体输出接口O2所配置的输出情报要素全部或者部分被配置为指令封体输入接口I1的输入情报要素(如图 13c)。
可以理解地,由于关联的两个指令封装体、关联的两个函数体,关联的指令封装体和函数体还对输入情报要素和输出情报要素进行了关联配置,输入情报要素和输出情报要素可形成树形数据结构。
请再次参看图4,在本实施例中,快速开发软件方法提供关联函数J。步骤S309由关联函数J执行。关联函数J用于通过指令输入接口I1、指令输出接口O1、函数体输入接口I2、以及函数体输出接口O2将各指令封装体、和/或函数体进行关联。
步骤S311,将另一处理逻辑程序块进行封装处理形成另一函数体。
请结合参看图10和图11,图10示意性地示出步骤S311的子流程图。在本实施例中,步骤S311包括下面步骤。
步骤S1001,从另一处理逻辑程序块中获取未与另一指令封装体和/或函数体关联的指令输入接口和/或函数体输入接口。
步骤S1003,将获取的指令输入接口和/或函数体输入接口作为另一函数体的函数体输入接口。
步骤S1005,从另一处理逻辑程序块中获取未与另一指令封装体和/或函数体关联的指令输出接口/函数体输出接口。
步骤S1007,将获取的指令输出接口和/或函数体输出接口作为另一函数体的函数体输出接口。
步骤S1009,定义调用另一处理逻辑程序块的逻辑体调用函数。
第一方面,由于指令封装体和函数体具有相同框架,可以按设定的规则进行组合生成新的逻辑体以实现当前业务处理的需求。
第二方面,生成新的逻辑体可以根据后续业务处理的需要被调用到新的业务处理流程,从而无需再开发,加快了开发进度。此外,由于本实例提供指令封装体可以调用指令编程语句框架,指令编程语句的组合可以完成各种业务场景的需求。
第二方面,各指令封装体和各函数体的输入情报要素和输出情报要素通过输入接口和输出接口进行配置,即便因为新的业务场景发生变化,也可以快速进行配置,无需通过逐行修改代码,大大提高效率。
第四方面,指令封装体和函数体可调用前端开发软件所采用的编程语句框架和后端编程语句框架,本实施例提供的快速开发软件方法不仅可以实现前端软件(用户界面)开发且还可以实现后端软件开发。
第五方面,各指令封装体和各函数体采用相同的框架,可以将前后端的事件处理函数体和数据处理逻辑体进行关联,将数据处理逻辑体作为事件流中的一个节点进行调用,快速实现前后端软件关联及互通。
第六个方面,由于使用了相同的框架进行调用组合,只需配置指令封装体和/或函数体、指令封装体和/或函数体的输入参数和输出参数、配置指令封装体和/或函数体的先后顺序,无需再编辑更多代码,编程难度大大降低,适合的人群更广,大大降低了软件开发门槛。
请结合参看图8和图9,其示意性地示出用户通过图形输入配置信息的用户界面示意图。在本实例中,用户通过图形输入配置信息即可实现开发前后端软件。具体地,该快速开发软件的方法还包括下面步骤。
步骤S1101,提供用户界面,用户界面包括第一配置页面和第二配置页面。第一配置页面用于供配置前端软件开发所需的配置信息。第二页面用于供配置后端软件开发所需的配置信息。在本实施例中,第一配置页面101和第二配置页面103位于并排显示的两个窗口。由于在开发过程往往需要前端和后端配置过程互相查看和修订,第一配置页面101和第二配置页面103并排显示操作更加方便。
步骤S1103,若用户进入第一配置页面,提供第一可视化图形元素于第一页面以供用户配置事件流图形示意图。第一可视化图形元素包括配置静态页面的页面元素和配置事件流的事件图标。页面元素包括容器、按钮、表格、输入框等。事件图标用于与函数体和指令封装体关联。具体地,响应用户对事件图标的操作生成相应的节点图形以供用户配置各节点图形的关联关系形成配置图示,各节点图形的关联关系用于表示各相应的各函数体和/或各指令封装体的关联关系。在本实施例中,本发明实施例还提供配置线64。具体地,配置图示61由各节点图形62以及连接于两个关联节点图形62之间的配置线64组成。进一步地,节点图形62提供输入端620和输出端622,用户可以通过在关联的节点图形62的输入端620和另一节点的输出端622之间进行连线操作,从而形成配置线64。 在本实施例中,可以通过可视化的方式显示出两个节点图形62之间的关联关系,交互更加友好。
在前端开发场景中,处理的对象是页面,即指令封装体和/或函数体的输入情报要素和输出情报要素为页面元素。对页面的逻辑处理就是用程序设计语言来描述一个或者多个页面从一个节点到下一个节点的处理变化过程,即描述在一个节点根据所需的页面情报进行处理后产生下一个节点所需的页面情报。由于每个节点所需的页面情报可以通过页面元素来表示,且页面元素又采用树形结构,因此,可以将每一个节点所需的页面都进行完整刻画。在本实例中还提供了引导用户配置树形结构的页面元素。具体地,在本实例中,第一页面101提供页面配置区63和页面组件图标31。将页面配置区63根据树形存储结构划分成不同的区域。当用户拖拽不同的页面组件图标31于相应的区域时,即可确定各页面元素之间的嵌套关系,例如,父子关系,并列关系等,从而形成出各静态页面的页面元素和页面元素之间的数据存储关系。对于页面和页面之间的数据存储关系,可以在创建每一页面时提供相应的机制,以实现页面的树形存储关系,如图8所示的页面布局33。例如,每创建一个页面时,引导用户建立页面和已存在的页面之间为父子关系还是并列关系。各页面元素采用树形数据存储的页面形成组件。
在本实施中,还提供设定了调用树形结构存储的页面元素的组件调用函数,同时还提供与组件调用函数相关的组件图标31。当组件图标31被选择时,可以调已用树形结构存储的页面元素并对应地显示于页面配置区63。例如,用户可以通过配置需要调用的页面组件
步骤S1105,若用户进入第二配置页面,提供第二可视化图形元素于第二页面以供用户配置数据逻辑处理图形示意图。
请再次参看图9,在本实施例中,用户配置后端软件开发所需的配置信息和用户配置前端软件开发所需的配置信息过程类似,差异在于,指令封装体和/或函数体的输入情报要素和输出情报要素配置不同。由于用户配置前端软件开发所需的配置信息中的情报要素为页面元素,而后端软件开发所需的配置信息中情报要素为信息元素。
在本实施例中,在构建页面时可以也可以不对页面元素进行图形化显示。第 二配置页面103提供引导用户构建树形情报要素的具有树形结构的输入框,用户可以通过输入框配置对应的输入情报要素和输出情报要素。
步骤S1107,根据配置示意图与配置信息的对应关系获得用户的配置信息,配置示意图与配置信息的对应关系为:节点图形用于表示需要配置的节点信息;配置线用于表示节点的关联信息;配置于节点图形或者配置线的输入情报要素和输出情报要素用于表示节点的输入情报要素和输出情报要素。
请参看图12,其示意性地示意出配置前端软件开发的配置信息和配置后端软件开发的配置信息的流程示意图。
步骤S1201,提供可视化图形元素供用户的相对应的配置示意图。
步骤S1203,响应用户对指令封装体图标和/或调用图标的操作生成相应的节点图形,每一节点图形包括输入端和/或输出端。
步骤S1205,响应用户对一个节点图形的输入端和另一个节点图形的输出端之间的连线,生成连接于一个节点和另一个节点之间的配置线。
步骤S1207,提供配置界面以供用户配置每一节点图形和/或配置线的输入情报要素和输出情报要素,配置界面包括限制用户以树形结构配置输入情报要素和输出情报要素的输入框。
步骤S1209,利用配置的树形结构对输入情报要素和输出情报要素进行存储。
请参看图7,指令封装体RB和FB、指令编程语句框架FD和RD分别存储于路径95、92、90、94。用户配置的输入情报要素和输出情报要素分别存储于T1和T2中。可以理解地,用户配置表示信息元素的输入情报要素和输出情报要素存储于路径96中。用户配置表示页面元素的输入情报要素和输出情报要素存储于路径95中。其中,用户配置出的函数体RS和FS呈树形结构进行存储。在本实施例中,当创建一个函数体S限制用户以树形结构进行存储函数体S。例如,当创建一个函数体S,显示树形列表供用户下一个节点创建。
上述实施例中,对配置开发前端软件和后端软件采用可视化图形进行配置,只需对可视化图形元素进行操作,例如,拖拽、点击等操作,即可配置出对应的配置信息,根据配置信息调用对应的指令封装体和函数体和配置指令封装体和函数体即可生成所需软件,使得软件开发更加便捷。
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合 来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。
该计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行该计算机程序指令时,全部或部分地产生按照本发明实施例的流程或功能。该计算机设备可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。该计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一计算机可读存储介质传输,例如,该计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线(DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。该计算机可读存储介质可以是计算机能够存储的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。该可用介质可以是磁性介质,(例如,软盘、硬盘、磁带)、光介质(例如,DVD)、或者半导体介质(例如固态硬盘Solid State Disk(SSD))等。
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统,装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。
在本申请所提供的几个实施例中,应该理解到,所揭露的系统,装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,该单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。
该作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式 实现。
该集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例方法的全部或部分步骤。而前述的存储介质包括:U盘、流动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。
以上仅为本发明的优选实施例,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。

Claims (12)

  1. 一种快速开发软件的方法,其特征在于,所述快速开发软件的方法包括:
    提供多个指令封装体、和/或一个或者多个函数体,每一所述指令封装体由一指令编程语句框架进行封装而成;每一所述函数体由一处理逻辑程序块进行封装而成;所述指令封装体和所述函数体具有相同的框架,每一所述指令封装体包括指令输入接口、指令输出接口和指令调用函数,所述函数体包括函数体输入接口、函数体输出接口和函数体调用函数;
    获取用户的配置信息,所述配置信息包括需要配置的节点信息、节点的关联信息、节点的输入情报要素和输出情报要素,其中,所述节点信息用于表示需要配置的指令封装体、和/或函数体;所述节点的关联信息用于表示所述需要配置的指令封装体、和/或函数体的连接顺序;所述节点的输入情报要素和所述输出情报要素用于表示需要配置的指令封装体、和/或需要配置的函数体输入情报要素和输出情报要素,其中,互连的两个节点中,一个节点的输入情报要素和另一节点的输出情报要素全部或者部分相同,或者一个节点的输出情报要素与另一节点的输入情报要素全部或者部分相同;
    将所述节点的输入情报要素和输出情报要素对应地配置给所述指令输入接口和所述对应的指令输出接口,和/或将所述节点的输入情报要素和输出情报对应地配置给所述函数体输入接口和所述函数体输出接口;
    根据所述节点信息,通过所述指令调用函数调用与所述需要配置的指令封装体相对应的指令编程语句框架、和/或通过所述函数体调用函数调用所述需要配置的函数体相对应的处理逻辑程序块;
    根据所述关联信息,通过所述指令输入接口和所述指令输出接口、和/或所述函数体输入接口和所述函数体输出接口将所述多个指令封装体、一个或者多个指令封装体和/或函数体进行关联形成另一处理逻辑程序块;以及
    将所述另一处理逻辑程序块进行封装处理形成另一函数体,所述另一函数体与所述函数体框架相同。
  2. 如权利要求1所述的快速开发软件的方法,其特征在于,所述指令编程语句框架包括第一指令编程框架和/或第二编程语句框架,所述第一指令编程语句框架 为开发用户界面所需的事件处理指令编程语句框架,所述第二指令编程语句框架为开发后端软件所需的数据处理逻辑指令编程语句框架;所述指令封装体包括对所述第一指令编程语句框架进行封装形成的第一指令封装体、和/或对所述第二指令编程语句框架进行封装形成的第二指令封装体;所述第一指令封装体对应的输入情报要素和输出情报要素为页面元素;所述第二指令封装体对应的输入情报要素和输出情报要素为数据元素。
  3. 如权利要求2所述的快速开发软件的方法,其特征在于,所述处理逻辑程序块包括事件处理逻辑程序块和数据处理逻辑程序块;所述函数体包括事件处理函数体和数据处理逻辑体;所述事件处理逻辑程序块被封装成所述函数体,所述数据处理逻辑程序块被封装形成所述数据处理逻辑体。
  4. 如权利要求3所述的快速开发软件的方法,其特征在于,所述节点信息表示需要配置的指令封装体包括所述第一指令封装体和所述第二指令封装体,和/或所述节点信息表示需要配置的函数体包括事件处理函数体和数据处理逻辑体,所述处理逻辑程序块为可调用所述配置的数据处理逻辑体的事件处理程序。
  5. 如权利要求3所述的快速开发软件的方法,其特征在于,所述节点信息表示需要配置的指令封装体包括所述第一指令封装体,和/或所述节点信息表示需要配置的函数体包括事件处理函数体和数据处理逻辑体,所述处理逻辑程序块为执行数据逻辑处理流程的数据处理逻辑程序。
  6. 如权利要求1所述的快速开发软件的方法,其特征在于,将所述另一处理逻辑程序块进行封装处理形成另一函数体,具体包括:
    从所述另一处理逻辑程序块中获取未与另一指令封装体和/或函数体关联的指令输入接口和/或函数体输入接口;
    将获取的指令输入接口和/或函数体输入接口作为所述另一函数体的函数体输入接口;
    从所述另一处理逻辑程序块中获取未与另一指令封装体和/或函数体关联的指令输出接口/函数体输出接口;
    将获取的指令输出接口和/或函数体输出接口作为所述另一函数体的函数体输出接口;
    定义调用所述另一处理逻辑程序块的逻辑体调用函数。
  7. 如权利要求1所述的快速开发软件的方法,其特征在于,根据所述关联信息,通过所述指令输入接口和所述指令输出接口、和/或所述函数体输入接口和所述函数体输出接口将所述多个指令封装体、一个或者多个指令封装体和/或函数体进行关联形成另一处理逻辑程序块,具体包括:
    当两个所述指令封装体关联时,将所述一个指令封装体的指令输入接口与另一封装体的输出接口进行关联,且所述指令输入接口所配置的输入情报要素为所述输出接口的输出情报要素的部分或者全部情报要素;或者
    当两个所述函数体关联时,将所述一个函数体的函数体输入接口和另一函数体的输出接口进行关联,且所述函数体输入接口所配置的输入情报要素为所述函数体输出接口的输出情报要素的部分或者全部情报要素;或者
    当一个所述函数体和一个指令封装体关联时,将所述函数体的函数体输入接口或者输出接口和指令封装体的输出接口或者输入接口进行关联,且所述函数体输入接口所配置的输入情报要素被配置为所述指令输出接口的输出情报要素的部分或者全部情报要素,或者所述函数体输出接口所配置的输出情报要素全部或者部分被配置为所述指令封体输入接口的输入情报要素。
  8. 如权利要求1所述的快速开发软件的方法,其特征在于,所述用户界面还提供第一配置页面和第二配置页面,所述第一配置页面供用户配置所述数据处理逻辑体,所述第二配置页面供用户配置所述事件处理函数体。
  9. 如权利要求8所述的快速开发软件的方法,其特征在于,所述快速开发软件的方法还包括:
    提供具有可视化图形元素的用户界面供用户相对应的配置示意图,所述配置示意图包括互连的节点图形、连接所述节点图形之间配置线、以及对所述节点图形或者配置线配置的输入情报要素和输出情报要素;
    根据所述配置示意图与所述配置信息的对应关系获得所述用户的配置信息,所述配置示意图与所述配置信息的对应关系为:所述节点图形用于表示需要配置的节点信息;所述配置线用于表示节点的关联信息;配置于所述节点图形或者配置线的所述输入情报要素和输出情报要素用于表示节点的输入情报要素和输出情报要素。
  10. 如权利要求9所述的快速开发软件的方法,其特征在于,所述可视化图形元 素包括与所述指令封装体一一对应的指令图标和与所述函数体对应的调用图标、配置线、和配置界面,所述的快速开发软件的方法还包括:
    提供可视化图形元素供用户相对应的配置示意图;
    响应用户对所述指令封装体图标和/或调用图标的操作生成相应的节点图形,所述每一节点图形包括输入端和/或输出端;
    响应用户对一个所述节点图形的输入端和另一个所述节点图形的输出端之间的连线,生成连接于所述一个节点和所述另一个节点之间的配置线;
    提供配置界面以供用户配置所述每一节点图形和/或所述配置线的输入情报要素和输出情报要素,所述配置界面包括限制用户以树形结构配置所述输入情报要素和输出情报要素的输入框;
    利用配置的树形结构对所述输入情报要素和所述输出情报要素进行存储。
  11. 一种计算机设备,其特征在于,所述计算设备包括:
    存储器,所述存储器用于存储计算机可执行程序;以及
    处理器,所述处理器用于执行所述可执行程序以实现如权利要求1~10任意一项所述的快速开发软件的方法。
  12. 一种存储介质,其特征在于,所述存储介质用于存储计算机可执行程序,所述计算机可执行程序由处理器执行以实现如权利要求1~10任意一项所述的快速开发软件的方法。
PCT/CN2020/088494 2020-04-30 2020-04-30 快速开发软件的方法、计算机设备、及存储介质 WO2021217657A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2020/088494 WO2021217657A1 (zh) 2020-04-30 2020-04-30 快速开发软件的方法、计算机设备、及存储介质

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2020/088494 WO2021217657A1 (zh) 2020-04-30 2020-04-30 快速开发软件的方法、计算机设备、及存储介质

Publications (1)

Publication Number Publication Date
WO2021217657A1 true WO2021217657A1 (zh) 2021-11-04

Family

ID=78331668

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/088494 WO2021217657A1 (zh) 2020-04-30 2020-04-30 快速开发软件的方法、计算机设备、及存储介质

Country Status (1)

Country Link
WO (1) WO2021217657A1 (zh)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060095332A1 (en) * 2004-09-30 2006-05-04 Sap Aktiengesellschaft System and method for providing access to an application through a common interface for application extensions
CN101794226A (zh) * 2010-03-08 2010-08-04 山东大学 一种适应多业务抽象层次的服务化软件构造方法和系统
CN104268002A (zh) * 2014-09-30 2015-01-07 中国人民解放军国防科学技术大学 一种基于端口封装的仿真对象可视化开发环境实现方法
CN109542506A (zh) * 2018-12-06 2019-03-29 广州万惠信息技术咨询服务有限公司 一种可灵活配置接口和快速交付服务的系统
CN110989983A (zh) * 2019-11-28 2020-04-10 深圳航天智慧城市系统技术研究院有限公司 一种零编码的应用软件快速构建系统

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060095332A1 (en) * 2004-09-30 2006-05-04 Sap Aktiengesellschaft System and method for providing access to an application through a common interface for application extensions
CN101794226A (zh) * 2010-03-08 2010-08-04 山东大学 一种适应多业务抽象层次的服务化软件构造方法和系统
CN104268002A (zh) * 2014-09-30 2015-01-07 中国人民解放军国防科学技术大学 一种基于端口封装的仿真对象可视化开发环境实现方法
CN109542506A (zh) * 2018-12-06 2019-03-29 广州万惠信息技术咨询服务有限公司 一种可灵活配置接口和快速交付服务的系统
CN110989983A (zh) * 2019-11-28 2020-04-10 深圳航天智慧城市系统技术研究院有限公司 一种零编码的应用软件快速构建系统

Similar Documents

Publication Publication Date Title
WO2021217660A1 (zh) 实现图形化无代码开发用户界面的方法、计算机设备、存储介质
US10254848B2 (en) Cross-platform data visualizations using common descriptions
US9696972B2 (en) Method and apparatus for updating a web-based user interface
WO2021217661A1 (zh) 一种实现图形化无代码软件开发平台及方法、计算机设备及存储介质
US10949381B2 (en) Reusable transformation mechanism to allow mappings between incompatible data types
WO2016010831A1 (en) Interoperable machine learning platform
US10929567B2 (en) Parallel access to running electronic design automation (EDA) application
WO2021217659A1 (zh) 多源异构数据的处理方法、计算机设备、存储介质
US11256743B2 (en) Intermixing literal text and formulas in workflow steps
CN113590104B (zh) 实现图形化无代码软件开发平台及方法
JP2023027042A (ja) 業務データ処理方法、装置、電子機器、記憶媒体及びコンピュータプログラム
CN114996619A (zh) 一种页面显示的方法、装置、计算机设备及存储介质
CN115983226A (zh) 表单模板的自动创建方法、装置、电子设备及存储介质
US9280361B2 (en) Methods and systems for a real time transformation of declarative model and layout into interactive, digital, multi device forms
US9064240B2 (en) Application based on node types associated with implicit backtracking
US11531525B2 (en) System and method for packaging standalone application modules into re-usable application and infrastructure resources
WO2021073637A1 (zh) 一种软件架构分析的计算机实现方法及其装置
WO2021168634A1 (zh) 一种图形化无代码编程方法、计算机设备及存储介质
WO2021217657A1 (zh) 快速开发软件的方法、计算机设备、及存储介质
WO2021217655A1 (zh) 基于服务实现的协同控制软件开发方法、计算机设备、及存储介质
CN113590086B (zh) 快速开发软件的方法、计算机设备、及存储介质
WO2021217656A1 (zh) 快速开发软件的方法、计算机设备、及存储介质
KR20210060998A (ko) 유한 상태기계 생성 방법, 유한 상태기계 운영 방법, 이를 수행하는 서버 및 컴퓨터 프로그램
CN113590087A (zh) 快速开发软件的方法、计算机设备、及存储介质
US10025564B2 (en) Intuitive frames of task appropriate frames of reference for multiple dimensions of context for related sets of objects within an IDE

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20934158

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205 DATED 13/03/2023)

122 Ep: pct application non-entry in european phase

Ref document number: 20934158

Country of ref document: EP

Kind code of ref document: A1