Application deployment method, apparatus, device, and medium

By receiving application deployment requests, obtaining general and private configuration parameters, and generating application packages, the problem of bloated business logic caused by application customization is solved, and code logic unification and maintenance efficiency are improved.

CN114527993BActive Publication Date: 2026-03-24FUTU NETWORK TECH (SHENZHEN) CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-02-10
Publication Date
2026-03-24

AI Technical Summary

Technical Problem

Customization of existing applications results in bloated business logic, difficult maintenance, and an inability to meet the personalized needs of different enterprise users.

Method used

By receiving application deployment requests, obtaining general code parameters and private configuration parameters, generating application packages, and deploying them to the environment to be deployed, the separation of general code and private configuration is achieved, meeting the specific needs of each user.

Benefits of technology

It improves the maintenance efficiency and flexibility of applications, makes the code logic of each user more consistent, simplifies the deployment process, and improves the efficiency of program building.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114527993B_ABST
    Figure CN114527993B_ABST
Patent Text Reader

Abstract

Embodiments of the present application disclose an application program deployment method, device, equipment and medium. The method comprises: receiving an application program deployment request; obtaining a general code parameter according to the application program deployment request, and obtaining a private configuration parameter matched with an object identifier to be deployed from a private configuration parameter list; wherein the private configuration parameter list comprises a plurality of object identifiers and private configuration parameters corresponding to the plurality of object identifiers; obtaining a private code parameter based on the private configuration parameter, and obtaining to-be-compiled code according to the general code parameter and the private code parameter; generating an application program package based on the to-be-compiled code, and deploying the application program package to a to-be-deployed environment. Then, the general code in the application program and the private code corresponding to each user are separated, so that the requirements of each user for the application program are more clear and intuitive, and the code logic of the application program is more unified, thereby facilitating the subsequent maintenance of the application program.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of computer, in particular to an application program deployment method and device, electronic equipment and computer readable storage medium. BACKGROUND

[0002] For different industries and different types of enterprise users, the requirements for application program (APP) customization are different, and the information needs are also different, and the management characteristics are also different. The established application program product cannot meet the needs of different enterprise users. Therefore, many enterprise users choose application program customization, so as to obtain more targeted application programs. Because the development of each function of the application program must go through careful system analysis, according to the actual situation of different enterprises, the application program suitable for each enterprise and easy to use can be obtained, which can meet the specific functional needs of users.

[0003] However, with the growth of application program business and the increasing number of customization companies, the customization requirements are becoming higher and higher, which leads to the bloated business logic of the application program, and the maintenance of the application program becomes more and more difficult. SUMMARY

[0004] To solve the above technical problems, the embodiments of the present application provide an application program deployment method and device, electronic equipment and computer readable storage medium, to optimize the business logic of the application program and the maintenance of the application program.

[0005] According to an aspect of the embodiments of the present application, an application program deployment method is provided, the method comprising: receiving an application program deployment request; wherein the application program deployment request carries an object identifier to be deployed; obtaining a general code parameter according to the application program deployment request, and obtaining a private configuration parameter matched with the object identifier to be deployed from a private configuration parameter list; wherein the private configuration parameter list includes a plurality of object identifiers and private configuration parameters corresponding to the plurality of object identifiers; obtaining a private code parameter based on the private configuration parameter, and obtaining a to-be-compiled code according to the general code parameter and the private code parameter; generating an application program package based on the to-be-compiled code, and deploying the application program package to a to-be-deployed environment.

[0006] According to an aspect of some embodiments of the present application, an application deployment apparatus is provided, the apparatus comprising: a request obtaining module configured to receive an application deployment request; wherein the application deployment request carries an object identifier to be deployed; a parameter matching module configured to obtain a general code parameter according to the application deployment request, and obtain a private configuration parameter matching the object identifier to be deployed from a private configuration parameter list; wherein the private configuration parameter list comprises a plurality of object identifiers and private configuration parameters corresponding to the plurality of object identifiers; a to-be-compiled code obtaining module configured to obtain a private code parameter based on the private configuration parameter, and obtain a to-be-compiled code according to the general code parameter and the private code parameter; and a deployment module configured to generate an application package based on the to-be-compiled code, and deploy the application package to a to-be-deployed environment.

[0007] According to an aspect of some embodiments of the present application, an electronic device is provided, comprising one or more processors; a storage device configured to store one or more programs, which, when executed by the electronic device, cause the electronic device to implement the application deployment method as described above.

[0008] According to an aspect of some embodiments of the present application, a computer readable storage medium is provided, which stores a computer program, which, when executed by a processor, implements the application deployment method as described above.

[0009] According to an aspect of some embodiments of the present application, a computer program product is provided, which comprises computer instructions, which, when executed by a processor, implement the application deployment method as described above.

[0010] In the technical solutions provided in the embodiments of the present application, by receiving an application deployment request; wherein the application deployment request carries an object identifier to be deployed; obtaining a general code parameter according to the application deployment request, and obtaining a private configuration parameter matching the object identifier to be deployed from a private configuration parameter list; by separating the general code in the application and the private configuration corresponding to each user, the requirements of each user for the application are more clear and intuitive, and thus the private configuration parameter of the user and the general code parameter can be obtained when each user deploys the application. Then, a private code parameter is obtained based on the private configuration parameter, and a to-be-compiled code is obtained according to the general code parameter and the private code parameter; an application package is generated based on the to-be-compiled code, and the application package is deployed to a to-be-deployed environment; and thus the application package corresponding to the user to be deployed only comprises the general code parameter and the private code parameter, the code logic of the application of each user is more unified, so as to facilitate the subsequent maintenance of the application and improve the efficiency and flexibility of program construction.

[0011] It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the application, as claimed. BRIEF DESCRIPTION OF DRAWINGS

[0012] The accompanying drawings, which are incorporated herein and constitute part of this specification, illustrate exemplary embodiments consistent with the application, and, together with the description, further serve to explain the principles of the application. It is to be expressly understood that the drawings are only exemplary and are provided to illustrate exemplary embodiments of the application. Those skilled in the art will recognize that the exemplary embodiments described in the detailed description can be modified in various ways.

[0013] Figure 1 is a schematic diagram of an exemplary application environment to which the technical solutions of the embodiments of the application can be applied;

[0014] Figure 2 is a flowchart of an application program deployment method according to an exemplary embodiment of the application;

