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

Method, device, electronic device and storage medium for generating application installation package

An application and installation package technology, applied in version control, software deployment, software maintenance/management, etc., can solve the problems of wasting manpower and material resources, unable to guarantee that there are no differences between the three installation packages, and inconsistent user experience.

Active Publication Date: 2021-09-17
GUANGDONG XIAOTIANCAI TECH CO LTD
View PDF4 Cites 0 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
  • Method, device, electronic device and storage medium for generating application installation package
  • Method, device, electronic device and storage medium for generating application installation package
  • Method, device, electronic device and storage medium for generating application installation package

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0027] figure 1 It is a flowchart 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 warehouse.

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

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 a method, device, electronic equipment and storage medium for generating an application program installation package. The method includes: receiving the code update notification of the application program; obtaining the code and the configuration file of the application program from the storage address in the code update notification; obtaining the version corresponding to each version category according to the set version number and the set version name in the configuration file number and version name, and modify the placeholder corresponding to the version number configuration item of each version category in the configuration file to the version number corresponding to the version category and modify the placeholder corresponding to the version name configuration item of each version category is the version name corresponding to the version category; compile the code according to the configuration information of each version category in the modified configuration file and package and generate the installation package corresponding to the version category. The present invention can simultaneously generate installation packages of different version types with consistent user experience, and only needs to test the installation package of one version type, saving manpower and testing resources.

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 Patents(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