[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN112947976A - Operating system upgrading method, computing device and storage medium - Google Patents

Operating system upgrading method, computing device and storage medium Download PDF

Info

Publication number
CN112947976A
CN112947976A CN202110453273.1A CN202110453273A CN112947976A CN 112947976 A CN112947976 A CN 112947976A CN 202110453273 A CN202110453273 A CN 202110453273A CN 112947976 A CN112947976 A CN 112947976A
Authority
CN
China
Prior art keywords
operating system
installation package
client
server
storage branch
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.)
Granted
Application number
CN202110453273.1A
Other languages
Chinese (zh)
Other versions
CN112947976B (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.)
Uniontech Software Technology Co Ltd
Original Assignee
Uniontech Software 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 Uniontech Software Technology Co Ltd filed Critical Uniontech Software Technology Co Ltd
Priority to CN202110453273.1A priority Critical patent/CN112947976B/en
Publication of CN112947976A publication Critical patent/CN112947976A/en
Application granted granted Critical
Publication of CN112947976B publication Critical patent/CN112947976B/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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/40Transformation of program code
    • G06F8/41Compilation
    • 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/70Software maintenance or management
    • G06F8/71Version control; Configuration management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • G06F9/4451User profiles; Roaming

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses an operating system upgrading method, wherein the operating system comprises a plurality of system applications, a server comprises a software warehouse, and the method comprises the following steps: acquiring a plurality of installation packages corresponding to a plurality of system applications to be upgraded from a software warehouse; compiling the obtained installation packages, and combining a plurality of compiled installation packages into an operating system installation package; creating a new storage branch, and storing the operating system installation package in the storage branch; receiving a system upgrading request of a client, determining a storage branch selected by the system upgrading request, wherein a server comprises a plurality of storage branches, and each storage branch stores an operating system installation package of one version; and sending the operating system installation package stored in the storage branch selected by the client to the client so that the client can upgrade the operating system according to the operating system installation package. The invention also discloses an operating system upgrading system, a computing device and a computer readable storage medium.

Description

