CN112527377A - Application program generation processing method and device, computer equipment and storage medium - Google Patents

Application program generation processing method and device, computer equipment and storage medium Download PDF

Info

Publication number
CN112527377A
CN112527377A CN202011341495.6A CN202011341495A CN112527377A CN 112527377 A CN112527377 A CN 112527377A CN 202011341495 A CN202011341495 A CN 202011341495A CN 112527377 A CN112527377 A CN 112527377A
Authority
CN
China
Prior art keywords
application
differential
configuration
information
management server
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202011341495.6A
Other languages
Chinese (zh)
Other versions
CN112527377B (en
Inventor
庄家华
陆勇
何智辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Zuolin Yongjia Technology Co ltd
Original Assignee
Shenzhen Zuolin Yongjia Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Zuolin Yongjia Technology Co ltd filed Critical Shenzhen Zuolin Yongjia Technology Co ltd
Priority to CN202011341495.6A priority Critical patent/CN112527377B/en
Publication of CN112527377A publication Critical patent/CN112527377A/en
Application granted granted Critical
Publication of CN112527377B publication Critical patent/CN112527377B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation

Landscapes

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

Abstract

The application relates to the technical field of mobile terminals, and provides an application program generation processing method, device, equipment and medium. The method and the device can improve the generation efficiency of the application program and reduce the error probability. The method comprises the steps that after an application configuration end completes configuration of application differential information, the application configuration end sends a differential information configuration completion message to an application development end, the application development end receives the message and then sends a differential package generation instruction to a construction server, the construction server is triggered to generate a corresponding application differential package and upload the application differential package to a project management server, the application development end sends the differential application package generation instruction to the construction server to trigger a main project of the construction server to package the application differential package acquired from the project management server to obtain an application program installation package, the application program installation package is uploaded to the project management server and a download address of the application program installation package is fed back to the application development end, and the application development end sends the download address to the application configuration end for the application configuration end to download the application program installation package for use.

Description

Application program generation processing method and device, computer equipment and storage medium
Technical Field
The present application relates to the field of mobile terminal technologies, and in particular, to a method and an apparatus for generating and processing an application program, a computer device, and a storage medium.
Background
With the development of mobile terminal technology, multiple APP (Application) packaging by differential configuration of a set of codes is supported, for example, Google (Google corporation) and Apple (Apple corporation) both support configuring relevant parameters and files in a specific configuration file, and differentially generating multiple applications.
However, in the differential packaging scheme provided in the prior art, usually, a set of module codes is copied by a developer, a parameter value in the set of module codes is changed, and the set of module codes is introduced into a project, so as to package and generate an application program.
Disclosure of Invention
In view of the foregoing, it is desirable to provide an application generation processing method, apparatus, computer device, and storage medium for solving the above technical problems.
An application generation processing method, the method comprising:
after receiving an application differential information configuration completion message sent by an application configuration end, sending a differential packet generation instruction to a construction server, triggering the construction server to generate an application differential packet corresponding to application differential information, and uploading the application differential packet to a project management server; the application configuration end sends an application differential information configuration completion message after an application configuration user completes configuration of application differential information;
after the application differential package is uploaded to the project management server, sending a differential application program packaging instruction to the construction server, triggering a main project of the construction server to package the application differential package obtained from the project management server to obtain an application program installation package, uploading the application program installation package to the project management server and feeding back a download address of the application program installation package;
and sending the download address fed back by the construction server to the application configuration end so that the application configuration end can download the application program installation package from the project management server according to the download address.
An application generation processing method, the method comprising:
responding to a differential packet generation instruction sent by an application development end, generating an application differential packet corresponding to application differential information, and uploading the application differential packet to a project management server; the application development end sends out the differential packet generation instruction after receiving an application differential information configuration completion message sent by an application configuration end; the application configuration end sends out an application differential information configuration completion message after an application configuration user completes configuration of application differential information;
after responding to the differential application program packaging instruction sent by the application development end after the application differential package is uploaded to the project management server, triggering a main project to package the application differential package obtained from the project management server to obtain an application program installation package, and uploading the application program installation package to the project management server;
and feeding back the download address of the application program installation package to the application development end so that the application development end sends the application development end to the application configuration end, and the application configuration end downloads the application program installation package from the project management server according to the download address.
An application generation processing apparatus comprising:
the first instruction sending module is used for sending a differential packet generation instruction to the construction server after receiving an application differential information configuration completion message sent by an application configuration end, triggering the construction server to generate an application differential packet corresponding to the application differential information and uploading the application differential packet to the project management server; the application configuration end sends an application differential information configuration completion message after an application configuration user completes configuration of application differential information;
the second instruction sending module is used for sending a differential application program packaging instruction to the construction server after the application differential package is uploaded to the project management server, triggering a main project of the construction server to package the application differential package obtained from the project management server to obtain an application program installation package, uploading the application program installation package to the project management server and feeding back a download address of the application program installation package;
and the address sending module is used for sending the download address fed back by the construction server to the application configuration end so that the application configuration end can download the application program installation package from the project management server according to the download address.
An application generation processing apparatus comprising:
the first instruction response module is used for responding to a differential packet generation instruction sent by an application development end, generating an application differential packet corresponding to application differential information and uploading the application differential packet to the project management server; the application development end sends out the differential packet generation instruction after receiving an application differential information configuration completion message sent by an application configuration end; the application configuration end sends out an application differential information configuration completion message after an application configuration user completes configuration of application differential information;
the second instruction response module is used for responding to a differential application program packaging instruction sent by the application development end after the application differential package is uploaded to the project management server, triggering a main project to package the application differential package obtained from the project management server to obtain an application program installation package, and uploading the application program installation package to the project management server;
and the address feedback module is used for feeding back the download address of the application program installation package to the application development end so that the application development end sends the download address to the application configuration end, and the application configuration end downloads the application program installation package from the project management server according to the download address.
A computer device comprising a memory and a processor, the memory storing a computer program, the processor implementing the following steps when executing the computer program:
after receiving an application differential information configuration completion message sent by an application configuration end, sending a differential packet generation instruction to a construction server, triggering the construction server to generate an application differential packet corresponding to application differential information, and uploading the application differential packet to a project management server; the application configuration end sends an application differential information configuration completion message after an application configuration user completes configuration of application differential information; after the application differential package is uploaded to the project management server, sending a differential application program packaging instruction to the construction server, triggering a main project of the construction server to package the application differential package obtained from the project management server to obtain an application program installation package, uploading the application program installation package to the project management server and feeding back a download address of the application program installation package; and sending the download address fed back by the construction server to the application configuration end so that the application configuration end can download the application program installation package from the project management server according to the download address.
A computer device comprising a memory and a processor, the memory storing a computer program, the processor implementing the following steps when executing the computer program:
responding to a differential packet generation instruction sent by an application development end, generating an application differential packet corresponding to application differential information, and uploading the application differential packet to a project management server; the application development end sends out the differential packet generation instruction after receiving an application differential information configuration completion message sent by an application configuration end; the application configuration end sends out an application differential information configuration completion message after an application configuration user completes configuration of application differential information; after responding to the differential application program packaging instruction sent by the application development end after the application differential package is uploaded to the project management server, triggering a main project to package the application differential package obtained from the project management server to obtain an application program installation package, and uploading the application program installation package to the project management server; and feeding back the download address of the application program installation package to the application development end so that the application development end sends the application development end to the application configuration end, and the application configuration end downloads the application program installation package from the project management server according to the download address.
A computer-readable storage medium, on which a computer program is stored which, when executed by a processor, carries out the steps of:
after receiving an application differential information configuration completion message sent by an application configuration end, sending a differential packet generation instruction to a construction server, triggering the construction server to generate an application differential packet corresponding to application differential information, and uploading the application differential packet to a project management server; the application configuration end sends an application differential information configuration completion message after an application configuration user completes configuration of application differential information; after the application differential package is uploaded to the project management server, sending a differential application program packaging instruction to the construction server, triggering a main project of the construction server to package the application differential package obtained from the project management server to obtain an application program installation package, uploading the application program installation package to the project management server and feeding back a download address of the application program installation package; and sending the download address fed back by the construction server to the application configuration end so that the application configuration end can download the application program installation package from the project management server according to the download address.
A computer-readable storage medium, on which a computer program is stored which, when executed by a processor, carries out the steps of:
responding to a differential packet generation instruction sent by an application development end, generating an application differential packet corresponding to application differential information, and uploading the application differential packet to a project management server; the application development end sends out the differential packet generation instruction after receiving an application differential information configuration completion message sent by an application configuration end; the application configuration end sends out an application differential information configuration completion message after an application configuration user completes configuration of application differential information; after responding to the differential application program packaging instruction sent by the application development end after the application differential package is uploaded to the project management server, triggering a main project to package the application differential package obtained from the project management server to obtain an application program installation package, and uploading the application program installation package to the project management server; and feeding back the download address of the application program installation package to the application development end so that the application development end sends the application development end to the application configuration end, and the application configuration end downloads the application program installation package from the project management server according to the download address.
After the application configuration user completes configuration of the application differential information at the application configuration end, the application configuration end sends a differential information configuration completion message to the application development end, the application development end sends a differential packet generation instruction to the construction server after receiving the message, the construction server is triggered to generate a corresponding application differential packet and upload the application differential packet to the project management server, then the application development end sends a differential application packet packaging instruction to the construction server to trigger the main engineering of the construction server to package the application differential packet acquired from the project management server to obtain an application program installation packet, the application program installation packet is uploaded to the project management server and the download address of the application program installation packet is fed back to the application development end, and the application development end sends the download address to the application configuration end, the method and the device are used for downloading the application program installation package from the project management server, so that the application differential information is uniformly configured through the application configuration end, and the configured application differential information is automatically packaged through the background server to generate the application program, the efficiency of generating the application program is improved, the error probability in generating the application program is reduced, and the method and the device are favorable for reducing the configuration and maintenance cost of the application differential information in the project.
Drawings
FIG. 1 is a diagram of an application environment of a method for application generation processing in one embodiment;
FIG. 2 is a flowchart illustrating a method of application generation processing in one embodiment;
FIG. 3(a) is a schematic diagram of an application management page of the application configuration interface in one embodiment;
FIG. 3(b) is a diagram illustrating an embodiment of a configuration page using differential information;
FIG. 4 is a flowchart illustrating a method of generating an application program according to another embodiment;
FIG. 5 is a block diagram showing the configuration of an application generation processing device according to one embodiment;
FIG. 6 is a block diagram showing the construction of an application generation processing means in another embodiment;
FIG. 7 is a diagram illustrating an internal structure of a computer device according to an embodiment;
fig. 8 is an internal structural view of a computer device in another embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
In the application, the application differential package refers to an SDK package that packages resources such as application names and application icons through an official development tool such as Google and Apple, and the application differential information may be application-related configuration information such as Android package names, Android signatures, iOS bundleids, iOS fingerprint certificates, and Android push configuration, and these configurations may be different for different applications.
The application generation processing method provided by the present application may be applied to an application environment shown in fig. 1, where the application environment may include: the system comprises an application development terminal 110, an application configuration terminal 120, a construction server 130 and a project management server 140, wherein the application development terminal 110 can communicate with the application configuration terminal 120 and the construction server 130 through a network, and the application configuration terminal 120 and the construction server 130 can also communicate with the project management server 140 respectively. The application development end 110 and the application configuration end 120 may be, but not limited to, various personal computers, notebook computers, smart phones, and tablet computers, and the construction server 130 and the project management server 140 may be implemented by independent servers or a server cluster formed by a plurality of servers.
Specifically, the application configuration end 120 sends an application differential information configuration completion message to the application development end 110 after the application configuration user (or the project manager) completes configuration of the application differential information, the application development end 110 immediately sends a differential packet generation instruction to the construction server 130 to trigger the construction server 130 to generate an application differential packet corresponding to the application differential information and upload the application differential packet to the project management server 140, then, the application development end 110 sends a differential application packaging instruction to the construction server 130 to trigger the main project of the construction server 130 to package the application differential packet acquired from the project management server 140 to obtain an application installation packet, upload the application installation packet to the project management server 140 and feed back a download address of the application installation packet, and the application development end 110 sends the download address fed back by the construction server 130 to the application configuration end 120, for the application configuration terminal 120 to download the application installation package from the project management server 140 according to the download address. According to the scheme, the application differential information can be uniformly configured through the application configuration end 120, and the configured application differential information is automatically packaged through the background servers such as the construction server 130 to generate the application program, so that the efficiency of generating the application program is improved, the error probability in generating the application program is reduced, and the configuration and maintenance cost of the application differential information in the project is favorably reduced.
The following describes an application generation processing method provided by the present application with reference to an embodiment and a corresponding drawing.
In one embodiment, as shown in fig. 2, an application generation processing method is provided, which is described by taking the application development terminal 110 in fig. 1 as an example, and may include the following steps:
step S201, after receiving the application differential information configuration completion message sent by the application configuration end, sending a differential packet generation instruction to the construction server, triggering the construction server to generate an application differential packet corresponding to the application differential information, and uploading the application differential packet to the project management server.
In this step, the application development end 110 receives the application differential information configuration completion message from the application configuration end 120. The application development end 110 is a terminal mainly responsible for developing an application, the application development end 110 may correspond to a terminal used by an application developer, the application configuration end 120 is a terminal mainly responsible for configuring application differential information, and the application configuration end 120 may correspond to a terminal used by an application configuration user such as a project manager. The application configuration end 120 sends an application difference information configuration completion message to the application development end 110 after an application configuration user, such as a project manager, configures application difference information of one or some applications, where the application difference information configuration completion message may be used as a message used by the project manager to notify application developers that configuration is completed after the project manager completes configuration of the application difference information, and the configured application difference information may be sent to the project management server 140 by the application development end 110 for storage. Specifically, the application differential information may be, for example, an application name, a theme color, a picture resource, and a third party key (e.g., WeChat AppId, Baidu map AK, etc.). Then, that is, after the application development terminal 110 receives the application differential information configuration completion message sent by the application configuration terminal 120, it immediately sends a differential packet generation instruction to the construction server 130, triggers the construction server 130 to execute a pre-coded script file, acquires the application differential information from the project management server 140 and generates an application differential packet corresponding to the application differential information, and then the construction server 130 uploads the generated application differential packet to the project management server 140 for storage, where the project management server 140 may be used to store data related to a construction project of an application program, and may be accessed by devices such as the application development terminal 110, the application configuration terminal 120, and the construction server 130 when needed.
Step S202, after the application differential package is uploaded to the project management server, a differential application program packaging instruction is sent to the construction server, a main project of the construction server is triggered to package the application differential package obtained from the project management server to obtain an application program installation package, and the application program installation package is uploaded to the project management server and a download address of the application program installation package is fed back;
in this step, after the application differential package construction server 130 is uploaded to the project management server 140, when an application developer needs to package, the application development terminal 110 may send a differential application package instruction to the construction server 130, a main project generation (or called construction) application program for constructing the application program is triggered by a command preset by the construction server 130, during the application program generation process, a latest application differential package (i.e., an application differential package uploaded to the project management server 140 by the construction server 130) may be downloaded from the project management server 140 by a construction tool (e.g., a gradle construction tool supported by google development through Android), then the main program of the construction server 130 packages the obtained application differential package to obtain an application installation package, and uploads the packaged application installation package to the project management server 140, and returns the download address of the application installation package to the application development terminal 110.
Step S203, the download address fed back by the construction server is sent to the application configuration end, so that the application configuration end can download the application program installation package from the project management server according to the download address.
In this step, the application development terminal 110 receives the fed-back download address of the application installation package from the construction server 130, and then sends the download address to the application configuration terminal 120, so that the application configuration terminal 120 downloads the application installation package from the project management server according to the download address, and thus, application configuration users such as project managers can use the application installation package through trial use or test.
After the application configuration user completes configuration of the application differential information at the application configuration end 120, the application configuration end 120 sends a differential information configuration completion message to the application development end 110, the application development end 110 sends a differential packet generation instruction to the construction server 130 after receiving the message, the construction server 130 is triggered to generate a corresponding application differential packet and upload the application differential packet to the project management server 140, then the application development end 110 sends a differential application packaging instruction to the construction server 130 to trigger the main project of the construction server 130 to package the application differential packet acquired from the project management server 140 to obtain an application installation packet, the application installation packet is uploaded to the project management server 140 and a download address of the application installation packet is fed back to the application development end 110, the application development end 110 sends the download address to the application configuration end 120, the application configuration end 120 is used for downloading the application installation package from the project management server 140 for use, unified configuration of the application differential information is achieved, and the configured application differential information is automatically packaged through the background servers such as the construction server 130 and the project management server 140 to generate the application, so that the efficiency of generating the application is improved, the probability of errors in generating the application is reduced, and the configuration and maintenance cost of the application differential information in the project is reduced.
In one embodiment, the application differential information configured on the application configuration terminal 120 may include picture resource information and text information. The picture resource information may be information in the form of picture resources, such as an application icon, a start page, a login page, and the like, the application program may be distinguished from other application programs by the picture resources, and the text information may be information in the form of text, such as an application name, a push configuration, and the like. After the application differential information is configured on the application configuration end 120, the application differential information can be transmitted to the project management server 140 through the interface of the project management server 140 for unified storage, so as to be called by the application development end 110 when generating the application differential packet. Based on this, the application development terminal 110 in step S201 sends a differential package generation instruction to the construction server 130, which may further trigger the construction server 130 to download a differential template project from the project management server 140, and generate an application differential package based on the aforementioned picture resource information and text information through the differential template project. Specifically, after the application development terminal 110 sends a difference packet generation instruction to the construction server 130, the construction server 130 may obtain the picture resource information and the text information from the project management server 140, download the difference template project, generate an application difference packet based on the picture resource information and the text information through the difference template project, and upload the application difference packet to the project management server 140. The difference template engineering is a code template, the difference template engineering can be used for generating corresponding application difference packets based on the picture resource information and the text information, and the subsequent main engineering can perform application program difference by packaging the application difference packets, so that the difference application programs can be simultaneously installed on the same mobile terminal, and different application programs can be clearly distinguished.
Further, in some embodiments, the application configuration end 120 may be configured to provide an application configuration interface and obtain application differential information input by an application configuration user on the application configuration interface. As shown in fig. 3(a) and 3(b), an application configuration interface may be provided by the application configuration end 120. First, an application management page of an application configuration interface is shown in fig. 3(a), on the application management page, a management page of mobile terminal configuration is displayed, the management page of mobile terminal configuration displays an added mobile terminal application list, the displayed information may include information such as an application icon, an application name, an application version, etc., an application configuration user may click on a certain application in the list, the application configuration terminal 120 may enter an application difference information configuration page as shown in fig. 3(b), in the application difference information configuration page, the application configuration user may configure application difference information, which may include, for example: for example, the App english code, the Android package name, the iOS BundleId, the fingerprint certificate and other general information, and the push configuration information, such as the push App id, the App secret and other push configuration information, it is understood that the application differential information may also include, for example, the wechat, the Tencent open platform information, such as the wechat open platform App id, the Appsecret, the Tencent open platform App id and the like, and may also include the App name, the theme color, the version number, the version update log and the like.
In addition to the text information, the application configuration user may configure the image resources including the application icon, the start page, the login page, and the like on the application configuration terminal 120. Therefore, after the configuration of the application difference information is completed, the application configuration end 120 may upload the picture resource and the text information to the construction server 130, and for the picture resource, the download link of the picture resource may also be used as one of the application difference information, that is, in some embodiments, the application difference information may include the download link of the picture resource and the text information.
Based on this, the application development terminal 110 in step S201 sends the differential package generation instruction to the construction server 130, which may further trigger the construction server 130 to obtain the application differential information including the download link of the picture resource and the text information from the project management server 140, and then the construction server 130 downloads the picture resource from the project management server 140 according to the download link of the picture resource into the differential template engineering according to the setting directory, and generates the application differential package based on the picture resource and the text information downloaded to the setting directory through the differential template engineering, and in the differential template engineering, the text information such as the application name and the push configuration is replaced by a placeholder, for example, the placeholder of the application name is "$ { appName }". By the embodiment, the application configuration terminal 110 can uniformly configure the application difference information and the construction server 130 can automatically package the configured application difference information to generate the application program, so that the efficiency of generating the application program is improved and the probability of errors in generating the application program is reduced.
In one embodiment, as shown in fig. 4, there is also provided an application generation processing method, which may be applied to the build server 130 in fig. 1, and which may include the steps of:
in step S401, in response to the difference packet generation instruction sent by the application development terminal 110, the construction server 130 generates an application difference packet corresponding to the application difference information and uploads the application difference packet to the project management server 140.
In this step, after receiving the application differential information configuration completion message sent by the application configuration end 120, the application development end 110 sends the differential packet generation instruction to the construction server 130. The application configuration end 120 sends the application differential information configuration completion message after the application configuration user completes configuration of the application differential information. Specifically, after configuring the application difference information of the application program by the application configuration user, the application configuration terminal 120 sends an application difference information configuration completion message to the application development terminal 110, so as to notify the application developer that the configuration is completed, and the application development terminal 110 may send the configured application difference information to the project management server 140 for storage. After receiving the application difference information configuration completion message sent by the application configuration end 120, the application development end 110 sends a difference packet generation instruction to the construction server 130, so that, in response to the difference packet generation instruction sent by the application development end 110, the construction server 130 may execute a pre-encoded script file, obtain the application difference information from the project management server 140 and generate an application difference packet corresponding to the application difference information, and then upload the application difference packet to the project management server 140 for storage.
Step S402, in response to the differential application packaging instruction sent by the application development terminal 110 after the application differential package is uploaded to the project management server 140, the construction server 130 triggers the main project to package the application differential package acquired from the project management server 130 to obtain an application installation package, and uploads the application installation package to the project management server 140;
in this step, after the construction server 130 uploads the application differential package to the project management server 140, when an application developer needs to package, the construction server 130 may send a differential application packaging instruction to the construction server 130 through the application development terminal 110, and the construction server 130 triggers a main project generation (or construction) application program for constructing the application program in response to the differential application packaging instruction; the application differential package is a dependent package, such as a jar package in java and an aar package in android development, cannot be directly operated, and is a package which is dependent in application development; and the difference application program or application program is a computer program which can be installed and run and is generated by referring to the application difference package. In the process of generating the application, the construction server 130 may download the application differential package uploaded to the project management server 140 by the construction server 130 from the project management server 140 through a construction tool such as a gradle supported by google through Android development, and then the main program of the construction server 130 repacks the obtained application differential package to obtain an application installation package, and uploads the packed application installation package to the project management server 140.
In step S403, the build server 130 feeds back the download address of the application installation package to the application development terminal 110, so that the application development terminal 110 sends the application development terminal 110 to the application configuration terminal 120, so as to allow the application configuration terminal 120 to download the application installation package from the project management server 140 according to the download address.
In this step, after the server 130 is constructed and the packaged application installation package is uploaded to the project management server 140, the download address of the application installation package is returned to the application development end 110, and the application development end 110 can send the download address to the application configuration end 120 after receiving the download address, so that the application configuration end 120 can download the application installation package from the project management server according to the download address, and thus, application configuration users such as project managers and the like can use the application installation package through trial use or test and the like.
The application program generation processing method realizes the uniform configuration of the application differential information through the application configuration end 120 and the automatic packaging of the configured application differential information through the background servers such as the construction server 130 and the project management server 140 to generate the application program, improves the efficiency of generating the application program, reduces the error probability when generating the application program, and is beneficial to reducing the configuration and maintenance cost of the application differential information in the project.
In one embodiment, the application difference information configured on the application configuration side 120 may include picture resource information and text information, for example, the picture resource information may be an application icon, a start page, a login page, and the like, and the text information may be an application name, a push configuration, and the like. After the application configuration user configures the application differential information on the application configuration end 120, the application differential information can be transmitted to the project management server 140 through the interface of the project management server 140 for uniform storage, so as to be called by the application development end 110 when generating the application differential packet. Based on this, the generating of the application difference packet corresponding to the application difference information by the construction server 130 in step S401 may include: the construction server 130 downloads a differential template project from the project management server 140, and generates an application differential packet based on the picture resource information and the text information through the differential template project. Specifically, after the application development terminal 110 sends a difference packet generation instruction to the construction server 130, the construction server 130 may obtain the picture resource information and the text information from the project management server 140, download the difference template project, generate an application difference packet based on the picture resource information and the text information through the difference template project, and upload the application difference packet to the project management server 140. The difference template engineering is a code template, the difference template engineering can be used for generating corresponding application difference packets based on the picture resource information and the text information, and the subsequent main engineering can perform application program difference by packaging the application difference packets, so that the difference application programs can be simultaneously installed on the same mobile terminal, and different application programs can be clearly distinguished.
Further, the application configuration end 120 may be configured to provide an application configuration interface and obtain application difference information input by an application configuration user on the application configuration interface. The application configuration page of the application configuration interface is shown in fig. 3(a), the management page configured by the mobile terminal is displayed on the application management page, the management page configured by the mobile terminal displays an added mobile terminal application list, an application configuration user can click an application program in the list, the application configuration terminal 120 enters the application difference information configuration page shown in fig. 3(b), in the application difference information configuration page, the application configuration user can configure application difference information, such as App english code, Android package name, iOS BundleId, fingerprint certificate and other text information, and besides the text information, the application configuration user can configure picture resources including an application icon, a start page, a login page and the like on the application configuration terminal 120. After the configuration of the application difference information is completed, the application configuration end 120 may upload the picture resource and the text information to the construction server 130, where the download link of the picture resource is also used as one of the application difference information, that is, in some embodiments, the application difference information may include the download link of the picture resource and the text information.
Based on this, the building server 130 in step S401 generates the application differential packet based on the picture resource information and the text information through the differential template engineering, which may specifically include: the construction server 130 downloads the picture resources from the project management server 140 according to the download link into the differential template engineering according to the set catalog, and generates an application differential packet based on the picture resources and the text information through the differential template engineering, and in the differential template engineering of the construction server 130, the text information such as the application name, the push configuration, and the like is replaced by a placeholder, for example, the placeholder of the application name is "$ { appName }". By the embodiment, the application differential information can be uniformly configured through the application configuration terminal 110, and the configured application differential information can be automatically packaged through the construction server 130 to generate the application program, so that the efficiency of generating the application program is improved, the probability of errors in generating the application program is reduced, the efficiency of developing the application program is improved, and the project differential configuration and maintenance cost is reduced.
It should be understood that, although the steps in the above-described flowcharts are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least a part of the steps in the above-mentioned flowcharts may include a plurality of steps or a plurality of stages, which are not necessarily performed at the same time, but may be performed at different times, and the order of performing the steps or the stages is not necessarily performed in sequence, but may be performed alternately or alternately with other steps or at least a part of the steps or the stages in other steps.
In one embodiment, as shown in fig. 5, an application generation processing apparatus is provided, and the apparatus 500 may include:
the first instruction sending module 501 is configured to send a differential packet generation instruction to a construction server after receiving an application differential information configuration completion message sent by an application configuration end, trigger the construction server to generate an application differential packet corresponding to application differential information, and upload the application differential packet to a project management server; the application configuration end sends an application differential information configuration completion message after an application configuration user completes configuration of application differential information;
a second instruction sending module 502, configured to send a differential application packaging instruction to the build server after the application differential package is uploaded to the project management server, trigger a main project of the build server to package the application differential package obtained from the project management server to obtain an application installation package, upload the application installation package to the project management server, and feed back a download address of the application installation package;
an address sending module 503, configured to send the download address fed back by the construction server to the application configuration end, so that the application configuration end downloads the application program installation package from the project management server according to the download address.
In one embodiment, the application differential information includes picture resource information and text information; and sending a differential packet generation instruction to a construction server, further triggering the construction server to download a differential template project from the project management server, and generating the application differential packet based on the picture resource information and the text information through the differential template project.
In one embodiment, the application configuration end is configured to provide an application configuration interface and obtain application difference information input by the application configuration user on the application configuration interface; the application difference information specifically comprises a download link of the picture resource and the text information; and sending a difference packet generation instruction to a construction server, further triggering the construction server to download the picture resource from the project management server to the difference template engineering according to a set catalog according to the download link, and generating the application difference packet based on the picture resource and the text information through the difference template engineering.
In one embodiment, as shown in fig. 6, an application generation processing apparatus is provided, and the apparatus 600 may include:
a first instruction response module 601, configured to generate an application differential packet corresponding to application differential information in response to a differential packet generation instruction sent by an application development end, and upload the application differential packet to a project management server; the application development end sends out the differential packet generation instruction after receiving an application differential information configuration completion message sent by an application configuration end; the application configuration end sends out an application differential information configuration completion message after an application configuration user completes configuration of application differential information;
a second instruction response module 602, configured to trigger a main project to package the application differential packages obtained from the project management server to obtain an application installation package in response to a differential application packaging instruction sent by the application development end after the application differential packages are uploaded to the project management server, and upload the application installation package to the project management server;
an address feedback module 603, configured to feed back a download address of the application installation package to the application development end, so that the application development end sends the application development end to the application configuration end, so that the application configuration end downloads the application installation package from the project management server according to the download address.
In one embodiment, the application differential information includes picture resource information and text information; the first instruction response module 601 is further configured to download a difference template project from the project management server, and generate the application difference packet based on the picture resource information and the text information through the difference template project.
In one embodiment, the application configuration end is configured to provide an application configuration interface and obtain application difference information input by the application configuration user on the application configuration interface; the application difference information specifically comprises a download link of the picture resource and the text information; the first instruction response module 601 is further configured to download the picture resource from the project management server to the difference template engineering according to the download link and according to a set directory, and generate the application difference packet based on the picture resource and the text information through the difference template engineering.
For specific limitations of the application generation processing device, reference may be made to the above limitations of the application generation processing method, which are not described herein again. The respective modules in the above application generation processing device may be wholly or partially implemented by software, hardware, and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a computer device is provided, which may be a server, the internal structure of which may be as shown in fig. 7. The computer device includes a processor, a memory, and a network interface connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The database of the computer device is used for storing data such as application difference packets, application difference information and application program installation packets. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement an application generation processing method.
In one embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be as shown in fig. 8. The computer device includes a processor, a memory, a communication interface, a display screen, and an input device connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The communication interface of the computer device is used for carrying out wired or wireless communication with an external terminal, and the wireless communication can be realized through WIFI, an operator network, NFC (near field communication) or other technologies. The computer program is executed by a processor to implement an application generation processing method. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on the shell of the computer equipment, an external keyboard, a touch pad or a mouse and the like.
It will be appreciated by those skilled in the art that the configurations shown in fig. 7 and 8 are only block diagrams of some configurations relevant to the present disclosure, and do not constitute a limitation on the computer apparatus to which the present disclosure may be applied, and a particular computer apparatus may include more or less components than those shown in the figures, or may combine certain components, or have a different arrangement of components.
In one embodiment, a computer device is further provided, which includes a memory and a processor, the memory stores a computer program, and the processor implements the steps of the above method embodiments when executing the computer program.
In an embodiment, a computer-readable storage medium is provided, on which a computer program is stored which, when being executed by a processor, carries out the steps of the above-mentioned method embodiments.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database or other medium used in the embodiments provided herein can include at least one of non-volatile and volatile memory. Non-volatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical storage, or the like. Volatile Memory can include Random Access Memory (RAM) or external cache Memory. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM), among others.
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. An application generation processing method, characterized by comprising:
after receiving an application differential information configuration completion message sent by an application configuration end, sending a differential packet generation instruction to a construction server, triggering the construction server to generate an application differential packet corresponding to application differential information, and uploading the application differential packet to a project management server; the application configuration end sends an application differential information configuration completion message after an application configuration user completes configuration of application differential information;
after the application differential package is uploaded to the project management server, sending a differential application program packaging instruction to the construction server, triggering a main project of the construction server to package the application differential package obtained from the project management server to obtain an application program installation package, uploading the application program installation package to the project management server and feeding back a download address of the application program installation package;
and sending the download address fed back by the construction server to the application configuration end so that the application configuration end can download the application program installation package from the project management server according to the download address.
2. The method of claim 1, wherein the application differential information comprises picture resource information and text information; and sending a differential packet generation instruction to a construction server, further triggering the construction server to download a differential template project from the project management server, and generating the application differential packet based on the picture resource information and the text information through the differential template project.
3. The method according to claim 2, wherein the application configuration end is configured to provide an application configuration interface and obtain application difference information input by the application configuration user on the application configuration interface; the application difference information specifically comprises a download link of the picture resource and the text information; and sending a difference packet generation instruction to a construction server, further triggering the construction server to download the picture resource from the project management server to the difference template engineering according to a set catalog according to the download link, and generating the application difference packet based on the picture resource and the text information through the difference template engineering.
4. An application generation processing method, characterized by comprising:
responding to a differential packet generation instruction sent by an application development end, generating an application differential packet corresponding to application differential information, and uploading the application differential packet to a project management server; the application development end sends out the differential packet generation instruction after receiving an application differential information configuration completion message sent by an application configuration end; the application configuration end sends out an application differential information configuration completion message after an application configuration user completes configuration of application differential information;
after responding to the differential application program packaging instruction sent by the application development end after the application differential package is uploaded to the project management server, triggering a main project to package the application differential package obtained from the project management server to obtain an application program installation package, and uploading the application program installation package to the project management server;
and feeding back the download address of the application program installation package to the application development end so that the application development end sends the application development end to the application configuration end, and the application configuration end downloads the application program installation package from the project management server according to the download address.
5. The method according to claim 4, wherein the application differential information includes picture resource information and text information; the generating of the application differential packet corresponding to the application differential information includes:
and downloading a difference template project from the project management server, and generating the application difference packet based on the picture resource information and the text information through the difference template project.
6. The method according to claim 5, wherein the application configuration end is configured to provide an application configuration interface and obtain application difference information input by the application configuration user on the application configuration interface; the application difference information specifically comprises a download link of the picture resource and the text information; the generating the application differential packet based on the picture resource information and the text information through the differential template engineering includes:
and downloading the picture resources from the project management server to the differential template engineering according to the download link and according to a set catalog, and generating the application differential packet based on the picture resources and the text information through the differential template engineering.
7. An application generation processing apparatus, comprising:
the first instruction sending module is used for sending a differential packet generation instruction to the construction server after receiving an application differential information configuration completion message sent by an application configuration end, triggering the construction server to generate an application differential packet corresponding to the application differential information and uploading the application differential packet to the project management server; the application configuration end sends an application differential information configuration completion message after an application configuration user completes configuration of application differential information;
the second instruction sending module is used for sending a differential application program packaging instruction to the construction server after the application differential package is uploaded to the project management server, triggering a main project of the construction server to package the application differential package obtained from the project management server to obtain an application program installation package, uploading the application program installation package to the project management server and feeding back a download address of the application program installation package;
and the address sending module is used for sending the download address fed back by the construction server to the application configuration end so that the application configuration end can download the application program installation package from the project management server according to the download address.
8. An application generation processing apparatus, comprising:
the first instruction response module is used for responding to a differential packet generation instruction sent by an application development end, generating an application differential packet corresponding to application differential information and uploading the application differential packet to the project management server; the application development end sends out the differential packet generation instruction after receiving an application differential information configuration completion message sent by an application configuration end; the application configuration end sends out an application differential information configuration completion message after an application configuration user completes configuration of application differential information;
the second instruction response module is used for responding to a differential application program packaging instruction sent by the application development end after the application differential package is uploaded to the project management server, triggering a main project to package the application differential package obtained from the project management server to obtain an application program installation package, and uploading the application program installation package to the project management server;
and the address feedback module is used for feeding back the download address of the application program installation package to the application development end so that the application development end sends the download address to the application configuration end, and the application configuration end downloads the application program installation package from the project management server according to the download address.
9. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor, when executing the computer program, implements the steps of the method of any of claims 1 to 6.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 6.
CN202011341495.6A 2020-11-25 2020-11-25 Application program generation processing method, device, computer equipment and storage medium Active CN112527377B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011341495.6A CN112527377B (en) 2020-11-25 2020-11-25 Application program generation processing method, device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011341495.6A CN112527377B (en) 2020-11-25 2020-11-25 Application program generation processing method, device, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN112527377A true CN112527377A (en) 2021-03-19
CN112527377B CN112527377B (en) 2024-03-19

