CN116931978A - Upgrade operation execution method, device, electronic equipment and computer readable medium - Google Patents

Upgrade operation execution method, device, electronic equipment and computer readable medium Download PDF

Info

Publication number
CN116931978A
CN116931978A CN202210360198.9A CN202210360198A CN116931978A CN 116931978 A CN116931978 A CN 116931978A CN 202210360198 A CN202210360198 A CN 202210360198A CN 116931978 A CN116931978 A CN 116931978A
Authority
CN
China
Prior art keywords
upgrade
package
version number
application
application installation
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.)
Pending
Application number
CN202210360198.9A
Other languages
Chinese (zh)
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.)
TIANJIN COMMUNICATION AND BROADCASTING GROUP CO Ltd
Original Assignee
TIANJIN COMMUNICATION AND BROADCASTING GROUP 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 TIANJIN COMMUNICATION AND BROADCASTING GROUP CO Ltd filed Critical TIANJIN COMMUNICATION AND BROADCASTING GROUP CO Ltd
Priority to CN202210360198.9A priority Critical patent/CN116931978A/en
Publication of CN116931978A publication Critical patent/CN116931978A/en
Pending legal-status Critical Current

Links

Classifications

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

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

Embodiments of the present disclosure disclose an upgrade operation execution method, an apparatus, an electronic device, and a computer-readable medium. One embodiment of the method comprises the following steps: determining the version number of the analog upgrade package obtained by history as a history version number; acquiring a target simulation upgrade package according to the historical version number, wherein the version number of the target simulation upgrade package is higher than the historical version number; decompressing the target simulation upgrade package to obtain target simulation upgrade package information, wherein the target simulation upgrade package information comprises an upgrade configuration file and an application installation package set, and the upgrade configuration file is used for representing the upgrade sequence of the application installation package; and performing upgrading operation by using the upgrading configuration file and the application installation package set. The implementation mode does not need complex compiling, the application upgrading controllability is high, and the user experience is good.

Description