Operating system upgrading method, computing device and storage medium
Technical Field
The present invention relates to the field of operating systems, and in particular, to an operating system upgrading method, a computing device, and a storage medium.
Background
With the development of computer technology, the role of an operating system in a computer is also higher, and people need to use other application programs through the operating system to call hardware resources of the computer to process tasks. Therefore, operating systems are also being developed and updated more frequently.
When an operating system is updated, software packages that have already been installed by the system are typically updated. And acquiring the installation packages from the software warehouse, and installing the updated installation packages one by one. However, when the operating system is updated in this way, if the installation package stored in the software warehouse is a problematic installation package, the software installation package inevitably has problems in the use process after the system is updated.
For this reason, a new operating system upgrade method is required.
Disclosure of Invention
To this end, the present invention provides an operating system upgrade method that seeks to solve, or at least alleviate, the problems identified above.
According to one aspect of the present invention, there is provided an operating system upgrade method, adapted to be executed in a server, the operating system including a plurality of system applications, the server including a software repository and being communicatively connected to one or more clients, the method including the steps of: acquiring a plurality of installation packages corresponding to a plurality of system applications to be upgraded from a software warehouse; compiling the obtained installation packages, and combining a plurality of compiled installation packages into an operating system installation package; creating a new storage branch, and storing the operating system installation package in the storage branch; receiving a system upgrading request of a client, determining a storage branch selected by the system upgrading request, wherein a server comprises a plurality of storage branches, and each storage branch stores an operating system installation package of one version; and sending the operating system installation package stored in the storage branch selected by the client to the client so that the client can upgrade the operating system according to the operating system installation package.
Optionally, in the method according to the present invention, storing the operating system installation package in the storage branch includes: generating an upgrading directory of the system application of the system installation package according to the system application to be upgraded in the operating system installation package; generating a version number of the operating system for the operating system installation package; and generating a summary file of the operating system installation package according to the version number and the upgrade directory so that the client selects a storage branch according to the summary file.
Optionally, in the method according to the present invention, the step of combining the compiled multiple installation packages into an operating system installation package further includes: and acquiring a plurality of configuration files corresponding to a plurality of system applications to be upgraded from a software warehouse, and adding the plurality of configuration files corresponding to the plurality of system applications into the system installation package.
Optionally, in the method according to the present invention, further comprising the step of: and calculating the verification value of the operating system installation package so that the client can judge whether the obtained operating system installation package is complete according to the verification value.
Optionally, in the method according to the present invention, further comprising the step of: and after the installation package is compiled, deleting the temporary data file in the installation package.
According to another aspect of the present invention, an operating system upgrade system is provided, where the system includes a server and a plurality of clients communicatively connected to the server, the operating system includes a plurality of system applications, the server includes a software warehouse, the software warehouse is adapted to store installation packages of the system applications of the operating system, and the server is adapted to obtain, from the software warehouse, a plurality of installation packages corresponding to the plurality of system applications to be upgraded; compiling the obtained installation packages, and combining a plurality of compiled installation packages into an operating system installation package; creating a new storage branch, and storing the operating system installation package in the storage branch; receiving a system upgrading request of a client, determining a storage branch selected by the system upgrading request, wherein a server comprises a plurality of storage branches, and each storage branch stores an operating system installation package of one version; sending the operating system installation package stored in the storage branch selected by the client to the client; the client is suitable for selecting one storage branch to generate a system upgrading request according to a plurality of storage branches of the client and sending the system upgrading request to the server, acquiring an operating system installation package from the server and upgrading the operating system according to the operating system installation package.
Optionally, in the system according to the present invention, the server is further adapted to generate an upgrade directory of the system application of the system installation package according to the system application to be upgraded in the operating system installation package; generating a version number of the operating system for the operating system installation package; generating an abstract file of the operating system installation package according to the version number and the upgrade directory; the client is further suitable for selecting a storage branch corresponding to the system installation package of which the version is to be installed according to the summary file.
Optionally, in the system according to the present invention, the server is further adapted to calculate a verification value of the system installation package; the client is further suitable for judging whether the acquired system installation package is complete or not according to the verification value.
According to another aspect of the present invention, there is provided a computing device comprising: one or more processors; a memory; an image display system; and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs including instructions for performing any of the methods of an operating system upgrade method according to the present invention.
According to a further aspect of the present invention there is provided a computer readable storage medium storing one or more programs, the one or more programs comprising instructions, which when executed by a computing device, cause the computing device to perform any of a method of operating system upgrade according to the present invention.
The operating system upgrading method is suitable for being executed at a server side, and the server side comprises a software warehouse. The installation packages of the system applications to be upgraded in the software warehouse are compiled uniformly and then assembled into the operating system installation package. The operating system installation package is provided for the client, so that the client can install the operating system according to the system installation package, the atomicity of the client in the installation of the operating system is ensured, the installed operating system can be ensured to be wholly and normally used or completely inapplicable, and the condition that one or more systems in the operating system are independently applied and cannot be used is avoided.
Furthermore, the server side of the invention is constructed with a plurality of storage branches, different versions of operating systems are stored in different storage branches, and each group of operating system installation packages obtains a new operating system installation package and stores the new operating system installation package into a new storage branch. The server side also generates summary files for the operating system installation packages of different versions stored in the storage branch, and a user of the client side can select to install operating systems of different versions through the description of the summary files so as to meet different use requirements of the operating systems.
Drawings
To the accomplishment of the foregoing and related ends, certain illustrative aspects are described herein in connection with the following description and the annexed drawings, which are indicative of various ways in which the principles disclosed herein may be practiced, and all aspects and equivalents thereof are intended to be within the scope of the claimed subject matter. The above and other objects, features and advantages of the present disclosure will become more apparent from the following detailed description read in conjunction with the accompanying drawings. Throughout this disclosure, like reference numerals generally refer to like parts or elements.
FIG. 1 illustrates a schematic diagram of an operating system upgrade system 100, according to an exemplary embodiment of the present invention;
FIG. 2 illustrates a block diagram of a computing device 200, according to an exemplary embodiment of the invention; and
FIG. 3 illustrates a flowchart of a method 300 for operating system upgrade, according to an exemplary embodiment of the invention.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary 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 limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art. Like reference numerals generally refer to like parts or elements.
The operating system upgrading method is suitable for being executed in an operating system upgrading system. FIG. 1 shows a schematic diagram of an operating system upgrade system 100 according to an example embodiment of the present invention. As shown in fig. 1, the server 110 is communicatively connected to the clients 121 to 123, and the connection manner between the server and the clients shown in fig. 1 is only exemplary, and the number of clients connected to the client 110 is not limited in the present invention. The server 110 includes a storage module 111 therein. The storage module 111 includes a software repository 112 and an installation package block 113.
The operating system comprises a plurality of system applications, and the invention does not limit the types and the number of the system applications. The software repository 112 stores therein an installation package of system applications of the operating system. The installation package of the system application is written by a developer and stored in a software repository. The installation package stored in the software repository is the installation package of the newly updated system application. The installation package block 113 includes a plurality of storage branches, different versions of operating systems are stored in different storage branches, and each group obtains a new operating system installation package, and all stores the new operating system installation package into a new storage branch.
The server 110 of the os installation system 100 obtains a plurality of installation packages corresponding to a plurality of system applications to be upgraded from the software repository 112, compiles the obtained installation packages, and combines the compiled installation packages into an os installation package. A new storage branch is created in the installation package block 113 and the operating system installation package is stored in the storage branch. The server 110 also receives the system upgrading requests of the clients 111-113, determines the storage branch selected by the system upgrading requests, and sends the operating system installation packages stored in the storage branch selected by the clients 111-113 to the clients 111-113.
The client sides 111-113 are suitable for selecting one storage branch to generate a system upgrading request according to a plurality of storage branches of the client sides and sending the system upgrading request to the server side 110, obtaining an operating system installation package from the server side 110, and upgrading the operating system according to the operating system installation package.
The server 110 and the client 121-123 can be implemented as a computing device. FIG. 2 illustrates a block diagram of a computing device 200, according to an exemplary embodiment of the invention. As shown in FIG. 2, in a basic configuration 202, a computing device 200 typically includes a system memory 206 and one or more processors 204. A memory bus 208 may be used for communication between the processor 204 and the system memory 206.
Depending on the desired configuration, the processor 204 may be any type of processing, including but not limited to: a microprocessor (μ P), a microcontroller (μ C), a Digital Signal Processor (DSP), or any combination thereof. The processor 204 may include one or more levels of cache, such as a level one cache 210 and a level two cache 212, a processor core 214, and registers 216. Example processor cores 214 may include Arithmetic Logic Units (ALUs), Floating Point Units (FPUs), digital signal processing cores (DSP cores), or any combination thereof. The example memory controller 218 may be used with the processor 204, or in some implementations the memory controller 218 may be an internal part of the processor 204.
Depending on the desired configuration, system memory 206 may be any type of memory, including but not limited to: volatile memory (such as RAM), non-volatile memory (such as ROM, flash memory, etc.), or any combination thereof. System memory 206 may include an operating system 220, one or more programs 222, and program data 224. In some embodiments, the program 222 may be arranged to execute the instructions 223 of the method 300 according to the invention on an operating system by one or more processors 204 using the program data 224.
Computing device 200 may also include a storage interface bus 234. The storage interface bus 234 enables communication from the storage devices 232 (e.g., removable storage 236 and non-removable storage 238) to the basic configuration 202 via the bus/interface controller 230. At least a portion of the operating system 220, applications 222, and data 224 may be stored on removable storage 236 and/or non-removable storage 238, and loaded into system memory 206 via storage interface bus 234 and executed by the one or more processors 204 when the computing device 200 is powered on or the applications 222 are to be executed.
Computing device 200 may also include an interface bus 240 that facilitates communication from various interface devices (e.g., output devices 242, peripheral interfaces 244, and communication devices 246) to the basic configuration 202 via the bus/interface controller 230. The example output device 242 includes a graphics processing unit 248 and an audio processing unit 250. They may be configured to facilitate communication with various external devices, such as a display or speakers, via one or more a/V ports 252. Example peripheral interfaces 244 can include a serial interface controller 254 and a parallel interface controller 256, which can be configured to facilitate communications with external devices such as input devices (e.g., keyboard, mouse, pen, voice input device, touch input device) or other peripherals (e.g., printer, scanner, etc.) via one or more I/O ports 258. An example communication device 246 may include a network controller 260, which may be arranged to communicate with one or more other computing devices 262 over a network communication link via one or more communication ports 264.
A network communication link may be one example of a communication medium. Communication media may typically be embodied by computer readable instructions, data structures, program modules, and may include any information delivery media, such as carrier waves or other transport mechanisms, in a modulated data signal. A "modulated data signal" may be a signal that has one or more of its data set or its changes made in such a manner as to encode information in the signal. By way of non-limiting example, communication media may include wired media such as a wired network or private-wired network, and various wireless media such as acoustic, Radio Frequency (RF), microwave, Infrared (IR), or other wireless media. The term computer readable media as used herein may include both storage media and communication media.
In computing device 200 according to the present invention, application 222 comprises a plurality of program instructions that perform operating system upgrade method 300, which may instruct processor 204 to perform some of the steps of operating system upgrade method 300 run in computing device 200 of the present invention, such that various portions of computing device 200 implement an upgrade to an operating system by performing operating system upgrade method 300 of the present invention.
Computing device 200 may be implemented as a server, e.g., file server 240, database 250, a server, an application server, etc., which may be a device such as a Personal Digital Assistant (PDA), a wireless web-browsing device, an application-specific device, or a hybrid device that include any of the above functions. May be implemented as a personal computer including both desktop and notebook computer configurations, and in some embodiments computing device 200 is configured to perform operating system upgrade method 300.
FIG. 3 illustrates a flowchart of a method 300 for operating system upgrade, according to an exemplary embodiment of the invention. The method 300 is suitable for execution in the computing device 200. The method 300 is described below by taking the client 121 and the server 110 as examples. As shown in fig. 3, an operating system upgrade method 300 begins at step S310 by obtaining a plurality of installation packages corresponding to a plurality of system applications to be upgraded from the software repository 113.
When an operating system of client 121 is upgraded, changes are made to the new version of the upgraded operating system as compared to the old version, and the changes are distributed among the various system applications that make up the operating system. The client 121 obtains the plurality of installation packages corresponding to the changed system applications from the software repository 113 in units of system applications for the version update.
Subsequently, step S320 is executed to compile the obtained installation packages, and combine the compiled installation packages into an operating system installation package. The installation package stored in the software repository 113 is an installation package that is not compiled. After compiling the obtained installation package, the server 110 obtains a plurality of configuration files corresponding to a plurality of system applications to be upgraded from the software repository 113. These configuration files are default configuration files of the system application, so that after the operating system is installed, if the system application in the operating system is used for the first time, the client 121 runs the system application using the default configuration files. The server 110 also compiles the installation package and deletes the temporary data file in the installation package, so as to compress the size of the installation package, reduce the volume of the combined installation package of the operating system and reduce the consumption of network transmission resources. And then combining the compiled installation package of the system application and the configuration file thereof into a system installation package.
Subsequently, step S330 is executed, the server 110 creates a new storage branch in the installation package block 113, and stores the os installation package combined in the previous step in the storage branch. When the operating system installation package is stored in the storage block of the server 110, the content addressable file system repository is installed in the storage block to store the operating system installation package, so as to manage the version of the operating system. According to one embodiment of the invention, the server 110 initializes the content addressable file system repository by executing the following instructions:
ostree–repo=/ostree/repo init–mode=archive-z2
the content addressable file system repository may set up a plurality of storage branches, and when the server 110 stores the operating system installation package in the storage branches, an upgrade directory of the system application of the system installation package is first generated according to the system application to be upgraded in the operating system installation package, where the upgrade directory includes a name of the system application to be upgraded and a function point of the system application corresponding to the upgrade when the upgrade operation is performed. A version number for the operating system is then generated for the operating system installation package. The version number of each operating system is different. Then, a digest file of the operating system installation package is generated according to the version number and the upgrade directory, so that the client 121 selects a storage branch according to the digest file. The summary file is a file describing the version of the operating system. According to an embodiment of the present invention, the server 110 executes the following instructions to generate the digest file of the operating system installation package:
ostree summary–repo=/ostree/repo--update
subsequently, the server 110 executes the following instructions to submit the os installation package to the storage branch for storage:
ostree commit–repo=/ostree/repo–branch=os/debian/version-1–skip-if-unchanged–table-output
after the server 110 stores the os installation package in the storage branch of the installation package block 113, the server 110 may access the installation package block 113 and check the digest file of the os installation package in each storage branch. The server 110 accesses the server 110 through the following instructions to view the summary file, and selects an operating system of a certain version to upgrade according to the operating system version number of the summary file and the upgrade directory of the system application:
ostree remote add debian https://debian.example.com/ostree/repo
finally, step S350 is executed to send the os installation package stored in the storage branch selected by the client 121 to the client 121, so that the client 121 upgrades the os according to the os installation package. After the client 121 selects an os installation package of a certain version, the server 110 sends the os installation package selected by the client 121 to the client 121. The client 121 executes the following instructions to obtain and install an operating system installation package:
ostree admin upgrade
when installing the new version of the operating system, the client 121 sets up a storage branch for storing the old version of the operating system in the client 121. If the client 121 accidentally interrupts the upgrade when upgrading the operating system, the client 121 may still select the established storage branch to run using the old version of the operating system.
According to an embodiment of the present invention, after the operating system installation package is assembled, the server 110 further calculates a verification value of the operating system installation package, so that the client determines whether the obtained operating system installation package is complete according to the verification value. The server 110 may calculate the verification value of the os installation package using the sha256 algorithm, and the method of calculating the verification value is not limited in the present invention. After receiving the os installation package, the client also calculates the verification value of the os installation package, and compares the verification value with the verification value calculated by the server 110, and if the two verification values are the same, the os installation package obtained by the client is a complete installation package, and there is no loss in the transmission process.
The operating system upgrading method is suitable for being executed at a server side, and the server side comprises a software warehouse. The installation packages of the system applications to be upgraded in the software warehouse are compiled uniformly and then assembled into the operating system installation package. The operating system installation package is provided for the client, so that the client can install the operating system according to the system installation package, the atomicity of the client in the installation of the operating system is ensured, the installed operating system can be ensured to be wholly and normally used or completely inapplicable, and the condition that one or more systems in the operating system are independently applied and cannot be used is avoided.
Furthermore, the server side of the invention is constructed with a plurality of storage branches, different versions of operating systems are stored in different storage branches, and each group of operating system installation packages obtains a new operating system installation package and stores the new operating system installation package into a new storage branch. The server side also generates summary files for the operating system installation packages of different versions stored in the storage branch, and a user of the client side can select to install operating systems of different versions through the description of the summary files so as to meet different use requirements of the operating systems.
In the description provided herein, numerous specific details are set forth. It is understood, however, that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, various features of the invention are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the disclosure and aiding in the understanding of one or more of the various inventive aspects. However, the disclosed method should not be interpreted as reflecting an intention that: that the invention as claimed requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the detailed description are hereby expressly incorporated into this detailed description, with each claim standing on its own as a separate embodiment of this invention.
Those skilled in the art will appreciate that the modules or units or groups of devices in the examples disclosed herein may be arranged in a device as described in this embodiment, or alternatively may be located in one or more devices different from the devices in this example. The modules in the foregoing examples may be combined into one module or may be further divided into multiple sub-modules.
Those skilled in the art will appreciate that the modules in the device in an embodiment may be adaptively changed and disposed in one or more devices different from the embodiment. Modules or units or groups in embodiments may be combined into one module or unit or group and may furthermore be divided into sub-modules or sub-units or sub-groups. All of the features disclosed in this specification (including any accompanying claims, abstract and drawings), and all of the processes or elements of any method or apparatus so disclosed, may be combined in any combination, except combinations where at least some of such features and/or processes or elements are mutually exclusive. Each feature disclosed in this specification (including any accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
Furthermore, those skilled in the art will appreciate that while some embodiments described herein include some features included in other embodiments, rather than other features, combinations of features of different embodiments are meant to be within the scope of the invention and form different embodiments. For example, in the following claims, any of the claimed embodiments may be used in any combination.
Furthermore, some of the described embodiments are described herein as a method or combination of method elements that can be performed by a processor of a computer system or by other means of performing the described functions. A processor having the necessary instructions for carrying out the method or method elements thus forms a means for carrying out the method or method elements. Further, the elements of the apparatus embodiments described herein are examples of the following apparatus: the apparatus is used to implement the functions performed by the elements for the purpose of carrying out the invention.
The various techniques described herein may be implemented in connection with hardware or software or, alternatively, with a combination of both. Thus, the methods and apparatus of the present invention, or certain aspects or portions thereof, may take the form of program code (i.e., instructions) embodied in tangible media, such as floppy diskettes, CD-ROMs, hard drives, or any other machine-readable storage medium, wherein, when the program is loaded into and executed by a machine, such as a computer, the machine becomes an apparatus for practicing the invention.
In the case of program code execution on programmable computers, the computing device will generally include a processor, a storage medium readable by the processor (including volatile and non-volatile memory and/or storage elements), at least one input device, and at least one output device. Wherein the memory is configured to store program code; the processor is configured to execute the method for determining the apparatus shutdown state of the present invention according to instructions in the program code stored in the memory.
By way of example, and not limitation, computer readable media may comprise computer storage media and communication media. Computer-readable media includes both computer storage media and communication media. Computer storage media store information such as computer readable instructions, data structures, program modules or other data. Communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media. Combinations of any of the above are also included within the scope of computer readable media.
As used herein, unless otherwise specified the use of the ordinal adjectives "first", "second", "third", etc., to describe a common object, merely indicate that different instances of like objects are being referred to, and are not intended to imply that the objects so described must be in a given sequence, either temporally, spatially, in ranking, or in any other manner.
While the invention has been described with respect to a limited number of embodiments, those skilled in the art, having benefit of this description, will appreciate that other embodiments can be devised which do not depart from the scope of the invention as described herein. Furthermore, it should be noted that the language used in the specification has been principally selected for readability and instructional purposes, and may not have been selected to delineate or circumscribe the inventive subject matter. Accordingly, many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the appended claims. The present invention has been disclosed in an illustrative rather than a restrictive sense, and the scope of the present invention is defined by the appended claims.

Claims (10)

1. An operating system upgrade method, adapted to be executed in a server, said operating system comprising a plurality of system applications, said server comprising a software repository and being communicatively connected to one or more clients, said method comprising the steps of:
acquiring a plurality of installation packages corresponding to a plurality of system applications to be upgraded from a software warehouse;
compiling the obtained installation packages, and combining a plurality of compiled installation packages into an operating system installation package;
creating a new storage branch, and storing the operating system installation package in the storage branch;
receiving a system upgrading request of the client, and determining a storage branch selected by the system upgrading request, wherein the server comprises a plurality of storage branches, and each storage branch stores an operating system installation package of one version;
and sending the operating system installation package stored in the storage branch selected by the client to the client so that the client can upgrade the operating system according to the operating system installation package.
2. The method of claim 1, wherein said storing said operating system installation package in said storage branch comprises the steps of:
generating an upgrading directory of the system application of the system installation package according to the system application to be upgraded in the operating system installation package;
generating a version number of the operating system for the operating system installation package;
and generating the abstract file of the operating system installation package according to the version number and the operation upgrading directory so that the client selects a storage branch according to the abstract file.
3. The method of claim 2, wherein said combining the compiled plurality of installation packages into an operating system installation package further comprises the steps of:
and acquiring a plurality of configuration files corresponding to a plurality of system applications to be upgraded from the software warehouse, and adding the plurality of configuration files corresponding to the plurality of system applications into the system installation package.
4. The method of claim 3, further comprising the steps of:
and calculating a verification value of the operating system installation package so that the client can judge whether the obtained operating system installation package is complete according to the verification value.
5. The method of claim 1, further comprising the steps of:
and after the installation package is compiled, deleting the temporary data file in the installation package.
6. An operating system upgrading system comprises a server and a plurality of clients in communication connection with the server, wherein the operating system comprises a plurality of system applications, the server comprises a software warehouse, the software warehouse is suitable for storing installation packages of the system applications of the operating system, and the server is suitable for acquiring a plurality of installation packages corresponding to the system applications to be upgraded from the software warehouse;
compiling the obtained installation packages, and combining a plurality of compiled installation packages into an operating system installation package;
creating a new storage branch, and storing the operating system installation package in the storage branch;
receiving a system upgrading request of the client, and determining a storage branch selected by the system upgrading request, wherein the server comprises a plurality of storage branches, and each storage branch stores an operating system installation package of one version;
sending the operating system installation package stored in the storage branch selected by the client to the client;
the client is suitable for selecting one storage branch to generate a system upgrading request according to a plurality of storage branches of the client, sending the system upgrading request to the server, acquiring an operating system installation package from the server, and upgrading the operating system according to the operating system installation package.
7. The system of claim 6, wherein the server is further adapted to generate an upgrade catalog of system applications of the system installation package according to the system applications to be upgraded in the operating system installation package;
generating a version number of the operating system for the operating system installation package;
generating an abstract file of the operating system installation package according to the version number and the upgrading directory;
the client is further suitable for selecting a storage branch corresponding to the system installation package of the version to be installed according to the summary file.
8. The system of claim 7, wherein the server is further adapted to calculate a verification value for the system installation package;
the client is further suitable for judging whether the acquired system installation package is complete or not according to the verification value.
9. A computing device, comprising:
one or more processors;
a memory; and
one or more apparatuses comprising instructions for performing any of the methods of claims 1-5.
10. A computer readable storage medium storing one or more programs, the one or more programs comprising instructions, which when executed by a computing device, cause the computing device to perform any of the methods of claims 1-5.
CN202110453273.1A 2021-04-26 2021-04-26 Operating system upgrading method, computing device and storage medium Active CN112947976B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110453273.1A CN112947976B (en) 2021-04-26 2021-04-26 Operating system upgrading method, computing device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110453273.1A CN112947976B (en) 2021-04-26 2021-04-26 Operating system upgrading method, computing device and storage medium

Publications (2)

Publication Number Publication Date
CN112947976A true CN112947976A (en) 2021-06-11
CN112947976B CN112947976B (en) 2024-06-04

Family

ID=76233485

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110453273.1A Active CN112947976B (en) 2021-04-26 2021-04-26 Operating system upgrading method, computing device and storage medium

Country Status (1)

Country Link
CN (1) CN112947976B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113434342A (en) * 2021-07-12 2021-09-24 武汉深之度科技有限公司 Operating system recovery method, computing device and storage medium
CN116360834A (en) * 2023-04-03 2023-06-30 北京志凌海纳科技有限公司 Kubernetes cluster in-situ upgrading method and system based on OSTree
CN117591170A (en) * 2024-01-18 2024-02-23 麒麟软件有限公司 Method and device for supporting OSTree-based system by Loongson PMON platform and storage medium
WO2024065531A1 (en) * 2022-09-29 2024-04-04 Intel Corporation Server, end client, methods and program code

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103825925A (en) * 2012-11-19 2014-05-28 腾讯科技(深圳)有限公司 Application program upgrading method and system, and application program upgrading client terminal
CN107506221A (en) * 2017-09-28 2017-12-22 阿里巴巴集团控股有限公司 Application program updating method, apparatus and equipment
CN110333889A (en) * 2019-07-19 2019-10-15 浪潮云信息技术有限公司 The upgrade method and system of container service user's cluster
CN112256290A (en) * 2020-11-02 2021-01-22 北京中宏立达信创科技有限公司 Device and method for deploying integrated operating system
CN112328295A (en) * 2020-11-25 2021-02-05 昆山丘钛光电科技有限公司 Software updating method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103825925A (en) * 2012-11-19 2014-05-28 腾讯科技(深圳)有限公司 Application program upgrading method and system, and application program upgrading client terminal
CN107506221A (en) * 2017-09-28 2017-12-22 阿里巴巴集团控股有限公司 Application program updating method, apparatus and equipment
CN110333889A (en) * 2019-07-19 2019-10-15 浪潮云信息技术有限公司 The upgrade method and system of container service user's cluster
CN112256290A (en) * 2020-11-02 2021-01-22 北京中宏立达信创科技有限公司 Device and method for deploying integrated operating system
CN112328295A (en) * 2020-11-25 2021-02-05 昆山丘钛光电科技有限公司 Software updating method and device

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113434342A (en) * 2021-07-12 2021-09-24 武汉深之度科技有限公司 Operating system recovery method, computing device and storage medium
WO2024065531A1 (en) * 2022-09-29 2024-04-04 Intel Corporation Server, end client, methods and program code
CN116360834A (en) * 2023-04-03 2023-06-30 北京志凌海纳科技有限公司 Kubernetes cluster in-situ upgrading method and system based on OSTree
CN117591170A (en) * 2024-01-18 2024-02-23 麒麟软件有限公司 Method and device for supporting OSTree-based system by Loongson PMON platform and storage medium
CN117591170B (en) * 2024-01-18 2024-04-12 麒麟软件有限公司 Method and device for supporting OSTree-based system by Loongson PMON platform and storage medium

Also Published As

Publication number Publication date
CN112947976B (en) 2024-06-04

Similar Documents

Publication Publication Date Title
CN112947976B (en) Operating system upgrading method, computing device and storage medium
CN112988252B (en) Operating system starting method and computing device
KR100965706B1 (en) Computer apparatus capable of code rewriting and method for code rewriting
CN113127100B (en) Heterogeneous program execution method and device, computing device and readable storage medium
CN112988464A (en) Power-off protection method and computing device
CN113157290B (en) Multi-system installation method, computing equipment and storage medium
CN112463165B (en) Program mirror image construction method, system, computing device and readable storage medium
US9904574B2 (en) Parallel computing without requiring antecedent code deployment
CN113342475A (en) Server cluster construction method, computing device and storage medium
CN111049889A (en) Static resource uploading method and device, integrated server and system
CN113204385A (en) Plug-in loading method and device, computing equipment and readable storage medium
CN113485712B (en) Kernel clipping method and computing device
CN114003289A (en) Application program running method, computing device and storage medium
US10289460B2 (en) System integration using configurable dataflow
CN113849245B (en) Application program running method, computing device and storage medium
CN111752620A (en) Processing method and loading method of kernel module
CN111859403B (en) Dependency vulnerability determination method and device, electronic equipment and storage medium
CN114721672A (en) Application installation method, computing device and storage medium
CN114879978A (en) Software package dependency processing method, computing device and readable storage medium
CN114691549A (en) File writing method and device and computing equipment
CN113821272A (en) Application program running method, computing device and storage medium
CN113805971A (en) Application program running method, computing device and storage medium
CN114168153B (en) Compiling method, computing device and storage medium
US10235434B2 (en) Optimizing loading of relational data for applications
CN115840587A (en) Static resource publishing method and device, computing equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant