System-based custom application creation method and device, equipment and medium
The method enables the creation of customizable applications by parsing tasks, selecting and configuring modules, and deploying them independently, addressing the limitations of fixed functional modules in existing systems.
Patent Information
- Application Number
- CN202411226708.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-03
- Publication Date
- 2024-12-27
AI Technical Summary
Existing software systems provide fixed functional modules, making it difficult for users to customize applications according to their needs, and customized applications are often tightly coupled with system modules, complicating deployment and independent operation.
A method and device for creating system-based custom applications by parsing application tasks, selecting target modules, configuring module details, and generating custom applications that can be deployed independently and monitored remotely.
Improves user independence in development and application deployment, allowing for customized applications to be run independently and monitored in real-time.
Smart Images

Figure CN119201089A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of data processing technology, and in particular to a method, device, equipment and medium for creating a system-based custom application. Background Art
[0002] With the development of big data technology, the system contains many functional modules. However, running all functional modules will cause waste of resources and complicated operations. Therefore, it is necessary to build customized applications to implement different functions.
[0003] In the process of realizing the present invention, the inventors found that the prior art has the following defects: currently, the existing software systems usually provide fixed functional modules, which makes it difficult for users to customize the development according to their own needs; and customized applications are usually tightly coupled with system modules, making it difficult to deploy and run independently; and most manual operations do not allow real-time monitoring of customized applications. Summary of the invention
[0004] The present invention provides a method, device, equipment and medium for creating a system-based custom application, so as to improve the user's independent development capability and the performance of application independence.
[0005] According to one aspect of the present invention, a method for creating a system-based custom application is provided, which includes:
[0006] Obtain the custom application task to be created, and parse the custom application task to be created to obtain the custom application task parsing result;
[0007] According to the analysis result of the custom application task, at least one target basic module is selected in the system through a preset application creation method to generate a current application table;
[0008] By using a preset application module configuration method, each of the target basic modules is configured and processed, and a current module details table is generated;
[0009] Through the preset application generation method, according to the current application table and the current module details table, a custom application corresponding to the custom application task to be created is created.
[0010] According to another aspect of the present invention, there is provided a system-based custom application creation device, comprising:
[0011] A custom application task analysis result determination module is used to obtain the custom application task to be created, and analyze the custom application task to be created to obtain the custom application task analysis result;
[0012] The current application table generation module is used to select at least one target basic module in the system to generate the current application table according to the analysis result of the custom application task and through the preset application creation method;
[0013] A current module details table generating module, used to configure each of the target basic modules through a preset application module configuration method, and generate a current module details table;
[0014] The custom application creation module is used to create a custom application corresponding to the custom application task to be created according to the current application table and the current module details table through a preset application generation method.
[0015] According to another aspect of the present invention, an electronic device is provided, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the method for creating a system-based custom application as described in any embodiment of the present invention is implemented.
[0016] According to another aspect of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions for enabling a processor to implement the method for creating a system-based custom application as described in any embodiment of the present invention when the computer instructions are executed.
[0017] The technical solution of the embodiment of the present invention obtains the custom application task to be created, and parses the custom application task to be created to obtain the custom application task parsing result; according to the custom application task parsing result, at least one target basic module is selected in the system through a preset application creation method to generate a current application table; through a preset application module configuration method, each target basic module is configured and processed, and a current module details table is generated; through a preset application generation method, according to the current application table and the current module details table, a custom application corresponding to the custom application task to be created is created. It solves the problem that the existing software system usually provides fixed functional modules, it is difficult for users to carry out customized development according to their own needs, and the application is usually tightly coupled with the system module and difficult to deploy and run independently. It improves the user's independent development ability and the performance of application independence.
[0018] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0020] Figure 1 is a flowchart of a method for creating a system-based custom application according to Embodiment 1 of the present invention;
[0021] Figure 2 is a structural diagram of a system-based custom application creation device provided according to Embodiment 2 of the present invention;
[0022] Figure 3 It is a schematic diagram of the structure of an electronic device provided according to Embodiment 3 of the present invention. DETAILED DESCRIPTION
[0023] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0024] It should be noted that the terms "target", "current", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0025] Embodiment 1
[0026] Figure 1 A flowchart of a method for creating a system-based custom application is provided in Embodiment 1 of the present invention. This embodiment is applicable to situations where different custom applications are created based on a system. The method can be executed by a system-based custom application creation device, which can be implemented in the form of hardware and / or software.
[0027] Correspondingly, such as Figure 1 As shown, the method includes:
[0028] S110: Obtain the custom application task to be created, and parse the custom application task to be created to obtain a parsing result of the custom application task.
[0029] The custom application task to be created may be an acquired task of a custom application that needs to be created. The custom application task parsing result may be a parsing result describing the custom application to be created.
[0030] In this embodiment, the custom application task parsing result may include the type of the custom application to be created.
[0031] Optionally, before obtaining the custom application task to be created and parsing the custom application task to be created to obtain the custom application task parsing result, it also includes: after receiving the user login system instruction, instructing the system to load the basic modules and obtain the basic module default configuration corresponding to each of the basic modules; obtaining the current user information, and instructing the system to generate a user unique identifier corresponding to the current user information.
[0032] In this embodiment, before obtaining the custom application task to be created, the system needs to be initialized. Specifically, if the current user logs in, a user login system instruction can be received. After receiving the user login system instruction, it is necessary to instruct the system to load the basic module and obtain the basic module default configuration corresponding to each of the basic modules.
[0033] Exemplarily, it is assumed that the system includes a user management module, a data analysis module, a data processing module, a data output module, a data input module, a notification module and an alarm module. After the above basic modules are loaded, it is necessary to further obtain the basic module default configuration corresponding to each basic module.
[0034] Correspondingly, it is also necessary to obtain the current user information and instruct the system to generate a user unique identifier corresponding to the current user information. For example, it is assumed that the user unique identifier of the current user A is UID12345.
[0035] S120. According to the analysis result of the custom application task, at least one target basic module is selected in the system through a preset application creation method to generate a current application table.
[0036] In this embodiment, the method for creating an application may be a method for creating a custom application. The current application table may be an application table that describes a custom application to be created.
[0037] Specifically, the current application table may include each target basic module, as well as a custom application identifier, a custom application name, a custom application function description, and a user unique identifier.
[0038] Optionally, according to the custom application task parsing result, at least one target basic module is selected in the system through a preset application creation method to generate a current application table, including: obtaining user-defined application description information through a preset application creation method; wherein the user-defined application description information includes a custom application identifier, a custom application name and a custom application function description; according to the user-defined application description information and the custom application task parsing result, at least one target basic module is selected in the system, and the system is instructing to load each target basic module; according to each target basic module after the loading process is completed, and according to the custom application identifier, custom application name, custom application function description and user unique identifier, a current application table is generated.
[0039] In this embodiment, the user-defined application description information may include a custom application identifier, a custom application name, and a custom application function description. The custom application identifier may be used to describe the unique identifier of the custom application, and may be set to YY UID0001. The custom application name may be a name describing the custom application, and may be set to a data analysis custom application. The custom application function description may be information describing the function of the custom application, and specifically, the custom application function description may be set to data analysis.
[0040] For the analysis result of the custom application task, the type of the custom application can be defined. It is assumed that the custom application type is an application type that can modify module parameters.
[0041] Furthermore, at least one target basic module can be selected in the system according to the user-defined application description information and the result of the analysis of the customized application task, and the system can be instructed to load each target basic module. For example, it is assumed that the target basic modules selected in the system are: data input module, data analysis module, data output module and notification module.
[0042] Accordingly, the current application table can be generated according to the above target basic module, the custom application identifier YY UID0001, the custom application name as data analysis custom application, the custom application function description as information describing the function of the custom application, and the user unique identifier UID12345.
[0043] In addition, for the selected target basic module, menu customization is also supported, including modification of the target basic module name or chart.
[0044] S130. Perform configuration processing on each of the target basic modules through a preset application module configuration method, and generate a current module details table.
[0045] The current module details table may be an information details table describing each target basic module. The application module configuration method may be a method for configuring the target basic module.
[0046] Optionally, the preset application module configuration method is used to configure each of the target basic modules and generate a current module details table, including: through the personalized configuration sub-method in the application module configuration method, the module parameters in each of the target basic modules are respectively personalized configured to obtain personalized configuration module parameters corresponding to each of the target basic modules; wherein the personalized configuration sub-method includes personalized configuration processing of module parameter data source, module parameter component function and module parameter page initialization default query conditions; the personalized configuration module parameters, custom application identifier and user unique identifier are jointly stored to generate a current module details table.
[0047] In this embodiment, multiple target basic modules may be selected, and module parameter configuration processing may be performed on any one of the target basic modules.
[0048] Continuing with the previous example, for each target basic module selected in the system, namely: data input module, data analysis module, data output module and notification module, it is necessary to configure the module parameters of the data analysis module; for the data input module, data output module and notification module, the original default configuration can be maintained, that is, the default configuration of the basic modules corresponding to the data input module, data output module and notification module respectively.
[0049] In detail, the configuration of the module parameters of the data analysis module can include the personalized configuration of the module parameter data source, module parameter component functions and the module parameter page initialization default query conditions. In more detail, for the module parameter component functions, it can include the configuration of the page buttons, drop-down boxes, input boxes, forms or tables and other component functions.
[0050] For example, suppose that user A currently sets the parameter in the data analysis module as the module parameter data source Database01X; the module parameter function components are the input box, time filter, query button and table, and the input box defaults to 2024-01-01, and the page initialization will query based on this. The configuration can be updated based on the above module parameters.
[0051] Furthermore, specific module parameters can be defined through a graphical interface or a scripting language.
[0052] Accordingly, the personalized configuration module parameters, the custom application identifier YY UID0001 and the user unique identifier UID12345 may be jointly stored to generate the current module details table.
[0053] S140. Create a custom application corresponding to the custom application task to be created according to the current application table and the current module details table through a preset application generation method.
[0054] Optionally, the method of creating a custom application corresponding to the custom application task to be created is performed according to the current application table and the current module details table through a preset application generation method, including: generating a current application code according to the current application table and the current module details table through a preset application generation method; compiling and packaging the current application code to obtain and create a custom application corresponding to the custom application task to be created based on the generated executable file.
[0055] In this embodiment, the system also supports users to choose whether to deploy the packaged custom application to an independent operating environment, including server configuration or virtual machine, etc. (here users are supported to configure the information of the independent operating environment, such as server IP, server user name, password, or the specific path of the application deployed to the server).
[0056] For example, assume that the current application code generated by the system includes data input, data analysis, data output and notification functions, and is independently deployed on the dedicated server Server-A of user A. Accordingly, the package structure of the generated custom application is as follows: Each executable file contains the application code of its own target basic module.
[0057] Optionally, after the custom application corresponding to the custom application task to be created is created through the preset application generation method according to the current application table and the current module details table, it also includes: configuring a target container for the custom application through containerization technology, so that the system runs the target container corresponding to the custom application in an independent virtual environment, and the custom application is separated from the system.
[0058] In this embodiment, the containerization technology is used to support the user to separate the created custom application from other parts of the system. A target container can also be configured for the custom application to ensure that the custom application runs in the container in an independent virtual environment, and can be decoupled from other parts of the system.
[0059] Optionally, after the custom application corresponding to the custom application task to be created is created according to the current application table and the current module details table through the preset application generation method, it also includes: when it is monitored that the custom application is started independently, instructing the custom application to connect to the system, obtaining and performing log recording and exception information notification processing according to the parsed application information corresponding to the custom application, so as to realize remote monitoring of the custom application.
[0060] In this embodiment, it is assumed that when the custom application A-app is independently started, it is connected to the system, and the system monitors the operation of the custom application A-app of user A, and records the results of each data analysis and the notification sending. If an abnormal keyword such as an error occurs, the information of the abnormality of the custom application A-app will be notified to user A, so as to realize remote monitoring of the custom application.
[0061] The technical solution of the embodiment of the present invention obtains the custom application task to be created, and parses the custom application task to be created to obtain the custom application task parsing result; according to the custom application task parsing result, at least one target basic module is selected in the system through a preset application creation method to generate a current application table; through a preset application module configuration method, each target basic module is configured and processed, and a current module details table is generated; through a preset application generation method, according to the current application table and the current module details table, a custom application corresponding to the custom application task to be created is created. It solves the problem that the existing software system usually provides fixed functional modules, it is difficult for users to carry out customized development according to their own needs, and the application is usually tightly coupled with the system module and difficult to deploy and run independently. It improves the user's independent development ability and the performance of application independence.
[0062] Embodiment 2
[0063] Figure 2 This is a schematic diagram of the structure of a system-based custom application creation device provided in the second embodiment of the present invention. The system-based custom application creation device provided in this embodiment can be implemented by software and / or hardware, and can be configured in a terminal device or a server to implement a system-based custom application creation method in the embodiment of the present invention. Figure 2 As shown, the device includes: a custom application task parsing result determination module 210, a current application table generation module 220, a current module detail table generation module 230 and a custom application creation module 240.
[0064] The custom application task analysis result determination module 210 is used to obtain the custom application task to be created, and analyze the custom application task to be created to obtain the custom application task analysis result;
[0065] The current application table generation module 220 is used to select at least one target basic module in the system according to the analysis result of the custom application task and through a preset application creation method to generate a current application table;
[0066] The current module details table generating module 230 is used to configure each of the target basic modules through a preset application module configuration method and generate a current module details table;
[0067] The custom application creation module 240 is used to create a custom application corresponding to the custom application task to be created according to the current application table and the current module detail table through a preset application generation method.
[0068] The technical solution of the embodiment of the present invention obtains the custom application task to be created, and parses the custom application task to be created to obtain the custom application task parsing result; according to the custom application task parsing result, at least one target basic module is selected in the system through a preset application creation method to generate a current application table; through a preset application module configuration method, each target basic module is configured and processed, and a current module details table is generated; through a preset application generation method, according to the current application table and the current module details table, a custom application corresponding to the custom application task to be created is created. It solves the problem that the existing software system usually provides fixed functional modules, it is difficult for users to carry out customized development according to their own needs, and the application is usually tightly coupled with the system module and difficult to deploy and run independently. It improves the user's independent development ability and the performance of application independence.
[0069] On the basis of the above embodiments, it also includes a target container configuration module, which can be specifically used to: after the custom application corresponding to the custom application task to be created is created according to the current application table and the current module details table through the preset application generation method, the target container is configured for the custom application through the containerization technology, so that the system can run the target container corresponding to the custom application in an independent virtual environment, and the custom application is separated from the system.
[0070] On the basis of the above embodiments, it also includes a remote monitoring module, which can be specifically used for: after creating a custom application corresponding to the custom application task to be created according to the current application table and the current module details table through the preset application generation method, when it is monitored that the custom application is started independently, instructing the custom application to connect to the system, obtaining and performing log recording and exception information notification processing according to the parsed application information corresponding to the custom application, so as to realize remote monitoring of the custom application.
[0071] On the basis of the above embodiments, it also includes a user unique identifier generation module, which can be specifically used for: before obtaining the custom application task to be created and parsing the custom application task to be created to obtain the custom application task parsing result, after receiving the user login system instruction, instructing the system to load the basic modules and obtain the basic module default configuration corresponding to each of the basic modules; obtaining the current user information, and instructing the system to generate a user unique identifier corresponding to the current user information.
[0072] On the basis of the above embodiments, the current application table generation module 220 can be specifically used to: obtain user-defined application description information through a pre-set application creation method; wherein the user-defined application description information includes a custom application identifier, a custom application name, and a custom application function description; select at least one target basic module in the system according to the user-defined application description information and the custom application task parsing result, and instruct the system to load each target basic module; generate a current application table according to each target basic module that has completed the loading process, and according to the custom application identifier, custom application name, custom application function description and user unique identifier.
[0073] On the basis of the above-mentioned embodiments, the current module details table generation module 230 can be specifically used for: performing personalized configuration processing on the module parameters in each of the target basic modules through the personalized configuration sub-method in the application module configuration method to obtain personalized configuration module parameters corresponding to each of the target basic modules; wherein the personalized configuration sub-method includes personalized configuration processing of the module parameter data source, module parameter component function and module parameter page initialization default query conditions; and jointly storing the personalized configuration module parameters, custom application identifier and user unique identifier to generate the current module details table.
[0074] Based on the above embodiments, the custom application creation module 240 can be specifically used to: generate the current application code according to the current application table and the current module details table through a preset application generation method; compile and package the current application code to obtain and create a custom application corresponding to the custom application task to be created based on the generated executable file.
[0075] The system-based custom application creation device provided in the embodiment of the present invention can execute the system-based custom application creation method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.
[0076] Embodiment 3
[0077] Figure 3 A schematic diagram of the structure of an electronic device 10 that can be used to implement the third embodiment of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or required herein.
[0078] like Figure 3 As shown, the electronic device 10 includes at least one processor 11, and a memory connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 to the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other through a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.
[0079] A number of components in the electronic device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0080] The processor 11 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 11 executes the various methods and processes described above, such as a method for creating a system-based custom application.
[0081] In some embodiments, the method for creating a system-based custom application can be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 18. In some embodiments, part or all of the computer program can be loaded and / or installed on the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the method for creating a system-based custom application described above can be performed. Alternatively, in other embodiments, the processor 11 can be configured to execute the method for creating a system-based custom application in any other appropriate manner (for example, by means of firmware).
[0082] The method includes: obtaining a custom application task to be created, and parsing the custom application task to be created to obtain a parsing result of the custom application task; according to the parsing result of the custom application task, selecting at least one target basic module in the system through a preset application creation method to generate a current application table; configuring each of the target basic modules through a preset application module configuration method, and generating a current module details table; and creating a custom application corresponding to the custom application task to be created according to the current application table and the current module details table through a preset application generation method.
[0083] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0084] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.
[0085] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in combination with an instruction execution system, device or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0086] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).
[0087] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.
[0088] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.
[0089] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.
[0090] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
[0091] Embodiment 4
[0092] Embodiment 4 of the present invention also provides a computer-readable storage medium, wherein the computer-readable instructions are used to execute a system-based custom application creation method when executed by a computer processor, the method comprising: obtaining a custom application task to be created, and parsing the custom application task to be created to obtain a custom application task parsing result; according to the custom application task parsing result, through a preset application creation method, selecting at least one target basic module in the system to generate a current application table; through a preset application module configuration method, configuring each of the target basic modules and generating a current module details table; through a preset application generation method, creating and completing a custom application corresponding to the custom application task to be created according to the current application table and the current module details table.
[0093] Of course, the computer-readable storage medium provided in the embodiment of the present invention has computer-executable instructions that are not limited to the method operations described above, and can also execute related operations in the system-based custom application creation method provided in any embodiment of the present invention.
[0094] Through the above description of the implementation methods, the technicians in the relevant field can clearly understand that the present invention can be implemented by means of software and necessary general hardware, and of course it can also be implemented by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as a computer floppy disk, a read-only memory (ROM), a random access memory (RAM), a flash memory (FLASH), a hard disk or an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present invention.
[0095] It is worth noting that in the above-mentioned embodiment of the system-based custom application creation device, the various units and modules included are only divided according to functional logic, but are not limited to the above-mentioned division, as long as the corresponding functions can be achieved; in addition, the specific names of the functional units are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of the present invention.
[0096] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. A method for creating a system-based custom application, characterized in that: include: Obtain the custom application task to be created, and parse the custom application task to be created to obtain the custom application task parsing result; According to the analysis result of the custom application task, at least one target basic module is selected in the system through a preset application creation method to generate a current application table; Through the preset application module configuration method, each of the target basic modules is configured and processed, and a current module details table is generated; Through the preset application generation method, according to the current application table and the current module details table, a custom application corresponding to the custom application task to be created is created.
2. The method according to claim 1, characterized in that After the custom application corresponding to the custom application task to be created is created according to the current application table and the current module detail table by using the preset application generation method, the method further includes: By using containerization technology, a target container is configured for the custom application, so that the system runs the target container corresponding to the custom application in an independent virtual environment, and the custom application is separated from the system.
3. The method according to claim 1, characterized in that After the custom application corresponding to the custom application task to be created is created according to the current application table and the current module detail table by using the preset application generation method, the method further includes: When it is detected that the custom application is started independently, the custom application is instructed to connect to the system, and the parsed application information corresponding to the custom application is obtained and log recording and abnormal information notification processing are performed to achieve remote monitoring of the custom application.
4. The method according to claim 1, characterized in that: Before obtaining the custom application task to be created and parsing the custom application task to be created to obtain the parsing result of the custom application task, the following step is also included: After receiving the user's system login instruction, instruct the system to load the basic modules and obtain the basic module default configurations corresponding to each of the basic modules; The current user information is obtained, and the system is instructed to generate a user unique identifier corresponding to the current user information.
5. The method according to claim 4, characterized in that The step of generating a current application table by selecting at least one target basic module in the system according to the analysis result of the custom application task and by using a preset application creation method includes: Obtain user-defined application description information through the pre-set application creation method; The user-defined application description information includes a customized application identifier, a customized application name, and a customized application function description; According to the user-defined application description information and the analysis result of the customized application task, at least one target basic module is selected in the system, and the system is instructed to load each target basic module; A current application table is generated according to each target basic module that has completed the loading process, and according to the custom application identifier, the custom application name, the custom application function description and the user unique identifier.
6. The method according to claim 5, characterized in that The preset application module configuration method is used to configure each of the target basic modules and generate a current module details table, including: Through the personalized configuration sub-method in the application module configuration method, the module parameters in each of the target basic modules are individually configured to obtain personalized configuration module parameters corresponding to each of the target basic modules; Among them, the personalized configuration sub-method includes personalized configuration processing of module parameter data source, module parameter component function and module parameter page initialization default query condition; The personalized configuration module parameters, the custom application identifier and the user unique identifier are jointly stored to generate a current module details table.
7. The method according to claim 6, characterized in that The method of generating an application by using a preset application generation method, according to the current application table and the current module details table, creates a custom application corresponding to the custom application task to be created, including: Generate the current application code according to the current application table and the current module details table through the preset application generation method; The current application code is compiled and packaged to obtain and create a custom application corresponding to the custom application task to be created based on the generated executable file.
8. A system-based custom application creation device, characterized in that: include: A custom application task analysis result determination module is used to obtain the custom application task to be created, and analyze the custom application task to be created to obtain the custom application task analysis result; The current application table generation module is used to select at least one target basic module in the system to generate the current application table according to the analysis result of the custom application task and through the preset application creation method; A current module details table generating module, used to configure each of the target basic modules through a preset application module configuration method, and generate a current module details table; The custom application creation module is used to create a custom application corresponding to the custom application task to be created according to the current application table and the current module details table through a preset application generation method.
9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the method for creating a system-based customized application according to any one of claims 1 to 7 is implemented.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the method for creating a system-based customized application according to any one of claims 1 to 7 when the computer instructions are executed.