CN114138263A - Application template publishing method, system, medium and electronic terminal - Google Patents

Application template publishing method, system, medium and electronic terminal Download PDF

Info

Publication number
CN114138263A
CN114138263A CN202111445744.0A CN202111445744A CN114138263A CN 114138263 A CN114138263 A CN 114138263A CN 202111445744 A CN202111445744 A CN 202111445744A CN 114138263 A CN114138263 A CN 114138263A
Authority
CN
China
Prior art keywords
template
application template
application
module
modules
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
CN202111445744.0A
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.)
OneConnect Financial Technology Co Ltd Shanghai
Original Assignee
OneConnect Financial Technology Co Ltd Shanghai
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 OneConnect Financial Technology Co Ltd Shanghai filed Critical OneConnect Financial Technology Co Ltd Shanghai
Priority to CN202111445744.0A priority Critical patent/CN114138263A/en
Publication of CN114138263A publication Critical patent/CN114138263A/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/38Creation or generation of source code for implementing user interfaces

Abstract

The invention relates to the technical field of artificial intelligence, in particular to an application template issuing method, a system, a medium and an electronic terminal, wherein the method comprises the following steps: creating one or more standard application templates in advance, wherein the standard application templates comprise a plurality of configuration items; acquiring a first application template by configuring the configuration item; acquiring a material application template input by a user; utilizing a preset template splitting tool to split a material application template into a plurality of template modules; acquiring a second application template by selecting and combining the template modules; acquiring a final application template according to the first application template and/or the second application template, and further performing application deployment to complete application template release; the application template issuing method realizes the customized development of the application template, has higher automation degree, reduces the application deployment difficulty, lightens the workload of application customization and deployment, reduces the cost, can better meet the application requirement, and has lower system coupling degree.

Description

Application template publishing method, system, medium and electronic terminal
Technical Field
The invention relates to the technical field of artificial intelligence, in particular to an application template issuing method, system, medium and electronic terminal.
Background
A SaaS (Software-as-a-Service) system is a system that provides Software services via a network. In the SaaS system, different users have different application requirements, for example, a user a selects a page of a style, and a user B selects a page of a style. Currently, according to the requirements of different users, corresponding technicians are generally required to be equipped for customized development, however, the above method also brings a series of problems: firstly, if customized development is performed according to the requirements of different users, the coupling degree of the system is high, the running load of the system is high, secondly, customized development is performed according to each requirement, the workload is high, the cost is high, and along with the continuous increase of the system functions, more and more internal modules of the system are caused, the application is more and more complex, and each time of upgrading and changing, longer time and energy are consumed.
Disclosure of Invention
The invention provides an application template issuing method, an application template issuing system, a medium and an electronic terminal, and aims to solve the problems that in the prior art, the application requirements of different users are customized and developed in a manual mode, the difficulty is high, the cost is high, the coupling degree of a system is high, the running load of the system is large, and the implementation is inconvenient.
The application template issuing method provided by the invention comprises the following steps:
creating one or more standard application templates in advance, wherein the standard application templates comprise a plurality of configuration items;
acquiring a first application template by configuring the configuration item;
acquiring a material application template input by a user;
utilizing a preset template splitting tool to carry out module splitting on the material application template to obtain a plurality of template modules;
obtaining a second application template by selecting and combining the template modules;
and acquiring a final application template according to the first application template and/or the second application template, and deploying applications by using the final application template to complete application template release.
Optionally, the step of configuring the configuration item includes at least one of: attribute configuration, variable configuration, component configuration, style configuration and event configuration;
the step of attribute configuration comprises: according to a preset attribute adjustment threshold range, adjusting attribute information in the standard application template to complete attribute configuration, wherein the attribute information at least comprises one of the following items: hiding information, circularly displaying information, whether to display multiple ends and binding variable information.
Optionally, the step of configuring the variables includes: setting variables in standard components and/or application pages in a standard application template, and acquiring the incidence relation between the variables and the standard components, and/or the incidence relation between the variables and the application pages to complete the variable configuration;
the step of configuring the component comprises: configuring a standard component in the standard application template to complete the component configuration, wherein the standard component comprises: the system comprises a basic component, a form component, a cascade component and a functional component;
the step of style configuration comprises: modifying or adjusting a style in the standard application template, the style comprising: and (4) layout, characters, a background, a frame and a shadow are carried out, and the style configuration is completed.
Optionally, the step of configuring the event includes:
presetting one or more events, wherein the events at least comprise one of the following events: page loading, form submission, page skipping, popup window popping and interface calling;
binding the event and the component according to a preset first association relation, wherein the first association relation is the association relation between the event and the component;
presetting one or more event listeners, wherein the event listeners define one or more action interfaces;
and registering the event monitor in the event according to a preset second association relationship, wherein the second association relationship is the association relationship between the event and the event monitor, and the event configuration is completed.
Optionally, the step of performing module splitting on the material application template by using a preset template splitting tool includes:
using the template splitting tool to distinguish the types of a plurality of modules in the material application template, the modules comprising: the basic module is a module of basic functions in the material application template, and the functional module is a module of additional functions in the material application template;
and splitting the plurality of modules in the material application template according to the types of the modules in the material application template to obtain a plurality of template modules.
Optionally, the step of obtaining the second application template by selecting and combining the template modules includes:
selecting one or more target modules from the template modules;
judging whether the target module can form a complete application template according to a preset module combination protocol, wherein the module combination protocol comprises definitions of necessary modules forming the application template;
if the target module can form a complete application template, combining the target module by using a preset module combination tool to obtain a second application template;
if the target module can not form a complete application template, determining a module to be supplemented according to the module combination protocol; acquiring a corresponding module to be supplemented from a preset module database, wherein the module database comprises a plurality of application modules of different types; and combining the target module and the module to be supplemented by using the module combination tool to obtain the second application template.
Optionally, the step of obtaining the final application template according to the first application template and/or the second application template includes:
acquiring demand information;
according to the template requirement information in the requirement information, taking the first application template as a final application template; or, the second application template is used as a final application template; or module splitting is carried out on the first application template and the second application template through a preset template splitting tool, a plurality of alternative modules are obtained, and the alternative modules are selected to be combined by utilizing the preset module combining tool according to a module combining protocol, so that the final application template is obtained.
The invention also provides an application template issuing system, which comprises:
the system comprises a preprocessing module, a display module and a display module, wherein the preprocessing module is used for creating one or more standard application templates in advance, and the standard application templates comprise a plurality of configuration items;
the first application template acquisition module is used for acquiring a first application template by configuring the configuration items;
the second application template acquisition module is used for acquiring a material application template input by a user; utilizing a preset template splitting tool to carry out module splitting on the material application template to obtain a plurality of template modules; obtaining a second application template by selecting and combining the template modules;
the processing module is used for acquiring a final application template according to the first application template and/or the second application template, and performing application deployment by using the final application template to complete application template release;
the preprocessing module, the first application template acquisition module, the second application template acquisition module and the processing module are connected.
The invention also provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the method as defined in any one of the above.
The present invention also provides an electronic terminal, comprising: a processor and a memory;
the memory is adapted to store a computer program and the processor is adapted to execute the computer program stored by the memory to cause the terminal to perform the method as defined in any one of the above.
The invention has the beneficial effects that: the application template publishing method, the system, the medium and the electronic terminal of the invention, through creating one or more standard application templates in advance, the standard application template comprises a plurality of configuration items, the configuration items are configured to obtain a first application template, the material application template input by a user is obtained, a preset template splitting tool is utilized to carry out module splitting on the material application template input by the user, a plurality of template modules are obtained, the template modules are selected and combined to obtain a second application template, a final application template is obtained or synthesized according to the first application template and/or the second application template, and then application deployment is carried out according to the final application template, thereby completing the publishing of the application template, realizing the customized development of the application template, having higher automation degree, reducing the application deployment difficulty and lightening the application customization and deployment workload, the cost is reduced, various application requirements can be better met, the system coupling degree is lower, the operation load is smaller, and the implementation is more convenient.
Drawings
Fig. 1 is a flowchart illustrating an application template issuing method according to an embodiment of the present invention.
Fig. 2 is a schematic flowchart of attribute configuration in an application template issuing method in the embodiment of the present invention.
Fig. 3 is a schematic flow chart of variable configuration in the application template issuing method in the embodiment of the present invention.
Fig. 4 is a schematic flowchart of component configuration in the application template publishing method in the embodiment of the present invention.
Fig. 5 is a schematic flowchart of style configuration in an application template issuing method in the embodiment of the present invention.
Fig. 6 is a schematic flowchart of event configuration in the application template publishing method in the embodiment of the present invention.
Fig. 7 is a schematic flow chart illustrating module splitting performed on a material application template in the application template issuing method according to the embodiment of the present invention.
Fig. 8 is a schematic flow chart illustrating the process of acquiring the second application template in the application template issuing method according to the embodiment of the present invention.
Fig. 9 is a schematic flow chart illustrating the process of obtaining the final application template in the application template issuing method according to the embodiment of the present invention.
Fig. 10 is a schematic structural diagram of an application template issuing system in the embodiment of the present invention.
Fig. 11 is a schematic structural diagram of an electronic terminal that issues application templates in the embodiment of the present invention.
Detailed Description
The embodiments of the present invention are described below with reference to specific embodiments, and other advantages and effects of the present invention will be easily understood by those skilled in the art from the disclosure of the present specification. The invention is capable of other and different embodiments and of being practiced or of being carried out in various ways, and its several details are capable of modification in various respects, all without departing from the spirit and scope of the present invention. It is to be noted that the features in the following embodiments and examples may be combined with each other without conflict.
It should be noted that the drawings provided in the following embodiments are only for illustrating the basic idea of the present invention, and the components related to the present invention are only shown in the drawings rather than drawn according to the number, shape and size of the components in actual implementation, and the type, quantity and proportion of the components in actual implementation may be changed freely, and the layout of the components may be more complicated.
As shown in fig. 1, the method for issuing an application template in this embodiment includes:
s11: one or more standard application templates are created in advance, the standard application templates including a plurality of configuration items. The standard application template is a standardized application template, the standard application template corresponds to applications, and the types of the standard application templates are different, namely the standard application templates correspond to different applications respectively. The standard application templates of different types are created in advance, a user can directly download the corresponding standard application template according to actual requirements, application deployment is carried out by using the downloaded standard application template, the basic application requirements of the user are met, furthermore, a plurality of configuration items are arranged in the standard application template, the user can conveniently carry out adaptive adjustment and configuration on the configuration items in the standard application template according to the actual requirements, the application requirements of different users are met, the operation is simple, the implementation is convenient, the user experience is effectively improved, and the application customization difficulty and cost are reduced.
In some embodiments, the step of creating one or more standard application templates comprises: according to a preset standard parameter threshold value, carrying out standardization processing on parameters in an original application template to obtain the standard application template, wherein the original application template is an application template which is not subjected to standardization processing. Thereby enabling the creation of the standard application template.
S12: and acquiring a first application template by configuring the configuration item. The first application template is obtained by configuring a plurality of configuration items in any standard application template, so that the application requirements of users can be better met, the difficulty is low, and the implementation is convenient, for example: the method comprises the steps that a user selects any standard application template from a plurality of standard application templates, and a plurality of configuration items of the selected standard application template are adjusted and configured within a preset adjustable range, so that a first application template meeting the application requirements of the user is obtained.
S13: and acquiring a material application template input by a user. The material application template is an application template to be split input by a user, for example: when a user needs to modify the existing application template or part of modules on the existing application template are reserved, the existing application template is used as a material application template, the material application template input by the user is obtained, the material application template is further split and adjusted, repeated customization of the application template is avoided, the workload of customizing the application template is reduced, the application template issuing efficiency is improved, and the flexibility is high.
In some embodiments, the material application template input by the user needs to be converted into a preset readable format before being acquired. And facilitating the follow-up module splitting of the material application template.
S14: and utilizing a preset template splitting tool to split the modules of the material application template to obtain a plurality of template modules. By adopting the preset template splitting tool, the material application template input by the user is subjected to module splitting, the material application template can be split into a plurality of template modules better, the plurality of template modules can be selectively reserved and modified conveniently in the follow-up process, the application template does not need to be customized again according to the user requirements, the development efficiency of the application template is improved, and the feasibility is high.
S15: obtaining a second application template by selecting and combining the template modules; the method comprises the steps of selecting a target module from a plurality of template modules in a material application template, modifying the target module according to actual requirements, carrying out module combination according to a preset module combination protocol and the target module, obtaining a second application template, and meeting application requirements of users. The target module is selected from a plurality of template modules in the material application template, and the target module can be selected manually by a user, or the target module information in the requirement information can be extracted by acquiring the requirement information input by the user, and the target module is automatically selected according to the target module information to determine the target module. Similarly, the target module is modified manually by a user, or the modification information in the requirement information is extracted by acquiring the requirement information input by the user, and the corresponding parameters in the target module are modified according to the modification information, so that the target module is modified, the automation degree is high, and the accuracy of the application template is high.
S16: and acquiring a final application template according to the first application template and/or the second application template, and deploying applications by using the final application template to complete application template release. The method comprises the steps of taking a first application template as a final application template, taking a second application template as the final application template, or respectively splitting modules of the first application template and the second application template to obtain a plurality of alternative modules, selecting a required module from the alternative modules, further combining the modules to generate the final application template, and utilizing the final application template to perform application deployment, so that the application requirements of users are well met, the operation is simple, the implementation is convenient, the system coupling degree is low, and the stability is high. For example: when a user needs to modify and extract one or more modules in a standard application template, and needs to modify and extract one or more modules in an existing material application template to combine the extracted modules into a final application template, according to the user requirements, firstly configuring a plurality of configuration items in the standard application template to obtain a first application template, then performing module splitting on the material application template input by the user to obtain a plurality of template modules, selecting one or more target modules from the template modules, adjusting and modifying parameters in the target modules, combining the target modules according to a module combination protocol to obtain a second application template, then performing module splitting on the first application template and the second application template respectively to obtain a plurality of alternative modules, and selecting a required module from the plurality of alternative modules, the needed modules are combined to obtain or generate the final application template, so that the application template is customized individually, the flexibility is high, the practicability is high, the user requirements are met well, the user experience is effectively improved, the customization and publishing efficiency of the application template is improved, and the customization and publishing cost of the application template is reduced.
In order to meet the user requirement and improve the user experience, the inventor proposes that the step of configuring the configuration item at least comprises one of the following steps: attribute configuration, variable configuration, component configuration, style configuration, and event configuration. By carrying out the configuration on a plurality of configuration items in the standard application template, the application customization requirements of users can be met, and the practicability is strong.
As shown in fig. 2, in some embodiments, the step of configuring the attributes includes:
s121: according to a preset attribute adjustment threshold range, adjusting attribute information in the standard application template to complete attribute configuration, wherein the attribute information at least comprises one of the following items: hiding information, circularly displaying information, whether to display multiple ends and binding variable information. According to the application requirements of the user, within the range of the preset attribute adjustment threshold, the attribute information in the standard application template is adjusted and modified, and then the attribute configuration is completed. By carrying out attribute configuration on the configuration items in the standard application template, a user can conveniently see the attribute configuration effect from the canvas in real time, and the adaptive adjustment of the attribute information in the standard application template by the user is facilitated. In addition, by presetting the attribute adjustment threshold range, the subsequent adjustment of the attribute information can be kept within a feasible adjustment range, and application operation failure caused by error attribute adjustment is avoided.
As shown in fig. 3, in some embodiments, the step of configuring the variables includes:
s122: setting variables in standard components and/or application pages in a standard application template, and acquiring the association relationship between the variables and the standard components, and/or the association relationship between the variables and the application pages to complete the variable configuration. By performing variable configuration on the configuration items in the standard application template, after the application template is published, the variable fields can be modified conveniently according to the incidence relation between the variables and the standard components and/or the incidence relation between the variables and the application pages, the content of the corresponding variable fields is synchronized to the published application in real time, the application does not need to be modified, the user experience is improved, the flexibility is high, and the user requirements are well met. For example: the loan product information can be set as a variable aiming at the subprogram of the loan product of multiple types and is associated with the component, so that the loan product information can be directly added, deleted and modified in a data sheet of product management after the application is released, the contents can be synchronized to the application in real time without modifying the subprogram, the application updating efficiency is greatly improved, and the user experience is greatly improved.
As shown in fig. 4, in some embodiments, the step of configuring the components comprises:
s123: configuring a standard component in the standard application template to complete the component configuration, wherein the standard component comprises: the system comprises a basic component, a form component, a cascade component and a functional component.
The basic components comprise containers, texts, pictures, icons, carousel pictures and navigation bars; the form component comprises a form container, a form component general basic attribute, a single-line input box, a multi-line input, a numerical value input box, a single selection, a multi-selection, a date interval, an uploaded photo, an uploaded attachment and a sub-form; the cascade component comprises a hidden field and a button; the functional components include an identity card OCR (Optical Character Recognition), a bank card OCR, a driver's license OCR, a business license OCR, a real estate estimate, a face Recognition, a short-Time Password OTP (One-Time Password), a contract agreement, a countdown, a call, a location card, a list, and the like. The component configuration is carried out on the configuration items in the standard application template, so that the requirements of a user on the application components can be fully met, the user is supported to set different components, and the implementability is strong.
As shown in fig. 5, in some embodiments, the step of configuring the style includes:
s124: modifying or adjusting a style in the standard application template, the style comprising: and (4) layout, characters, a background, a frame and a shadow are carried out, and the style configuration is completed. By carrying out style adjustment on configuration items in the standard application template, the requirements of users on various styles of applications are supported, the customization degree is high, and the user experience is good.
In some embodiments, the step of layout adjustment comprises: using a CSS (Cascading Style Sheets) frame model to perform layout adjustment on the styles in the standard application template; the character adjustment comprises the following steps: thickness adjustment, color adjustment, font size adjustment, line height adjustment, alignment adjustment, transparency adjustment and the like; the background adjustment comprises the following steps: color filling adjustment and picture filling adjustment; the frame adjustment includes: linear adjustment, width adjustment, color adjustment and fillet adjustment; the shadow adjustment includes: shadow color adjustment, horizontal offset adjustment, vertical offset adjustment, Blur degree (Blur) adjustment, and Spread degree (Spread) adjustment.
As shown in fig. 6, in some embodiments, the step of event configuration comprises:
s1251: presetting one or more events, wherein the events at least comprise one of the following events: page loading, form submission, page skipping, popup window popping and interface calling;
s1252: binding the event and the component according to a preset first association relation, wherein the first association relation is the association relation between the event and the component;
s1253: presetting one or more event listeners, wherein the event listeners define one or more action interfaces;
s1254: and registering the event monitor in the event according to a preset second association relationship, wherein the second association relationship is the association relationship between the event and the event monitor, and the event configuration is completed. After the application template is released, the event monitor is circularly called, so that monitoring of component actions in the application can be well realized, and functions of clicking a popup window, clicking jump and the like are realized. For example: registering event listeners linked with all pages and url (Uniform Resource Locator) under the application at a page jump event, registering event listeners of different windows at a pop-up window event, registering event listeners of different vm (virtual) files at a calling interface event, and circularly calling the configured listeners to perform corresponding logic processing work when a user triggers the operation of a component.
With the progress and development of science and technology, the application iteration and update speed is high, and the requirements of users are continuously increased, and the following situations often occur, for example, a part of template modules exist in an existing old application template of a user, and the application adjustment needs to be performed on the basis of the part of template modules, but in the prior art, the existing application template is not normally split, and a plurality of modules in the application template cannot be combined, so that the iteration and the update of the application are not facilitated, and the user experience is poor. As shown in fig. 7, in order to implement more accurate splitting of a template module, the inventor proposes that, using a preset template splitting tool, the step of performing module splitting on the material application template includes:
s141: using the template splitting tool to distinguish the types of a plurality of modules in the material application template, the modules comprising: the basic module is a module of basic functions in the material application template, and the functional module is a module of additional functions in the material application template; by distinguishing the types of the modules in the material application template, the modules in the material application template can be conveniently and subsequently split.
S142: and splitting the plurality of modules in the material application template according to the types of the modules in the material application template to obtain a plurality of template modules. By splitting the material application template into a plurality of template modules, the modules which are actually needed can be conveniently selected subsequently and the modules can be combined, so that the customization of the application template is realized.
As shown in fig. 8, the step of obtaining the second application template by selecting and combining the template modules includes:
s151: one or more target modules are selected from the template modules. For example: and selecting one or more target modules from the plurality of template modules by the user according to actual requirements.
S152: and judging whether the target module can form a complete application template according to a preset module combination protocol, and acquiring a judgment result, wherein the module combination protocol comprises definitions of necessary modules forming the application template.
S153: and combining the template modules according to the judgment result to obtain the second application template.
In some embodiments, the step of combining the template modules according to the determination result includes:
if the target module can form a complete application template, combining the target module by using a preset module combination tool to obtain a second application template;
if the target module can not form a complete application template, determining a module to be supplemented according to the module combination protocol; acquiring a corresponding module to be supplemented from a preset module database, wherein the module database comprises a plurality of application modules of different types; and combining the target module and the module to be supplemented by using the module combination tool to obtain the second application template.
In some embodiments, parameters in the template module and the module to be supplemented can be adjusted within a preset module parameter adjustment range to obtain the adjusted template module and the module to be supplemented, and the adjusted template module and the module to be supplemented are subjected to module combination by using the module combination tool to obtain a second application template, so that the customized requirements of a user on the application can be better met, the efficiency is higher, and the development cost and time of the application template are greatly saved.
In some embodiments, the template module and the module to be supplemented both carry version information, and in the process of module combination, the version information of the template module and the module to be supplemented needs to be checked, whether the template module and the module to be supplemented are compatible is determined, and if the template module and the module to be supplemented are compatible, a module combination tool is used to perform module combination on the template module and the module to be supplemented, so as to obtain the second application template. By checking the version information of the template module and the module to be supplemented, the situation of version incompatibility is effectively avoided.
As shown in fig. 9, the step of obtaining the final application template according to the first application template and/or the second application template includes:
s161: acquiring demand information; the requirement information is requirement information input by a user.
S162: according to the template requirement information in the requirement information, taking the first application template as a final application template; or, the second application template is used as a final application template; or module splitting is carried out on the first application template and the second application template through a preset template splitting tool, a plurality of alternative modules are obtained, and the alternative modules are selected to be combined by utilizing the preset module combining tool according to a module combining protocol, so that the final application template is obtained.
In some embodiments, a preset packaging tool can be further used for packaging the final application template to obtain a final application template package, and the final application template package is used for application deployment, so that the system operation load is reduced, the out-of-box use is realized, and the application deployment difficulty and workload are reduced.
In some embodiments, in order to further increase the obtaining speed of the final application template and increase the publishing efficiency of the application template, the inventors propose that the final application template may also be obtained by the following steps:
acquiring demand information; the requirement information includes at least one of: attribute demand information, variable demand information, component demand information, style demand information, and event demand information; the requirement information can be a file uploaded by the user and recording the application requirement information of the user;
and inputting the requirement information into a template matching model for template matching and prediction to obtain a corresponding matching template as the final application template.
Specifically, the step of obtaining the template matching model includes:
obtaining a training set, the training set comprising: a plurality of training samples and real templates corresponding to the training samples;
inputting the training sample into a neural network for training to obtain a prediction template; the neural network can be a convolutional neural network and a cyclic neural network;
and performing iterative training on the neural network according to the prediction template, the real template and a preset loss function to obtain a better template matching model. The loss function can adopt a common cross entropy loss function and the like. By acquiring the template matching model, the demand information input by the user can be better analyzed and classified, and the application template matched with the content in the demand information is acquired as the final application template, so that the acquisition efficiency of the application template is improved, the user experience is improved, the automation degree is higher, and the implementation is more convenient.
In some embodiments, after the step of releasing the application template is completed, the method further comprises:
initializing a preset docking interface, wherein the docking interface is used for docking with an internal system or an external system, and the docking interface at least comprises one of the following components: the system comprises an order storage interface, an order submission interface, an order detail inquiry interface, a product inquiry interface, a limit inquiry interface and a wind control workflow interface. By initializing the docking interface, interface management of the docking interface is facilitated, and corresponding resources or information can be acquired from an external system or an internal system.
In some embodiments, the application scene of the application can be customized according to the actual requirements of the user, so that the user experience is improved. Under the condition of obtaining the corresponding authority, the user can copy the existing application template in the application template library to release the application template, and the convenience degree is higher.
In some embodiments, an icon and a logo of an application may be customized according to an actual requirement of a user, and different Storage modes may be switched, such as an sftp (SSH File Transfer Protocol) Storage mode inside the user, a nas (Network Attached Storage) Storage mode on the cloud, and the like.
The first embodiment is as follows:
when a user needs to deploy a certain standard application, a corresponding standard application template is downloaded from a preset application template library, application deployment is carried out by using the standard application template, application template release is completed, the operation is convenient, the application requirements of the user are met, and the implementation is convenient.
Example two:
when a user needs to adjust or modify a part of parameters in the standard application template to obtain a corresponding application template, selecting the corresponding standard application template according to the user requirement, and correspondingly configuring configuration items in the standard application template, wherein the step of configuring the configuration items in the standard application template at least comprises one of the following steps: the method comprises the steps of attribute configuration, variable configuration, component configuration, style configuration and event configuration, so that an application template required by a user is obtained, application deployment is carried out according to the obtained application template, application template release is completed, the actual requirements of the user are met, the implementation is convenient, the flexibility is high, and the workload of customizing the application template is greatly reduced.
Example three:
when a user needs to modify an existing application template, the existing application template is used as a material application template, a preset template splitting tool is used for carrying out module splitting on the material application template to obtain a plurality of template modules, then parameters in the template modules are adaptively modified and adjusted according to the user requirements, a preset module combination tool is used for combining the adjusted template modules to obtain a final application template, the final application template is used for carrying out application deployment to complete application template release, iteration and updating of application are well achieved, the application template does not need to be customized again, and development time and customization cost of the application template are reduced.
Example four:
when a user needs to reserve part of modules in the existing application template and needs to customize other modules, a standard application template is selected according to the user requirements, a plurality of configuration items in the standard application template are configured to obtain a first application template, the existing application template is used as a material application template, the material application template input by the user is obtained, a preset template splitting tool is used for carrying out module splitting on the material application template, a plurality of template modules are obtained, a target module is selected from the template modules, a module to be supplemented is determined according to a preset module combination protocol, the module to be supplemented is a necessary module which forms the application template except the target module, a corresponding module to be supplemented is obtained from a preset module database, and the target module and the module to be supplemented are combined by using a preset module combination tool, the method comprises the steps of obtaining a second application template, respectively carrying out module splitting on the first application template and the second application template, obtaining a plurality of alternative modules, selecting and combining the alternative modules according to user requirements, obtaining a final application template, carrying out application deployment by using the final application template, and completing release of the application template, so that the customization requirements of users on applications are well met, and the method is high in implementability, low in cost and low in difficulty.
Or, a material application template is directly obtained, a preset template splitting tool is used, the material application template is subjected to module splitting, a plurality of template modules are obtained, a target module is selected from the template modules, a module to be supplemented is determined according to a preset module combination protocol, the module to be supplemented is a necessary module which forms the application template except the target module, a corresponding module to be supplemented is obtained from a preset module database, parameter adjustment and modification are carried out on the module to be supplemented according to user requirements, the target module and the modified module to be supplemented are combined by using the preset module combining tool to obtain a final application template, and then the final application template is used for application deployment, so that the application deployment is high in implementability and low in cost.
As shown in fig. 10, this embodiment further provides an application template issuing system, including:
the system comprises a preprocessing module, a display module and a display module, wherein the preprocessing module is used for creating one or more standard application templates in advance, and the standard application templates comprise a plurality of configuration items;
the first application template acquisition module is used for acquiring a first application template by configuring the configuration items;
the second application template acquisition module is used for acquiring a material application template input by a user; utilizing a preset template splitting tool to carry out module splitting on the material application template to obtain a plurality of template modules; obtaining a second application template by selecting and combining the template modules;
the processing module is used for acquiring a final application template according to the first application template and/or the second application template, and performing application deployment by using the final application template to complete application template release;
the preprocessing module, the first application template acquisition module, the second application template acquisition module and the processing module are connected. The application template issuing system in this embodiment creates one or more standard application templates in advance, where the standard application templates include multiple configuration items, obtains a first application template by configuring the configuration items, obtains a material application template input by a user, performs module splitting on the material application template input by the user by using a preset template splitting tool, obtains multiple template modules, obtains a second application template by selecting and combining the template modules, obtains or synthesizes a final application template according to the first application template and/or the second application template, and performs application deployment according to the final application template, thereby completing issuing of the application templates, implementing customized development of the application templates, having a high automation degree, reducing application deployment difficulty, reducing workload of application customization and deployment, and reducing cost, the method can better meet various application requirements, can be realized without coupling different functions, and has the advantages of lower system coupling degree, smaller running load, more convenient implementation and higher feasibility.
In some embodiments, the step of configuring the configuration item comprises at least one of: attribute configuration, variable configuration, component configuration, style configuration and event configuration;
the step of attribute configuration comprises: according to a preset attribute adjustment threshold range, adjusting attribute information in the standard application template to complete attribute configuration, wherein the attribute information at least comprises one of the following items: hiding information, circularly displaying information, whether to display multiple ends and binding variable information.
In some embodiments, the step of configuring the variables comprises: setting variables in standard components and/or application pages in a standard application template, and acquiring the incidence relation between the variables and the standard components, and/or the incidence relation between the variables and the application pages to complete the variable configuration;
the step of configuring the component comprises: configuring a standard component in the standard application template to complete the component configuration, wherein the standard component comprises: the system comprises a basic component, a form component, a cascade component and a functional component;
the step of style configuration comprises: modifying or adjusting a style in the standard application template, the style comprising: and (4) layout, characters, a background, a frame and a shadow are carried out, and the style configuration is completed.
In some embodiments, the step of configuring the event comprises:
presetting one or more events, wherein the events at least comprise one of the following events: page loading, form submission, page skipping, popup window popping and interface calling;
binding the event and the component according to a preset first association relation, wherein the first association relation is the association relation between the event and the component;
presetting one or more event listeners, wherein the event listeners define one or more action interfaces;
and registering the event monitor in the event according to a preset second association relationship, wherein the second association relationship is the association relationship between the event and the event monitor, and the event configuration is completed.
In some embodiments, the step of performing module splitting on the material application template by using a preset template splitting tool includes:
using the template splitting tool to distinguish the types of a plurality of modules in the material application template, the modules comprising: the basic module is a module of basic functions in the material application template, and the functional module is a module of additional functions in the material application template;
and splitting the plurality of modules in the material application template according to the types of the modules in the material application template to obtain a plurality of template modules.
In some embodiments, the step of obtaining a second application template by selecting and combining the template modules comprises:
selecting one or more target modules from the template modules;
judging whether the target module can form a complete application template according to a preset module combination protocol, wherein the module combination protocol comprises definitions of necessary modules forming the application template;
if the target module can form a complete application template, combining the target module by using a preset module combination tool to obtain a second application template;
if the target module can not form a complete application template, determining a module to be supplemented according to the module combination protocol; acquiring a corresponding module to be supplemented from a preset module database, wherein the module database comprises a plurality of application modules of different types; and combining the target module and the module to be supplemented by using the module combination tool to obtain the second application template.
In some embodiments, the step of obtaining a final application template from the first application template and/or the second application template comprises:
acquiring demand information;
according to the template requirement information in the requirement information, taking the first application template as a final application template; or, the second application template is used as a final application template; or module splitting is carried out on the first application template and the second application template through a preset template splitting tool, a plurality of alternative modules are obtained, and the alternative modules are selected to be combined by utilizing the preset module combining tool according to a module combining protocol, so that the final application template is obtained.
The present embodiment also provides a computer-readable storage medium on which a computer program is stored, which when executed by a processor implements any of the methods in the present embodiments.
The present embodiment further provides an electronic terminal, including: a processor and a memory;
the memory is used for storing computer programs, and the processor is used for executing the computer programs stored by the memory so as to enable the terminal to execute the method in the embodiment.
Fig. 11 is a schematic structural diagram of an electronic terminal according to an embodiment of the invention. This example provides an electronic terminal, includes: a processor 111, a memory 112, a communicator 113, a communication interface 117, and a system bus 115; the memory 112 and the communication interface 114 are connected with the processor 111 and the communicator 113 through the system bus 115 to complete mutual communication, the memory 112 is used for storing computer programs, the communication interface 114 is used for communicating with other devices, and the processor 111 and the communicator 113 are used for running the computer programs, so that the electronic terminal can execute the steps of the multi-task model distillation method.
The system bus 115 may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The system bus may be divided into an address bus, a data bus, a control bus, and the like. For ease of illustration, only one thick line is shown, but this does not mean that there is only one bus or one type of bus. The communication interface is used for realizing communication between the database access device and other equipment (such as a client, a read-write library and a read-only library). The Memory may include a Random Access Memory (RAM), and may further include a non-volatile Memory (non-volatile Memory), such as at least one disk Memory.
In this embodiment, the Memory may include a Random Access Memory (RAM), and may also include a non-volatile Memory (non-volatile Memory), such as at least one disk Memory.
The Processor may be a general-purpose Processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and the like; the Integrated Circuit may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, a discrete Gate or transistor logic device, or a discrete hardware component.
The computer-readable storage medium in the present embodiment can be understood by those skilled in the art as follows: all or part of the steps for implementing the above method embodiments may be performed by hardware associated with a computer program. The aforementioned computer program may be stored in a computer readable storage medium. When executed, the program performs steps comprising the method embodiments described above; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing. Program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device and partly on a remote computing device, or entirely on the remote computing device or server. The server may be an independent server, or may be a cloud server that provides basic cloud computing services such as a cloud service, a cloud database, cloud computing, a cloud function, cloud storage, a Network service, cloud communication, a middleware service, a domain name service, a security service, a Content Delivery Network (CDN), and a big data and artificial intelligence platform. In the case of a remote computing device, the remote computing device may be connected to the user computing device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device, such as through the internet using an internet service provider.
The embodiment of the application can acquire and process related data based on an artificial intelligence technology. Among them, Artificial Intelligence (AI) is a theory, method, technique and application system that simulates, extends and expands human Intelligence using a digital computer or a machine controlled by a digital computer, senses the environment, acquires knowledge and uses the knowledge to obtain the best result. The artificial intelligence infrastructure generally includes technologies such as sensors, dedicated artificial intelligence chips, cloud computing, distributed storage, big data processing technologies, operation/interaction systems, and mechatronics. The artificial intelligence software technology mainly comprises a computer vision technology, a robot technology, a biological recognition technology, a voice processing technology, a natural language processing technology, machine learning/deep learning and the like.
To sum up, in the application template publishing method, system, medium, and electronic terminal in this embodiment, one or more standard application templates are created in advance, where each standard application template includes a plurality of configuration items, a first application template is obtained by configuring the configuration items in the standard application template, a material application template input by a user is obtained, a preset template splitting tool is used to perform module splitting on the material application template input by the user, a plurality of template modules are obtained, a second application template is obtained by selecting and combining the template modules, a final application template is obtained or synthesized according to the first application template and/or the second application template, and application deployment is performed according to the final application template, so that publishing of the application template is completed, customized development of the application template is achieved, the automation degree is high, and the application deployment difficulty is reduced, the method has the advantages of reducing workload of application customization and deployment, reducing cost, better meeting various application requirements, having lower system coupling degree, smaller running load, more convenient implementation and higher flexibility.
Furthermore, the above-described figures are merely schematic illustrations of processes involved in methods according to exemplary embodiments of the invention, and are not intended to be limiting. It will be readily understood that the processes shown in the above figures are not intended to indicate or limit the chronological order of the processes. In addition, it is also readily understood that these processes may be performed synchronously or asynchronously, e.g., in multiple modules.
The foregoing embodiments are merely illustrative of the principles and utilities of the present invention and are not intended to limit the invention. Any person skilled in the art can modify or change the above-mentioned embodiments without departing from the spirit and scope of the present invention. Accordingly, it is intended that all equivalent modifications or changes which can be made by those skilled in the art without departing from the spirit and technical spirit of the present invention be covered by the claims of the present invention.

Claims (10)

1. An application template issuing method is characterized by comprising the following steps:
creating one or more standard application templates in advance, wherein the standard application templates comprise a plurality of configuration items;
acquiring a first application template by configuring the configuration item;
acquiring a material application template input by a user;
utilizing a preset template splitting tool to carry out module splitting on the material application template to obtain a plurality of template modules;
obtaining a second application template by selecting and combining the template modules;
and acquiring a final application template according to the first application template and/or the second application template, and deploying applications by using the final application template to complete application template release.
2. The application template distribution method according to claim 1, wherein the step of configuring the configuration item includes at least one of: attribute configuration, variable configuration, component configuration, style configuration and event configuration;
the step of attribute configuration comprises: according to a preset attribute adjustment threshold range, adjusting attribute information in the standard application template to complete attribute configuration, wherein the attribute information at least comprises one of the following items: hiding information, circularly displaying information, whether to display multiple ends and binding variable information.
3. The application template issuing method according to claim 2,
the step of variable configuration comprises: setting variables in standard components and/or application pages in a standard application template, and acquiring the incidence relation between the variables and the standard components, and/or the incidence relation between the variables and the application pages to complete the variable configuration;
the step of configuring the component comprises: configuring a standard component in the standard application template to complete the component configuration, wherein the standard component comprises: the system comprises a basic component, a form component, a cascade component and a functional component;
the step of style configuration comprises: modifying or adjusting a style in the standard application template, the style comprising: and (4) layout, characters, a background, a frame and a shadow are carried out, and the style configuration is completed.
4. The application template distribution method according to claim 2, wherein the event configuration step comprises:
presetting one or more events, wherein the events at least comprise one of the following events: page loading, form submission, page skipping, popup window popping and interface calling;
binding the event and the component according to a preset first association relation, wherein the first association relation is the association relation between the event and the component;
presetting one or more event listeners, wherein the event listeners define one or more action interfaces;
and registering the event monitor in the event according to a preset second association relationship, wherein the second association relationship is the association relationship between the event and the event monitor, and the event configuration is completed.
5. The method for publishing the application template according to claim 1, wherein the step of performing module splitting on the material application template by using a preset template splitting tool comprises:
using the template splitting tool to distinguish the types of a plurality of modules in the material application template, the modules comprising: the basic module is a module of basic functions in the material application template, and the functional module is a module of additional functions in the material application template;
and splitting the plurality of modules in the material application template according to the types of the modules in the material application template to obtain a plurality of template modules.
6. The method according to claim 1, wherein the step of obtaining the second application template by selecting and combining the template modules comprises:
selecting one or more target modules from the template modules;
judging whether the target module can form a complete application template according to a preset module combination protocol, wherein the module combination protocol comprises definitions of necessary modules forming the application template;
if the target module can form a complete application template, combining the target module by using a preset module combination tool to obtain a second application template;
if the target module can not form a complete application template, determining a module to be supplemented according to the module combination protocol; acquiring a corresponding module to be supplemented from a preset module database, wherein the module database comprises a plurality of application modules of different types; and combining the target module and the module to be supplemented by using the module combination tool to obtain the second application template.
7. The method according to claim 1, wherein the step of obtaining the final application template according to the first application template and/or the second application template comprises:
acquiring demand information;
according to the template requirement information in the requirement information, taking the first application template as a final application template; or, the second application template is used as a final application template; or module splitting is carried out on the first application template and the second application template through a preset template splitting tool, a plurality of alternative modules are obtained, and the alternative modules are selected to be combined by utilizing the preset module combining tool according to a module combining protocol, so that the final application template is obtained.
8. An application template publication system, comprising:
the system comprises a preprocessing module, a display module and a display module, wherein the preprocessing module is used for creating one or more standard application templates in advance, and the standard application templates comprise a plurality of configuration items;
the first application template acquisition module is used for acquiring a first application template by configuring the configuration items;
the second application template acquisition module is used for acquiring a material application template input by a user; utilizing a preset template splitting tool to carry out module splitting on the material application template to obtain a plurality of template modules; obtaining a second application template by selecting and combining the template modules;
the processing module is used for acquiring a final application template according to the first application template and/or the second application template, and performing application deployment by using the final application template to complete application template release;
the preprocessing module, the first application template acquisition module, the second application template acquisition module and the processing module are connected.
9. A computer-readable storage medium having stored thereon a computer program, characterized in that: the computer program, when executed by a processor, implements the method of any one of claims 1 to 7.
10. An electronic terminal, comprising: a processor and a memory;
the memory is for storing a computer program and the processor is for executing the computer program stored by the memory to cause the terminal to perform the method of any of claims 1 to 7.
CN202111445744.0A 2021-11-30 2021-11-30 Application template publishing method, system, medium and electronic terminal Pending CN114138263A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111445744.0A CN114138263A (en) 2021-11-30 2021-11-30 Application template publishing method, system, medium and electronic terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111445744.0A CN114138263A (en) 2021-11-30 2021-11-30 Application template publishing method, system, medium and electronic terminal

Publications (1)

Publication Number Publication Date
CN114138263A true CN114138263A (en) 2022-03-04

Family

ID=80386081

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111445744.0A Pending CN114138263A (en) 2021-11-30 2021-11-30 Application template publishing method, system, medium and electronic terminal

Country Status (1)

Country Link
CN (1) CN114138263A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116032680A (en) * 2023-03-29 2023-04-28 广东好太太智能家居有限公司 Configuration method and device of intelligent equipment, electronic equipment and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116032680A (en) * 2023-03-29 2023-04-28 广东好太太智能家居有限公司 Configuration method and device of intelligent equipment, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN110785736B (en) Automatic code generation
US11232257B2 (en) Apparatuses, systems, and methods for providing a visual program for machine vision systems
AU2016302392B2 (en) Methods and systems for creating configurable forms, configuring forms and for form flow and form correlation
US20220391221A1 (en) Providing a different configuration of added functionality for each of the stages of predeployment, deployment, and post deployment using a layer of abstraction
US20140082511A1 (en) Method and system for emulating desktop software applications in a mobile communication network
AU2016302390B2 (en) Systems and methods for executable content and executable content flow creation
WO2017089744A1 (en) A method and system for providing and executing web applications
US20130080879A1 (en) Methods and apparatus providing document elements formatting
JP7280388B2 (en) Apparatus and method, equipment and medium for implementing a customized artificial intelligence production line
AU2016302391B2 (en) Systems and methods for executable content and executable content flow distribution
CN114385940A (en) Data visualization method, device, equipment and medium
US20190018660A1 (en) Converting whiteboard images to personalized wireframes
CN114138263A (en) Application template publishing method, system, medium and electronic terminal
US20160139937A1 (en) Interfacing systems and methods
Altinbas et al. GUI element detection from mobile UI images using YOLOv5
EP3627313B1 (en) Method and system for operating a software application on a processor of a mobile device
US20180032510A1 (en) Automated translation of source code
CN112799658B (en) Model training method, model training platform, electronic device, and storage medium
Chung et al. Getting Started with Processing and OpenCV
US20200159805A1 (en) System and method for producing transferable, modular web pages
TWI825978B (en) Image file generating method and image file generating apparatus
TWI815029B (en) Server and method for converting program code into downloadable file
CN117093800B (en) PDF batch output method and device for network asset data report and electronic equipment
US20230072925A1 (en) Artificial intelligence powered redlining of text documents
CN117875288A (en) Form page generation method and device and electronic equipment

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