Upgrade operation execution method, device, electronic equipment and computer readable medium
Technical Field
Embodiments of the present disclosure relate to the field of computer technology, and in particular, to an upgrade operation execution method, an apparatus, an electronic device, and a computer readable medium.
Background
The upgrade operation is an operation for performing software upgrade or system upgrade on the terminal equipment. Currently, when performing an upgrade operation, the following methods are generally adopted: and restarting the equipment for a plurality of times by utilizing the compiled upgrade package to install the upgrade package, thereby completing the upgrade operation.
However, when the upgrade operation is performed in the above manner, there are often the following technical problems:
first, the volume of the full upgrade package is large, the transmission is inconvenient, the volume of the incremental upgrade package is relatively small, but the corresponding incremental upgrade package needs to be compiled according to different versions of applications running on the terminal equipment, and the compiling is complex.
Secondly, the equipment is restarted for a plurality of times in the upgrading process to finish operations such as system upgrading, application updating, application optimizing and the like, so that normal use of the terminal equipment in the upgrading process is affected, and user experience is reduced;
third, in the scenario of implementing the service function by multi-application combination, the random application installation sequence may cause that the service function cannot be automatically recovered to be normal after the upgrade.
Disclosure of Invention
The disclosure is in part intended to introduce concepts in a simplified form that are further described below in the detailed description. The disclosure is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used to limit the scope of the claimed subject matter.
Some embodiments of the present disclosure propose an upgrade operation execution method, apparatus, electronic device, and computer-readable medium to solve one or more of the technical problems mentioned in the background section above.
In a first aspect, some embodiments of the present disclosure provide an upgrade operation execution method, the method including: determining the version number of the analog upgrade package obtained by history as a history version number; acquiring a target simulation upgrade package according to the history version number, wherein the version number of the target simulation upgrade package is higher than the history version number; decompressing the target simulation upgrade package to obtain target simulation upgrade package information, wherein the target simulation upgrade package information comprises an upgrade configuration file and an application installation package set, and the upgrade configuration file is used for representing the upgrade sequence of the application installation package; and executing upgrading operation by using the upgrading configuration file and the application installation package set.
In a second aspect, some embodiments of the present disclosure provide an upgrade operation execution apparatus, the apparatus including: a determining unit configured to determine a version number of the analog upgrade package obtained by history as a history version number; an obtaining unit configured to obtain a target simulation upgrade package according to the history version number, wherein the version number of the target simulation upgrade package is higher than the history version number; the decompression unit is configured to decompress the target simulation upgrade package to obtain target simulation upgrade package information, wherein the target simulation upgrade package information comprises an upgrade configuration file and an application installation package set, and the upgrade configuration file is used for representing an upgrade sequence of the application installation package; and the upgrading unit is configured to execute upgrading operation by using the upgrading configuration file and the application installation package set.
In a third aspect, some embodiments of the present disclosure provide an electronic device comprising: one or more processors; a storage device having one or more programs stored thereon, which when executed by one or more processors causes the one or more processors to implement the method described in any of the implementations of the first aspect above.
In a fourth aspect, some embodiments of the present disclosure provide a computer readable medium having a computer program stored thereon, wherein the program, when executed by a processor, implements the method described in any of the implementations of the first aspect above.
The above embodiments of the present disclosure have the following advantageous effects: by the upgrade operation execution method of some embodiments of the present disclosure, the influence of the upgrade process on the normal use of the terminal device can be reduced, and the user experience is improved. Specifically, the related upgrade operation execution method affects the normal use of the terminal device in the upgrade process, and the reason for reducing the user experience is that: the upgrade process requires multiple reboots of the device to complete the operations of system upgrade, application update, application optimization, etc. Based on this, in the upgrade operation execution method of some embodiments of the present disclosure, an application to be upgraded and an upgrade configuration file are packaged and transmitted as an analog system upgrade package to a terminal device, the terminal device unpacks after obtaining the analog system package, and according to the upgrade configuration file, the application version to be upgraded is compared, unloading, installing and waking operations are performed on the application according to the order required by the configuration file, backup and recovery operations are performed on data, and deletion, addition and transfer operations are performed on the file, thereby realizing the upgrade. The simulation system upgrade package composed of the upgrade configuration file, the application installation package set and the like is not required to be compiled, the volume is determined by the number of applications to be upgraded, and the simulation system upgrade package is not limited by the version of the applications running on the terminal equipment. And the application upgrading can be orderly and orderly planned through simulating the upgrading package, the user has no perception on the upgrading of the background application, and the foreground application upgrading process only reflects the short upgrading process of the service application, so that the user experience can be improved, and the integrity of the upgrading process and the controllability of the result can be ensured.
Drawings
The above and other features, advantages, and aspects of embodiments of the present disclosure will become more apparent by reference to the following detailed description when taken in conjunction with the accompanying drawings. The same or similar reference numbers will be used throughout the drawings to refer to the same or like elements. It should be understood that the figures are schematic and that elements and components are not necessarily drawn to scale.
FIG. 1 is a schematic diagram of one application scenario of an upgrade operation execution method of some embodiments of the present disclosure;
FIG. 2 is a flow chart of some embodiments of an upgrade operation execution method according to the present disclosure;
FIG. 3 is a schematic diagram of some embodiments of an upgrade operation performing apparatus of the present disclosure;
fig. 4 is a schematic structural diagram of an electronic device suitable for use in implementing some embodiments of the present disclosure.
Detailed Description
Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete. It should be understood that the drawings and embodiments of the present disclosure are for illustration purposes only and are not intended to limit the scope of the present disclosure.
It should be noted that, for convenience of description, only the portions related to the present invention are shown in the drawings. Embodiments of the present disclosure and features of embodiments may be combined with each other without conflict.
It should be noted that the terms "first," "second," and the like in this disclosure are merely used to distinguish between different devices, modules, or units and are not used to define an order or interdependence of functions performed by the devices, modules, or units.
It should be noted that references to "one", "a plurality" and "a plurality" in this disclosure are intended to be illustrative rather than limiting, and those of ordinary skill in the art will appreciate that "one or more" is intended to be understood as "one or more" unless the context clearly indicates otherwise.
The names of messages or information interacted between the various devices in the embodiments of the present disclosure are for illustrative purposes only and are not intended to limit the scope of such messages or information.
The present disclosure will be described in detail below with reference to the accompanying drawings in conjunction with embodiments.
Fig. 1 is a schematic diagram of an application scenario of an upgrade operation execution method of some embodiments of the present disclosure.
In the application scenario of fig. 1, first, the computing device 101 may determine the version number of the history acquired analog upgrade package 102 as the history version number 103. Then, the computing device 101 may obtain the target analog upgrade package 104 according to the history version number 103, where the version number of the target analog upgrade package 104 is higher than the history version number 103. Next, the computing device 101 may decompress the target simulation upgrade package 104 to obtain target simulation upgrade package information 105, where the target simulation upgrade package information 105 includes an upgrade configuration file 1051 and an application installation package set 1052, and the upgrade configuration file 1051 is used to characterize an upgrade order of the application installation package. Finally, the computing device 101 may perform upgrade operations using the upgrade configuration file 1051 and the application installation package collection 1052 described above.
The computing device 101 may be hardware or software. When the computing device is hardware, the computing device may be implemented as a distributed cluster formed by a plurality of servers or terminal devices, or may be implemented as a single server or a single terminal device. When the computing device is embodied as software, it may be installed in the hardware devices listed above. It may be implemented as a plurality of software or software modules, for example, for providing distributed services, or as a single software or software module. The present invention is not particularly limited herein.
It should be understood that the number of computing devices in fig. 1 is merely illustrative. There may be any number of computing devices, as desired for an implementation.
With continued reference to fig. 2, a flow 200 of some embodiments of an upgrade operation execution method according to the present disclosure is shown. The upgrade operation execution method comprises the following steps:
step 201, determining the version number of the analog upgrade package obtained by history as a history version number.
In some embodiments, an execution body of the upgrade operation execution method (such as the computing device 101 shown in fig. 1) may determine a version number of the historically acquired analog upgrade package as a history version number. The analog upgrade package obtained by the history may be a version number of the analog upgrade package obtained when the execution body last upgrades. The execution body can record the version number of the analog upgrade package used at the time after the analog upgrade package is upgraded each time, thereby being convenient for being used as a history version number in next upgrade.
Step 202, obtaining a target simulation upgrade package according to the history version number.
In some embodiments, the version number of the target analog upgrade package may be higher than the history version number. The executing body obtains the target simulation upgrade package according to the history version number, and the method may include the following steps:
and the first step is to send a target simulation upgrade package acquisition request to the management terminal. The target analog upgrade package acquisition request may include the history version number.
Therefore, the latest target simulation upgrade package can be obtained according to the history version number.
And step two, receiving the target simulation upgrade package sent by the management terminal.
In some optional implementations of some embodiments, the target simulation upgrade package may be determined by:
first, determining the analog upgrade package with the highest version number in each analog upgrade package as a candidate analog upgrade package.
And a second step of determining whether the version number of the candidate analog upgrade package is higher than the history version number included in the target analog upgrade package acquisition request in response to receiving the target analog upgrade package acquisition request.
And a third step of determining the candidate simulation upgrade package as a target simulation upgrade package in response to determining that the version number of the candidate simulation upgrade package is higher than the history version number included in the target simulation upgrade package acquisition request.
Therefore, the historical version number can be used as a reference to obtain the latest simulation upgrade package.
Alternatively, each of the above-described respective analog upgrade packages may be generated by:
first, an application installation package set is obtained. The application installation package in the obtained application installation package set may be the latest version of the application installation package. The application installation package may be a full-volume installation package.
And secondly, generating an upgrade configuration file according to the application installation package set.
The preset installation sequence information of each application installation package can be used as an upgrade configuration file.
And thirdly, carrying out package processing on the upgrade configuration file and the application installation package set to obtain the simulation upgrade package. Wherein, the packet processing may be compression.
Optionally, the target simulation upgrade package is sent by way of breakpoint continuous transmission.
And 203, decompressing the target simulation upgrade package to obtain target simulation upgrade package information.
In some embodiments, the execution body may decompress the target analog upgrade package to obtain target analog upgrade package information. The target simulation upgrade package information may include an upgrade configuration file and an application installation package set. The upgrade configuration file may characterize an upgrade order of the application installation package.
Step 204, performing an upgrade operation by using the upgrade configuration file and the application installation package set.
In some embodiments, the executing body performs the upgrade operation using the upgrade configuration file and the application installation package set, and may include the steps of:
first, installing each application installation package in the application installation package set according to the upgrading sequence of the application installation packages represented by the upgrading configuration file.
Therefore, the application installation packages in the application installation package set can be installed in sequence, and the phenomenon that the service function cannot be automatically recovered to be normal after upgrading due to the random application installation sequence under the scene that the service function is realized by the multi-application combination is avoided.
And a second step of executing a restarting operation in response to determining that each application installation package in the application installation package set is installed.
In some optional implementations of some embodiments, the target simulation upgrade package information further includes at least one of: uninstall application operation set, install and upgrade application operation set, data update operation set, file update operation set, application wake operation set. The executing body installs each application installation package in the application installation package set according to the upgrading sequence of the application installation package represented by the upgrading configuration file, and the method may include the following steps:
first, unloading the historical application corresponding to the application installation package by using an unloading application operation corresponding to the application installation package in the unloading application operation set. The historical application corresponding to the application installation package may be an application whose installation package version is lower than that of the application installation package.
And secondly, executing the installation and upgrading application operation corresponding to the application installation package in the installation and upgrading application operation set.
And thirdly, executing new adding, deleting or changing operations on the data of the historical application according to the data updating operation corresponding to the application installation package in the data updating operation set. Wherein, the correspondence between the identifier of each application installation package and the data updating operation can be recorded in advance, thereby, the data updating operation corresponding to the application installation package in the data updating operation set can be determined by utilizing the identifier of the installation package. The data update operation may be to add, delete or change data.
And step four, executing new adding, deleting or moving operations on the files of the historical application according to the file updating operation corresponding to the application installation package in the file updating operation set. Wherein, the corresponding relation between the identifier of each application installation package and the file updating operation can be recorded in advance, thereby determining the file operation corresponding to the application installation package in the file operation set by using the identifier of the installation package. The file update operation may be to add, delete or move a file.
And fifthly, executing application awakening operation corresponding to the application installation package in the application awakening operation set. Wherein, the corresponding relation between the identification of each application installation package and the application wake-up operation can be recorded in advance. Thus, the application wake operation corresponding to the application installation package in the application wake operation set can be determined by using the identification of the installation package.
In the above steps, the upgrade configuration file and the application installation package set are used to execute the upgrade operation, which is an invention point of the embodiment of the disclosure, so as to solve the third technical problem mentioned in the background art, in the scenario of implementing the service function by multi-application combination, the random application installation sequence may cause that the service function cannot be automatically recovered to be normal after the upgrade. If the technical problems are solved, the service function can still be kept normal after upgrading. To achieve this effect, the present disclosure introduces a simulation system upgrade package, and an upgrade configuration file included in the simulation system upgrade package may characterize an upgrade order of each application installation package. The terminal equipment unpacks after obtaining the simulation system package, compares the application version to be upgraded according to the upgrade configuration file, performs unloading, installation and awakening operations on the application according to the sequence required by the configuration file, performs backup and recovery operations on data, performs deletion, addition and transfer operations on the file, and finally performs restarting operation on the system. Therefore, the service function can be ensured to be still normal after upgrading.
The above embodiments of the present disclosure have the following advantageous effects: by the upgrade operation execution method of some embodiments of the present disclosure, the influence of the upgrade process on the normal use of the terminal device can be reduced, and the user experience is improved. Specifically, the related upgrade operation execution method affects the normal use of the terminal device in the upgrade process, and the reason for reducing the user experience is that: the upgrade process requires multiple reboots of the device to complete the operations of system upgrade, application update, application optimization, etc. Based on this, in the upgrade operation execution method of some embodiments of the present disclosure, an application to be upgraded and an upgrade configuration file are packaged and transmitted as an analog system upgrade package to a terminal device, the terminal device unpacks after obtaining the analog system package, and according to the upgrade configuration file, the application version to be upgraded is compared, unloading, installing and waking operations are performed on the application according to the order required by the configuration file, backup and recovery operations are performed on data, and deletion, addition and transfer operations are performed on the file, thereby realizing the upgrade. The simulation system upgrade package composed of the upgrade configuration file, the application installation package set and the like is not required to be compiled, the volume is determined by the number of applications to be upgraded, and the simulation system upgrade package is not limited by the version of the applications running on the terminal equipment. And the application upgrading can be orderly and orderly planned through simulating the upgrading package, the user has no perception on the upgrading of the background application, and the foreground application upgrading process only reflects the short upgrading process of the service application, so that the user experience can be improved, and the integrity of the upgrading process and the controllability of the result can be ensured.
With further reference to fig. 3, as an implementation of the method illustrated in the above figures, the present disclosure provides some embodiments of an upgrade operation execution apparatus, which correspond to those method embodiments illustrated in fig. 2, and which are particularly applicable in a variety of electronic devices.
As shown in fig. 3, the upgrade operation execution apparatus 300 of some embodiments includes: a determination unit 301, an acquisition unit 302, a decompression unit 303, and an upgrade unit 304. Wherein, the determining unit 301 is configured to determine the version number of the analog upgrade package obtained by history as a history version number; an obtaining unit 302 configured to obtain a target simulation upgrade package according to the history version number, where the version number of the target simulation upgrade package is higher than the history version number; a decompression unit 303, configured to decompress the target simulation upgrade package to obtain target simulation upgrade package information, where the target simulation upgrade package information includes an upgrade configuration file and an application installation package set, and the upgrade configuration file is used to characterize an upgrade sequence of the application installation package; and an upgrade unit 304 configured to perform an upgrade operation using the upgrade configuration file and the application installation package set.
It will be appreciated that the elements described in the apparatus 300 correspond to the various steps in the method described with reference to fig. 2. Thus, the operations, features and resulting benefits described above with respect to the method are equally applicable to the apparatus 300 and the units contained therein, and are not described in detail herein.
Referring now to fig. 4, a schematic diagram of an electronic device 400 suitable for use in implementing some embodiments of the present disclosure is shown. The electronic device shown in fig. 4 is merely an example and should not impose any limitations on the functionality and scope of use of embodiments of the present disclosure.
As shown in fig. 4, the electronic device 400 may include a processing means (e.g., a central processing unit, a graphics processor, etc.) 401, which may perform various suitable actions and processes according to a program stored in a Read Only Memory (ROM) 402 or a program loaded from a storage means 408 into a Random Access Memory (RAM) 403. In the RAM 403, various programs and data necessary for the operation of the electronic device 400 are also stored. The processing device 401, the ROM 402, and the RAM 403 are connected to each other by a bus 404. An input/output (I/O) interface 405 is also connected to bus 404.
In general, the following devices may be connected to the I/O interface 405: input devices 406 including, for example, a touch screen, touchpad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; an output device 407 including, for example, a Liquid Crystal Display (LCD), a speaker, a vibrator, and the like; and a communication device 409. The communication means 409 may allow the electronic device 400 to communicate with other devices wirelessly or by wire to exchange data. While fig. 4 shows an electronic device 400 having various means, it is to be understood that not all of the illustrated means are required to be implemented or provided. More or fewer devices may be implemented or provided instead. Each block shown in fig. 4 may represent one device or a plurality of devices as needed.
In particular, according to some embodiments of the present disclosure, the processes described above with reference to flowcharts may be implemented as computer software programs. For example, some embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method shown in the flow chart. In such embodiments, the computer program may be downloaded and installed from a network via communications device 409, or from storage 408, or from ROM 402. The above-described functions defined in the methods of some embodiments of the present disclosure are performed when the computer program is executed by the processing device 401.
It should be noted that, the computer readable medium described in some embodiments of the present disclosure may be a computer readable signal medium or a computer readable storage medium, or any combination of the two. The computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples of the computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In some embodiments of the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In some embodiments of the present disclosure, however, the computer-readable signal medium may comprise a data signal propagated in baseband or as part of a carrier wave, with the computer-readable program code embodied therein. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, fiber optic cables, RF (radio frequency), and the like, or any suitable combination of the foregoing.
In some implementations, the clients, servers may communicate using any currently known or future developed network protocol, such as HTTP (HyperText Transfer Protocol ), and may be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), the internet (e.g., the internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed networks.
The computer readable medium may be contained in the electronic device; or may exist alone without being incorporated into the electronic device. The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to: determining the version number of the analog upgrade package obtained by history as a history version number; acquiring a target simulation upgrade package according to the history version number, wherein the version number of the target simulation upgrade package is higher than the history version number; decompressing the target simulation upgrade package to obtain target simulation upgrade package information, wherein the target simulation upgrade package information comprises an upgrade configuration file and an application installation package set, and the upgrade configuration file is used for representing the upgrade sequence of the application installation package; and executing upgrading operation by using the upgrading configuration file and the application installation package set.
Computer program code for carrying out operations for some embodiments of the present disclosure may be written in one or more programming languages, including an object oriented programming language such as Java, smalltalk, C ++ and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computer (for example, through the Internet using an Internet service provider).
The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in some embodiments of the present disclosure may be implemented by means of software, or may be implemented by means of hardware. The described units may also be provided in a processor, for example, described as: a processor includes a determination unit, an acquisition unit, a decompression unit, and an upgrade unit. The names of these units do not constitute a limitation on the unit itself in some cases, and for example, the determination unit may also be described as "a unit that determines the version number of the analog upgrade package obtained by history as a history version number".
The functions described above herein may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: a Field Programmable Gate Array (FPGA), an Application Specific Integrated Circuit (ASIC), an Application Specific Standard Product (ASSP), a system on a chip (SOC), a Complex Programmable Logic Device (CPLD), and the like.

Claims (10)

1. An upgrade operation execution method, comprising:
determining the version number of the analog upgrade package obtained by history as a history version number;
acquiring a target simulation upgrade package according to the history version number, wherein the version number of the target simulation upgrade package is higher than the history version number;
decompressing the target simulation upgrade package to obtain target simulation upgrade package information, wherein the target simulation upgrade package information comprises an upgrade configuration file and an application installation package set, and the upgrade configuration file is used for representing the upgrade sequence of the application installation package;
and executing upgrading operation by utilizing the upgrading configuration file and the application installation package set.
2. The method of claim 1, wherein the performing an upgrade operation with the upgrade configuration file and the set of application installation packages comprises
Installing each application installation package in the application installation package set according to the upgrading sequence of the application installation package represented by the upgrading configuration file;
and executing a restarting operation in response to determining that each application installation package in the application installation package set is completely installed.
3. The method of claim 2, wherein the target simulation upgrade package information further comprises at least one of: unloading an application operation set, installing and upgrading the application operation set, data updating operation set, file updating operation set and application awakening operation set; and
the step of installing each application installation package in the application installation package set according to the upgrading sequence of the application installation package characterized by the upgrading configuration file comprises the following steps:
unloading historical applications corresponding to the application installation package by utilizing unloading application operation corresponding to the application installation package in the unloading application operation set;
executing the installation and upgrading application operation corresponding to the application installation package in the installation and upgrading application operation set;
according to the data updating operation corresponding to the application installation package in the data updating operation set, performing the operation of adding, deleting or changing the data of the historical application;
executing new adding, deleting or moving operations on the files of the historical application according to the file updating operation corresponding to the application installation package in the file updating operation set;
and executing application awakening operation corresponding to the application installation package in the application awakening operation set.
4. The method of claim 1, wherein the obtaining the target simulation upgrade package according to the history version number comprises:
sending a target simulation upgrade package acquisition request to a management terminal, wherein the target simulation upgrade package acquisition request comprises the history version number;
and receiving a target simulation upgrade package sent by the management terminal.
5. The method of claim 4, wherein the target simulation upgrade package is determined by:
determining the simulation upgrade package with the highest version number in each simulation upgrade package as a candidate simulation upgrade package;
in response to receiving the target simulation upgrade package acquisition request, determining whether the version number of the candidate simulation upgrade package is higher than a historical version number included in the target simulation upgrade package acquisition request;
in response to determining that the version number of the candidate simulated upgrade package is higher than the historical version number included in the target simulated upgrade package acquisition request, the candidate simulated upgrade package is determined to be a target simulated upgrade package.
6. The method of claim 1, wherein each of the respective analog upgrade packages is generated by:
acquiring an application installation package set;
generating an upgrade configuration file according to the application installation package set;
and carrying out package processing on the upgrade configuration file and the application installation package set to obtain the simulation upgrade package.
7. The method of claim 4, wherein the target simulation upgrade package is transmitted by way of a breakpoint resume.
8. An upgrade operation execution apparatus, comprising:
a determining unit configured to determine a version number of the analog upgrade package obtained by history as a history version number;
an obtaining unit configured to obtain a target simulation upgrade package according to the history version number, wherein the version number of the target simulation upgrade package is higher than the history version number;
the decompression unit is configured to decompress the target simulation upgrade package to obtain target simulation upgrade package information, wherein the target simulation upgrade package information comprises an upgrade configuration file and an application installation package set, and the upgrade configuration file is used for representing an upgrade sequence of the application installation package;
and the upgrading unit is configured to execute upgrading operation by utilizing the upgrading configuration file and the application installation package set.
9. An electronic device, comprising:
one or more processors;
a storage device having one or more programs stored thereon,
when executed by the one or more processors, causes the one or more processors to implement the method of any of claims 1-7.
10. A computer readable medium having stored thereon a computer program, wherein the program when executed by a processor implements the method of any of claims 1-7.
CN202210360198.9A 2022-04-07 2022-04-07 Upgrade operation execution method, device, electronic equipment and computer readable medium Pending CN116931978A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210360198.9A CN116931978A (en) 2022-04-07 2022-04-07 Upgrade operation execution method, device, electronic equipment and computer readable medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210360198.9A CN116931978A (en) 2022-04-07 2022-04-07 Upgrade operation execution method, device, electronic equipment and computer readable medium

Publications (1)

Publication Number Publication Date
CN116931978A true CN116931978A (en) 2023-10-24

Family

ID=88386572

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210360198.9A Pending CN116931978A (en) 2022-04-07 2022-04-07 Upgrade operation execution method, device, electronic equipment and computer readable medium

Country Status (1)

Country Link
CN (1) CN116931978A (en)

Similar Documents

Publication Publication Date Title
CN107291481B (en) Component updating method, device and system
CN111367516B (en) Application interface generation method and device and electronic equipment
CN110960855B (en) Communication protocol code updating method and device, electronic equipment and storage medium
CN112965761B (en) Data processing method, system, electronic equipment and storage medium
CN113900721A (en) Operating system starting method and device and electronic equipment
CN111338944B (en) Remote Procedure Call (RPC) interface testing method, device, medium and equipment
CN111309304B (en) Method, device, medium and electronic equipment for generating IDL file
CN114035879A (en) Page theme color changing method and device, electronic equipment and computer readable medium
CN110990038B (en) Method, apparatus, electronic device and medium for applying local update
CN109918381B (en) Method and apparatus for storing data
CN111240766A (en) Application starting method and device, electronic equipment and computer readable storage medium
CN111309366B (en) Method, device, medium and electronic equipment for managing registration core
CN115167874B (en) Automatic driving software mirror image deployment method and device, electronic equipment and readable medium
CN116679930A (en) Front-end project construction method and device, electronic equipment and storage medium
CN111198853B (en) Data processing method, device, electronic equipment and computer readable storage medium
CN111625291A (en) Automatic iteration method and device of data processing model and electronic equipment
CN112084254A (en) Data synchronization method and system
CN116069366A (en) Client application program updating method and device, storage medium and electronic equipment
CN113391882B (en) Virtual machine memory management method and device, storage medium and electronic equipment
CN111625232B (en) Method and device for generating application program installation package, readable medium and electronic equipment
CN112817701B (en) Timer processing method, device, electronic equipment and computer readable medium
CN116931978A (en) Upgrade operation execution method, device, electronic equipment and computer readable medium
CN113741951B (en) Local packing method and device
CN112422648B (en) Data synchronization method and system
CN113032046A (en) Method, device and equipment for repairing so file 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