[0015] Figure 3 is a flowchart of obtaining a private configuration parameter according to an exemplary embodiment of the application;

[0016] Figure 4 is a flowchart of modifying general language data according to private language data according to an exemplary embodiment of the application;

[0017] Figure 5 is a flowchart of obtaining page data according to an exemplary embodiment of the application;

[0018] Figure 6 is a flowchart of an application program deployment method according to an exemplary embodiment of the application;

[0019] Figure 7 is a block diagram of an application program deployment apparatus according to an exemplary embodiment of the application;

[0020] Figure 8 is a structural schematic diagram of a computer system of an electronic device suitable for implementing the embodiments of the application. DETAILED DESCRIPTION

[0021] The exemplary embodiments will be described in detail herein below with reference to the drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments are not meant to represent all implementations in which one can practice the application. Rather, they are merely examples of apparatuses and methods in accordance with some aspects of the application, as detailed in the appended claims.

[0022] The block diagrams shown in the accompanying drawings are merely functional entities and do not necessarily correspond to physically independent entities. That is, these functional entities can be implemented as application programs, in one or more hardware modules or integrated circuits, or in different network and / or processor devices and / or microcontroller devices.

[0023] The flowcharts shown in the accompanying drawings are merely illustrative and do not necessarily include all content and operations / steps, nor do they necessarily have to be performed in the described order. For example, some operations / steps can be broken down, while others can be combined or partially combined; therefore, the actual execution order may change depending on the specific circumstances.

[0024] It should be noted that "multiple" as mentioned in this application refers to two or more. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, or B alone. The character " / " generally indicates that the preceding and following related objects have an "or" relationship.

[0025] Optionally, in this embodiment, the above application deployment method can be applied to, for example, Figure 1 The hardware environment shown consists of server 110 and terminal 120. Figure 1 This is a schematic diagram of the hardware environment for an application deployment method according to an embodiment of the present invention, such as... Figure 1 As shown, server 110 is connected to terminal 120 via a network, which includes, but is not limited to, wide area network, metropolitan area network or local area network.

[0026] In this context, server 110 refers to the server corresponding to the application deployment method; the server can be an independent physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, CDN (Content Delivery Network), and big data and artificial intelligence platforms. This application does not limit this.

[0027] The terminal 120 can be an electronic device such as a smartphone, tablet, laptop, computer, or vehicle terminal, and this application does not limit it in this regard.

[0028] The application program deployment method of the embodiment of the present application can be executed by the server 110, can be executed by the terminal 120, or can be executed by the server 110 and the terminal 120 jointly. The terminal 120 executing the application program deployment method of the embodiment of the present application can also be executed by a client installed thereon.

[0029] Please refer to Figure 2 , Figure 2 is a flowchart of the application program deployment method according to an embodiment of the present application. As shown in Figure 2 , the application program deployment method comprises at least steps S210 to S240, which are described in detail as follows.

[0030] Step S210, receiving an application program deployment request; wherein the application program deployment request carries an object identifier to be deployed.

[0031] The application program deployment request is used to request to deploy a specified application program into a to-be-deployed environment. The specified application program can be a World Wide Web (WEB) application program, which is an application program that can be accessed through the Web. A user only needs to have a browser to access the WEB application program, and does not need to install other software. The specified application program can also be a terminal application program that needs to be downloaded and installed, which runs on an operating system of a terminal, including but not limited to a windows operating system, a linux operating system, an Android operating system, etc.

[0032] It can be understood that the application program deployment request can be generated and sent by a terminal, or can be generated and sent by a server, which is not limited in the present application.

[0033] In the exemplary embodiment of the present application, the application program deployment request carries an object identifier to be deployed, and the object to be deployed refers to an object that needs to use the application program, for example, a user that needs to use the application program.

[0034] The object to be deployed is obtained through the object identifier to be deployed by receiving the application program deployment request and parsing the object identifier to be deployed carried in the request.

[0035] Step S220, obtaining a general code parameter according to the application program deployment request, and obtaining a private configuration parameter matched with the object identifier to be deployed from a private configuration parameter list; wherein the private configuration parameter list comprises a plurality of object identifiers and private configuration parameters corresponding to the plurality of object identifiers.

[0036] Among them, general code parameters refer to the parameters that need to be included in applications with different requirements for the objects to be deployed, while private configuration parameters refer to the parameters that are different from those in applications with different requirements for the objects to be deployed.

[0037] For example, the private configuration parameter list contains multiple object identifiers and private configuration parameters corresponding to each object identifier; the object identifier to be deployed carried in the application deployment request is obtained by parsing the application deployment request, and then the object identifier to be deployed is compared with the object identifiers in the private configuration parameter list to obtain the private configuration parameters corresponding to the object identifier in the private configuration parameter list that matches the object identifier to be deployed.

[0038] Optionally, in this embodiment, when obtaining the private configuration parameters that match the object identifier to be deployed through the private configuration list, the corresponding private configuration parameters can be selected from the private configuration list by character matching based on the object identifier to be deployed.

[0039] For example, the string corresponding to the object identifier to be deployed is A = {A1, A2, ..., A...} i ,…,A n ,}, 1≤i≤n, where i and n are natural numbers greater than 1. Starting with the first character A1 of the object identifier to be deployed, first determine each character A i The corresponding absolute character value is A i 2 Then, based on the absolute character values, the characters in the object identifier to be deployed are calculated and compared with the string B = {B1, B2, ..., B} in the private configuration list. i ,…,B n The character A in ,} i Character distance d between i for:

[0040] d i =|A i 2 -B i 2 |

[0041] The distance between the object identifier to be deployed and the string in the private configuration list is determined based on character distance:

[0042]

[0043] The parameter when the character distance is 0 is selected as the private configuration parameter; if there is no character distance of 0, the parameter corresponding to the minimum character distance is selected as the private configuration parameter. Through the above character matching mode, the private configuration parameter most matched with the object identifier to be deployed is determined from each string in the private configuration list, thereby improving the efficiency and accuracy of the private configuration parameter determination.

[0044] In some embodiments, after receiving the application deployment request, the method further includes: calling a private configuration parameter list acquisition function to acquire the private configuration parameter list according to the private configuration parameter list acquisition function.

[0045] The private configuration parameter list acquisition function is used to automatically acquire the private configuration parameter list; for example, the private configuration parameter list acquisition function can be a require.context function in webpack, which is used to acquire a specific context and is mainly used to realize automatic import of modules. If a large number of modules are imported from a folder, the require.context function can be used, which will traverse the specified files in the folder and then automatically import them. The webpack is a module bundler, and its main goal is to bundle JavaScript files together, and the bundled files are used in browsers.

[0046] The private configuration parameter list of each object to be deployed is automatically imported by the private configuration parameter list acquisition function to obtain the private configuration parameter list. The private configuration parameter list is automatically imported by the private configuration parameter list acquisition function to obtain the private configuration parameter list, which reduces the process of manually acquiring the private configuration parameter list, and further simplifies the deployment process of the application program and improves the deployment efficiency of the application program.

[0047] In some embodiments, the application deployment request also carries environment information to be deployed, and the private configuration parameter includes private configuration parameters in multiple deployment environments; the private configuration parameter matched with the object identifier to be deployed is acquired from the private configuration parameter list, including: acquiring the private configuration parameters in multiple deployment environments matched with the object identifier to be deployed from the private configuration parameter list; and acquiring the private configuration parameter matched with the environment information to be deployed from the private configuration parameters in multiple deployment environments according to the environment information to be deployed.

[0048] The environment information to be deployed refers to the environment information corresponding to the object to be deployed.

[0049] Exemplarily, the environment information of the object to be deployed includes, but is not limited to, a software development environment, a software testing environment, a software production environment, and the like. The software development environment (SDE) refers to a set of software used to support the engineering development and maintenance of system software and application programs based on basic hardware and digital software, which is composed of software tools and environment integration mechanisms. The software tools are used to support the relevant processes, activities and tasks of application program development, and the environment integration mechanisms provide unified support for tool integration and the development, maintenance and management of application programs. The software testing environment refers to the description of the software and hardware environment on which the test is run, as well as any other software that interacts with the application program under test. The software testing environment refers to the general term of computer hardware, software, network equipment and historical data necessary for software testing. The software production environment refers to an online environment, i.e., an environment used by real users. It can be understood that the environment information of the object to be deployed can also include other environments, such as a pre-release environment, and the like, which are not limited in the present application.

[0050] For example, the content of the private configuration parameter can be as follows (only part of the content is shown):

[0051]

[0052] In the example embodiment of the present application, the private configuration parameter includes private configuration parameters in multiple deployment environments, and the private configuration parameters in the multiple deployment environments matched with the object to be deployed are obtained through the object identifier, and then the private configuration parameter matched with the environment information of the object to be deployed is obtained according to the environment information of the object to be deployed.

[0053] For example, please refer to Figure 3 , Figure 3 The flowchart for obtaining the private configuration parameter. As shown in Figure 3 , obtaining the private configuration parameter can include steps S310 to S360:

[0054] Step S310, taking out any private configuration parameter from the private configuration parameter list;

[0055] Step S320, obtaining the object identifier and the environment information of the private configuration parameter taken out from the private configuration parameter list;

[0056] Step S330, judging whether the object identifier and the environment information of the private configuration parameter taken out are consistent with the object identifier and the environment information of the object to be deployed carried by the application program deployment request, if yes, executing step S340, if not, executing step S350;

[0057] Step S340, taking out the private configuration parameter as the private configuration parameter of the object to be deployed;

[0058] Step S350, judging whether there is an un-taken private configuration parameter in the private configuration parameter list, if there is an un-taken private configuration parameter, executing step S310, if there is no un-taken private configuration parameter, executing step S360;

[0059] Step S360, taking an empty object as the private configuration parameter of the object to be deployed.

[0060] Wherein, if the object identifier and the environment information of all the private configuration parameters in the private configuration parameter list are inconsistent with the object identifier and the environment information carried by the application deployment request to be deployed, it indicates that the private configuration parameter list of the object to be deployed does not exist in the environment information, and therefore the private configuration parameter list of the object to be deployed is empty.

[0061] By matching the object identifier and the environment information of each private configuration parameter in the private configuration parameter list, the private configuration parameter consistent with the object identifier and the environment information carried by the application deployment request to be deployed is obtained.

[0062] In some embodiments, before obtaining the general code parameter according to the application deployment request, and obtaining the private configuration parameter matched with the object identifier to be deployed from the private configuration parameter list, the method further comprises: obtaining a plurality of object identifiers and private configuration parameters corresponding to the plurality of object identifiers; associating the plurality of object identifiers and the private configuration parameters corresponding to the plurality of object identifiers to generate a private configuration parameter list.

[0063] Exemplarily, obtaining a plurality of object identifiers and private configuration parameters corresponding to the plurality of object identifiers can be that a technician configures the private configuration parameters of each object to be deployed in the development stage of the application, so as to associate and save the private configuration parameters of each object to be deployed and the object identifier of each object to be deployed, and then obtain the private configuration parameter list.

[0064] Exemplarily, the plurality of object identifiers and the private configuration parameters corresponding to the plurality of object identifiers are obtained, and the application customization input operation performed by the to-be-deployed object on the application program is also received, the private configuration parameters are obtained according to the application customization input operation, the private configuration parameters of each to-be-deployed object are associated and saved with the object identifier of each to-be-deployed object, and then the private configuration parameter list is obtained; for example, a user can perform an application customization input operation on an application customization input interface, such as modifying the deployment position of each control in a page, modifying the jump relationship between pages, modifying the language used in a page, and the like, and then the private configuration parameters are obtained according to the application customization input operation performed by the user, the user information of the user is obtained, the object identifier of the to-be-deployed object is obtained, and then the object identifier and the private configuration parameters are associated and stored.

[0065] In some embodiments, the plurality of object identifiers and the private configuration parameters corresponding to the plurality of object identifiers are obtained, including: obtaining each object identifier based on the received input operation of the object identifier; and obtaining the private configuration data item of each object identifier based on the received input operation of the private configuration data item, and generating the private configuration parameter corresponding to each object identifier based on the private configuration data item corresponding to each object identifier.

[0066] The private configuration data item refers to a parameter for configuring a certain type of data of the application program, for example, the private configuration data item includes but is not limited to a parameter for configuring a page of the application program, a parameter for configuring a language of the application program, a parameter for configuring an execution logic of the application program, and the like.

