Multi-terminal application publishing method and system, electronic equipment and readable storage medium
Through the collaborative work of multi-end application management module, construction module and release module, application data management, construction template instantiation and application version release are realized, which solves the problems of high cost and difficulty of multi-end application construction and release, and improves application construction efficiency and server resource utilization.
Patent Information
- Application Number
- CN202411565761.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-05
- Publication Date
- 2025-03-04
- Estimated Expiration
- 2044-11-05
AI Technical Summary
The construction and release of multi-end applications is costly and difficult, and the existing technology is difficult to effectively respond to the multi-end application needs in different business scenarios.
A multi-end application release method is proposed, through the collaborative work of multi-end application management module, construction module and release module, application data management, construction template instantiation and application version release are realized. The method includes viewing application data, building application and publishing application versions in response to user requests, and associating and configuring using template resources, script templates, and deployment patterns.
It reduces the cost and difficulty of multi-end application construction and release, improves the efficiency and reliability of application construction, enhances server resource utilization, reduces operation and maintenance costs, and improves the release efficiency of multi-end application.
Smart Images

Figure CN119556970A_ABST
Abstract
Description
Technical Field
[0001] Embodiments of the present invention relate to the field of Internet technology, and in particular to a multi-terminal application publishing method, a multi-terminal application building and publishing system, an electronic device, and a computer-readable storage medium. Background Art
[0002] In the process of software development, with the diversification of business scenarios and the continuous growth of user needs, the construction and release of multi-terminal applications face increasingly complex challenges. The construction and release requirements of multi-terminal applications in different business scenarios are different, but they all require the development team to be able to efficiently complete the construction and release of multi-terminal applications.
[0003] However, due to different requirements in different business scenarios, there are also differences in the construction and release of corresponding multi-terminal applications, resulting in high cost and difficulty in the construction and release of multi-terminal applications. Summary of the invention
[0004] The embodiments of the present invention provide a multi-terminal application publishing method, system, electronic device and computer-readable storage medium to solve the problems of high cost and difficulty in building and publishing multi-terminal applications.
[0005] The embodiment of the present invention discloses a multi-terminal application publishing method, which is applied to a multi-terminal application construction and publishing system. The multi-terminal application construction and publishing system includes a multi-terminal application management module, a multi-terminal application construction module and a multi-terminal application publishing module. The method includes:
[0006] In response to a request for viewing application data sent by a first designated object, returning application data information to the first designated object through the multi-terminal application management module;
[0007] In response to the first designated object sending application construction request information based on the application data information, constructing an application construction template instance through the multi-terminal application construction module, and returning application instance information of the application construction template instance to the multi-terminal application management module, so that the application construction template instance creates an application instance version according to the application instance information, and returns application version data information of the application instance version to the first designated object;
[0008] In response to the application version publishing request information of the multi-terminal application sent by the first designated object based on the application version data information, the multi-terminal application is published through the multi-terminal application management module and the multi-terminal application publishing module.
[0009] Optionally, the application data information includes but is not limited to application type, template resources, script template and deployment mode.
[0010] Optionally, the method further comprises:
[0011] In response to the application type and the template resource sent by the second designated object, associating the application type with the template resource through the multi-terminal application management module;
[0012] If the application type is successfully associated with the template resource, a creation success prompt message is returned to the second designated object.
[0013] Optionally, the method further comprises:
[0014] In response to the script template and related information of the script template sent by the third designated object, the application type is associated with the script template through the multi-terminal application management module; the script template is a script template of a different technology stack; the related information of the script template includes a script template name, a script template type, and a script template file;
[0015] If the application type is successfully associated with the script template, a creation success prompt message is returned to the third designated object.
[0016] Optionally, the method further comprises:
[0017] In response to the deployment mode sent by the third designated object and the server resource configuration information corresponding to the deployment mode, the deployment mode is associated with the server resource application process through the multi-terminal application publishing module; wherein the server resource configuration information includes server model, memory size, and hard disk capacity;
[0018] If the deployment mode is successfully associated with the server resource application process, a creation success prompt message is returned to the third designated object.
[0019] Optionally, the method further comprises:
[0020] In response to the second designated object sending version release mode information of the version release mode, the version release mode is associated with the deployment mode through the multi-terminal application release module; wherein the version release mode information includes a mode name, a mode description, and a mode identifier;
[0021] If the version release mode is successfully associated with the deployment mode, a creation success prompt message is returned to the second designated object.
[0022] Optionally, in response to the application version publishing request information of the multi-terminal application sent by the first designated object based on the application version data information, publishing the multi-terminal application through the multi-terminal application management module and the multi-terminal application publishing module includes:
[0023] In response to the application version publishing request information of the multi-terminal application sent by the first designated object based on the application version data information, the multi-terminal application management module sends an application deployment request to the multi-terminal application publishing module, so that the multi-terminal application publishing module applies for resources according to the deployment mode corresponding to the application version publishing request information and deploys the multi-terminal application based on the applied resources;
[0024] When the multi-terminal application is successfully deployed through the multi-terminal application publishing module, a prompt message of successful application deployment is sent to the multi-terminal application management module, so as to return a prompt message of successful application version publishing to the first designated object after the application version publishing status of the multi-terminal application is changed through the multi-terminal application management module.
[0025] Optionally, the first designated object includes developers; the second designated object includes management personnel; and the third designated object includes operation and maintenance personnel.
[0026] Optionally, the multi-terminal application management module, the multi-terminal application construction module and the multi-terminal application publishing module in the multi-terminal application construction and publishing system are decoupled.
[0027] The embodiment of the present invention also discloses a multi-terminal application construction and publishing system, which includes a multi-terminal application management module, a multi-terminal application construction module and a multi-terminal application publishing module:
[0028] In response to a request for viewing application data sent by a first designated object, the multi-terminal application management module returns application data information to the first designated object;
[0029] In response to the first designated object sending application construction request information based on the application data information, the multi-terminal application construction module constructs an application construction template instance, and returns the application instance information of the application construction template instance to the multi-terminal application management module, so that the application construction template instance creates an application instance version according to the application instance information, and returns the application version data information of the application instance version to the first designated object;
[0030] In response to the application version publishing request information of the multi-terminal application sent by the first designated object based on the application version data information, the multi-terminal application is published through the multi-terminal application management module and the multi-terminal application publishing module.
[0031] Optionally, the application data information includes but is not limited to application type, template resources, script template and deployment mode.
[0032] Optionally, the multi-terminal application construction and publishing system is also used to:
[0033] In response to the application type and the template resource sent by the second designated object, associating the application type with the template resource through the multi-terminal application management module;
[0034] If the application type is successfully associated with the template resource, a creation success prompt message is returned to the second designated object.
[0035] Optionally, the multi-terminal application construction and publishing system is also used to:
[0036] In response to the script template and related information of the script template sent by the third designated object, the application type is associated with the script template through the multi-terminal application management module; the script template is a script template of a different technology stack; the related information of the script template includes a script template name, a script template type, and a script template file;
[0037] If the application type is successfully associated with the script template, a creation success prompt message is returned to the third designated object.
[0038] Optionally, the multi-terminal application construction and publishing system is also used to:
[0039] In response to the deployment mode sent by the third designated object and the server resource configuration information corresponding to the deployment mode, the deployment mode is associated with the server resource application process through the multi-terminal application publishing module; wherein the server resource configuration information includes server model, memory size, and hard disk capacity;
[0040] If the deployment mode is successfully associated with the server resource application process, a creation success prompt message is returned to the third designated object.
[0041] Optionally, the multi-terminal application construction and publishing system is also used to:
[0042] In response to the second designated object sending version release mode information of the version release mode, the version release mode is associated with the deployment mode through the multi-terminal application release module; wherein the version release mode information includes a mode name, a mode description, and a mode identifier;
[0043] If the version release mode is successfully associated with the deployment mode, a creation success prompt message is returned to the second designated object.
[0044] Optionally, in response to the application version publishing request information of the multi-terminal application sent by the first designated object based on the application version data information, publishing the multi-terminal application through the multi-terminal application management module and the multi-terminal application publishing module includes:
[0045] In response to the application version publishing request information of the multi-terminal application sent by the first designated object based on the application version data information, the multi-terminal application management module sends an application deployment request to the multi-terminal application publishing module, so that the multi-terminal application publishing module applies for resources according to the deployment mode corresponding to the application version publishing request information and deploys the multi-terminal application based on the applied resources;
[0046] When the multi-terminal application is successfully deployed through the multi-terminal application publishing module, a prompt message of successful application deployment is sent to the multi-terminal application management module, so as to return a prompt message of successful application version publishing to the first designated object after the application version publishing status of the multi-terminal application is changed through the multi-terminal application management module.
[0047] Optionally, the first designated object includes developers; the second designated object includes management personnel; and the third designated object includes operation and maintenance personnel.
[0048] Optionally, the multi-terminal application management module, the multi-terminal application construction module and the multi-terminal application publishing module in the multi-terminal application construction and publishing system are decoupled.
[0049] The embodiment of the present invention further discloses an electronic device, comprising a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other via the communication bus;
[0050] The memory is used to store computer programs;
[0051] The processor is used to implement the method described in the embodiment of the present invention when executing the program stored in the memory.
[0052] The embodiment of the present invention further discloses a computer program product, which is stored in a storage medium and is executed by at least one processor to implement the method described in the embodiment of the present invention.
[0053] The embodiment of the present invention further discloses a computer-readable storage medium having instructions stored thereon, which, when executed by one or more processors, enables the processors to execute the method described in the embodiment of the present invention.
[0054] The embodiments of the present invention include the following advantages:
[0055] The embodiment of the present invention is applied to a multi-terminal application construction and release system, which includes a multi-terminal application management module, a multi-terminal application construction module and a multi-terminal application release module. Specifically, when constructing and releasing a multi-terminal application, first, in response to a request for viewing application data sent by a first designated object, application data information is returned to the first designated object through the multi-terminal application management module. Then, in response to the first designated object sending application construction request information based on the application data information, an application construction template instance is constructed through the multi-terminal application construction module, and application instance information of the application construction template instance is returned to the multi-terminal application management module, so that the application construction template instance creates an application instance version according to the application instance information, and returns the application version data information of the application instance version to the first designated object. Finally, the application version release request information of the multi-terminal application sent by the first designated object based on the application version data information can be responded to, so that the multi-terminal application can be released through the multi-terminal application management module and the multi-terminal application release module. The various modules of the multi-terminal application construction and release system of the embodiment of the present invention can flexibly control and configure the construction and release of the multi-terminal application according to their own needs, reduce the cost and difficulty of the construction and release of the multi-terminal application, and improve the release efficiency of the multi-terminal application. BRIEF DESCRIPTION OF THE DRAWINGS
[0056] Figure 1 It is a flowchart of the steps of a multi-terminal application publishing method provided in an embodiment of the present invention;
[0057] Figure 2 It is a functional module diagram of a multi-terminal application construction and publishing system provided in an embodiment of the present invention;
[0058] Figure 3 It is a schematic diagram of the use of a multi-terminal application construction and publishing system provided in an embodiment of the present invention;
[0059] Figure 4 is a timing diagram of a multi-terminal application construction and publishing system provided in an embodiment of the present invention;
[0060] Figure 5 It is a structural block diagram of a multi-terminal application construction and publishing system provided in an embodiment of the present invention;
[0061] Figure 6 It is a schematic diagram of the hardware structure of an electronic device for implementing various embodiments of the present invention. DETAILED DESCRIPTION
[0062] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the present invention is further described in detail below with reference to the accompanying drawings and specific embodiments.
[0063] In the software development process, there are requirements for building and publishing multi-terminal applications in different business scenarios. Based on different business scenarios, different application scales and limited resources. The embodiment of the present invention proposes a method for building and publishing multi-terminal applications to effectively reduce the cost and difficulty of building and publishing multi-terminal applications. At the same time, by enhancing the reusability of the code, the reliability of the application is guaranteed to the greatest extent. The embodiment of the present invention maximizes the utilization of server resources through a flexible and configurable application publishing deployment mode, and can also expand and enhance the ability to build and publish applications through pluggable plug-in registration functions.
[0064] Reference Figure 1 , shows a flowchart of the steps of a multi-terminal application publishing method provided in an embodiment of the present invention, which is applied to a multi-terminal application construction and publishing system. The multi-terminal application construction and publishing system may include a multi-terminal application management module, a multi-terminal application construction module and a multi-terminal application publishing module. The method may specifically include the following steps:
[0065] Step 101: In response to a request for viewing application data sent by a first designated object, application data information is returned to the first designated object through the multi-terminal application management module.
[0066] Reference Figure 2 , is a functional module diagram of a multi-terminal application construction and release system provided in an embodiment of the present invention. Specifically, the multi-terminal application construction and release system may include several functional modules, namely, a multi-terminal application management module, a multi-terminal application construction module and a multi-terminal application release module (multi-terminal application deployment module). The functional modules based on the multi-terminal application construction and release system can realize the construction and release of multi-terminal applications. Of course, in addition to being applicable to the construction and release of multi-terminal applications, the embodiment of the present invention is also applicable to the construction and release of other applications, and the embodiment of the present invention does not need to be limited to this. Among them, the embodiment of the present invention is a minimum feasible design of the multi-terminal application construction and release process. The design of each functional module of the multi-terminal application construction and release system is highly decoupled, and can be implemented in parallel and independently deployed and run, which effectively reduces the implementation cost and difficulty. Specifically:
[0067] (1) Multi-terminal application management module: It includes five essential sub-functions (application registration, application version management, terminal device management, plug-in registration, and template resource management) and two optional sub-functions (application log collection and application performance analysis). This function module is mainly used for the management of multi-terminal applications and their versions, the integration of third-party component functions, and the management of template resources related to each role.
[0068] (2) Multi-terminal application construction module: used for the construction of multi-terminal applications, including standardized application construction functions and customized application construction functions. Users can choose the corresponding application construction method based on the size and complexity of the multi-terminal application.
[0069] ① Standardized application construction function: This function is suitable for standardized application construction with small scale and simple business requirements. In the client application construction function, hybrid application technology and conditional compilation technology are used to achieve the adaptation of the human-computer interaction interface in different client environments. First, pre-set the web component library of the relevant business theme; then pre-build the theme interface template based on the theme component library; finally, through the visual interface construction tool, complete the interface construction of the actual business needs based on the theme interface template, and package and output the web product. In order to achieve the purpose of adaptation of different client operating environments (Android system, IOS system, etc.), hybrid application technology is used to mix the previously packaged web products into the base application of the corresponding client operating environment to achieve multi-client interface adaptation based on web technology. In the server application construction function, first configure the data source to be accessed; then use the heterogeneous data adaptation function to standardize the heterogeneous data format, data structure, field, etc.; finally, generate a standardized data interface through the standard data interface construction function and open it to client applications for access and use.
[0070] ② Customized application construction function: This function is suitable for customized application construction with large scale and complex business requirements. Users first configure and upload relevant information of source code engineering templates with different technology stacks and verified reliability through the source code engineering template configuration function; then select the appropriate source code engineering template according to project requirements and customize the configuration to generate a source code template instance project; finally, download the source code template instance project to the local development environment for customized development.
[0071] (3) Multi-terminal application release module: It can pre-configure the application version release mode (grayscale release, rolling release, blue-green release, scheduled release, etc.), application deployment type / deployment mode (containerized deployment, serverless deployment, cloud deployment, edge deployment, etc.), deployment resource application process, etc., and generate deployment scripts through the above configuration items. The deployment script can be a script file of the type of Dockerfile, Jenkinsfile, shellfile, etc.
[0072] It should be noted that the above-mentioned functional modules are only used as examples. In actual applications, the functional modules can be merged or expanded as needed to provide users with better multi-terminal application construction and publishing services.
[0073] Reference Figure 3 , is a schematic diagram of the use of a multi-terminal application construction and release system provided in an embodiment of the present invention. The operation and implementation of multi-terminal application construction and release mainly include three user roles: management personnel, development personnel, and operation and maintenance personnel. Specifically:
[0074] Manager: Mainly responsible for managing application registration information, application versions, terminal devices, plug-in registration information, and template resources.
[0075] Developers: Mainly responsible for managing application registration information, managing application versions, managing terminal devices, managing plug-in registration information, building standardized applications, and building customized applications.
[0076] Operation and maintenance personnel: mainly responsible for managing script templates, managing deployment resources, building deployment environments, and managing release modes and deployment types.
[0077] It should be noted that the above-mentioned user roles are only examples. In actual applications, user roles or the work content or permissions of user roles may be deleted, merged or expanded according to actual needs, and the embodiments of the present invention do not need to be limited to this.
[0078] In an embodiment of the present invention, the first designated object may include a developer. Application data information includes, but is not limited to, application type, template resources, script templates, and deployment mode. Exemplarily, application types may include mobile applications, web applications, desktop applications, and the like. Template resources may refer to various code templates for building or publishing multi-terminal applications, such as script templates. Script templates may be build script templates, deployment script templates, and the like for different technology stacks. Deployment modes may include containerized deployment, serverless deployment, cloud deployment, edge deployment, and the like.
[0079] Exemplarily, a developer can send a request to view application data to the multi-terminal application management module. In response to the request to view application data sent by the first designated object, the multi-terminal application management module can return application data information to the developer. In this way, the developer can build an application construction template instance for the multi-terminal application based on actual R&D needs.
[0080] Step 102, in response to the first designated object sending application construction request information based on the application data information, constructing an application construction template instance through the multi-terminal application construction module, and returning the application instance information of the application construction template instance to the multi-terminal application management module, so that the application construction template instance creates an application instance version according to the application instance information, and returns the application version data information of the application instance version to the first designated object.
[0081] In an embodiment of the present invention, developers can select application construction request information of the multi-terminal application to be built based on the application data information, wherein the application construction request information may include application construction method, application construction template initialization data, etc., and then send the application construction request information to the multi-terminal application construction module, so that the multi-terminal application construction module can initialize the application construction template instance accordingly, and the multi-terminal application construction module returns a prompt message of successful initialization of the application construction template instance to the developer. After the developer completes the construction of the application template instance, the developer sends an application construction completion request to the multi-terminal application construction module. The multi-terminal application construction module saves the application construction template instance and returns the application instance information to the multi-terminal application management module. The multi-terminal application management module automatically creates an application instance version according to the application instance information, and returns the application version data information of the application instance version to the developer.
[0082] Step 103: In response to the application version publishing request information of the multi-terminal application sent by the first designated object based on the application version data information, the multi-terminal application is published through the multi-terminal application management module and the multi-terminal application publishing module.
[0083] In an embodiment of the present invention, developers can publish multi-terminal applications through a multi-terminal application management module and a multi-terminal application publishing module based on the application version data information sending the application version publishing request information of the multi-terminal application.
[0084] By applying the various modules of the multi-terminal application construction and publishing system of the embodiment of the present invention, the construction and publishing of multi-terminal applications can be flexibly controlled and configured according to their own needs, thereby reducing the cost and difficulty of multi-terminal application construction and publishing and improving the publishing efficiency of multi-terminal applications.
[0085] In one embodiment of the present invention, the method may further include:
[0086] In response to the application type and the template resource sent by the second designated object, associating the application type with the template resource through the multi-terminal application management module;
[0087] If the application type is successfully associated with the template resource, a creation success prompt message is returned to the second designated object.
[0088] In one example, the second designated object may include a manager.
[0089] In the embodiment of the present invention, the administrator inputs the application type and template resources, and the multi-terminal application management module associates the application type with the template resources. If the association is successful, the multi-terminal application management module returns a prompt message indicating that the application type has been successfully created.
[0090] In one embodiment of the present invention, the method may further include:
[0091] In response to the script template and related information of the script template sent by the third designated object, the application type is associated with the script template through the multi-terminal application management module; the script template is a script template of a different technology stack; the related information of the script template includes a script template name, a script template type, and a script template file;
[0092] If the application type is successfully associated with the script template, a creation success prompt message is returned to the third designated object.
[0093] In one example, the third designated object may include operation and maintenance personnel.
[0094] In an embodiment of the present invention, the operation and maintenance personnel input a script template (a build script template, a deployment script template, etc. of different technology stacks) and related information of the script template, wherein the related information of the script template may include the script template name, the script template type, the script template file, etc. The multi-terminal application management module associates the application type with the script template. If the association is successful, the multi-terminal application management module returns a prompt message of successful creation of the script template to the operation and maintenance personnel.
[0095] In one embodiment of the present invention, the method may further include:
[0096] In response to the deployment mode sent by the third designated object and the server resource configuration information corresponding to the deployment mode, the deployment mode is associated with the server resource application process through the multi-terminal application publishing module; wherein the server resource configuration information includes server model, memory size, and hard disk capacity;
[0097] If the deployment mode is successfully associated with the server resource application process, a creation success prompt message is returned to the third designated object.
[0098] In an embodiment of the present invention, the operation and maintenance personnel input the deployment mode and the server resource configuration information corresponding to the deployment mode, wherein the server resource configuration information may include the server model, memory size, and hard disk capacity. The multi-terminal application deployment module associates the deployment type with the server resource application process. If the association is successful, the multi-terminal application deployment module returns a prompt message indicating that the deployment mode has been successfully created.
[0099] In one embodiment of the present invention, the method may further include:
[0100] In response to the second designated object sending version release mode information of the version release mode, the version release mode is associated with the deployment mode through the multi-terminal application release module; wherein the version release mode information includes a mode name, a mode description, and a mode identifier;
[0101] If the version release mode is successfully associated with the deployment mode, a creation success prompt message is returned to the second designated object.
[0102] In an embodiment of the present invention, the operation and maintenance personnel input version release mode information, wherein the version release mode information may include a mode name, a mode description, a mode identifier, etc. The multi-terminal application deployment module associates the version release mode with the deployment type. If the association is successful, the multi-terminal application deployment module returns a prompt message indicating that the version release mode has been successfully created to the operation and maintenance personnel.
[0103] In an embodiment of the present invention, in response to the application version publishing request information of the multi-terminal application sent by the first designated object based on the application version data information, publishing the multi-terminal application through the multi-terminal application management module and the multi-terminal application publishing module includes:
[0104] In response to the application version publishing request information of the multi-terminal application sent by the first designated object based on the application version data information, the multi-terminal application management module sends an application deployment request to the multi-terminal application publishing module, so that the multi-terminal application publishing module applies for resources according to the deployment mode corresponding to the application version publishing request information and deploys the multi-terminal application based on the applied resources;
[0105] When the multi-terminal application is successfully deployed through the multi-terminal application publishing module, a prompt message of successful application deployment is sent to the multi-terminal application management module, so as to return a prompt message of successful application version publishing to the first designated object after the application version publishing status of the multi-terminal application is changed through the multi-terminal application management module.
[0106] In an embodiment of the present invention, a manager sends an application creation request message, wherein the application creation request message may include an application name, an application type, an application identifier, etc., a multi-terminal application management module returns an application creation success prompt message, a developer sends an application data viewing request message, the multi-terminal application management module returns application data information, a developer sends an application construction request message, wherein the application construction request message may include an application construction method, application construction template initialization data, etc., a multi-terminal application construction module initializes an application construction template instance, and the multi-terminal application construction module returns an application construction template instance initialization success prompt message, after the developer completes the application template instance construction, an application construction completion request is sent, the multi-terminal application construction module saves the application construction template instance, and the multi-terminal application construction template is constructed. The block returns application instance information, the multi-terminal application management module automatically creates an application instance version according to the application instance information, the multi-terminal application management module returns application version data information, the developer sends application version release request information, the application version release request information may include release type, version number, version identifier, version description, version name, etc., the multi-terminal application management module sends an application deployment request, the multi-terminal application deployment module starts the deployment resource application process, after the deployment resource application is successful, the multi-terminal application deployment module executes the deployment script to deploy the application, the multi-terminal application deployment module returns application deployment success prompt information, the multi-terminal application management module changes the application version release status, and the multi-terminal application management module returns application version release success prompt information, thus completing the construction and release of the multi-terminal application.
[0107] By applying the embodiments of the present invention, it is possible to build multi-terminal applications. By using cross-terminal compatible technology and preset template resources, the reusability and reliability of the code are enhanced, making the construction of applications more efficient and reliable, and improving the efficiency of developers. It is also possible to flexibly configure the application release and deployment process. By using preset release types and deployment modes, the application release and deployment methods can be flexibly combined to improve server resource utilization, reduce server resource waste, and effectively reduce operation and maintenance costs. It is also possible to register external platform services and external components as plug-ins. Through pluggable external function plug-ins, external function services are integrated to enhance application construction capabilities.
[0108] In order to enable those skilled in the art to better understand the embodiments of the present invention, the following uses a specific example to illustrate the process of building and publishing a multi-terminal application. Figure 4 , is a timing diagram of a multi-terminal application construction and publishing system provided by an embodiment of the present invention, and the specific implementation steps are as follows:
[0109] S1: The administrator inputs the application type and template resources;
[0110] S2: The multi-terminal application management module associates application types with template resources;
[0111] S3: The multi-terminal application management module returns a prompt message indicating that the application type has been successfully created;
[0112] S4: The operation and maintenance personnel input the script template (build script templates and deployment script templates of different technology stacks, etc.) and related information of the script template (script template name, script template type, script template file, etc.);
[0113] S5: The multi-terminal application management module associates the application type with the template resource;
[0114] S6: The multi-terminal application management module returns a prompt message that the script template is successfully created;
[0115] S7: The operation and maintenance personnel input the deployment mode and corresponding server resource configuration information (server model, memory size, hard disk capacity, etc.);
[0116] S8: The multi-terminal application publishing module associates the deployment type with the server resource application process;
[0117] S9: The multi-terminal application publishing module returns a prompt message that the deployment mode is successfully created;
[0118] S10: The operation and maintenance personnel input version release mode information (mode name, mode description, mode identifier, etc.);
[0119] S11: The multi-terminal application publishing module associates the version publishing mode with the deployment type;
[0120] S12: The multi-terminal application publishing module returns a prompt message that the version publishing mode is successfully created;
[0121] S13: The administrator sends application creation request information (application name, application type, application identifier, etc.);
[0122] S14: The multi-terminal application management module returns a prompt message indicating that the application has been successfully created;
[0123] S15: The developer sends a request to view application data;
[0124] S16: The multi-terminal application management module returns application data information;
[0125] S17: The developer sends application building request information (application building method, application building template initialization data, etc.);
[0126] S18: The multi-terminal application construction module initializes the application construction template instance;
[0127] S19: The multi-terminal application construction module returns a prompt message indicating that the application construction template instance is successfully initialized;
[0128] S20: After the developer completes the construction of the application template instance, he sends an application construction completion request;
[0129] S21: The multi-terminal application construction module saves the application construction template instance;
[0130] S22: The multi-terminal application construction module returns application instance information;
[0131] S23: The multi-terminal application management module automatically creates an application instance version according to the application instance information in S22;
[0132] S24: The multi-terminal application management module returns application version data information;
[0133] S25: The developer sends application version release request information (release type, version number, version identifier, version description, version name, etc.);
[0134] S26: The multi-terminal application management module sends an application deployment request;
[0135] S27: The multi-terminal application publishing module starts the deployment resource application process;
[0136] S28: After the deployment resource application is successful, the multi-terminal application publishing module executes the deployment script to deploy the application;
[0137] S29: The multi-terminal application publishing module returns a prompt message indicating that the application deployment is successful;
[0138] S30: The multi-terminal application management module changes the application version release status;
[0139] S31: The multi-terminal application management module returns a prompt message indicating that the application version has been successfully released.
[0140] The application of the embodiments of the present invention has at least the following advantages: 1. Effectively reducing the cost and difficulty of building and publishing multi-terminal applications. 2. Enhancing the reusability and reliability of code templates, making the construction of multi-terminal applications more efficient and reliable, and improving the efficiency of developers. 3. Improving server resource utilization, reducing server resource waste, and effectively reducing operation and maintenance costs. 4. Improving the flexibility and configurability of building and publishing multi-terminal applications, and enhancing the ability to build multi-terminal applications.
[0141] It should be noted that, for the sake of simplicity, the method embodiments are described as a series of action combinations, but those skilled in the art should be aware that the embodiments of the present invention are not limited by the order of the actions described, because according to the embodiments of the present invention, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions involved are not necessarily required by the embodiments of the present invention.
[0142] Reference Figure 5 , shows a structural block diagram of a multi-terminal application construction and publishing system provided in an embodiment of the present invention, wherein the multi-terminal application construction and publishing system includes a multi-terminal application management module 501, a multi-terminal application construction module 502 and a multi-terminal application publishing module 503:
[0143] In response to a request for viewing application data sent by a first designated object, the multi-terminal application management module returns application data information to the first designated object;
[0144] In response to the first designated object sending application construction request information based on the application data information, the multi-terminal application construction module constructs an application construction template instance, and returns the application instance information of the application construction template instance to the multi-terminal application management module, so that the application construction template instance creates an application instance version according to the application instance information, and returns the application version data information of the application instance version to the first designated object;
[0145] In response to the application version publishing request information of the multi-terminal application sent by the first designated object based on the application version data information, the multi-terminal application is published through the multi-terminal application management module and the multi-terminal application publishing module.
[0146] In an embodiment of the present invention, the application data information includes but is not limited to application type, template resources, script templates and deployment mode.
[0147] In one embodiment of the present invention, the multi-terminal application construction and publishing system is also used for:
[0148] In response to the application type and the template resource sent by the second designated object, associating the application type with the template resource through the multi-terminal application management module;
[0149] If the application type is successfully associated with the template resource, a creation success prompt message is returned to the second designated object.
[0150] In one embodiment of the present invention, the multi-terminal application construction and publishing system is also used for:
[0151] In response to the script template and related information of the script template sent by the third designated object, the application type is associated with the script template through the multi-terminal application management module; the script template is a script template of a different technology stack; the related information of the script template includes a script template name, a script template type, and a script template file;
[0152] If the application type is successfully associated with the script template, a creation success prompt message is returned to the third designated object.
[0153] In one embodiment of the present invention, the multi-terminal application construction and publishing system is also used for:
[0154] In response to the deployment mode sent by the third designated object and the server resource configuration information corresponding to the deployment mode, the deployment mode is associated with the server resource application process through the multi-terminal application publishing module; wherein the server resource configuration information includes server model, memory size, and hard disk capacity;
[0155] If the deployment mode is successfully associated with the server resource application process, a creation success prompt message is returned to the third designated object.
[0156] In one embodiment of the present invention, the multi-terminal application construction and publishing system is also used for:
[0157] In response to the second designated object sending version release mode information of the version release mode, the version release mode is associated with the deployment mode through the multi-terminal application release module; wherein the version release mode information includes a mode name, a mode description, and a mode identifier;
[0158] If the version release mode is successfully associated with the deployment mode, a creation success prompt message is returned to the second designated object.
[0159] In an embodiment of the present invention, in response to the application version publishing request information of the multi-terminal application sent by the first designated object based on the application version data information, publishing the multi-terminal application through the multi-terminal application management module and the multi-terminal application publishing module includes:
[0160] In response to the application version publishing request information of the multi-terminal application sent by the first designated object based on the application version data information, the multi-terminal application management module sends an application deployment request to the multi-terminal application publishing module, so that the multi-terminal application publishing module applies for resources according to the deployment mode corresponding to the application version publishing request information and deploys the multi-terminal application based on the applied resources;
[0161] When the multi-terminal application is successfully deployed through the multi-terminal application publishing module, a prompt message of successful application deployment is sent to the multi-terminal application management module, so as to return a prompt message of successful application version publishing to the first designated object after the application version publishing status of the multi-terminal application is changed through the multi-terminal application management module.
[0162] In one embodiment of the present invention, the first designated object includes developers; the second designated object includes management personnel; and the third designated object includes operation and maintenance personnel.
[0163] In an embodiment of the present invention, the multi-terminal application management module, the multi-terminal application construction module and the multi-terminal application publishing module in the multi-terminal application construction and publishing system are decoupled.
[0164] By applying the various modules of the multi-terminal application construction and publishing system of the embodiment of the present invention, the construction and publishing of multi-terminal applications can be flexibly controlled and configured according to their own needs, thereby reducing the cost and difficulty of multi-terminal application construction and publishing and improving the publishing efficiency of multi-terminal applications.
[0165] As for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0166] In addition, an embodiment of the present invention also provides an electronic device, including: a processor, a memory, and a computer program stored in the memory and executable on the processor. When the computer program is executed by the processor, the various processes of the above-mentioned multi-terminal application publishing method embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0167] The embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, each process of the above-mentioned multi-terminal application publishing method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it is not repeated here. The computer-readable storage medium is, for example, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0168] An embodiment of the present invention also provides a computer program product, which is stored in a storage medium. The program product is executed by at least one processor to implement the various processes of the above-mentioned multi-terminal application publishing method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0169] Figure 6 A schematic diagram of the hardware structure of an electronic device for implementing various embodiments of the present invention.
[0170] The electronic device 600 includes but is not limited to: a radio frequency unit 601, a network module 602, an audio output unit 603, an input unit 604, a sensor 605, a display unit 606, a user input unit 607, an interface unit 608, a memory 609, a processor 610, and a power supply 611. Those skilled in the art will appreciate that Figure 6The electronic device structure shown in the figure does not constitute a limitation on the electronic device, and the electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently. In the embodiments of the present invention, the electronic device includes but is not limited to a mobile phone, a tablet computer, a laptop computer, a PDA, a vehicle-mounted terminal, a wearable device, and a pedometer.
[0171] It should be understood that in the embodiment of the present invention, the radio frequency unit 601 can be used for receiving and sending signals during information transmission or communication. Specifically, after receiving downlink data from the base station, it is sent to the processor 610 for processing; in addition, uplink data is sent to the base station. Generally, the radio frequency unit 601 includes but is not limited to an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, etc. In addition, the radio frequency unit 601 can also communicate with the network and other devices through a wireless communication system.
[0172] The electronic device provides users with wireless broadband Internet access through the network module 602, such as helping users to send and receive emails, browse web pages, and access streaming media.
[0173] The audio output unit 603 can convert the audio data received by the RF unit 601 or the network module 602 or stored in the memory 609 into an audio signal and output it as sound. Moreover, the audio output unit 603 can also provide audio output related to a specific function performed by the electronic device 600 (for example, a call signal reception sound, a message reception sound, etc.). The audio output unit 603 includes a speaker, a buzzer, a receiver, etc.
[0174] The input unit 604 is used to receive audio or video signals. The input unit 604 may include a graphics processor (GPU) 6041 and a microphone 6042, and the graphics processor 6041 processes the image data of a static picture or video obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. The processed image frame can be displayed on the display unit 606. The image frame processed by the graphics processor 6041 can be stored in the memory 609 (or other storage medium) or sent via the radio frequency unit 601 or the network module 602. The microphone 6042 can receive sound and can process such sound into audio data. The processed audio data can be converted into a format output that can be sent to a mobile communication base station via the radio frequency unit 601 in the case of a telephone call mode.
[0175] The electronic device 600 also includes at least one sensor 605, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor, wherein the ambient light sensor can adjust the brightness of the display panel 6061 according to the brightness of the ambient light, and the proximity sensor can turn off the display panel 6061 and / or the backlight when the electronic device 600 is moved to the ear. As a type of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), and can detect the magnitude and direction of gravity when stationary, which can be used to identify the posture of the electronic device (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer, tapping), etc.; the sensor 605 can also include a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, etc., which will not be repeated here.
[0176] The display unit 606 is used to display information input by the user or information provided to the user. The display unit 606 may include a display panel 6061, which may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.
[0177] The user input unit 607 can be used to receive input digital or character information, and to generate key signal input related to user settings and function control of the electronic device. Specifically, the user input unit 607 includes a touch panel 6071 and other input devices 6072. The touch panel 6071, also known as a touch screen, can collect the user's touch operation on or near it (such as the user's operation on the touch panel 6071 or near the touch panel 6071 using any suitable object or accessory such as a finger, stylus, etc.). The touch panel 6071 may include two parts: a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it to the processor 610, receives the command sent by the processor 610 and executes it. In addition, the touch panel 6071 can be implemented in various types such as resistive, capacitive, infrared and surface acoustic waves. In addition to the touch panel 6071, the user input unit 607 may also include other input devices 6072. Specifically, other input devices 6072 may include but are not limited to a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which will not be described in detail here.
[0178] Furthermore, the touch panel 6071 may be overlaid on the display panel 6061. When the touch panel 6071 detects a touch operation on or near it, it is transmitted to the processor 610 to determine the type of touch event. Then, the processor 610 provides corresponding visual output on the display panel 6061 according to the type of touch event. Figure 6 In the figure, the touch panel 6071 and the display panel 6061 are used as two independent components to realize the input and output functions of the electronic device. However, in some embodiments, the touch panel 6071 and the display panel 6061 can be integrated to realize the input and output functions of the electronic device, which is not limited here.
[0179] The interface unit 608 is an interface for connecting an external device to the electronic device 600. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, an audio input / output (I / O) port, a video I / O port, a headphone port, etc. The interface unit 608 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the electronic device 600 or may be used to transmit data between the electronic device 600 and an external device.
[0180] The memory 609 can be used to store software programs and various data. The memory 609 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area can store data created according to the use of the mobile phone (such as audio data, a phone book, etc.), etc. In addition, the memory 609 can include a high-speed random access memory, and can also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.
[0181] The processor 610 is the control center of the electronic device. It uses various interfaces and lines to connect various parts of the entire electronic device. By running or executing software programs and / or modules stored in the memory 609 and calling data stored in the memory 609, it performs various functions of the electronic device and processes data, thereby monitoring the electronic device as a whole. The processor 610 may include one or more processing units; preferably, the processor 610 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, and the modem processor mainly processes wireless communications. It is understandable that the above-mentioned modem processor may not be integrated into the processor 610.
[0182] The electronic device 600 may also include a power supply 611 (such as a battery) for supplying power to each component. Preferably, the power supply 611 may be logically connected to the processor 610 through a power management system, thereby implementing functions such as charging, discharging, and power consumption management through the power management system.
[0183] In addition, the electronic device 600 includes some functional modules not shown, which will not be described in detail here.
[0184] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.
[0185] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course 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, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for enabling a terminal (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in each embodiment of the present invention.
[0186] The embodiments of the present invention are described above in conjunction with the accompanying drawings, but the present invention is not limited to the above-mentioned specific implementation modes, which are merely illustrative rather than restrictive. Under the guidance of the present invention, ordinary technicians in this field can also make many forms without departing from the scope of protection of the present invention and the claims, all of which are within the protection of the present invention.
[0187] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed in the embodiments of the present invention can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.
[0188] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0189] In the embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0190] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0191] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0192] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as USB flash drives, mobile hard disks, ROM, RAM, magnetic disks, or optical disks.
[0193] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.
Claims
1. A multi-terminal application publishing method, characterized in that: Applied to a multi-terminal application construction and release system, the multi-terminal application construction and release system includes a multi-terminal application management module, a multi-terminal application construction module and a multi-terminal application release module, and the method includes: In response to a request for viewing application data sent by a first designated object, returning application data information to the first designated object through the multi-terminal application management module; In response to the first designated object sending application construction request information based on the application data information, constructing an application construction template instance through the multi-terminal application construction module, and returning application instance information of the application construction template instance to the multi-terminal application management module, so that the application construction template instance creates an application instance version according to the application instance information, and returns application version data information of the application instance version to the first designated object; In response to the application version publishing request information of the multi-terminal application sent by the first designated object based on the application version data information, the multi-terminal application is published through the multi-terminal application management module and the multi-terminal application publishing module.
2. The method according to claim 1, characterized in that The application data information includes but is not limited to application type, template resources, script templates and deployment mode.
3. The method according to claim 2, characterized in that The method further comprises: In response to the application type and the template resource sent by the second designated object, associating the application type with the template resource through the multi-terminal application management module; If the application type is successfully associated with the template resource, a creation success prompt message is returned to the second designated object.
4. The method according to claim 2, characterized in that: The method further comprises: In response to the script template and related information of the script template sent by the third designated object, the application type is associated with the script template through the multi-terminal application management module; the script template is a script template of a different technology stack; the related information of the script template includes a script template name, a script template type, and a script template file; If the application type is successfully associated with the script template, a creation success prompt message is returned to the third designated object.
5. The method according to claim 2, characterized in that: The method further comprises: In response to the deployment mode sent by the third designated object and the server resource configuration information corresponding to the deployment mode, the deployment mode is associated with the server resource application process through the multi-terminal application publishing module; wherein the server resource configuration information includes server model, memory size, and hard disk capacity; If the deployment mode is successfully associated with the server resource application process, a creation success prompt message is returned to the third designated object.
6. The method according to claim 5, characterized in that The method further comprises: In response to the second designated object sending version release mode information of the version release mode, the version release mode is associated with the deployment mode through the multi-terminal application release module; wherein the version release mode information includes a mode name, a mode description, and a mode identifier; If the version release mode is successfully associated with the deployment mode, a creation success prompt message is returned to the second designated object.
7. The method according to claim 1, characterized in that In response to the application version publishing request information of the multi-terminal application sent by the first designated object based on the application version data information, publishing the multi-terminal application through the multi-terminal application management module and the multi-terminal application publishing module, comprising: In response to the application version publishing request information of the multi-terminal application sent by the first designated object based on the application version data information, the multi-terminal application management module sends an application deployment request to the multi-terminal application publishing module, so that the multi-terminal application publishing module applies for resources according to the deployment mode corresponding to the application version publishing request information and deploys the multi-terminal application based on the applied resources; When the multi-terminal application is successfully deployed through the multi-terminal application publishing module, a prompt message of successful application deployment is sent to the multi-terminal application management module, so as to return a prompt message of successful application version publishing to the first designated object after the application version publishing status of the multi-terminal application is changed through the multi-terminal application management module.
8. The method according to claim 1, characterized in that: The first designated object includes developers; the second designated object includes management personnel; and the third designated object includes operation and maintenance personnel.
9. The method according to claim 1, characterized in that: The multi-terminal application management module, the multi-terminal application construction module and the multi-terminal application publishing module in the multi-terminal application construction and publishing system are decoupled.
10. A multi-terminal application construction and publishing system, characterized in that: The multi-terminal application construction and publishing system includes a multi-terminal application management module, a multi-terminal application construction module and a multi-terminal application publishing module: In response to a request for viewing application data sent by a first designated object, the multi-terminal application management module returns application data information to the first designated object; In response to the first designated object sending application construction request information based on the application data information, the multi-terminal application construction module constructs an application construction template instance, and returns the application instance information of the application construction template instance to the multi-terminal application management module, so that the application construction template instance creates an application instance version according to the application instance information, and returns the application version data information of the application instance version to the first designated object; In response to the application version publishing request information of the multi-terminal application sent by the first designated object based on the application version data information, the multi-terminal application is published through the multi-terminal application management module and the multi-terminal application publishing module.
11. An electronic device, characterized in that: It includes a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other through the communication bus; The memory is used to store computer programs; The processor is used to implement the method according to any one of claims 1 to 9 when executing the program stored in the memory.
12. A computer-readable storage medium having instructions stored thereon, which, when executed by one or more processors, cause the processors to perform the method according to any one of claims 1 to 9.
Citation Information
Patent Citations
Application version construction method and device and electronic equipment
CN111552508A
Multi-project product package generation method and device and electronic equipment
CN117724757A
Multi-terminal application development and construction method and device, equipment and storage medium
CN118295643A
Third party application communication API
US10509850B2