CN113590107A - Construction method of application program template, equipment and storage medium thereof - Google Patents

Construction method of application program template, equipment and storage medium thereof Download PDF

Info

Publication number
CN113590107A
CN113590107A CN202110751332.3A CN202110751332A CN113590107A CN 113590107 A CN113590107 A CN 113590107A CN 202110751332 A CN202110751332 A CN 202110751332A CN 113590107 A CN113590107 A CN 113590107A
Authority
CN
China
Prior art keywords
component
template
components
application
user
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110751332.3A
Other languages
Chinese (zh)
Inventor
徐乐明
程世坚
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yuanguang Software Co Ltd
Original Assignee
Yuanguang Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Yuanguang Software Co Ltd filed Critical Yuanguang Software Co Ltd
Priority to CN202110751332.3A priority Critical patent/CN113590107A/en
Publication of CN113590107A publication Critical patent/CN113590107A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/34Graphical or visual programming
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/31Programming languages or programming paradigms
    • G06F8/315Object-oriented languages

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • Stored Programmes (AREA)

Abstract

The application discloses a construction method of an application program template, equipment and a storage medium thereof, wherein the application program template is used for realizing an automatic process, and the method comprises the following steps: providing a visual design interface to a user; responding to the selection operation of a user on a plurality of components in the visual design interface, and obtaining component execution logic of the plurality of components; generating the application template based on the number of components and the component execution logic. By the mode, the application program template capable of being repeatedly called can be constructed, the application program can be rapidly and automatically generated by calling the template, the same or similar needs of users are met, the workload of generating the application program is reduced, and the working efficiency is improved.

Description