[0067] Exemplarily, the private configuration parameter includes a plurality of private configuration data items, the private configuration parameter is obtained by receiving the input operation of each private configuration data item, and the object identifier corresponding to the private configuration parameter is obtained by receiving the input operation of the object identifier, so as to associate the private configuration parameter and the object identifier.

[0068] In some embodiments, the content of the private configuration data item includes path information, and the path information refers to a folder route traversed when a file is searched on a disk; the path is divided into an absolute path and a relative path; the absolute path is a path starting from a root folder, and the relative path is a path starting from a current folder. The path information includes but is not limited to private language path information and private page path information, and a resource file under the path information is found through the path information.

[0069] It can be understood that the corresponding resource file does not necessarily exist under the path information in the private configuration data item, and therefore it is necessary to confirm whether the resource file exists under the path information.

[0070] Exemplarily, taking an example of that the path information includes private language path information and the resource file includes private language file, the process of obtaining the resource file is described as follows: obtaining the private language path information contained in the private configuration parameter, querying whether the private language file exists under the private language path information according to the private language path information, obtaining the private language file if the private language file exists, and the private language file in the private configuration parameter of the to-be-deployed object being empty if the private language file does not exist.

[0071] However, if the path information is incorrect, the resource file fails to be obtained. Therefore, the example embodiment of the present application adds a monitoring step in the input process of the private configuration data item, so as to ensure the correctness of the path information in the input private configuration data item.

[0072] Exemplarily, based on the input operation of the received private configuration data item, the private configuration data item of each object identifier is obtained, including: monitoring the input operation of the private configuration data item, obtaining the pre-input path information according to the input operation; detecting whether the pre-input path information exists resource data; if the pre-input path information exists resource data, obtaining the private configuration data item according to the pre-input path information; if the pre-input path information does not exist resource data, generating prompt information that the resource data does not exist.

[0073] Exemplarily, the input operation of the private configuration data item is received in the input interface of the private configuration parameter, the input operation of the private configuration data item includes the input operation of the path information, and the pre-input path information is obtained according to the input operation of the path information.

[0074] Further, it is detected whether the pre-input path information exists resource file, if the pre-input path information exists resource file, the private configuration data item is obtained according to the pre-input path information; if the pre-input path information does not exist resource file, the object performing the input operation is displayed prompt information that the resource data does not exist, for example, the pre-input path information is highlighted, or the pre-input path information is displayed corresponding pop-up prompt, so as to prompt the object performing the input operation that the pre-input path information does not exist resource data. For example, the input operation of the private configuration data item can be detected based on ESLint, which is a syntax rule and code style checking tool, and can be used to ensure that the code is written with correct syntax and uniform style.

[0075] By judging the path information contained in the private configuration parameter in the production process of the private configuration parameter, the correctness of the input path information is ensured, the resource file loading failure caused by path error in the code compilation process is avoided, and the judgment step of whether the resource file exists under the path information in the code compilation process is reduced, and the efficiency of the code compilation is improved.

[0076] In step S230, the private code parameter is obtained based on the private configuration parameter, and the code to be compiled is obtained according to the general code parameter and the private code parameter.

[0077] The private code parameter refers to specific code data required in the implementation process of the application program, and the code to be compiled is obtained based on the private code parameter and the general code parameter.

[0078] In some embodiments, the private code parameter includes private language data, and the general code parameter includes general language data. The private code parameter is obtained based on the private configuration parameter, and the code to be compiled is obtained according to the general code parameter and the private code parameter, including: obtaining private language path information contained in the private configuration parameter; obtaining private language data corresponding to the private language path information; and obtaining the code to be compiled based on the private language data and general language data contained in the general code parameter.

[0079] The private language data is obtained through the private language path information contained in the private configuration parameter, so as to obtain the code to be compiled based on the private language data and the general language data contained in the general code parameter.

[0080] Since different users may have different requirements for the language displayed by the application program, and the same user may also have different requirements for the language displayed by the application program in different scenarios. For example, company A displays the first language by default for the application program used in the first region, and displays the second language by default as the translation language. For the application program used in the second region, the first language is displayed by default, and the third language is displayed by default as the translation language. Therefore, the different requirements of different users for the language displayed by the application program are met through the private language data.

[0081] In some embodiments, the private language data includes private language modification rules and private language modification data. The code to be compiled is obtained based on the private language data and the general language data in the general code parameter, including: modifying the general language data in the general code parameter to the private language modification data based on the private language modification rules, so as to obtain the code to be compiled.

[0082] The private language modification data refers to a target object corresponding to the language data modification, and the private language modification rules are used to indicate the specific implementation steps of modifying the general language data to the private language modification data.

[0083] According to the private language modification rule and the private language modification data, the general language data in the general code parameter is modified. The modification can be replacing all general language data according to the private language modification data, or replacing part of the general language data according to the private language modification data, or combining the private language modification data and the general language data.

[0084] For example, the general language data includes at least one of general language display data displayed by default by the application program and general translated language display data displayed by default by the application program, and the private language modification data includes at least one of private language display data displayed by default by the application program and private translated language display data displayed by default by the application program.

[0085] For example, if the private language modification data includes private language display data displayed by default by the application program, after loading the general language display data displayed by default by the application program, the private language modification range is obtained according to the private language modification data, and the general language display data in the private language modification range is replaced by the private language display data to obtain the modified code to be compiled.

[0086] For example, if the private language modification data includes private translated language display data displayed by default by the application program, after loading the general translated language display data displayed by default by the application program, the private language modification range is obtained according to the private language modification data, and the general translated language display data in the private language modification range is replaced by the private translated language display data to obtain the modified code to be compiled.

[0087] For example, please refer to Figure 4 , Figure 4 The flowchart for modifying the general language data according to the private language data is shown in FIG. 4. As shown in FIG. 4, the modification of the general language data according to the private language data can include steps S410 to S440. Figure 4

[0088] In step S410, general language data is obtained. The general language data includes at least one of general language display data and general translated language display data of the application program.

[0089] In step S420, it is determined whether the private configuration parameter contains private language path information. If the private configuration parameter contains private language path information, step S430 is performed. If the private configuration parameter does not contain private language path information, the process is ended.

[0090] ​In step S430, the private language data corresponding to the private language path information contained in the private configuration parameter is acquired; wherein the private language data comprises at least one of the private language display data and the private translation language display data of the application program.

