Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Application installation package generation method and device, electronic equipment and storage medium

A technology of application programs and installation packages, which is applied in the field of software development, can solve the problems of wasting manpower and material resources, differences in installation packages, and the inability to ensure that there are no differences among the three installation packages.

Active Publication Date: 2018-07-24
GUANGDONG XIAOTIANCAI TECH CO LTD
View PDF4 Cites 10 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, in the above method, after the previous installation package (such as the grayscale version installation package) is generated, in the subsequent process of generating the next installation package (such as the official version installation package), the compiled code may be Or the environment for compiling the code is different from the previous installation package, which leads to differences in the installation packages generated at different stages. Therefore, after the three installation packages are generated, the three installation packages need to be tested separately. However, this wastes a lot of manpower and material resources , and even if the three installation packages are all tested successfully, there is still no guarantee that there are no differences among the three installation packages, resulting in the generation of three installation packages with inconsistent user experience, which may lead to problems in the process of user use after the official version is released. Issues that did not appear in the grayscale version

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Application installation package generation method and device, electronic equipment and storage medium
  • Application installation package generation method and device, electronic equipment and storage medium
  • Application installation package generation method and device, electronic equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0027] figure 1 It is a flow chart of a method for generating an application installation package provided by Embodiment 1 of the present invention. This embodiment is applicable to the situation where it is necessary to generate installation packages of different versions and categories with consistent user experience. The method can be composed of an application installation package The generating device is executed, the device can be composed of software and / or hardware, and the device can generally be integrated in the terminal. see figure 1 , the method provided in this embodiment specifically includes the following steps:

[0028] Step 110, receiving the code update notification of the application program;

[0029] Wherein, the code update notification includes the storage address of the application program in the code repository.

[0030] Exemplarily, Jenkins can be installed in the terminal, and Gitlab can be used as a code repository. When it is necessary to updat...

Embodiment 2

[0053] figure 2 A flow chart of a method for generating an application installation package provided for an embodiment of the present invention. This embodiment is further limited on the basis of the foregoing embodiments. In this embodiment, the version category is optimized to at least include: test version, grayscale version and official version; the code of the application program will be compiled according to the configuration information of each version category in the modified configuration file and packaged to generate the version category After the installation package of the corresponding application program, it also includes: copying the installation package of the application program corresponding to each version category to the target directory corresponding to the version category in the target server; After compiling the code of the application program with the configuration information of each version category and packaging the installation package of the app...

Embodiment 3

[0070] image 3 A structural block diagram of a device for generating an application installation package provided in Embodiment 4 of the present invention. The device may be composed of software and / or hardware, and generally the device may be integrated into a terminal. see image 3 , the device provided in this embodiment includes: a notification receiving module 310, a configuration file acquiring module 320, a placeholder modifying module 330 and an installation package generating module 340, wherein,

[0071] A notification receiving module 310, configured to receive a code update notification of the application; wherein the code update notification includes the storage address of the application in the code warehouse;

[0072] Configuration file obtaining module 320, configured to obtain the code of the application program and the configuration file of the application program from the storage address; wherein the configuration file at least includes a set version numb...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses an application installation package generation method and device, electronic equipment and a storage medium. The method comprises the steps that a code updating notification ofan application is received; a code and a configuration file of the application are obtained from a storage address in the code updating notification; a version number and a version name correspondingto each version class are obtained according to a set version number and a set version name in the configuration file, a placeholder corresponding to a version number configuration item of each version class in the configuration file is modified into a version number corresponding to the version class, and a placeholder corresponding to a version name configuration item of each version class is modified into a version name corresponding to the version class; codes are compiled according to the configuration information of each version class in the modified configuration file and are packagedto generate an installation package corresponding to the version class. Installation packages of different version classes consistent in user experience can be generated simultaneously, and people only need to test the installation package of one version class, so that manpower and test resources are saved.

Description

technical field [0001] The embodiments of the present invention relate to the technical field of software development, and in particular to a method, device, electronic device, and storage medium for generating an application installation package. Background technique [0002] In the daily development process, it is often necessary to update the version of a certain application program. At present, for the release process of a certain version of an application program (that is, an application program generated based on a certain version of code), it is generally first to generate a test version installation package corresponding to the version, and then testers test the test version installation package. After the test is passed, generate the grayscale version installation package corresponding to this version, and the tester will test the grayscale version installation package and release the grayscale version after the test is passed, so that some users can experience the ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F8/61G06F8/71
CPCG06F8/61G06F8/71
Inventor 李俊
Owner GUANGDONG XIAOTIANCAI TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products