Family

ID=74993554

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011341495.6A Active CN112527377B (en) 2020-11-25 2020-11-25 Application program generation processing method, device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112527377B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113835681A (en) * 2021-08-18 2021-12-24 华建数创(上海)科技有限公司 Method for realizing project making of intelligent operation management center through editor

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130067017A1 (en) * 2010-04-15 2013-03-14 Mxi Technologies, Ltd. Mehtod and system for deployed operations support
CN104539676A (en) * 2014-12-18 2015-04-22 深圳市腾讯计算机系统有限公司 Method, device and system for providing and obtaining application installation packets
CN104991793A (en) * 2015-06-15 2015-10-21 上海海漾软件技术有限公司 Method, device and system used for application program subpackage
CN107168733A (en) * 2017-04-25 2017-09-15 北京五八信息技术有限公司 The generation of differential file bag and the update method of application program, device and system
CN110109685A (en) * 2019-04-23 2019-08-09 维沃移动通信有限公司 Production method, device and the mobile terminal of the update, installation kit applied fastly

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130067017A1 (en) * 2010-04-15 2013-03-14 Mxi Technologies, Ltd. Mehtod and system for deployed operations support
CN104539676A (en) * 2014-12-18 2015-04-22 深圳市腾讯计算机系统有限公司 Method, device and system for providing and obtaining application installation packets
CN104991793A (en) * 2015-06-15 2015-10-21 上海海漾软件技术有限公司 Method, device and system used for application program subpackage
CN107168733A (en) * 2017-04-25 2017-09-15 北京五八信息技术有限公司 The generation of differential file bag and the update method of application program, device and system
CN110109685A (en) * 2019-04-23 2019-08-09 维沃移动通信有限公司 Production method, device and the mobile terminal of the update, installation kit applied fastly

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113835681A (en) * 2021-08-18 2021-12-24 华建数创(上海)科技有限公司 Method for realizing project making of intelligent operation management center through editor