Construction method of application program template, equipment and storage medium thereof
Technical Field
The present application relates to the field of computer technologies, and in particular, to a method for constructing an application template, an apparatus and a storage medium thereof.
Background
In the automatic process application program, various application scenes can be built by utilizing assembly combinations with various different functions, automatic robots for executing different services are built, repetitive work of service personnel is reduced, and work efficiency is improved.
In a long-term research and development process, the applicant of the application finds that business personnel still need to spend a lot of time and energy for constructing the automatic robot for each different business scene, the constructed result cannot be called again as a new automatic robot, the construction process of the automatic robot is complicated, the new automatic robot needs to be constructed all the time, the workload of the business personnel is large, and the working efficiency is low.
Disclosure of Invention
The technical problem mainly solved by the application is to provide a method, equipment and a storage medium for constructing an application template, which can realize flexible construction of the application template so as to improve the working efficiency.
In order to solve the technical problem, the application adopts a technical scheme that: a method for constructing an application template for implementing an automated process is provided, the method comprising: providing a visual design interface to a user; responding to the selection operation of a user on the plurality of components in the visual design interface, and obtaining component execution logic of the plurality of components; an application template is generated based on the components and the component execution logic.
The method comprises the following steps that a to-be-selected area of a visual design interface comprises a plurality of component marks which respectively represent different components; in response to a user's selection operation on a plurality of components in the visual design interface, obtaining component execution logic of the plurality of components, including: responding to the selection of the component marks by a user and moving the component marks to a preset area of the visual design interface, and determining component execution logic based on the positions of the component marks in the preset area; before generating the application template based on the components and the component execution logic, the method further comprises: and responding to the situation that a user selects the component marks and moves the component marks to a preset area of the visual design interface, acquiring a plurality of component attributes corresponding to the component marks, and acquiring a plurality of components respectively matched with the component attributes from a component library.
Before generating the application template based on the plurality of components and the component execution logic, the method further comprises: debugging a plurality of components based on the component execution logic; if the debugging is successful, the execution is based on the components and the component execution logic, and an application program template is generated.
Wherein debugging the plurality of components based on the component execution logic comprises: acquiring input parameters and reference output parameters corresponding to a plurality of components; executing a plurality of components by using the input parameters and the component execution logic to obtain actual output parameters; and comparing the reference output parameter with the actual output parameter, and if the comparison result meets the requirement, determining that the debugging is successful.
Wherein the plurality of components are from a component library, the component library comprising at least one base component, the base component comprising one or more of: a flow component, a web page component, an application component, an office component, a programming component, a video component and an AI component; and/or, the components are from a component library, the component library further comprises at least one derived component, and after the application template is generated based on the components and the component execution logic, the method further comprises: and taking the application template as a derivative component and saving the derivative component into a component library.
Wherein, after generating the application template based on the plurality of components and the component execution logic, the method further comprises: if the storage instruction of the user comprises a cloud storage instruction, storing the application program template into a cloud template library; and if the storage instruction of the user comprises a local storage instruction, storing the application program template into a local template library.
Wherein, after generating the application template based on the plurality of components and the component execution logic, the method further comprises: receiving a processing instruction of a user to the application program template; the application template is processed in response to the processing content.
Wherein, the application program template is processed in response to the processing content, and the method comprises any one of the following steps: adding, deleting or modifying components in the application template; uploading the application program template to a cloud template library; downloading or importing the application program template into a local template library; the application template is exported from the local template library.
In order to solve the above technical problem, another technical solution adopted by the present application is: there is provided an apparatus for constructing an application template, the apparatus comprising a processor, a memory and a human-computer interaction circuit, the memory being configured to store program data, the processor being configured to execute the program data to implement the method according to any one of the above, and to display a visual design interface according to any one of the above and receive user operations on the visual design interface.
In order to solve the above technical problem, another technical solution adopted by the present application is: there is provided a computer readable storage medium for storing program data executable to implement a method as in any one of the above.
In the application, the user can quickly construct an application template through selection and combination of the component marks on a visual design interface in the mode, so that the application template is flexibly constructed, the template can be subsequently and directly called, and repeated calling can be carried out for many times, so that the application program with the same or similar function as the template is quickly generated, the process of generating the application program by the subsequent user is simplified, and the working efficiency is improved.
Drawings
FIG. 1 is a flow chart of an embodiment of a method for constructing an application template according to the present application;
FIG. 2 is a flow chart of another embodiment of a method for constructing an application template according to the present application;
FIG. 3 is a schematic flow chart of one embodiment of step S240 of the present application;
FIG. 4 is a schematic flow chart diagram illustrating an embodiment of step S270 of the present application;
FIG. 5 is a block diagram of an embodiment of an application template building apparatus according to the present application;
FIG. 6 is a block diagram of an embodiment of a computer-readable storage medium of the present application.
Detailed Description
In order to make the purpose, technical solution and effect of the present application clearer and clearer, the present application is further described in detail below with reference to the accompanying drawings and examples.
Referring to fig. 1, fig. 1 is a schematic flow chart diagram illustrating an embodiment of a method for constructing an application template according to the present application. In this embodiment, the method may be executed by any device with processing capability, for example, a computer, a tablet computer, a mobile phone, etc., which is hereinafter referred to as a processing device. Specifically, the method comprises the following steps:
s110: a visual design interface is provided to a user.
The method in this embodiment includes a process of acquiring, by a processing device, a user operation, and it is understood that the processing device can provide an operation interface for a user to select a component constituting an application template, that is, a visual design interface. The visual interface comprises a candidate area and a preset area, the candidate area is used for displaying component marks of selectable components, the selectable components can be derived from a component library, specifically, the processing equipment displays the components contained in the component library in the candidate area in a component mark mode for selection of a user, and the preselection area is used for displaying the components selected by the user and setting the flow sequence relation among the components.
S120: and responding to the selection operation of the user on the components in the visual design interface to obtain the component execution logic of the components.
In the embodiment, the user can construct the application template through the operation of the visual design interface. The component marks selected by the user are displayed in the preselected area and arranged in a certain flow sequence according to the operation of the user.
In some embodiments, the operation of the user on the visual design interface may include the following operations: selecting the component marks from the area to be selected and moving the component marks to a preset area, moving the component marks in the preset area to adjust the sequence among different component marks in the preset area, deleting the component marks in the preset area and the like.
The processing device identifies user operations on the visual design interface as user instructions upon which the processing device can determine constituent components of the application template and component execution logic between the components. Specifically, the processing device may take the component corresponding to the component mark moved by the user to the preset area as a constituent component of the application template, and determine the component execution logic between the components corresponding to the component mark based on the sequence of the component marks in the preset area.
S130: an application template is generated based on the components and the component execution logic.
For example, in order to construct an application template capable of opening a web page, a user may select a mark of a flow starting component, a mark of a web page component, and a mark of a flow ending component from a to-be-selected area, place the marks in a preselected area, arrange the marks in the preselected area, and a processing device obtains the flow starting component, the web page component, and the flow ending component according to the marks in the preselected area, determines component execution logic among the components based on an arrangement order of related component marks in the preset area, and then generates the application template capable of opening the web page.
In the embodiment, the user can quickly construct an application template through selection and combination of the component marks on the visual design interface in the mode, so that the flexible construction of the application template is realized, the template can be directly called subsequently, and the repeated calling can be carried out for many times, so that the application program with the same or similar function as the template can be quickly generated, the process of generating the application program by the subsequent user is simplified, and the working efficiency is improved.
Referring to fig. 2, fig. 2 is a flow chart illustrating another embodiment of a method for constructing an application template according to the present application.
The method in this embodiment comprises the steps of:
s210: a visual design interface is provided to a user. This step is the same as step S110 in the previous embodiment, and will not be described herein again.
S220: and responding to the selection operation of the user on the components in the visual design interface to obtain the component execution logic of the components.
The processing device may determine the component execution logic based on a location of the number of component markers in a preset area in response to a user selecting and moving the number of component markers to the preset area of the visual design interface. Specifically, after the user completes the construction, the processing device responds to an instruction of confirming the construction completion by the user, and acquires a plurality of component marks in a preselected area finally confirmed by the user as preselected component marks.
In a preselected area of the visual design interface, the flow executed by the component is identified through the position relation between the component marks. The processing device obtains a positional relationship between preselected component markers of the preset area and determines component execution logic based on the positional relationship.
The component execution logic may include conditional execution, branch execution, loop execution, serial execution, and so on.
S230: and acquiring a plurality of components respectively matched with the attributes of the components from the component library.
The components are the above-mentioned preselected components, so that the preselected components are obtained. The sequence of steps S220 and S230 described above is reversible and does not affect the processing device in generating the application template.
The processing equipment prestores corresponding component attributes for different components, and acquires the corresponding components from the component library as preselected components according to the component attributes of the components marked by the user preselected components.
The component properties may include component name, component function profile, and component function definitions. The processing device distinguishes and finds different components based on component properties. For example, the component property corresponding to a web component may include a component name of the web component, and a component function profile is an open web page; the login financial system component may also include a password bar with dots instead of specific passwords in the component attributes.
In some embodiments, the processing device may display the component properties at the corresponding component of the visual design interface in response to a user operation.
In some embodiments, the processing device may modify the component properties in response to a user operation. For example, replacing the specific password with the circular dot in the password column in the component attribute of the login financial system component in response to the user operation is modified into replacing the specific password with the circular dot in the password column.
The components in the component library include at least one base component, the base component including one or more of a flow component, a web page component, an application component, an office component, a programming component, a video component, and an AI component.
The flow components are used for packaging a group of components with flow logic, and the execution logic of conditional execution, branch execution, loop execution, serial execution and the like of the group of components is realized through the components.
The webpage component is used for packaging a third-party browser, embedding a third-party browser execution interface, realizing an interoperation function with the third-party browser and finally reading browser interface content and an operation interface.
The application component is used for packaging the API of the windows system and realizing the interoperation function with the third-party windows application program.
The office component is used for sealing an office interface and realizing the interoperation function with the office excel and the word.
And the programming component is used for realizing the operation functions of code editing, interface calling and the like.
And the video component is used for realizing the operation functions of video recording, video playing and the like.
And the AI component is used for realizing the operation functions of image recognition, image positioning and the like.
It is understood that the template is constructed to enable the application to be generated quickly, and in order to ensure that the constructed application template and the application generated based on the template can be executed normally, in some embodiments, the method further includes step S240 before saving the preselected component and the component execution logic as the template, specifically as follows:
s240: the number of components are debugged based on the component execution logic. If the debugging is successful, go to step S250.
And in the debugging process, the processing equipment executes the preselected components according to the component execution logic and judges whether the execution is normal, if the execution is normal, the debugging is determined to be successful, and the processing equipment can generate the template by using the preselected components.
Referring to fig. 3, fig. 3 is a schematic flow chart illustrating an embodiment of step S240 in the present application. The method specifically comprises the following steps:
s341: input parameters and reference output parameters corresponding to the plurality of components are obtained.
S342: the components are executed using the input parameters and component execution logic to obtain actual output parameters.
S343: and comparing the reference output parameter with the actual output parameter, and if the comparison result meets the requirement, determining that the debugging is successful.
In some embodiments, the processing device has pre-stored component parameters corresponding to different components, and the component parameters are parameters used in the component execution process. For example, a login username and password may be included in the component parameters of the login financial system component, which the processing device may set to a default or user-determined value.
In some embodiments, the processing device may modify the component parameters in response to a user operation, continuing with the example of logging on to the financial system component, in response to a user operation, the processing device modifies the username from the default value 123 to a user-determined value abc and modifies the password from the default value 123123 to a user-determined value abcabcbc.
In some embodiments, the component parameters include input parameters, which are used in the component execution process. Finally, a parameter is output under the condition that the component executes normally, and the parameter is called a reference output parameter. The processing device may obtain the input parameters and corresponding reference output parameters in advance for debugging. The input parameters and the parameter output parameters may be user-defined, or may be originally stored or generated by the processing device. For example, the processing device generates or obtains an input parameter input by a user, calls a component capable of being normally executed in the component library, and executes the called component by using the input parameter to obtain an output parameter under normal execution, and uses the output parameter as a reference output parameter.
In embodiments where input parameters are required for the component execution process, the component's determination of proper execution may be that the component is executed using the input parameters and the expected reference output parameters are obtained. Specifically, in the debugging process, the determining whether the execution of the component is normal may include: and comparing the reference output parameter with the actual output parameter obtained by the execution component, and if the reference output parameter and the actual output parameter are consistent, determining that the execution of the component is normal. Taking the web page component as an example, the address of the web page can be used as an input parameter, and the corresponding reference output parameter is the page of the web page. And judging whether the component is normally executed, namely judging whether the webpage opened in actual execution is consistent with the webpage in the reference output parameter, and if so, executing normally.
S250: based on the number of components and the component execution logic, an application template is generated.
And the processing equipment sequentially links the components according to the acquired components and the component execution logic to form an application program template. This step is the same as step S130 in the previous embodiment, and will not be described herein again.
The user can quickly construct an application program template through selection and combination of the component marks on the visual design interface, so that flexible construction of the application program template is realized, the template can be directly called subsequently, and repeated calling can be carried out for multiple times, so that the application program with the same or similar function as the template is quickly generated, the process of generating the application program by the subsequent user is simplified, and further the working efficiency is improved.
Before the processing equipment generates the application program template, the processing equipment debugs a plurality of components selected by a user and checks whether the application program template can be normally executed, so that the step of gradually checking the application program template manually is omitted, errors, bugs and the like are avoided, and the working efficiency is improved.
In some embodiments, the user may specify a storage address of the application template through the storage instruction, the application template may be stored locally or in the cloud, and the processing device may provide the user with an option of the storage address, for example, provide the user with an interface for checking the cloud template library and/or the local template library. Therefore, the method can further comprise the following steps:
s260: if the storage instruction of the user comprises a cloud storage instruction, storing the application program template into a cloud template library; and if the storage instruction of the user comprises a local storage instruction, storing the application program template into a local template library.
Specifically, the storage instruction may include a storage address, the cloud storage instruction is a cloud template library address, and the local storage instruction is a local template library address. The storage address can be a cloud template base address or a local template base address or a cloud template base address and a local template base address.
The template is flexibly selected and stored in the local template library, so that the template can be conveniently and quickly called by a user, the template is stored in the cloud template library, the local storage space can be saved, the constructed template can be shared with multiple devices, repeated construction of the template is reduced, and the working efficiency is improved.
In some embodiments, after the application template is built, the processing device may obtain the component attributes of the components contained in the template or save the above contents as the template attributes of the template according to the definition of the user at the time of building. The processing device may obtain a default name, such as administeror template 1, administeror template 2, or save the above as the name of the template according to the definition of the user at the time of construction.
The visual design interface candidate area can be further specifically divided into an assembly area and a template area, and after the template is built, the processing equipment displays the template in the template area in a template marking mode for subsequent calling.
In some embodiments, the application template may also be processed after it is generated to enable the application template to adapt to changes required by the user. Therefore, the method can further comprise the following steps:
s270: and receiving a processing instruction of the application template from a user, and processing the application template in response to the processing content.
The user can select and operate the template mark on the visual design interface, the processing equipment searches and opens the template according to the template attribute corresponding to the template mark selected by the user, identifies the operation of the user on the visual interface as a processing instruction, and processes the application program template in response to the processing instruction.
Referring to fig. 4, fig. 4 is a schematic flowchart illustrating an embodiment of step S270 of the present application. Specifically, processing the application template in response to the processing content may include:
s471: and uploading the application program template to a cloud template library.
S472: and downloading or importing the application template into a local template library.
S473: the application template is exported from the local template library.
In some embodiments, the processing of the application template may also include operations such as installation, uninstallation, and deletion of the template. The uploading and downloading of the template realize the switching of the storage mode of the template, and the storage of the template is more flexible. Template communication among different devices can be realized by importing and exporting the application program template, repeated construction of the template is reduced, and working efficiency is improved. Useless templates can be deleted, the simplified template library can facilitate users to quickly search needed templates, and work efficiency is improved.
In addition to the above processing, in some embodiments, the template itself may need to be processed.
Such processing may be adding, deleting, or changing components within the template to change the effect of the application, or in some embodiments may be modifying component execution logic, which may include modifying component properties, parameters, etc.
Therefore, step S270 may specifically include:
s474: additions, deletions, or modifications are made to components within the application template.
The above steps S471, S472, S473 and S474 are optional, and the order thereof is not limited.
For example, when the A needs appear for the first time, the user utilizes the processing device to construct an A application template according to the A needs, and the A application can be quickly and automatically generated through the A application template to meet the A needs. When the A needs to appear again, the user does not need to gradually generate the A application program template or the A application program, the A application program template is called, and the processing equipment can quickly and automatically generate the A application program to meet the A needs. However, except for the case that a needs to be completely reproduced, a needs to be changed to a1, and at the moment, the direct calling of the a application template cannot meet the a1 requirement, but the process of regenerating the a1 application template or the a1 application is too cumbersome. At this point, a simple adjustment to the a application template may form the a1 application template. Calling the A1 program template, the processing device can quickly and automatically generate the A1 application program to meet the A1 requirement.
For example, an application template for realizing the function of logging in the financial system is constructed, a password bar always replaces a specific password by a circular point, but a requirement that the specific password can be displayed in the password bar according to the selection of a user at the time of logging in is generated subsequently, and the requirement that the specific password can be displayed in the password bar according to the selection of the user at the time of logging in can be met by the processing device responding to the operation of the user for processing the application template for logging in.
In some embodiments, an application template needs to be invoked repeatedly as part of a new application template, at which point the former can be saved as a component to a component library for subsequent direct invocation. Therefore, the method can further comprise the following steps:
s280: and taking the application template as a derivative component and saving the derivative component into a component library.
After the application template is used as a derivative component, the derivative component can be directly called in the subsequent working process to construct the application template.
For example, an a application template is constructed according to a requirement, a user can call the a application template when the a requirement appears, and the a requirement is met by the a application. However, other requirements are added when the A needs to repeatedly appear, the application program is required to simultaneously meet the A needs and the B needs, and the A needs and the B needs cannot be simultaneously met only by using the A application program template, so that a new application program template, namely the A + B application program template, needs to be constructed at this time, and in order to simplify the step of constructing the application program template by a user, the original application program template, namely the A application program template, is taken as a part of the new template, namely the A + B application program template. In order to meet the requirement that the original application template can be called quickly when a new application template is constructed, the original application template can be used as a derivative component, and calling is facilitated.
For example, after an application template for logging into a financial system has been constructed, invoice reimbursement information needs to be uploaded after logging into the financial system. And the processing equipment saves the application program template which is previously logged into the financial system as a derivative component to a component library according to the user operation. In the process of constructing the new application template, the processing device can directly call the derivative component according to the selection of the user, and construct the new application template by the derivative component and other components together so as to meet the requirements of logging in a financial system and uploading invoice reimbursement information, wherein the other components can be basic components or derivative components.
In some embodiments, the processing device saves the application template as a derivative component while correspondingly saving its component properties and component parameters. And the processing equipment acquires the attribute content of the template corresponding to the derivative component or the attribute content of the derivative component set by the user and stores the attribute content as the component attribute of the derivative component. The processing equipment acquires parameters or default parameters set by a user when the user constructs the template, and stores the parameters as component parameters of the derivative components. The processing device may modify the component properties and component parameters of the derived component in accordance with the user operation. The processing equipment displays the derived components in the component area of the to-be-selected area in the form of component marks, and when a user constructs an application program template, the derived component marks are the same as the basic component marks and can be directly selected. Likewise, the processing device may modify component properties and component parameters of the derived component in response to user manipulation.
The steps S260, S270 and S280 are optional, and the order thereof is not limited.
Referring to fig. 5, fig. 5 is a schematic diagram of a framework of an embodiment of an application template building apparatus according to the present application.
In this embodiment, the application template building apparatus 50 includes a processor 52, a memory 51 and a human-computer interaction circuit 53, wherein the memory 51 and the human-computer interaction circuit 53 are respectively coupled to the processor 52. Specifically, the respective components of the application template building apparatus 50 may be coupled together by a bus, or the processor 52 of the application template building apparatus 50 is connected one-to-one with the other components, respectively. The application template building device 50 may be the processing device described above, and may specifically be any device with processing capability, such as a computer, a tablet computer, a mobile phone, and the like.
The memory 51 is used to store received user input information, program data executed by the processor 52, and data during processing by the processor 52. Such as user entered input parameters, template related data, derived component related data, and the like. The memory 51 includes a nonvolatile storage portion for storing the program data.
The processor 52 controls the operation of the application template building apparatus 50, and the processor 52 may also be referred to as a CPU (Central Processing Unit). Processor 52 may be an integrated circuit chip having signal processing capabilities. The processor 52 may also be a general purpose processor 52, a digital signal processor 52(DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components. The general purpose processor 52 may be a microprocessor 52 or the processor 52 may be any conventional processor 52 or the like. In addition, the processor 52 may be commonly implemented by a plurality of circuit-forming chips.
Processor 52 executes instructions to implement the steps of any of the above-described method embodiments by calling program data stored in memory 51.
The human-computer interaction circuit 53 is used for displaying a visual design interface at which a user can perform operations, and the human-computer interaction circuit can receive the operations.
In the embodiment, the user can quickly construct an application template through selection and combination of the component marks on the visual design interface in the mode, so that the flexible construction of the application template is realized, the template can be directly called subsequently, and the repeated calling can be carried out for many times, so that the application program with the same or similar function as the template can be quickly generated, the process of generating the application program by the subsequent user is simplified, and the working efficiency is improved.
Referring to fig. 6, fig. 6 is a block diagram illustrating a computer-readable storage medium according to an embodiment of the present disclosure.
In this embodiment, the computer readable storage medium 60 stores processor executable program data 61, and the program data 61 can be executed to implement any one of the methods described above.
The computer-readable storage medium 60 may be a medium that can store program data, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, or may be a server that stores the program data, and the server may send the stored program data to another device for operation, or may self-operate the stored program data 61.
In some embodiments, computer-readable storage medium 60 may also be a memory as shown in FIG. 5.
In the embodiment, the user can quickly construct an application template through selection and combination of the component marks on the visual design interface in the mode, so that the flexible construction of the application template is realized, the template can be directly called subsequently, and the repeated calling can be carried out for many times, so that the application program with the same or similar function as the template can be quickly generated, the process of generating the application program by the subsequent user is simplified, and the working efficiency is improved.
In the several embodiments provided in the present application, it should be understood that the disclosed method and apparatus may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, a division of a module or a unit is merely a logical division, and an actual implementation may have another division, 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 through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
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 embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be substantially implemented or contributed to by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, a network device, or the like) or a processor (processor) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.

Claims (10)

1. A method for constructing an application template, wherein the application template is used for realizing an automation process, and the method comprises the following steps:
providing a visual design interface to a user;
responding to the selection operation of a user on a plurality of components in the visual design interface, and obtaining component execution logic of the plurality of components;
generating the application template based on the number of components and the component execution logic.
2. The method according to claim 1, wherein the candidate area of the visual design interface comprises a plurality of component markers respectively representing different components; the responding to the selection operation of the user on the plurality of components in the visual design interface, and obtaining the component execution logic of the plurality of components comprises:
in response to a user selecting and moving a number of component markers to a preset area of the visual design interface, determining the component execution logic based on the positions of the number of component markers in the preset area;
prior to the generating the application template based on the number of components and the component execution logic, the method further comprises:
responding to the selection of a plurality of component marks by a user and moving the component marks to a preset area of the visual design interface, and acquiring a plurality of component attributes corresponding to the component marks;
and acquiring the components respectively matched with the attributes of the components from a component library.
3. The method of claim 1, wherein prior to the generating the application template based on the number of components and the component execution logic, the method further comprises:
debugging the components based on the component execution logic;
and if the debugging is successful, executing the application program template based on the plurality of components and the component execution logic.
4. The method of claim 3, wherein debugging the number of components based on the component execution logic comprises:
acquiring input parameters and reference output parameters corresponding to the components;
executing the plurality of components by using the input parameters and the component execution logic to obtain actual output parameters;
and comparing the reference output parameter with the actual output parameter, and if the comparison result meets the requirement, determining that the debugging is successful.
5. The method of claim 1, wherein the number of components is from a component library, the component library comprising at least one base component, the base component comprising one or more of: a flow component, a web page component, an application component, an office component, a programming component, a video component and an AI component;
and/or the components are from a component library, the component library further comprises at least one derivative component, and after the logic is executed based on the components and the components to generate the application template, the method further comprises: and taking the application program template as the derivative component and saving the derivative component in the component library.
6. The method of claim 1, wherein after the generating the application template based on the number of components and the component execution logic, the method further comprises:
if the storage instruction of the user comprises a cloud storage instruction, storing the application program template into a cloud template library;
and if the storage instruction of the user comprises a local storage instruction, storing the application program template into a local template library.
7. The method of claim 1, wherein after the generating the application template based on the number of components and the component execution logic, the method further comprises:
receiving a processing instruction of a user to the application program template;
and processing the application template in response to the processing content.
8. The method according to claim 7, wherein the processing the application template in response to the processing content comprises any one of the following steps:
adding, deleting or modifying components within the application template;
uploading the application program template to a cloud template library;
downloading or importing the application program template to a local template library;
and exporting the application template from a local template library.
9. An application template building apparatus, characterized in that the application template building apparatus comprises a processor, a memory and a human-machine interaction circuit, the memory is used for storing program data, the processor is used for executing the program data to realize the method according to any one of claims 1-8, and the human-machine interaction circuit is used for displaying the visual design interface according to any one of claims 1-8 and receiving the operation of a user on the visual design interface.
10. A computer-readable storage medium for storing program data executable to implement the method of any one of claims 1-8.
CN202110751332.3A 2021-07-02 2021-07-02 Construction method of application program template, equipment and storage medium thereof Pending CN113590107A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110751332.3A CN113590107A (en) 2021-07-02 2021-07-02 Construction method of application program template, equipment and storage medium thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110751332.3A CN113590107A (en) 2021-07-02 2021-07-02 Construction method of application program template, equipment and storage medium thereof

Publications (1)

Publication Number Publication Date
CN113590107A true CN113590107A (en) 2021-11-02

Family

ID=78245774

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110751332.3A Pending CN113590107A (en) 2021-07-02 2021-07-02 Construction method of application program template, equipment and storage medium thereof

Country Status (1)

Country Link
CN (1) CN113590107A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140059517A1 (en) * 2012-08-23 2014-02-27 Cognizant Technology Solutions India Pvt. Ltd. Method and system for facilitating rapid development of end-to-end software applications
US20160283359A1 (en) * 2015-03-16 2016-09-29 David Silverstone Computer system testing
CN109783081A (en) * 2018-12-27 2019-05-21 百富计算机技术(深圳)有限公司 A kind of development approach of application program, device and Integrated Development Tool
US20190324729A1 (en) * 2018-04-24 2019-10-24 Microsoft Technology Licensing, Llc Web Application Development Using a Web Component Framework
CN112230907A (en) * 2019-07-15 2021-01-15 腾讯科技(深圳)有限公司 Program generation method, device, terminal and storage medium
US20210096826A1 (en) * 2016-10-17 2021-04-01 Sachin Dev Duggal Application development involving instant protoyping

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140059517A1 (en) * 2012-08-23 2014-02-27 Cognizant Technology Solutions India Pvt. Ltd. Method and system for facilitating rapid development of end-to-end software applications
US20160283359A1 (en) * 2015-03-16 2016-09-29 David Silverstone Computer system testing
US20210096826A1 (en) * 2016-10-17 2021-04-01 Sachin Dev Duggal Application development involving instant protoyping
US20190324729A1 (en) * 2018-04-24 2019-10-24 Microsoft Technology Licensing, Llc Web Application Development Using a Web Component Framework
CN109783081A (en) * 2018-12-27 2019-05-21 百富计算机技术(深圳)有限公司 A kind of development approach of application program, device and Integrated Development Tool
CN112230907A (en) * 2019-07-15 2021-01-15 腾讯科技(深圳)有限公司 Program generation method, device, terminal and storage medium

Similar Documents

Publication Publication Date Title
US20210034336A1 (en) Executing a process-based software application in a first computing environment and a second computing environment
CN109933322B (en) Page editing method and device and computer readable storage medium
CN109725901A (en) Development approach, device, equipment and the computer storage medium of front-end code
CN108509343A (en) Automated testing method based on image recognition technology and system
CN106126424A (en) A kind of visual automated testing method of script, device and mobile terminal
CN111984239B (en) Page configuration method, page configuration device, server and storage medium
CN103984626A (en) Method and device for generating test-case script
US20110128291A1 (en) Program generation device, program generation method, and computer-readable storage medium
CN109766139B (en) Configuration method and device of configuration file
CN112083915A (en) Page layout method and device, electronic equipment and storage medium
CN111752665A (en) Flow generation method and device for RPA flow generation end and storage medium
CN106293658A (en) A kind of interface assembly generates method and equipment thereof
CN108563485B (en) Input panel display method and device
CN111708536A (en) Page building method and equipment based on component configuration and readable storage medium
CN113590107A (en) Construction method of application program template, equipment and storage medium thereof
CN110850136A (en) Oscilloscope test method, terminal equipment and computer readable storage medium
CN109995931B (en) Method and device for realizing automatic calling
CN116301772A (en) Service code development method, device, equipment and medium
CN116112457A (en) Method, device, computer equipment and storage medium for notifying message
CN106569829B (en) Method for realizing switching of working modes of touch screen, touch screen device and head-mounted equipment
CN114356330A (en) Page configuration method and device, electronic equipment and storage medium
CN114138242A (en) Code-free cross-system interface development method based on RPA software
CN112162743A (en) Driver generation method, device, computer equipment and storage medium
CN112732243A (en) Data processing method and device for generating functional component
CN113900725A (en) Interface configuration method and device, computer equipment and storage medium

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