CN112015454B - System upgrade package generation method and device, electronic equipment and storage medium - Google Patents

System upgrade package generation method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN112015454B
CN112015454B CN202011136053.8A CN202011136053A CN112015454B CN 112015454 B CN112015454 B CN 112015454B CN 202011136053 A CN202011136053 A CN 202011136053A CN 112015454 B CN112015454 B CN 112015454B
Authority
CN
China
Prior art keywords
program
package
upgrade package
target
upgrading
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
CN202011136053.8A
Other languages
Chinese (zh)
Other versions
CN112015454A (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.)
Mushroom Car Union Information Technology Co Ltd
Original Assignee
Mushroom Car Union Information 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 Mushroom Car Union Information Technology Co Ltd filed Critical Mushroom Car Union Information Technology Co Ltd
Priority to CN202011136053.8A priority Critical patent/CN112015454B/en
Publication of CN112015454A publication Critical patent/CN112015454A/en
Application granted granted Critical
Publication of CN112015454B publication Critical patent/CN112015454B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates

Abstract

The embodiment of the invention provides a method and a device for generating a system upgrade package, electronic equipment and a storage medium, wherein an application program suitable for a target system is determined as a target application program according to a first incidence relation; and packaging the original upgrade package and the program upgrade package of the target application program to generate a system upgrade package so as to upgrade the target application program when the target system is upgraded by the system upgrade package. Through the established first incidence relation, the matched program upgrade package can be quickly, accurately and automatically obtained when the system upgrade package is packaged, so that the automation of the packaging process is realized, the generation flow of the system upgrade package is simplified, and the time and labor cost for manually replacing the program upgrade package are saved; by generating the second incidence relation and recording the incidence information of the system upgrade package and the program upgrade package during each system upgrade, the recording and the saving of the packaging process of the system upgrade package are realized, and the requirements of quickly inquiring the version upgrade information and tracing the version are met.

Description

System upgrade package generation method and device, electronic equipment and storage medium
Technical Field
The present invention relates to the field of mobile terminals, and in particular, to a method and an apparatus for generating a system upgrade package, an electronic device, and a storage medium.
Background
With the continuous development of mobile devices, various mobile terminals are becoming more and more popular. In order to continuously provide good services for users, a system service platform of a mobile terminal often needs to upgrade the system of the mobile terminal.
The system of the mobile terminal generally comprises a system platform and a plurality of application programs based on the system platform, and when a new version system adapted to the mobile terminal can be upgraded, part of the application programs based on the system platform also needs to be upgraded. Before upgrading the system and the application program of the mobile terminal, manually packaging a system upgrade package and a program upgrade package of a new version, and manually checking and adding each program upgrade package one by one in the packaging process. Because the number and the types of the program upgrading packages which can be suitable for the new version system are huge, the process flow of manually searching and adding the program upgrading packages to realize packaging is complex, and the time and the labor cost are wasted.
Disclosure of Invention
The embodiment of the invention provides a method and a device for generating a system upgrade package, electronic equipment and a storage medium, which are used for solving the problems of complex process flow, time waste and labor cost of the conventional process for realizing packaging by manually searching and adding a program upgrade package.
To solve the above technical problem, in a first aspect, an embodiment of the present invention provides a method for generating a system upgrade package, including:
acquiring a system upgrade package of a target system as an original upgrade package;
determining an application program applicable to the target system according to the first incidence relation to serve as a target application program; the first incidence relation is used for representing the corresponding relation between different systems and application programs applicable to the different systems;
and packaging to generate a system upgrade package according to the original upgrade package and the program upgrade package of the target application program, so as to upgrade the target application program when the target system is upgraded by the system upgrade package.
In a second aspect, an embodiment of the present invention further provides a device for generating a system upgrade package, where the device includes:
the system management platform module is used for acquiring a system upgrade package of a target system as an original upgrade package; determining an application program applicable to the target system according to the first incidence relation to serve as a target application program;
the system packaging processing module is used for packaging and generating a system upgrading package according to the original upgrading package and the program upgrading package of the target application program;
and the version library module is used for storing the system upgrade packages of all versions.
In a third aspect, an embodiment of the present invention further provides an electronic device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements the steps of the system upgrade package generation method when executing the program.
In a fourth aspect, the present invention further provides a non-transitory readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of the system upgrade package generation method described above.
The embodiment of the invention provides a method and a device for generating a system upgrade package, electronic equipment and a storage medium, wherein an application program suitable for a target system is determined as a target application program according to a first incidence relation; and packaging the original upgrade package and the program upgrade package of the target application program to generate a system upgrade package so as to upgrade the target application program when the target system is upgraded by the system upgrade package. Through the established first incidence relation, the matched program upgrading package can be quickly, accurately and automatically obtained when the system upgrading package is packaged, the program upgrading package does not need to be checked and added manually one by one, the automation of the packaging process is realized, the generation flow of the system upgrading package is simplified, and the time and the labor cost for manually replacing the program upgrading package are saved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a schematic flow chart of a method for generating a system upgrade package according to an embodiment of the present invention;
fig. 2 is a schematic diagram illustrating a method for generating a system upgrade package in a functional module manner according to another embodiment of the present invention;
fig. 3 is a schematic structural diagram of a system upgrade package generation apparatus according to another embodiment of the present invention;
fig. 4 is a schematic physical structure diagram of an electronic device according to another embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
For mobile terminal equipment, especially for car networking terminal equipment, a system on The equipment is generally upgraded and updated through FOTA (Firmware Over-The-Air, Over-The-Air software upgrade of The mobile terminal), a system upgrade package is issued through a cloud, system Firmware upgrade service is provided for The mobile terminal with The internet connection function, and The mobile terminal detects The version and then downloads The system upgrade package for installation, so that The purpose of iterative update of The function of The mobile terminal is achieved. In practical application, the complete package publishing process should include: the method comprises the steps of application packaging, system version full package packaging, system version difference package packaging, version release, system version management and the like. When the system version differential package is packaged, an application program matched with the new version system needs to be added into the system upgrade package.
Fig. 1 is a schematic flow chart of a method for generating a system upgrade package according to this embodiment. The method for generating the system upgrade package may be executed by a server or any device for packaging the upgrade package of the system, and referring to fig. 1, the flow of the method for generating the system upgrade package includes:
step 101: and acquiring an upgrade package for upgrading the target system as an original upgrade package.
The target system is any system to be packaged into a system upgrade package, and may be a system to be upgraded or any system in a system library. The original upgrade package comprises a file for upgrading the target system, the system service platform upgrades the target system and issues the original upgrade package, and the mobile terminal can obtain the original upgrade package and upgrade the target system, but cannot upgrade the application programs in the mobile terminal at the same time.
Step 102: determining an application program applicable to the target system according to the first incidence relation to serve as a target application program; the first association relationship is used for representing the corresponding relationship between different systems and application programs applicable to the different systems.
There is at least one application applicable to the system, and at least one version for each application, for different systems or different versions of the system. Thus, the first association relationship may be employed to represent applications applicable to different systems (different systems or different versions of systems). The application program suitable for any system can be automatically determined through the first incidence relation, and then the program upgrading package suitable for the application program of any system and the original upgrading package of any system are packaged to obtain the system upgrading package of any system. Therefore, the automatic searching of the program upgrading package is realized through the first incidence relation, the automatic packaging of the original upgrading package and the program upgrading package of the system can be automatically realized, the packaging automation is realized, and the labor cost is saved.
The first association relationship may be manually configured through the visual interactive interface, and specifically, the content of the first association relationship may be modified through the visual interactive interface.
Step 103: and packaging to generate a system upgrade package according to the original upgrade package and the program upgrade package of the target application program, so as to upgrade the target application program when the target system is upgraded by the system upgrade package.
In the process of generating the system upgrade package by packaging, when the original upgrade package does not have the installation package of the target application program, the server adds the program upgrade package of the target application program to a path of the original upgrade package for placing the program upgrade package, or when the original upgrade package already has the installation package of the target application program, replaces the installation package of the target application program in the original upgrade package. When the target system of the mobile terminal is upgraded through the system upgrade package, the program upgrade package content in the system upgrade package can be called, and the target application program in the original system is upgraded.
The embodiment of the invention provides a method for generating a system upgrade package, which comprises the steps of determining an application program suitable for a target system as a target application program according to a first incidence relation; and packaging the original upgrade package and the program upgrade package of the target application program to generate a system upgrade package so as to upgrade the target application program when the target system is upgraded by the system upgrade package. Through the established first incidence relation, the matched program upgrading package can be quickly, accurately and automatically obtained when the system upgrading package is packaged, the program upgrading package does not need to be checked and added manually one by one, the automation of the packaging process is realized, the generation flow of the system upgrading package is simplified, and the time and the labor cost for manually replacing the program upgrading package are saved.
On the basis of the above embodiment, the generating a system upgrade package by packaging according to the original upgrade package and the program upgrade package of the target application program includes:
for any target application program, acquiring a program upgrade package with the update time closest to the current time point from at least one program upgrade package of any target application program as a latest upgrade package;
and packaging and generating a system upgrade package according to the original upgrade package and the latest upgrade package obtained by each target application program.
When the program upgrade package of each version of the application program is created, the server records the update time point of each program upgrade package, and at least one program upgrade package version of the application program exists in a system of each version, namely the system of each version corresponds to at least one update time point of the application program; and selecting a program upgrading packet closest to the current time point from at least one updating time point of the application program corresponding to the version system, and packaging the program upgrading packet as a latest upgrading packet and an original upgrading packet of the target system.
For example, the version number of a target system on one terminal device of the internet of vehicles is "1.1.0", and a system service platform prepares to release a new version system version number for the target system, which is "1.1.1"; an application program "XX software" corresponding to a new version system "1.1.1" has two versions, the version numbers are "3.2.2" and "3.2.3", respectively, and the update time point of the "XX software" with the version number of "3.2.2" is "2020.10.01", and the update time point of the "XX software" with the version number of "3.2.3" is "2020.10.09", that is, when a system upgrade package is packaged, the program upgrade package of the "XX software" with the version number of "3.2.3" is selected as the latest upgrade package.
In the embodiment, the program upgrade package with the update time point closest to the current time point is selected and packaged with the original upgrade package to generate the system upgrade package, so that the program in the system upgrade package is always the latest version corresponding to the version system, and the application program corresponding to the target system is upgraded to the latest version when the target system is upgraded, thereby saving the time for upgrading the system and the program of the mobile terminal and providing better upgrade experience for a user.
On the basis of the foregoing embodiment, after generating a system upgrade package by packaging according to the original upgrade package and the program upgrade package of the target application program, the method further includes:
generating a second incidence relation; and the second incidence relation is used for representing a system upgrading package and a corresponding relation between an original upgrading package and a program upgrading package packaged in the system upgrading package.
The system upgrade package formed by packaging comprises an original upgrade package and a program upgrade package determined by the first incidence relation, namely, each system upgrade package has a corresponding relation with the original upgrade package and the program upgrade package in the system upgrade package.
Furthermore, in the system upgrading process, the server records upgrading record information in the system upgrading process, and the system version can be traced through the system upgrading record information; likewise, the server records attribute information of the program upgrade package of the program. And generating a second incidence relation through the information of the system upgrade package, the information of the original upgrade package and the attribute information of the program upgrade package.
When the target system needs to be maintained, the original upgrade package information and the program upgrade package information contained in the system can be confirmed through the second incidence relation, so that the original upgrade package and the program upgrade package are obtained, the system is upgraded again after the system upgrade package is generated through repacking, and the maintenance process of the system is completed.
In this embodiment, through the generated second association relationship, each system upgrade package and the corresponding relationship between the original upgrade package and the program upgrade package packaged in the system upgrade package can be clearly indicated, so that the information of the system upgrade process can be quickly traced, and the later system maintenance process is facilitated.
On the basis of the foregoing embodiment, determining, according to the first association relationship, an application applicable to the target system as a target application includes:
acquiring a system name of the target system and a system version of the original upgrade package, determining application attribute information corresponding to the system name and the system version according to the first association relation, using the application attribute information as target application attribute information, and using an application program corresponding to the target application attribute information as an application program applicable to the target system;
wherein, the application attribute information at least comprises one of the following information: the program name of the application program, the program version of the application program, and the update time of the program upgrade package.
For example, the system name of the target system is "XX system", the system version of the original upgrade package is "1.1.1", the program name of the target application program is "XX software", the program version is "3.2.3", and the update time of the program upgrade package is "2020.10.09"; when the first association relationship between the different systems and the application programs applicable to the different systems is established, the system name of the target system and the system version of the original system package may be made to correspond to at least one of the application attribute information of the application programs.
When the system name of the target system and the system version of the original system package are set to correspond to the name of the application program and the updating time of the program upgrade package, namely a first association relationship exists between the 'XX system' and the '1.1.1' and the 'XX software' and the '2020.10.09', the program upgrade package of the target application program associated with the 'XX system' can be obtained through the information of the 'XX software' and the '2020.10.09';
when the system name of the target system and the system version of the original system package are set to correspond to the program name and the program version of the application program, namely, a first association relationship exists between the 'XX system' and the '1.1.1' and the 'XX software' and the '3.2.3', the program upgrade package of the target application program associated with the 'XX system' can be obtained through the information of the 'XX software' and the '3.2.3'.
When some information in the target application attribute information is missing, other information in the target application attribute information may be set to correspond to the system name of the target system and the system version of the original system package, and a program upgrade package corresponding to the target application program may also be obtained.
In this embodiment, the program upgrade package of the target application program corresponding to the system name of the target system and the system version of the original system package is obtained through the target application attribute information, different first association relationships can be established according to different contents of the application attribute information, and the method and the device have higher flexibility and can improve the accuracy of the corresponding relationship between the target system and the program upgrade package.
On the basis of the foregoing embodiment, after generating a system upgrade package by packaging according to the original upgrade package and the program upgrade package of the target application program, the method further includes:
and adding the system upgrading package into a preset version library, and issuing the system upgrading package through a cloud.
The version library is used for storing system upgrade packages of all versions. After the new system upgrade package is packaged, recording the system upgrade package information and generating a second incidence relation, and synchronizing the system upgrade package into the version library; and when receiving the information of the system upgrading package, acquiring the system upgrading package from the version library and issuing the system upgrading package through the cloud.
The method for acquiring the system upgrade package by the mobile terminal is not particularly limited in this embodiment, and the system upgrade package may be acquired through a cloud and may also be acquired through a wired version library. In this embodiment, for example, the FOTA may be used to issue the system upgrade package, and the system upgrade package is issued through the cloud to provide a system upgrade service for the terminal device having the internet connection function, and the terminal device detects the version and then downloads the system upgrade package for installation, so as to achieve the purpose of iteratively updating the function of the terminal device.
In the embodiment, the system upgrading package is added to the version library, and is issued through the cloud, so that the mobile terminal can acquire the system upgrading package through the internet anytime and anywhere to upgrade the system and the program of the mobile terminal, the upgrading process is simplified, and the user upgrading experience is improved.
On the basis of the foregoing embodiment, before determining, according to the first association relationship, an application applicable to the target system as a target application, the method further includes:
and acquiring the corresponding relation between different systems configured through the interactive interface and application programs suitable for the different systems as the first incidence relation.
The information of different systems and the information of application programs suitable for the different systems can be acquired by the server, and the first association relationship can be manually configured through a visual interactive interface and displayed through the interactive interface, so that personnel can quickly know the corresponding relationship between the different systems and the application programs through the interactive interface; specifically, the person may also modify the content of the first association relationship through the visual interactive interface according to the need of the person.
In this embodiment, the first association relationship is configured through the interactive interface, so that a person can quickly know the correspondence between the system and the program through the interactive interface, and meanwhile, the requirement for modifying the content of the first association relationship can be met, and the configuration freedom is higher.
On the basis of the above embodiment, the method for generating a system upgrade package further includes:
if an upgrading request is received, determining the system name and the current system version of the system to be upgraded according to the upgrading request;
judging whether a system upgrading package for upgrading the system to be upgraded exists in a preset version library or not according to the system name and the current system version of the system to be upgraded, and if so, sending the system upgrading package for upgrading the system to be upgraded in the version library to a requester of the upgrading request;
the version library is used for providing a system upgrading package for upgrading the application program installed in the system when the system is upgraded.
Further comprising: if it is determined that the system upgrade package for upgrading the system to be upgraded does not exist in the preset version library, the system to be upgraded is used as the target system to obtain the system upgrade package of the system to be upgraded (for example, by performing the above step 101 and step 103).
In the embodiment, the system name and the current system version of the system to be upgraded of the mobile terminal are identified, the upgrade request of a requester is judged, and if the system upgrade package exists, the system upgrade package is directly sent to the requester; if no system upgrade package exists, the system upgrade package is generated and then sent to the requester, so that the upgrade requirements of different users can be met, and the upgrade experience of the users is improved.
Further, a system upgrade package generation method provided by the embodiment of the present invention is described by taking a system FOTA upgrade of a terminal device in an internet of vehicles as an example. Fig. 2 is a schematic diagram illustrating a method for generating a system upgrade package in a functional module manner according to another embodiment of the present invention, where the method includes an application software package processor, a system management platform, a system package processor, and a version library, where:
the application software packaging processor is used for packaging the upgrade files of the application software into an application software installation package (namely a program upgrade package) and recording the attribute information of the application software installation package;
the system management platform comprises an application software management unit and a system version management unit; the system version management unit is used for recording system version information such as a system version number, a system version name and the like, storing an application-system association relationship (namely a first association relationship) between the application software and a target system, and managing flow control of a system packaging process.
The system packaging processor is used for automatically searching an application software upgrading package suitable for a target system according to the incidence relation between the application and the system, putting the application software upgrading package into a corresponding path of a system version to be packaged (namely an original system), and packaging to generate a system upgrading package; and the system version management unit is also used for transmitting the version information of the system upgrade package to the system version management unit and finally synchronizing the system upgrade package to the version library.
And the version library is used for storing all versions of the system package files.
The specific method comprises the following steps: the system management platform acquires the application installation package and the related information of the application installation package from the application software packaging manager for storage and management; the incidence relation between the system version to be packaged and the application software version can be configured through a Web interface (namely an interactive interface) of a system management platform; after submitting system packaging, the system packaging processor starts to execute a packaging task according to the relation between the application and the system management acquired from the system management platform; after the packaging task is executed, returning the information of the newly generated system upgrade package to the system management platform for recording, and simultaneously sending the generated system upgrade package to the version library; the terminal equipment of the Internet of vehicles can download the system upgrade package of the corresponding version through the FOTA to carry out the upgrade operation.
On the other hand, the embodiment of the invention also provides a device for generating the system upgrade package, which comprises a system management platform module, a system packaging processing module and a version library module. See fig. 3, where:
the system management platform module 301 is configured to obtain a system upgrade package of a target system as an original upgrade package; determining an application program applicable to the target system according to the first incidence relation to serve as a target application program;
a system packaging processing module 302, configured to package and generate a system upgrade package according to the original upgrade package and the program upgrade package of the target application program;
and the version library module 303 is used for storing all versions of the system upgrade package.
The apparatus for generating a system upgrade package provided in this embodiment is suitable for the method for generating a system upgrade package, and is not described herein again.
The embodiment of the invention provides a system upgrade package generation device, which is used for determining an application program suitable for a target system as a target application program according to a first incidence relation; and packaging the original upgrade package and the program upgrade package of the target application program to generate a system upgrade package so as to upgrade the target application program when the target system is upgraded by the system upgrade package. Through the established first incidence relation, the matched program upgrading package can be quickly, accurately and automatically obtained when the system upgrading package is packaged, the program upgrading package does not need to be checked and added manually one by one, the automation of the packaging process is realized, the generation flow of the system upgrading package is simplified, and the time and the labor cost for manually replacing the program upgrading package are saved.
Further, the generating a system upgrade package by packaging according to the original upgrade package and the program upgrade package of the target application program includes:
for any target application program, acquiring a program upgrading package with the updating time closest to the current time point from at least one program upgrading package of the any target application program as a latest upgrading package;
and packaging and generating the system upgrade package according to the original upgrade package and the latest upgrade package obtained by each target application program.
Further, after generating a system upgrade package by packaging according to the original upgrade package and the program upgrade package of the target application program, the method further includes:
generating a second incidence relation; and the second incidence relation is used for representing a system upgrading package and a corresponding relation between an original upgrading package and a program upgrading package packaged in the system upgrading package.
Further, the determining, according to the first association relationship, an application applicable to the target system as a target application includes:
acquiring a system name of the target system and a system version of the original upgrade package, determining application attribute information corresponding to the system name and the system version according to the first association relation, using the application attribute information as target application attribute information, and using an application program corresponding to the target application attribute information as an application program applicable to the target system;
wherein, the application attribute information at least comprises one of the following information: the program name of the application program, the program version of the application program, and the update time of the program upgrade package.
Further, after generating a system upgrade package by packaging according to the original upgrade package and the program upgrade package of the target application program, the method further includes:
and adding the system upgrading package into a preset version library, and issuing the system upgrading package through a cloud.
Further, before determining the application applicable to the target system according to the first association relationship as the target application, the method further includes:
and acquiring the corresponding relation between different systems configured through the interactive interface and application programs suitable for the different systems as the first incidence relation.
Further, the method for generating the system upgrade package further includes:
if an upgrading request is received, determining the system name and the current system version of the system to be upgraded according to the upgrading request;
judging whether a system upgrading package for upgrading the system to be upgraded exists in a preset version library or not according to the system name and the current system version of the system to be upgraded, and if so, sending the system upgrading package for upgrading the system to be upgraded in the version library to a requester of the upgrading request;
the version library is used for providing a system upgrading package for upgrading the application program installed in the system when the system is upgraded.
Fig. 4 illustrates a physical structure diagram of an electronic device, which may include, as shown in fig. 4: a processor (processor)401, a communication Interface (communication Interface)402, a memory (memory)403 and a communication bus 404, wherein the processor 401, the communication Interface 402 and the memory 403 complete communication with each other through the communication bus 404. Processor 401 may call logic instructions in memory 403 to perform the following method: acquiring a system upgrade package of a target system as an original upgrade package; determining an application program applicable to the target system according to the first incidence relation to serve as a target application program; the first incidence relation is used for representing the corresponding relation between different systems and application programs applicable to the different systems; and packaging to generate a system upgrade package according to the original upgrade package and the program upgrade package of the target application program, so as to upgrade the target application program when the target system is upgraded by the system upgrade package.
In addition, the logic instructions in the memory 403 may be implemented in the form of software functional units and stored in a computer readable storage medium when the software functional units are sold or used as independent products. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
Further, an embodiment of the present invention discloses a computer program product, the computer program product comprising a computer program stored on a non-transitory readable storage medium, the computer program comprising program instructions, which when executed by a computer, the computer is capable of performing the method provided by the above-mentioned method embodiments, for example, including: acquiring a system upgrade package of a target system as an original upgrade package; determining an application program applicable to the target system according to the first incidence relation to serve as a target application program; the first incidence relation is used for representing the corresponding relation between different systems and application programs applicable to the different systems; and packaging to generate a system upgrade package according to the original upgrade package and the program upgrade package of the target application program, so as to upgrade the target application program when the target system is upgraded by the system upgrade package.
In another aspect, an embodiment of the present invention further provides a non-transitory readable storage medium, on which a computer program is stored, where the computer program is implemented to perform the transmission method provided in the foregoing embodiments when executed by a processor, for example, the method includes: acquiring a system upgrade package of a target system as an original upgrade package; determining an application program applicable to the target system according to the first incidence relation to serve as a target application program; the first incidence relation is used for representing the corresponding relation between different systems and application programs applicable to the different systems; and packaging to generate a system upgrade package according to the original upgrade package and the program upgrade package of the target application program, so as to upgrade the target application program when the target system is upgraded by the system upgrade package.
The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware. With this understanding, the above technical solutions may be embodied in the form of a software product, which may be stored in a readable storage medium, such as a ROM/RAM, a magnetic disk, an optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method according to the embodiments or some parts of the embodiments.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (4)

1. A system upgrade package generation method is characterized by comprising the following steps:
acquiring an upgrade package for upgrading a target system as an original upgrade package;
determining an application program applicable to the target system according to the first incidence relation to serve as a target application program; the first incidence relation is used for representing the corresponding relation between different systems and application programs applicable to the different systems; determining an application program applicable to the target system according to the first association relationship, wherein the determining the application program applicable to the target system as the target application program comprises the following steps: acquiring a system name of the target system and a system version of the original upgrade package, determining application attribute information corresponding to the system name and the system version according to the first association relation, using the application attribute information as target application attribute information, and using an application program corresponding to the target application attribute information as an application program applicable to the target system; the application attribute information includes at least one of: the method comprises the steps of establishing different first incidence relations according to different contents of application attribute information, wherein the first incidence relations comprise program names of application programs, program versions of the application programs and updating time of program upgrading packages;
according to the original upgrade package and the program upgrade package of the target application program, packaging to generate a system upgrade package, so that when the target system is upgraded through the system upgrade package, the target application program is upgraded;
wherein the content of the first and second substances,
when a first association relation between different systems and application programs suitable for the different systems is established, corresponding at least one of a system name of a target system and a system version of an original system package to application attribute information of the application programs;
when the system name of the target system and the system version of the original system package are set to correspond to the name of the application program and the updating time of the program upgrading package, obtaining the program upgrading package of the target application program associated with the target system through the program name of the application program and the updating time information of the program upgrading package according to the first association relation;
when the system name of a target system and the system version of an original system package are set to correspond to the program name and the program version of an application program, obtaining a program upgrading package of the target application program associated with the target system through the program name of the application program and the program version information of the application program;
when certain information in the target application attribute information is missing, setting other information in the target application attribute information to correspond to the system name of the target system and the system version of the original system package, and obtaining a program upgrading package of a target application program associated with the target system;
the step of generating a system upgrade package by packaging according to the original upgrade package and the program upgrade package of the target application program comprises the following steps:
for any target application program, acquiring a program upgrading package with the updating time closest to the current time point from at least one program upgrading package of the any target application program as a latest upgrading package;
according to the original upgrade package and the latest upgrade package obtained by each target application program, packaging to generate the system upgrade package;
determining an application program applicable to the target system according to the first association relationship, wherein before the application program is used as the target application program, the method further comprises the following steps:
acquiring corresponding relations between different systems configured through an interactive interface and application programs suitable for the different systems as the first incidence relation;
after generating the system upgrade package according to the original upgrade package and the program upgrade package of the target application program by packaging, the method further includes:
generating a second incidence relation through the information of the system upgrade package, the information of the original upgrade package and the attribute information of the program upgrade package; the second incidence relation is used for representing a system upgrading package and a corresponding relation between an original upgrading package and a program upgrading package packaged in the system upgrading package; when the target system needs to be maintained, confirming original upgrade package information and program upgrade package information contained in the system through a second incidence relation so as to obtain an original upgrade package and a program upgrade package, repacking the original upgrade package and the program upgrade package to generate a system upgrade package, and then upgrading the system again to finish the maintenance process of the system;
after generating the system upgrade package according to the original upgrade package and the program upgrade package of the target application program by packaging, the method further includes:
adding the system upgrading package into a preset version library, and issuing the system upgrading package through a cloud end;
if an upgrading request is received, determining the system name and the current system version of the system to be upgraded according to the upgrading request; judging whether a system upgrading package for upgrading the system to be upgraded exists in a preset version library or not according to the system name and the current system version of the system to be upgraded, and if so, sending the system upgrading package for upgrading the system to be upgraded in the version library to a requester of the upgrading request; the version library is used for providing a system upgrading package for upgrading the application program installed in the system when the system is upgraded.
2. An apparatus for generating a system upgrade package, comprising:
the system management platform module is used for acquiring a system upgrade package of a target system as an original upgrade package; determining an application program applicable to the target system according to the first incidence relation to serve as a target application program; the first incidence relation is used for representing the corresponding relation between different systems and application programs applicable to the different systems; determining an application program applicable to the target system according to the first association relationship, wherein the determining the application program applicable to the target system as the target application program comprises the following steps: acquiring a system name of the target system and a system version of the original upgrade package, determining application attribute information corresponding to the system name and the system version according to the first association relation, using the application attribute information as target application attribute information, and using an application program corresponding to the target application attribute information as an application program applicable to the target system; the application attribute information includes at least one of: the method comprises the steps of establishing different first incidence relations according to different contents of application attribute information, wherein the first incidence relations comprise program names of application programs, program versions of the application programs and updating time of program upgrading packages;
the system packaging processing module is used for packaging and generating a system upgrading package according to the original upgrading package and the program upgrading package of the target application program;
the version library module is used for storing system upgrade packages of all versions;
wherein the content of the first and second substances,
when a first association relation between different systems and application programs suitable for the different systems is established, corresponding at least one of a system name of a target system and a system version of an original system package to application attribute information of the application programs;
when the system name of the target system and the system version of the original system package are set to correspond to the name of the application program and the updating time of the program upgrading package, obtaining the program upgrading package of the target application program associated with the target system through the program name of the application program and the updating time information of the program upgrading package according to the first association relation;
when the system name of a target system and the system version of an original system package are set to correspond to the program name and the program version of an application program, obtaining a program upgrading package of the target application program associated with the target system through the program name of the application program and the program version information of the application program;
when certain information in the target application attribute information is missing, setting other information in the target application attribute information to correspond to the system name of the target system and the system version of the original system package, and obtaining a program upgrading package of a target application program associated with the target system;
the step of generating a system upgrade package by packaging according to the original upgrade package and the program upgrade package of the target application program comprises the following steps:
for any target application program, acquiring a program upgrading package with the updating time closest to the current time point from at least one program upgrading package of the any target application program as a latest upgrading package;
according to the original upgrade package and the latest upgrade package obtained by each target application program, packaging to generate the system upgrade package;
determining an application program applicable to the target system according to the first association relationship, wherein before the application program is used as the target application program, the method further comprises the following steps:
acquiring corresponding relations between different systems configured through an interactive interface and application programs suitable for the different systems as the first incidence relation;
after generating the system upgrade package according to the original upgrade package and the program upgrade package of the target application program by packaging, the method further includes:
generating a second incidence relation through the information of the system upgrade package, the information of the original upgrade package and the attribute information of the program upgrade package; the second incidence relation is used for representing a system upgrading package and a corresponding relation between an original upgrading package and a program upgrading package packaged in the system upgrading package; when the target system needs to be maintained, confirming original upgrade package information and program upgrade package information contained in the system through a second incidence relation so as to obtain an original upgrade package and a program upgrade package, repacking the original upgrade package and the program upgrade package to generate a system upgrade package, and then upgrading the system again to finish the maintenance process of the system;
after generating the system upgrade package according to the original upgrade package and the program upgrade package of the target application program by packaging, the method further includes:
adding the system upgrading package into a preset version library, and issuing the system upgrading package through a cloud end;
if an upgrading request is received, determining the system name and the current system version of the system to be upgraded according to the upgrading request; judging whether a system upgrading package for upgrading the system to be upgraded exists in a preset version library or not according to the system name and the current system version of the system to be upgraded, and if so, sending the system upgrading package for upgrading the system to be upgraded in the version library to a requester of the upgrading request; the version library is used for providing a system upgrading package for upgrading the application program installed in the system when the system is upgraded.
3. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the steps of the system upgrade package generation method as claimed in claim 1 when executing the program.
4. A non-transitory readable storage medium having stored thereon a computer program, wherein the computer program, when executed by a processor, implements the steps of a system upgrade package generation method according to claim 1.
CN202011136053.8A 2020-10-22 2020-10-22 System upgrade package generation method and device, electronic equipment and storage medium Active CN112015454B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011136053.8A CN112015454B (en) 2020-10-22 2020-10-22 System upgrade package generation method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011136053.8A CN112015454B (en) 2020-10-22 2020-10-22 System upgrade package generation method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN112015454A CN112015454A (en) 2020-12-01
CN112015454B true CN112015454B (en) 2021-10-08

Family

ID=73528280

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011136053.8A Active CN112015454B (en) 2020-10-22 2020-10-22 System upgrade package generation method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112015454B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114036074A (en) * 2022-01-07 2022-02-11 荣耀终端有限公司 Test method and test device for terminal equipment
CN116009912B (en) * 2022-12-26 2023-08-18 郑州云智信安安全技术有限公司 Construction method for automatically generating upgrade package aiming at private network environment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104216719A (en) * 2013-05-30 2014-12-17 深圳创维无线技术有限公司 Method and device for updating android system
CN106484448A (en) * 2015-08-28 2017-03-08 青岛海信移动通信技术股份有限公司 A kind of method for upgrading software and device
CN110659041A (en) * 2019-08-22 2020-01-07 深圳市星汉智能科技有限公司 Application upgrading method and system based on Android platform

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103294514A (en) * 2013-06-26 2013-09-11 深圳Tcl新技术有限公司 System software release integrated method, compiling server and system
CN107479933A (en) * 2017-08-21 2017-12-15 惠州Tcl移动通信有限公司 A kind of application program for mobile terminal upgrade method, storage device and mobile terminal
CN109144519B (en) * 2018-08-23 2022-03-22 广州视源电子科技股份有限公司 Generation method and device of upgrade package, computer equipment and storage medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104216719A (en) * 2013-05-30 2014-12-17 深圳创维无线技术有限公司 Method and device for updating android system
CN106484448A (en) * 2015-08-28 2017-03-08 青岛海信移动通信技术股份有限公司 A kind of method for upgrading software and device
CN110659041A (en) * 2019-08-22 2020-01-07 深圳市星汉智能科技有限公司 Application upgrading method and system based on Android platform

Also Published As

Publication number Publication date
CN112015454A (en) 2020-12-01

Similar Documents

Publication Publication Date Title
CN110324169B (en) Interface management method and device
CN112015454B (en) System upgrade package generation method and device, electronic equipment and storage medium
CN102810066A (en) Terminal adapting method and terminal and server based on terminal characteristic configuration program
CN110716734B (en) Method, device, electronic equipment and medium for upgrading software
CN112788126A (en) Resource downloading method, device, server and storage medium
CN110543324A (en) Plug-in increment updating method and device for application program
CN110365745A (en) Data processing system, method, apparatus, server and computer-readable medium
CN111857772A (en) Method and equipment for remote transmission and dynamic loading of terminal edge application program
CN116257438A (en) Updating method of interface test case and related equipment
CN111683114A (en) Method and device for upgrading equipment program, terminal equipment and storage medium
CN111190625A (en) APP version upgrading method, server, client and computer readable storage medium
CN113220339A (en) Page generation method and device
CN116301951B (en) Micro-service application installation upgrading method and device based on kubernetes
CN116737662A (en) Method, device, electronic equipment and storage medium for processing business data
CN115686665B (en) Plug-in quick access method, device and storage medium
CN114722108A (en) Customer service data processing method and device, electronic equipment and storage medium
CN114385570A (en) Data synchronization method and device, electronic equipment and readable medium
WO2016202047A1 (en) Application recommendation method, apparatus, server, and terminal
CN112835962A (en) Information display method and device, electronic equipment and storage medium
CN111857736A (en) Cloud computing product generation method, device, equipment and storage medium
CN112559124A (en) Model management system and target operation instruction processing method and device
CN112083945A (en) NPM installation package update prompting method and device, electronic equipment and storage medium
CN112242918B (en) VNFD multi-version compatible processing method, device, equipment and storage medium
CN114422967B (en) Short message processing method, device and equipment
CN111625232B (en) Method and device for generating application program installation package, readable medium and electronic equipment

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