Also Published As

Publication number Publication date
CN112527377B (en) 2024-03-19

Similar Documents

Publication Publication Date Title
CN108845812B (en) Plug-in updating method, device, computer equipment and storage medium
US9563613B1 (en) System and method for dynamic portable document file generation
CN108376079B (en) Automatic application updates
CN113296798B (en) Service deployment method, device and readable storage medium
US10896404B2 (en) Computer readable storage media for dynamic service deployment and methods and systems for utilizing same
CN112130871B (en) Method and device for remotely deploying middleware, computer equipment and storage medium
CN108418797B (en) Webpage access method and device, computer equipment and storage medium
CN114125028A (en) Running method, device, equipment, storage medium and program product of micro application
US20170033980A1 (en) Agent manager for distributed transaction monitoring system
CN112199164A (en) Method for ensuring container mirror image consistency
CN111142884A (en) Applet version deployment method and device, electronic equipment and storage medium
CN111859223A (en) Webpage data calling method and device based on mobile middle station and storage medium
CN111897623A (en) Cluster management method, device, equipment and storage medium
CN112214752A (en) Dynamic control method, device and equipment of application permission and storage medium
CN112527377B (en) Application program generation processing method, device, computer equipment and storage medium
CN112346758B (en) Digital infrastructure service updating platform, updating method and electronic equipment
CN106095886B (en) Data processing method and device
CN109815202B (en) Log editing method and related device
CN112433703A (en) Component module creating method and device, server and storage medium
CN114253441B (en) Method and device for enabling target function, storage medium and electronic device
CN113779122B (en) Method and device for exporting data
CN113553095A (en) Method and device for issuing small program, electronic device and storage medium
TW202232476A (en) Building and deployment system and method of shared software solution and computer readable medium
CN112910956A (en) Resource creating method and device and electronic equipment
CN111857736A (en) Cloud computing product generation method, device, equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant