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

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

Info

Publication number
CN112527377B
CN112527377B CN202011341495.6A CN202011341495A CN112527377B CN 112527377 B CN112527377 B CN 112527377B CN 202011341495 A CN202011341495 A CN 202011341495A CN 112527377 B CN112527377 B CN 112527377B
Authority
CN
China
Prior art keywords
application
differential
packet
configuration
information
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.)
Active
Application number
CN202011341495.6A
Other languages
Chinese (zh)
Other versions
CN112527377A (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

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. After the application configuration end completes the configuration of the application differential information, the application configuration end sends differential information configuration completion information to the application development end, the application development end receives the information and then sends a differential packet generation instruction to the construction server, the application development end triggers the construction server to generate a corresponding application differential packet and upload the corresponding application differential packet to the project management server, the application development end sends a differential application program packaging instruction to the construction server to trigger the main project 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 a 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 for downloading the application program installation packet.

Description

Application program generation processing method, device, computer equipment and storage medium
Technical Field
The present invention relates to the field of mobile terminals, and in particular, to a method and apparatus for generating and processing an application program, a computer device, and a storage medium.
Background
With the development of mobile terminal technology, a set of codes is currently supported to carry out multi-Application (Application) packaging through differential configuration, for example, google company and Apple company both support to configure related parameters and files in specific configuration files, and the multiple Application is generated differentially.
However, in the differential packaging scheme provided in the prior art, a developer usually copies a set of module codes, changes parameter values therein and then introduces the parameter values into the project so as to package and generate an application program, that is, each time the developer configures one application program, the developer needs to copy a set of module codes to modify, and the modified application program is integrated into the project after modification, so that the operation steps are complicated, and the problem of high time cost and high error probability of the generated application program is caused.
Disclosure of Invention
In view of the foregoing, it is desirable to provide an application generation processing method, apparatus, computer device, and storage medium.
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 terminal sends out the application differential information configuration completion message after the application configuration user completes the configuration of the application differential information;
after the application differential packet 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 packet acquired from the project management server to obtain an application program installation packet, uploading the application program installation packet to the project management server, and feeding back a downloading address of the application program installation packet;
and sending 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.
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 receives the application differential information configuration completion message sent by the application configuration end and then sends out the differential packet generation instruction; the application configuration terminal sends out the application differential information configuration completion message after the application configuration user completes the configuration of the application differential information;
after the application differential packet is uploaded to the project management server, triggering a main project to package the application differential packet obtained from the project management server to obtain an application program installation packet, and uploading the application program installation packet 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 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.
An application generation processing apparatus comprising:
the first instruction sending module is used for sending a differential packet generating instruction to the construction server after receiving the application differential information configuration completion message sent by the 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 terminal sends out the application differential information configuration completion message after the application configuration user completes the configuration of the 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 packet is uploaded to the project management server, triggering a main project of the construction server to package the application differential packet acquired from the project management server to obtain an application program installation packet, uploading the application program installation packet to the project management server and feeding back a download address of the application program installation packet;
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 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 response module is used for responding to the differential packet generation instruction sent by the application development end, generating an application differential packet corresponding to the application differential information and uploading the application differential packet to the project management server; the application development end receives the application differential information configuration completion message sent by the application configuration end and then sends out the differential packet generation instruction; the application configuration terminal sends out the application differential information configuration completion message after the application configuration user completes the configuration of the application differential information;
the second instruction response module is used for responding to the differential application program packaging instruction sent by the application development end after the application differential packet is uploaded to the project management server, triggering a main project to package the application differential packet acquired from the project management server to obtain an application program installation packet, and uploading the application program installation packet 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 terminal so that the application development terminal can send the download address to the application configuration terminal, and the application configuration terminal can download the application program installation package from the project management server according to the download address.
A computer device comprising a memory storing a computer program and a processor which when executing the computer program performs 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 terminal sends out the application differential information configuration completion message after the application configuration user completes the configuration of the application differential information; after the application differential packet 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 packet acquired from the project management server to obtain an application program installation packet, uploading the application program installation packet to the project management server, and feeding back a downloading address of the application program installation packet; and sending 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.
A computer device comprising a memory storing a computer program and a processor which when executing the computer program performs 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 receives the application differential information configuration completion message sent by the application configuration end and then sends out the differential packet generation instruction; the application configuration terminal sends out the application differential information configuration completion message after the application configuration user completes the configuration of the application differential information; after the application differential packet is uploaded to the project management server, triggering a main project to package the application differential packet obtained from the project management server to obtain an application program installation packet, and uploading the application program installation packet 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 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 readable storage medium having stored thereon a computer program which when executed by a processor performs 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 terminal sends out the application differential information configuration completion message after the application configuration user completes the configuration of the application differential information; after the application differential packet 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 packet acquired from the project management server to obtain an application program installation packet, uploading the application program installation packet to the project management server, and feeding back a downloading address of the application program installation packet; and sending 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.
A computer readable storage medium having stored thereon a computer program which when executed by a processor performs 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 receives the application differential information configuration completion message sent by the application configuration end and then sends out the differential packet generation instruction; the application configuration terminal sends out the application differential information configuration completion message after the application configuration user completes the configuration of the application differential information; after the application differential packet is uploaded to the project management server, triggering a main project to package the application differential packet obtained from the project management server to obtain an application program installation packet, and uploading the application program installation packet 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 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.
After the application configuration user completes the configuration of the application differential information, the application configuration end sends a differential information configuration completion message to the application development end, the application development end receives the message and then sends a differential information generation instruction to the construction server, the construction server is triggered to generate a corresponding application differential information and upload the corresponding application differential information to the project management server, then the application development end sends a differential application packaging instruction to the construction server to trigger a main project of the construction server to package the application differential information acquired from the project management server to obtain an application installation package, the application installation package is uploaded to the project management server, and a download address of the application installation package is fed back to the application development end, the application development end sends the download address to the application configuration end for downloading the application installation package from the project management server, unified configuration of the application differential information through the application configuration end and automatic generation of the configured application differential information through the background server are realized, the efficiency of the application is improved, the error probability of generating the application differential information is reduced, and the application maintenance cost is also reduced in the application package is facilitated when the differential information is generated.
Drawings
FIG. 1 is an application environment diagram of an application generation processing method in one embodiment;
FIG. 2 is a flow diagram of an application generation processing method in one embodiment;
FIG. 3 (a) is a schematic diagram of an application management page of an application configuration interface in one embodiment;
FIG. 3 (b) is a schematic diagram of an application differential information configuration page in one embodiment;
FIG. 4 is a flowchart of an application generation processing method according to another embodiment;
FIG. 5 is a block diagram of an application generation processing device in one embodiment;
FIG. 6 is a block diagram of an application generation processing device in another embodiment;
FIG. 7 is an internal block diagram of a computer device in one 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 will be further described in detail with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the present application.
In the application, the application differential packet refers to an SDK packet obtained by packing 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 packet names, android signatures, iOS BundleId, iOS fingerprint certificates, and Android push configurations, and different applications may be configured differently.
The application program generation processing method provided by the application program generation processing method can be applied to an application environment shown in fig. 1, and the application environment can comprise: the application development terminal 110, the application configuration terminal 120, the construction server 130 and the 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 terminal 110 and the application configuration terminal 120 may be, but not limited to, various personal computers, notebook computers, smartphones, and tablet computers, and the build server 130 and the project management server 140 may be implemented by separate servers or a server cluster formed by a plurality of servers.
Specifically, after the application configuration user (or the project manager) completes the configuration of the application differential information, the application configuration end 120 sends an application differential information configuration completion message to the application development end 110, the application development end 110 immediately sends a differential packet generation instruction to the build server 130 to trigger the build 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, and then the application development end 110 sends a differential application program packaging instruction to the build server 130 to trigger the main project of the build server 130 to package the application differential packet acquired from the project management server 140 to obtain an application program installation packet, and upload the application program installation packet to the project management server 140 and feed back a download address of the application program installation packet, and the application development end 110 sends the download address fed back by the build server 130 to the application configuration end 120 to download the application program installation packet from the project management server 140 according to the download address. The scheme can uniformly configure the application differential information through the application configuration terminal 120 and automatically package the configured application differential information through the background server 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 when the application program is generated is reduced, and the configuration and maintenance cost of the application differential information in the project is reduced.
The application program generation processing method provided in the present application is described below with reference to the embodiments and the corresponding drawings.
In one embodiment, as shown in fig. 2, an application program generating processing method is provided, taking an application development end 110 in fig. 1 as an example, the method may include the following steps:
step S201, 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 the application differential information, and uploading the application differential packet to a project management server.
In this step, the application development terminal 110 receives the application differential information configuration completion message from the application configuration terminal 120. The application development end 110 is a terminal mainly responsible for developing applications, 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. After the application configuration user configures the application differential information of a certain application or some applications, such as a project manager, the application configuration end 120 sends an application differential information configuration completion message to the application development end 110, where the application differential information configuration completion message may be used as a message for notifying an application developer that the configuration of the application differential information is completed after the project manager completes the configuration of the application differential information, and the configured application differential information may be sent by the application development end 110 to the project management server 140 for storage. In particular, the application difference information may be, for example, an application name, a theme color, a picture resource, and a third party key (e.g., weChat Applid, a hundred degree map AK, etc.). Then, after the application development end 110 receives the application differential information configuration completion message sent by the application configuration end 120, a differential packet generation instruction is sent to the construction server 130 immediately, so as to trigger the construction server 130 to execute a pre-encoded script file, acquire the application differential information from the project management server 140 and generate 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 can be used to store data related to the construction project of the application program, and equipment such as the application development end 110, the application configuration end 120, and the construction server 130 can be supplied for access when needed.
Step S202, after the application differential package is uploaded to a project management server, a differential application program packaging instruction is sent to a construction server, a main project of the construction server is triggered to package the application differential package acquired 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 the downloading address of the application program installation package is fed back;
in this step, after the application differential package is uploaded to the project management server 140 by the application development terminal 130, when the application development terminal 110 needs to package, it may send a differential application package instruction to the construction server 130, trigger the main project for constructing the application program to generate (or construct) the application program through a command preset by the construction server 130, in the process of generating the application program, it may download the latest application differential package from the project management server 140 through a construction tool (such as Android development and gradle construction tool supported by google), that is, the application differential package obtained by the main program of the construction server 130 is packaged again to obtain an application program installation package, and upload the application program installation package obtained by the packaging to the project management server 140, and return the download address of the application program 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 terminal, so that the application configuration terminal downloads 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 download address of the aforementioned application installation package fed back 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, thereby enabling the application configuration user such as a project manager to use the application installation package in a trial or test manner.
In the above application program generation processing method, after the application configuration user completes the 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, after receiving the message, the application development end 110 sends a differential packet generation instruction to the build server 130, triggers the build server 130 to generate a corresponding application differential packet and upload the corresponding application differential packet to the project management server 140, then the application development end 110 sends a differential application program packaging instruction to the build server 130, triggers the main engineering of the build server 130 to package the application differential packet acquired from the project management server 140 to obtain an application program installation packet, and uploads the application program installation packet to the project management server 140 and feeds back the download address of the application program installation packet to the application development end 110, so that the application development end 110 downloads the application program installation packet from the project management server 140 for use.
In one embodiment, the application differential information configured on the application configuration side 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, etc., through which an application program can distinguish from other application programs, and the text information may be information in the form of text such as an application name, a push configuration, etc. After the application configuration end 120 configures the application differential information, 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 that the application development end 110 can call when generating the application differential package. Based on this, the application development terminal 110 in the above step S201 sends a differential packet generation instruction to the construction server 130, and may further trigger the construction server 130 to download the differential template project from the project management server 140, and generate the application differential packet based on the above picture resource information and text information through the differential template project. Specifically, after the application development terminal 110 sends the differential packet generation instruction to the construction server 130, the construction server 130 may acquire the picture resource information and the text information from the project management server 140, download the differential template engineering, generate the application differential packet based on the picture resource information and the text information through the differential template engineering, and upload the application differential packet to the project management server 140. The differential template engineering is a code template, and can be used for generating corresponding application differential packets based on picture resource information and text information, and the subsequent main engineering can carry out application program differential by packing the application differential packets, so that differential 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 terminal 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 side 120. First, fig. 3 (a) shows an application management page of an application configuration interface, on which a management page of mobile terminal configuration is displayed, where the management page of mobile terminal configuration is displayed with an added list of mobile terminal applications, and the displayed information may include information such as an application icon, an application name, an application version, etc., and an application configuration user may click on a certain application in the list, and the application configuration terminal 120 may enter an application differential information configuration page shown in fig. 3 (b), where an application configuration user may configure application differential information, and by way of example, these application differential information may include: for example, general information such as App english codes, android package names, iOS BundleId, fingerprint certificates, and push configuration information such as push AppId, appSecret of a push, it is to be understood that application differential information may further include, for example, weChat, tech open platform information such as WeChat open platform AppId, appSecret and Tech open platform AppId, and may further include App names, theme colors, version numbers, version update logs, and the like.
In addition to the text information described above, the application configuration user may configure picture resources including application icons, start pages, login pages, and the like on the application configuration terminal 120. Thus, after the application differential information is configured, 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 differential information, that is, in some embodiments, the application differential information may include the download link of the picture resource and the text information.
Based on this, the application development terminal 110 in the above step S201 sends a differential packet 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 foregoing 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 a differential template project according to the setting directory, by which the application differential packet is generated based on the picture resource and the text information downloaded to the setting directory, and in which the text information such as the application name, the pushing configuration, etc. is replaced by a placeholder, for example, the placeholder of the application name is "$ { appName }. By the embodiment, the application configuration terminal 110 can configure the application differential information uniformly and the construction server 130 automatically packages the configured application differential information to generate the application program, so that the efficiency of generating the application program is improved and the error probability in the process of 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 may include the steps of:
in step S401, in response to the differential packet generation instruction sent by the application development terminal 110, the build server 130 generates an application differential packet corresponding to the application differential information and uploads the application differential 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 out the configuration completion message of the application differential information after the application configuration user completes the configuration of the application differential information. Specifically, after the application configuration end 120 configures the application differential information of the application program by using the configuration user, an application differential information configuration completion message is sent to the application development end 110, so as to inform the application developer that the configuration is completed, and the application development end 110 can send the configured application differential information to the project management server 140 for storage. After receiving the application differential information configuration completion message sent by the application configuration end 120, the application development end 110 sends a differential packet generation instruction to the construction server 130, so that in response to the differential packet generation instruction sent by the application development end 110, the construction server 130 can execute a pre-encoded script file, acquire the application differential information from the project management server 140, generate an application differential packet corresponding to the application differential information, and upload the application differential packet to the project management server 140 for storage.
Step S402, in response to the differential application program packaging instruction sent by the application development terminal 110 after the application differential packet is uploaded to the project management server 140, the construction server 130 triggers the main project to package the application differential packet obtained from the project management server 130 to obtain an application program installation packet, and uploads the application program installation packet to the project management server 140;
in this step, after the build server 130 uploads the application differential package to the project management server 140, when an application developer needs to package, the application developer may send a differential application program packaging instruction to the build server 130 through the application development end 110, and the build server 130 triggers a main engineering for building an application program to generate (or build) the application program in response to the differential application program packaging instruction; the application differential packet is a dependency packet, such as jar packet in java and aar packet in android development, which cannot be directly operated, and is a packet for performing dependency in application development; and a differencing application or application is a computer program that can be installed and run that is generated by referencing the application differencing packet. In the process of generating an application program, the build server 130 may download an application differential packet uploaded to the project management server 140 from the project management server 140 through a build tool such as a gram supported by the Android development through the google, and then repackage the obtained application differential packet with the main program of the build server 130 to obtain an application program installation package, and upload the application program installation package obtained by packing 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 download address to the application configuration terminal 120, and the application configuration terminal 120 downloads 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 application installation package obtained by packaging is uploaded to the project management server 140, the download address of the application installation package is returned to the application development terminal 110, and after receiving the download address, the application development terminal 110 may send 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, so that application configuration users such as a project manager may use the application installation package in a trial or test manner.
The application program generation processing method realizes unified configuration of the application differential information through the application configuration terminal 120 and 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 the application program is generated, and is also beneficial to reducing the configuration and maintenance cost of the application differential information in the project.
In one embodiment, the application differential information configured on the application configuration side 120 may include picture resource information and text information, where the picture resource information may be, for example, an application icon, a start page, a login page, and the like, and the text information may be, for example, 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 project management server 140 interface for unified storage, so that the application configuration user can call the application configuration end 110 when generating the application differential package. Based on this, the construction server 130 in the above step S401 generates an application differential packet corresponding to the application differential information, and may include: the build 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 the differential packet generation instruction to the construction server 130, the construction server 130 may acquire the picture resource information and the text information from the project management server 140, download the differential template engineering, generate the application differential packet based on the picture resource information and the text information through the differential template engineering, and upload the application differential packet to the project management server 140. The differential template engineering is a code template, and can be used for generating corresponding application differential packets based on picture resource information and text information, and the subsequent main engineering can carry out application program differential by packing the application differential packets, so that differential application programs can be simultaneously installed on the same mobile terminal and different application programs can be clearly distinguished.
Further, the application configuration side 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. In fig. 3 (a), an application management page of an application configuration interface is shown, a management page of mobile terminal configuration is displayed on the application management page, a list of mobile terminal applications that have been added is displayed on the management page of mobile terminal configuration, an application configuration user can click on a certain application program in the list, and an application configuration terminal 120 enters an application differential information configuration page as shown in fig. 3 (b), where the application configuration user can configure application differential information, for example, text information such as App english code, android package name, iOS bundle id, fingerprint certificate, and the like, and besides these 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 application differential information is configured, 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 one of the application differential information, that is, in some embodiments, the application differential information may include the download link of the picture resource and the text information.
Based on this, the construction server 130 in the above step S401 generates an application differential packet based on the picture resource information and the text information through differential template engineering, and may specifically include: the construction server 130 downloads the picture resources from the project management server 140 into the differential template project according to the download link according to the set directory, generates the application differential packet based on the picture resources and the text information through the differential template project, and replaces the text information such as the application name, the pushing configuration and the like through the placeholder in the differential template project of the construction server 130, for example, the placeholder of the application name is "$ { appName }. By the embodiment, the application configuration terminal 110 can configure the application differential information uniformly and the construction server 130 automatically packages the configured application differential information to generate the application program, so that the efficiency of generating the application program is improved, the error probability when the application program is generated is reduced, the development efficiency of 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, these steps are not necessarily performed in order as indicated by the arrows. The steps are not strictly limited to the order of execution unless explicitly recited herein, and the steps may be executed in other orders. Moreover, at least some of the steps in the flowcharts described above may include a plurality of steps or stages, which are not necessarily performed at the same time, but may be performed at different times, and the order of execution of the steps or stages is not necessarily sequential, but may be performed in turn or alternately with at least a part of other steps or stages.
In one embodiment, as shown in fig. 5, an application generation processing apparatus is provided, the apparatus 500 may include:
the first instruction sending module 501 is configured to send a differential packet generating 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 terminal sends out the application differential information configuration completion message after the application configuration user completes the configuration of the application differential information;
the second instruction sending module 502 is configured to send a differential application program packaging instruction to the construction server after the application differential packet is uploaded to the project management server, trigger a main project of the construction server to package the application differential packet obtained from the project management server to obtain an application program installation package, upload the application program installation package to the project management server, and feed back a download address of the application program installation package;
and an address sending module 503, configured to send the download address fed back by the build 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 differential template engineering 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 engineering.
In one embodiment, the application configuration end is configured to provide an application configuration interface and obtain application differential information input by the application configuration user on the application configuration interface; the application differential information specifically comprises a downloading link of a picture resource and the text information; and sending a differential packet generation instruction to a construction server, further triggering the construction server to download the picture resources from the project management server according to the download link to the differential template engineering according to a set directory, and generating the application differential packet based on the picture resources and the text information through the differential template engineering.
In one embodiment, as shown in fig. 6, an application generation processing apparatus is provided, the apparatus 600 may include:
The first instruction response module 601 is 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 receives the application differential information configuration completion message sent by the application configuration end and then sends out the differential packet generation instruction; the application configuration terminal sends out the application differential information configuration completion message after the application configuration user completes the configuration of the application differential information;
the second instruction response module 602 is configured to trigger a main project to package the application differential packet obtained from the project management server to obtain an application installation package, and upload the application installation package to the project management server in response to a differential application package instruction sent by the application development end after the application differential packet is uploaded to the project management server;
and the address feedback module 603 is configured to feed back a download address of the application program installation package to the application development terminal, so that the application development terminal sends the download address to the application configuration terminal, and the application configuration terminal 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; the first instruction response module 601 is further configured to download a differential template project from the project management server, and generate 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 differential information input by the application configuration user on the application configuration interface; the application differential information specifically comprises a downloading link of a 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 according to the download link to the differential template project according to a set directory, and generate the application differential packet based on the picture resource and the text information through the differential template project.
The specific limitation of the application generation processing device may be referred to the limitation of the application generation processing method hereinabove, and will not be described herein. The respective modules in the above-described application generation processing apparatus may be implemented in whole or in part by software, hardware, or a combination thereof. The above modules may be embedded in hardware or may be independent of a processor in the computer device, or may be stored in software in a memory in the computer device, so that the processor may call and execute operations corresponding to the above 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 includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, computer programs, and a database. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The database of the computer device is used for storing data such as application differential packets, application differential information, application program installation packets and the like. 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 the internal structure thereof 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 includes a non-volatile 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 the operating system and computer programs in the non-volatile storage media. The communication interface of the computer device is used for carrying out wired or wireless communication with an external terminal, and the wireless mode 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, can also be keys, a track ball or a touch pad arranged on the shell of the computer equipment, and can also be an external keyboard, a touch pad or a mouse and the like.
It will be appreciated by those skilled in the art that the structures shown in fig. 7 and 8 are block diagrams of only some of the structures associated with the present application and are not intended to limit the computer device to which the present application may be applied, and that a particular computer device may include more or fewer components than shown, or may combine certain components, or have a different arrangement of components.
In an embodiment, there is also provided a computer device comprising a memory and a processor, the memory having stored therein a computer program, the processor implementing the steps of the method embodiments described above when the computer program is executed.
In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored which, when executed by a processor, carries out the steps of the method embodiments described above.
Those skilled in the art will appreciate that implementing all or part of the above described methods may be accomplished by way of a computer program stored on a non-transitory computer readable storage medium, which when executed, may comprise the steps of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in embodiments provided herein may include at least one of non-volatile and volatile memory. The nonvolatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical Memory, or the like. Volatile memory can include random access memory (Random Access Memory, RAM) or external cache memory. By way of illustration, and not limitation, RAM can be in the form of a variety of forms, such as static random access memory (Static Random Access Memory, SRAM) or dynamic random access memory (Dynamic Random Access Memory, DRAM), and the like.
The technical features of the above embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the description.
The above examples merely represent a few embodiments of the present application, which are described in more detail and are not to be construed as limiting the scope of the invention. It should be noted that it would be apparent to those skilled in the art that various modifications and improvements could be made without departing from the spirit of the present application, which would be within the scope of the present application. Accordingly, the scope of protection of the present application is to be determined by the claims appended hereto.

Claims (10)

1. 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 terminal sends out the application differential information configuration completion message after the application configuration user completes the configuration of the application differential information; the application differential information comprises picture resource information and text information;
After the application differential packet 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 packet acquired from the project management server to obtain an application program installation packet, uploading the application program installation packet to the project management server, and feeding back a downloading address of the application program installation packet; the application differencing packet is used for differentiating application programs so as to distinguish different application programs, so that the differentiated application programs can be simultaneously installed on the same mobile terminal;
and sending 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.
2. The method of claim 1, wherein the sending a differential package generation instruction to a build server further triggers the build server to download a differential template project from the project management server, by which the application differential package is generated based on picture resource information and text information of the application differential information.
3. The method according to claim 2, wherein the application configuration terminal is configured to provide an application configuration interface and obtain application differential information input by the application configuration user on the application configuration interface; the application differential information specifically comprises a downloading link of a picture resource and the text information; and sending a differential packet generation instruction to a construction server, further triggering the construction server to download the picture resources from the project management server according to the download link to the differential template engineering according to a set directory, and generating the application differential packet based on the picture resources and the text information through the differential template engineering.
4. 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 receives the application differential information configuration completion message sent by the application configuration end and then sends out the differential packet generation instruction; the application configuration terminal sends out the application differential information configuration completion message after the application configuration user completes the configuration of the application differential information; the application differential information comprises picture resource information and text information;
After the application differential packet is uploaded to the project management server, triggering a main project to package the application differential packet obtained from the project management server to obtain an application program installation packet, and uploading the application program installation packet to the project management server; the application differencing packet is used for differentiating application programs so as to distinguish different application programs, so that the differentiated application programs can be simultaneously installed on the same mobile terminal;
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 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.
5. The method of claim 4, wherein generating the application differential packet corresponding to the application differential information comprises:
and downloading 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 of the application differential information through the differential template project.
6. The method according to claim 5, wherein the application configuration terminal is configured to provide an application configuration interface and obtain application differential information input by the application configuration user on the application configuration interface; the application differential information specifically comprises a downloading link of a picture resource and the text information; the generating, by the differential template engineering, the application differential packet based on the picture resource information and the text information includes:
and downloading the picture resources from the project management server according to the downloading link to the differential template project according to a set directory, and generating the application differential packet based on the picture resources and the text information through the differential template project.
7. An application generation processing apparatus, comprising:
the first instruction sending module is used for sending a differential packet generating instruction to the construction server after receiving the application differential information configuration completion message sent by the 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 terminal sends out the application differential information configuration completion message after the application configuration user completes the configuration of the application differential information; the application differential information comprises picture resource information and text information;
The second instruction sending module is used for sending a differential application program packaging instruction to the construction server after the application differential packet is uploaded to the project management server, triggering a main project of the construction server to package the application differential packet acquired from the project management server to obtain an application program installation packet, uploading the application program installation packet to the project management server and feeding back a download address of the application program installation packet; the application differencing packet is used for differentiating application programs so as to distinguish different application programs, so that the differentiated application programs can be simultaneously installed on the same mobile terminal;
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 downloads 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 the differential packet generation instruction sent by the application development end, generating an application differential packet corresponding to the application differential information and uploading the application differential packet to the project management server; the application development end receives the application differential information configuration completion message sent by the application configuration end and then sends out the differential packet generation instruction; the application configuration terminal sends out the application differential information configuration completion message after the application configuration user completes the configuration of the application differential information; the application differential information comprises picture resource information and text information;
The second instruction response module is used for responding to the differential application program packaging instruction sent by the application development end after the application differential packet is uploaded to the project management server, triggering a main project to package the application differential packet acquired from the project management server to obtain an application program installation packet, and uploading the application program installation packet to the project management server; the application differencing packet is used for differentiating application programs so as to distinguish different application programs, so that the differentiated application programs can be simultaneously installed on the same mobile terminal;
and the address feedback module is used for feeding back the download address of the application program installation package to the application development terminal so that the application development terminal can send the download address to the application configuration terminal, and the application configuration terminal can download 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 implements the steps of the method of any of claims 1 to 6 when the computer program is executed.
10. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the method of any 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 CN112527377A (en) 2021-03-19
CN112527377B true 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)

Families Citing this family (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

Also Published As

Publication number Publication date
CN112527377A (en) 2021-03-19

Similar Documents

Publication Publication Date Title
CN108845812B (en) Plug-in updating method, device, computer equipment and storage medium
CN107896162B (en) Deployment method and device of monitoring system, computer equipment and storage medium
CN111130841A (en) Block chain network deployment method, electronic device and computer readable storage medium
EP3043258A1 (en) iOS APPLICATION AUTOMATIC COMPILATION METHOD AND SYSTEM
CN109889377B (en) Method and device for deploying VNF in NFV system based on Openstack
CN109669692B (en) Source code sharing method, server, computer readable storage medium and system
CN114077423A (en) Airport APP development container architecture based on mobile cross-platform
CN111399840A (en) Module development method and device
CN111209010A (en) Platform and implementation method thereof
CN111897623A (en) Cluster management method, device, equipment and storage medium
CN111859223A (en) Webpage data calling method and device based on mobile middle station and storage medium
CN113127361A (en) Application program development method and device, electronic equipment and storage medium
CN112527377B (en) Application program generation processing method, device, computer equipment and storage medium
CN112596746B (en) Application installation package generation method and device, computer equipment and storage medium
US10229093B2 (en) Method and system for implementing a common data interface to web services
CN109815202B (en) Log editing method and related device
CN112346758A (en) Digital infrastructure service updating platform, updating method and electronic equipment
CN106775608B (en) Method and device for realizing independent system process
CN109857374B (en) Development method and device of mobile application
CN108595169B (en) Visual programming method, cloud server and storage medium
CN116383064A (en) Automatic script counting platform and method
CN115794253A (en) Application integration method and device, electronic equipment and computer readable storage medium
CN112765038B (en) Distributed cluster software testing method, device, equipment and storage medium
CN111857736B (en) Cloud computing product generation method, device, equipment and storage medium
CN113553095A (en) Method and device for issuing small program, electronic device 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