[0091] In step S440, the general language data is modified according to the private language data; wherein the modification comprises partial or complete replacement of the general language data by the private language data, or merging of the general language data with the private language data.

[0092] The partial replacement of the general language data by the private language data means that part of the general language display data or the general translation language display data is replaced by the private language display data or the private translation language display data; the complete replacement of the general language data by the private language data means that all of the general language display data or the general translation language display data is replaced by the private language display data or the private translation language display data; and the merging of the general language data with the private language data means that the private language display data or the private translation language display data is added to the general language display data or the general translation language display data.

[0093] According to the private language data and the general language data contained in the general code parameter, the user can customize the language data used in the application program, so that the application program can display different language data to different users according to the needs of the users.

[0094] In some embodiments, the private code parameter comprises private page data, and the general code parameter comprises general page data; the private code parameter is acquired based on the private configuration parameter, and the to-be-compiled code is obtained according to the general code parameter and the private code parameter, comprising: acquiring private page path information contained in the private configuration parameter; acquiring private page data corresponding to the private page path information; and obtaining the to-be-compiled code based on the private page data and the general page data in the general code parameter.

[0095] The private page data is acquired through the private page path information contained in the private configuration parameter, so as to obtain the to-be-compiled code according to the private page data and the general page data contained in the general code parameter.

[0096] Since different users can have different requirements for the pages displayed by the application, for example, company A has requirements for the first page, the second page and the third page displayed by the application, and company B has requirements for the first page, the second page and the fourth page displayed by the application, the different requirements of different users for the pages displayed by the application can be met by using the private page data.

[0097] For example, the private page data can include all the page data of the application. Please refer to Figure 5 , Figure 5 The flowchart for obtaining the page data is shown in FIG. 5. As shown in FIG. 5, obtaining the page data can include steps S510-S540. Figure 5

[0098] In step S510, it is determined whether the private configuration parameter includes the private page path information. If the private configuration parameter includes the private page path information, step S520 is performed. If the private configuration parameter does not include the private page path information, step S540 is performed.

[0099] In step S520, it is determined whether the private page path information included in the private configuration parameter has corresponding private page data. If the private page path information has corresponding private page data, step S530 is performed. If the private page path information does not have corresponding private page data, step S540 is performed.

[0100] In step S530, the private page data corresponding to the private page path information is loaded.

[0101] In step S540, the general page data in the general code parameter is loaded.

[0102] For example, the general page data in the general code parameter includes the first page, the second page and the third page, and the private page data of company A under the private page path information includes the first page, the second page and the fourth page. When the page data is loaded during the application package deployment process of company A, it is detected that the private configuration parameter corresponding to company A contains the private page path information, and then the private page data obtained according to the private page path information is the first page, the second page and the fourth page. Further, if the private configuration parameter corresponding to company A does not contain the private page path information, or the private page data cannot be obtained through the private page path information of company A, the general page data is directly loaded as the first page, the second page and the third page, and then the compiled code is obtained according to the page data corresponding to the application.

[0103] ​Exemplarily, the private page data comprises a private page modification rule and private page modification data. The private page modification data comprises part of page data of the application program, the private page modification data refers to a target object corresponding to page data modification, and the private page modification rule is used to indicate a specific implementation step of modifying the general page data into the private page modification data. According to the private page path information in the private configuration parameter, the private page modification rule and the private page modification data are obtained, and the general page data is modified into the private page modification data according to the private page modification rule. The private page modification rule comprises page replacement, page deletion and page addition.

[0104] For example, the general page data comprises first page data, second page data and third page data, and the private page modification data comprises fourth page data. If the private page modification rule is to replace the third page data in the general page data with the fourth page data in the private page modification data, the page corresponding to the application program comprises the first page data, the second page data and the fourth page data. If the private page modification rule is to delete the third page data in the general page data, the page corresponding to the application program comprises the first page data and the second page data. If the private page modification rule is to add the fourth page data in the private page modification data to the general page data, the page corresponding to the application program comprises the first page data, the second page data, the third page data and the fourth page data, and then the compiled code is obtained according to the page data corresponding to the application program.

[0105] It can be understood that the specific implementation step of obtaining the to-be-compiled code according to the private page data and the general page data in the general code parameter can be flexibly set according to actual application conditions, and the present application does not limit this.

[0106] The private page data is obtained through the private page path information contained in the private configuration parameter, and then the private page data and the general page data contained in the general code parameter are used, so that the user can customize the page data used in the application program, and the application program can show different page data to different users according to the user's needs.

[0107] In some embodiments, the private code parameter comprises private logic data; the private code parameter is obtained based on the private configuration parameter, and the to-be-compiled code is obtained according to the general code parameter and the private code parameter, comprising: obtaining the private function identifier based on the private configuration parameter; obtaining the function code segment matched with the private function identifier, and taking the function code segment as the private logic data; and obtaining the to-be-compiled code based on the private logic data and the general code parameter.

[0108] The private logic data refers to data corresponding to special processing required by the application during running for some specific users. The private logic data can refer to a program or code that can be directly referenced by another program or code through a private function identifier.

[0109] For example, the private logic data can be hiding some function modules in a specified page, adding some function modules in the specified page, modifying the execution steps of the application, etc. The application is not limited in this regard.

[0110] For example, the private logic data can be hiding some function modules in a specified page, adding some function modules in the specified page, modifying the execution steps of the application, etc. The application is not limited in this regard.

[0111] For example, the private configuration parameter of company A contains:

[0112] hideModules:{homepage:[‘help’,‘vest’]};

[0113] The private function identifier hideModules corresponds to a function code segment including:

[0114] hidePermission(‘homepage.help’);

[0115] The homepage specifies that the page to be modified is the homepage, and homepage.help indicates that the help module in the homepage is hidden. The specific execution code corresponding to the homepage.help function in hidePermission is taken as the function code segment matching the private function identifier, and the function code segment is taken as the private logic data.

[0116] In the related art, it is needed to judge whether the user to which the application program is directed needs special processing in the running process of the application program, and if the user needs special processing by the application program, then the private logic data corresponding to the special processing is added according to the demand of the user, which leads to adding judgment logic for each user.

[0117] In the example embodiment of the present application, only the corresponding private function identifier needs to be added in the private configuration parameter corresponding to each user, which reduces the judgment step for the user and improves the reusability of the function code segment and the readability of the application program code.

[0118] In step S240, the application program package is generated based on the to-be-compiled code and is deployed to the to-be-deployed environment.

[0119] The process of generating the application program package based on the to-be-compiled code refers to the process of generating the target program from the to-be-compiled code written in the source language, i.e., converting the to-be-compiled code in the high-level language into the binary language that can be recognized by the computer.

[0120] After the to-be-compiled code is compiled, the application program package that can be recognized by the computer is obtained, so as to deploy the application program package to the to-be-deployed environment. It can be understood that if the to-be-deployed application program package is a WEB application program package, the WEB application program package is deployed to the designated WEB application server; if the to-be-deployed application program package is a terminal application program package, the terminal application program package is deployed to the designated terminal, so that after the application program package is deployed to the to-be-deployed environment, the user uses the application program by accessing the application program package.

[0121] The following describes a specific application scenario of the embodiment of the present application in detail.

[0122] Taking the application program as a WEB application program as an example; wherein:

[0123] Please refer to Figure 6The server receives an application deployment request, obtains an object identifier to be deployed according to the application deployment request, matches a private configuration parameter list according to the object identifier to be deployed, and obtains the private configuration parameters in multiple deployment environments that match the object identifier to be deployed. Further, the environment information to be deployed is obtained according to the application deployment request, and the private configuration parameters that match the environment information to be deployed are obtained from the private configuration parameters in multiple deployment environments according to the environment information to be deployed. Then, the private language data, the private page data and the private logic data are obtained according to the private configuration parameters that match the environment information to be deployed, and the to-be-compiled code is obtained according to the general code parameters and the private language data, the private page data and the private logic data in the private configuration parameters. Finally, the to-be-compiled code is compiled to obtain an application package, and the application package is deployed into the to-be-deployed server.

[0124] The application deployment method provided in the application receives an application deployment request, wherein the application deployment request carries an object identifier to be deployed. According to the application deployment request, general code parameters are obtained, and private configuration parameters that match the object identifier to be deployed are obtained from a private configuration parameter list. The general code in the application and the private configuration corresponding to each user are separated, so that the requirements of each user for the application are more clear and intuitive, and then the private configuration parameters and the general code parameters of each user can be obtained when the user deploys the application. Then, private code parameters are obtained based on the private configuration parameters, and to-be-compiled code is obtained according to the general code parameters and the private code parameters. An application package is generated based on the to-be-compiled code, and the application package is deployed into a to-be-deployed environment. Then, the application package corresponding to the user to be deployed only contains the general code parameters and the private code parameters, so that the code logic of the application of each user is more unified, and the subsequent maintenance of the application is facilitated.

[0125] Figure 7 is a block diagram of an application deployment device according to an embodiment of the application, as shown in Figure 7 The device comprises:

[0126] The request obtaining module 710 is configured to receive an application deployment request, wherein the application deployment request carries an object identifier to be deployed.

[0127] The parameter matching module 720 is configured to obtain general code parameters according to the application deployment request, and obtain private configuration parameters that match the object identifier to be deployed from a private configuration parameter list. The private configuration parameter list comprises multiple object identifiers and private configuration parameters corresponding to the multiple object identifiers.

[0128] The module 730 for obtaining code to be compiled is configured to obtain private code parameters based on private configuration parameters, and obtain the code to be compiled based on general code parameters and private code parameters;

[0129] Deployment module 740 is configured to generate an application package based on the code to be compiled and deploy the application package to the environment to be deployed.

[0130] In one embodiment of this application, the application deployment apparatus may further include an identifier and parameter acquisition unit and an association unit, before acquiring general code parameters according to the application deployment request, and acquiring private configuration parameters matching the identifier of the object to be deployed from the private configuration parameter list:

[0131] The identifier and parameter acquisition unit is configured to acquire multiple object identifiers and private configuration parameters corresponding to the multiple object identifiers;

[0132] The association unit is configured to associate multiple object identifiers with the private configuration parameters corresponding to the multiple object identifiers to generate a list of private configuration parameters.

[0133] In one embodiment of this application, the identifier and parameter acquisition unit may include:

[0134] The identifier acquisition unit is configured to obtain each object identifier based on the input operation of the received object identifier;

[0135] The parameter acquisition unit is configured to obtain the private configuration data items of each object identifier based on the input operation of the received private configuration data items, and generate the private configuration parameters corresponding to each object identifier based on the private configuration data items corresponding to each object identifier.

[0136] In one embodiment of this application, the content of the private configuration data item includes path information; the parameter acquisition unit may include:

[0137] The monitoring unit is configured to monitor input operations on private configuration data items and obtain pre-input path information based on the input operations.

[0138] The resource detection unit is configured to detect whether resource data exists in the pre-input path information;

[0139] The data item confirmation unit is configured to obtain private configuration data items based on the pre-input path information if resource data exists in the pre-input path information.

[0140] The information prompt unit is configured to generate a prompt message indicating that no resource data exists if the pre-input path information does not exist.

[0141] In an embodiment of the present application, the application deployment request also carries environment information to be deployed, the private configuration parameters include private configuration parameters in multiple deployment environments; the parameter matching module 720 can include:

[0142] The first obtaining unit is configured to obtain, from the private configuration parameter list, private configuration parameters in multiple deployment environments that match the object identifier to be deployed;

[0143] The second obtaining unit is configured to obtain, from the private configuration parameters in multiple deployment environments, private configuration parameters that match the environment information to be deployed according to the environment information to be deployed.

[0144] In an embodiment of the present application, the application deployment apparatus can further include a parameter list obtaining unit, after receiving the application deployment request:

[0145] The parameter list obtaining unit is configured to call a private configuration parameter list obtaining function to obtain the private configuration parameter list according to the private configuration parameter list obtaining function.

[0146] In an embodiment of the present application, the private code parameters include private language data, and the general code parameters include general language data; the code to be compiled obtaining module 730 further includes:

[0147] The language path obtaining unit is configured to obtain private language path information contained in the private configuration parameters;

[0148] The language data obtaining unit is configured to obtain private language data corresponding to the private language path information;

[0149] The language code to be compiled obtaining unit is configured to obtain the code to be compiled based on the private language data and general language data contained in the general code parameters.

[0150] In an embodiment of the present application, the private language data includes private language modification rules and private language modification data; the language code to be compiled obtaining unit can include:

[0151] The modification unit is configured to modify the general language data in the general code parameters to the private language modification data based on the private language modification rules to obtain the code to be compiled.

[0152] In an embodiment of the present application, the private code parameters include private page data, and the general code parameters include general page data; the code to be compiled obtaining module 730 further includes:

[0153] The page path obtaining unit is configured to obtain private page path information contained in the private configuration parameters;

[0154] The page data obtaining unit is configured to obtain private page data corresponding to the private page path information.

[0155] The page to-be-compiled code obtaining unit is configured to obtain to-be-compiled code based on the private page data and general page data in the general code parameter.

[0156] In an embodiment of the present application, the private code parameter comprises private logic data; the to-be-compiled code obtaining module 730 further comprises:

[0157] The function identifier obtaining unit is configured to obtain a private function identifier based on the private configuration parameter;

[0158] The logic data obtaining unit is configured to obtain a function code segment matched with the private function identifier, and take the function code segment as the private logic data;

[0159] The logic to-be-compiled code obtaining unit is configured to obtain to-be-compiled code based on the private logic data and the general code parameter.

[0160] Figure 8 A structural schematic diagram of a computer system of an electronic device suitable for implementing embodiments of the present application is shown.

[0161] It should be noted that, Figure 8 The computer system 800 of the electronic device shown is only an example, and should not impose any limitation on the functions and use range of the embodiments of the present application.

[0162] As Figure 8 shown, the electronic device 800 is in the form of a general computing device. The components of the electronic device 800 can include but are not limited to the above-mentioned at least one processing unit 810, the above-mentioned at least one storage unit 820, a bus 830 connecting different system components (including the storage unit 820 and the processing unit 810), and a display unit 840.

[0163] The storage unit stores program code which can be executed by the processing unit 810, so that the processing unit 810 performs the steps described in the above "Exemplary Method" section according to various exemplary embodiments of the present disclosure.

[0164] The storage unit 820 can include a readable medium in the form of a volatile storage unit, such as a random access memory (RAM) 821 and / or a cache memory unit 822, and can further include a read-only memory (ROM) 823.

[0165] The storage unit 820 can also include a number of program modules 825 that are stored in the memory 822, that are comprised of the operating system 824, one or more application programs, other program modules, and program data, and each or a combination thereof, can include implementation of a network environment.

[0166] The bus 830 can represent one or more of several types of bus structures, including a storage unit bus or bus for storage unit controller, a peripheral bus, a graphics acceleration port, a processing unit bus, or a local bus using any of a variety of bus architectures.

[0167] The electronic device 800 can also communicate with one or more external devices 870 such as a keyboard or pointing device, a Bluetooth device, etc.; other devices that enable a user to interact with the electronic device 800; and / or any devices (e.g., a router, a modem, a printer, etc.) that enable the electronic device 800 to communicate with one or more other computing devices. Such communication can occur via an input / output (I / O) interface 850. Still yet, the electronic device 800 can communicate with one or more networks, such as a local area network (LAN), a general wide area network (WAN), and / or the public network, such as the Internet, via a network adapter 860. As depicted, the network adapter 860 communicates with the other components of the electronic device 800 via the bus 830. It should be appreciated that the electronic device 800 can be a part of another device or be a stand-alone device, and can be implemented as a wired or wireless device. In addition, the electronic device 800 can be a personal computer (PC), a tablet PC, a personal digital assistant (PDA), a wireless telephone, a web appliance, a network router, switch or bridge, or any other device that can be used to interact with another computing device or receive data from another computing device. It is to be understood that other devices might also be used in place of, or in addition to, the electronic device 800. For example, a mobile telephone can be used in place of the electronic device 800.

[0168] In particular, the processes described above with reference to the flow charts can be implemented as a computer application program. For example, an embodiment of the application includes a computer program product comprising a computer program tangibly embodied on a computer readable medium, the computer program including instructions for executing the methods illustrated by the flow charts. When the computer program is executed by the processing unit 810, the various functions defined in the system of the application are performed.

[0169] It should be noted that the computer-readable medium in the embodiments of the present application can be a computer-readable signal medium or a computer-readable storage medium or any combination thereof. The computer-readable storage medium may, for example, be an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or apparatus, or any combination thereof. More specific examples of the computer-readable storage medium can include, but are not limited to, an electrical connection having one or more wires, a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM), a flash memory, an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In this application, the computer-readable storage medium can be any tangible medium that contains or stores a program used by an instruction execution system, apparatus or device, and can be used or combined with the same. In this application, the computer-readable signal medium can include a data signal carried in a baseband or as a part of a carrier wave, which carries computer-readable computer programs. Such a propagated data signal can take various forms, including, but not limited to, an electromagnetic signal, an optical signal, or any suitable combination thereof. The computer-readable signal medium can also be any computer-readable medium other than the computer-readable storage medium, which can send, transmit, propagate or transport a program for use by or in connection with an instruction execution system, apparatus or device. The computer programs contained in the computer-readable medium can be transmitted by any suitable medium, including, but not limited to, wireless, wired, or the like, or any suitable combination thereof.

[0170] The flowcharts and block diagrams in the drawings illustrate the possible implementation architectures, functions and operations of the systems, methods and computer program products according to various embodiments of the present application. In the flowcharts or block diagrams, each block can represent a module, a program segment or a part of code, which contains one or more executable instructions for implementing the specified logical functions. It should also be noted that in some alternative implementations, the functions noted in the blocks can occur in a different order from that noted in the drawings. For example, two blocks represented in succession can actually be executed substantially in parallel, and sometimes in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams or flowcharts, and the combination of blocks in the block diagrams or flowcharts, can be implemented by a dedicated hardware-based system for implementing the specified functions or operations, or can be implemented by a combination of special-purpose hardware and computer instructions.

[0171] The units described in the embodiments of the present application can be implemented by means of software or hardware, and the units described can also be arranged in a processor. In some cases, the names of the units do not constitute a limitation on the units themselves.

[0172] Another aspect of the present application also provides a computer readable storage medium, which stores a computer program. The computer program is executed by a processor to implement the application deployment method described above. The computer readable storage medium can be included in the electronic device described in the above embodiments, or can exist separately and not be assembled into the electronic device.

[0173] Another aspect of the present application also provides a computer program product or a computer program, which includes computer instructions stored in a computer readable storage medium. A processor of a computer device reads the computer instructions from the computer readable storage medium, and the processor executes the computer instructions to make the computer device execute the application deployment method provided in the above embodiments.

[0174] The above is only a preferred exemplary embodiment of the present application, and is not intended to limit the implementation of the present application. Those skilled in the art can easily make corresponding modifications or changes according to the main concept and spirit of the present application, and the protection scope of the present application should be subject to the protection scope required by the claims.

Claims

1. An application deployment method, characterized in that, The method includes: Receive an application deployment request; wherein the application deployment request carries an object identifier to be deployed and environment information to be deployed; the object identifier to be deployed is used to obtain the object to be deployed, and the object to be deployed refers to the object that needs to use the application; Based on the application deployment request, obtain general code parameters, and obtain private configuration parameters in multiple deployment environments that match the object identifier to be deployed from the private configuration parameter list; based on the environment information to be deployed, obtain private configuration parameters that match the environment information to be deployed from the private configuration parameters in the multiple deployment environments; wherein, the private configuration parameter list includes multiple object identifiers and private configuration parameters corresponding to the multiple object identifiers; Private code parameters are obtained based on the private configuration parameters, and the code to be compiled is obtained according to the general code parameters and the private code parameters; wherein, the private code parameters include private logic data, and the process of obtaining the private code parameters includes: obtaining a private function identifier based on the private configuration parameters, and obtaining a function code segment that matches the private function identifier, and using the function code segment as the private logic data; the process of obtaining the code to be compiled includes: obtaining the code to be compiled based on the private logic data and the general code parameters; An application package is generated based on the code to be compiled, and the application package is deployed to the environment to be deployed.

2. The method according to claim 1, characterized in that, Before obtaining the general code parameters according to the application deployment request, and obtaining the private configuration parameters matching the object identifier to be deployed from the private configuration parameter list, the method further includes: Obtain multiple object identifiers and the private configuration parameters corresponding to the multiple object identifiers; The multiple object identifiers and the private configuration parameters corresponding to the multiple object identifiers are associated to generate the private configuration parameter list.

3. The method according to claim 2, characterized in that, The step of obtaining multiple object identifiers and the private configuration parameters corresponding to the multiple object identifiers includes: Based on the input operation of the received object identifiers, each object identifier is obtained; and, Based on the input operation of the received private configuration data items, the private configuration data items of each object identifier are obtained, and based on the private configuration data items corresponding to each object identifier, the private configuration parameters corresponding to each object identifier are generated.

4. The method according to claim 3, characterized in that, The content of the private configuration data item includes path information; the process of obtaining the private configuration data item for each object identifier based on the input operation of the received private configuration data item includes: Monitor the input operations of the private configuration data items, and obtain the pre-input path information based on the input operations; Detect whether the pre-input path information contains resource data; If the pre-input path information contains resource data, then the private configuration data item is obtained based on the pre-input path information; If the pre-input path information does not contain resource data, a prompt message indicating that no resource data exists will be generated.

5. The method according to claim 1, characterized in that, After receiving the application deployment request, the method further includes: Call the private configuration parameter list retrieval function to obtain the private configuration parameter list according to the private configuration parameter list retrieval function.

6. The method according to any one of claims 1 to 5, characterized in that, The private code parameters include private language data, and the general code parameters include general language data; the step of obtaining private code parameters based on the private configuration parameters, and obtaining the code to be compiled based on the general code parameters and the private code parameters includes: Obtain the private language path information contained in the private configuration parameters; Obtain the private language data corresponding to the private language path information; The code to be compiled is obtained based on the private language data and the general language data contained in the general code parameters.

7. The method according to claim 6, characterized in that, The private language data includes private language modification rules and private language modification data; the step of obtaining the code to be compiled based on the private language data and the general language data in the general code parameters includes: Based on the private language modification rules, the general language data in the general code parameters is modified to the private language modification data to obtain the code to be compiled.

8. The method according to any one of claims 1 to 5, characterized in that, The private code parameters include private page data, and the general code parameters include general page data; the step of obtaining the private code parameters based on the private configuration parameters, and obtaining the code to be compiled based on the general code parameters and the private code parameters, includes: Obtain the private page path information contained in the private configuration parameters; Obtain the private page data corresponding to the private page path information; The code to be compiled is obtained based on the private page data and the general page data in the general code parameters.

9. An application deployment apparatus, characterized in that, The device includes: The request acquisition module is configured to receive application deployment requests; wherein, the application deployment request carries an object identifier to be deployed and environment information to be deployed; the object identifier to be deployed is used to obtain the object to be deployed, and the object to be deployed refers to the object that needs to use the application; The parameter matching module is configured to, based on the application deployment request, obtain the general code parameters, and obtain private configuration parameters in multiple deployment environments that match the object identifier to be deployed from the private configuration parameter list; based on the environment information to be deployed, obtain private configuration parameters that match the environment information to be deployed from the private configuration parameters in the multiple deployment environments; wherein, the private configuration parameter list includes multiple object identifiers and private configuration parameters corresponding to the multiple object identifiers; The code-to-be-compiled acquisition module is configured to acquire private code parameters based on the private configuration parameters, and obtain the code-to-be-compiled according to the general code parameters and the private code parameters; wherein, the private code parameters include private logic data, and the process of acquiring the private code parameters includes: acquiring a private function identifier based on the private configuration parameters, and acquiring a function code segment that matches the private function identifier, and using the function code segment as the private logic data; the process of acquiring the code-to-be-compiled includes: obtaining the code-to-be-compiled based on the private logic data and the general code parameters; The deployment module is configured to generate an application package based on the code to be compiled and deploy the application package to the environment to be deployed.

10. An electronic device, characterized in that, include: One or more processors; A storage device for storing one or more programs, which, when executed by the electronic device, cause the electronic device to implement the application deployment method as described in any one of claims 1 to 8.

11. A computer-readable medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the application deployment method as described in any one of claims 1 to 8.

Citation Information

Patent Citations

  • Method and system for realizing internet APP (application) public platform of enterprise and association

    CN104391687A

  • Application deployment method and device of PaaS platform, server and storage medium

    CN108551487A

  • Container application deployment method and device, computer equipment and storage medium

    CN108958927A