CN106933600A - A kind of method for upgrading system and device - Google Patents

A kind of method for upgrading system and device Download PDF

Info

Publication number
CN106933600A
CN106933600A CN201710193454.9A CN201710193454A CN106933600A CN 106933600 A CN106933600 A CN 106933600A CN 201710193454 A CN201710193454 A CN 201710193454A CN 106933600 A CN106933600 A CN 106933600A
Authority
CN
China
Prior art keywords
component
bag
differential
server cluster
class
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
CN201710193454.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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201710193454.9A priority Critical patent/CN106933600A/en
Publication of CN106933600A publication Critical patent/CN106933600A/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
    • G06F8/658Incremental updates; Differential updates

Abstract

The invention discloses a kind of method for upgrading system and server cluster, wherein methods described includes:Server cluster is obtained and updates the corresponding differential component bag of system version, wherein, the differential component bag includes the first class component;The differential component bag is installed in configuration, to install first class component;First class component and the second class component are constituted into whole assembly bag, wherein, before second class component installs the differential component bag for configuration, the mounted component of server cluster.The embodiment of the present invention can realize the quick execution of ROMPaq, and committed memory resource is small.

Description

A kind of method for upgrading system and device
Technical field
The present invention relates to field of software engineering, the upgrading side of more particularly to a kind of whole assembly bag with multiple application programs Method and device.
Background technology
In network information platform (such as big data platform), many application programs (component) are included, each application There is complicated logical relation, interdependency is stronger between program, and in the multiple application programs of issue, usually will all Application program packs as an entirety to be issued, but mistake occur in certain or some application programs needs to repair When, be currently to provide integral installation bag by manufacturer, and integral installation is carried out to whole application programs, due to integral installation bag compared with Greatly, the method can cause upgrading slow, take the problem of excessive system resource.
The content of the invention
The purpose of the embodiment of the present invention be provide a kind of whole assembly bag with multiple application programs upgrade method and Device, the upgrade method has upgrading specific aim, can solve the problem that application program updating is slow, and excessive occupied system resources are asked Topic.
In order to solve the above-mentioned technical problem, embodiments of the invention employ following technical scheme:
A kind of method for upgrading system is the embodiment of the invention provides, the method includes:
Server cluster is obtained and updates the corresponding differential component bag of system version, wherein, the differential component bag includes First class component;
The differential component bag is installed in configuration, to install first class component;
First class component and the second class component are constituted into whole assembly bag, wherein, second class component is configuration Before the differential component bag is installed, the mounted component of server cluster.
Used as the preferred embodiments of the present invention, server cluster obtains the step for updating the corresponding differential component bag of system version Suddenly include:The version information of the system of version information and pre-updated according to the mounted component of the server cluster, obtains The differential component bag.
Used as the preferred embodiments of the present invention, the differential component bag is included in the corresponding component of the renewal system version Different from the fresh information of the differential component of second class component.
Used as the preferred embodiments of the present invention, the method for upgrading system is also included the version information of the whole assembly bag It is updated.
Used as the preferred embodiments of the present invention, the method for upgrading system also includes the storage whole assembly bag and records corresponding Upgrade information.
The embodiment of the present invention additionally provides a kind of server cluster, including at least one processor that is connected with each other and at least One memory,
The processor is configured to:
Obtain and update the corresponding differential component bag of system version, wherein, the differential component bag includes the first class component;
Configuration installs the differential component bag to the memory, to install first class component;
First class component and the second class component are constituted into whole assembly bag, wherein, second class component is configuration Before the differential component bag to the memory is installed, mounted component in the memory.
Used as the preferred embodiments of the present invention, the processor is configured to according to the mounted component of the server cluster Version information and pre-updated system version information, obtain the differential component bag.
Used as the preferred embodiments of the present invention, the differential component bag is included in the corresponding component of the renewal system version Different from the fresh information of the differential component of second class component.
Used as the preferred embodiments of the present invention, the processor is further configured to when first class component and second After class component constitutes whole assembly bag, the version information of the whole assembly bag is updated;After memory is configured to storage renewal The whole assembly bag version information.
Used as the preferred embodiments of the present invention, the memory is further configured to store the whole assembly bag and record phase The upgrade information answered.
Disclosure according to above-described embodiment can know that the beneficial effect of the embodiment of the present invention is:
The embodiment of the present invention can be realized by performing installation differential component Bao Laigeng new systems or rising system Level, and without whole component bag is performed and installed, the installation process of program is on the one hand simplified, on the other hand also reduce The committed memory of system, there is provided operational efficiency.
Brief description of the drawings
Fig. 1 is a kind of principle flow chart of method for updating system of the embodiment of the present invention;
Fig. 2 is a kind of principle flow chart of method for updating system of another embodiment of the present invention;
Fig. 3 is a kind of principle assumption diagram of the server cluster in the embodiment of the present invention.
Specific embodiment
Herein with reference to Description of Drawings various schemes of the invention and feature.
It should be understood that can disclosed embodiments be made with various modifications.Therefore, description above should not be regarded It is limitation, and only as the example of embodiment.Those skilled in the art will expect within the scope and spirit of Other modifications.
Comprising in the description and the accompanying drawing of the part that constitutes specification shows embodiments of the invention, and with it is upper What face was given is used to explain the present invention together to substantially description and the detailed description to embodiment given below of the invention Principle.
It is of the invention by with reference to the accompanying drawings to being given as the description of the preferred form of the embodiment of non-limiting examples These and other characteristic will become apparent.
It is also understood that although with reference to some instantiations, invention has been described, people in the art Member realize many other equivalents of the invention with can determine, they have feature as claimed in claim and therefore all In the protection domain for being limited whereby.
When read in conjunction with the accompanying drawings, in view of described further below, above and other aspect of the invention, feature and advantage will become It is more readily apparent.
Hereinafter with reference to Description of Drawings specific embodiment of the invention;It will be appreciated, however, that the disclosed embodiments are only Example of the invention, it can be implemented using various ways.The function and structure known and/or repeat does not describe in detail to avoid Unnecessary or unnecessary details causes that the present invention is smudgy.Therefore, specific structural and feature disclosed herein is thin Section be not intended to limit, but as just claim basis and representative basis be used for instruct those skilled in the art with Substantially any appropriate detailed construction diversely uses the present invention.
This specification can be used phrase " in one embodiment ", " in another embodiment ", " in another embodiment In " or " in other embodiments ", it may refer to one or more in identical or different embodiment of the invention.
The embodiment of the present invention is described in detail below based on accompanying drawing, the embodiment of the invention provides a kind of system liter Level method, it can easily realize system upgrade, and need not take the excessive internal memory of system.
Specifically, a kind of as shown in figure 1, principle flow chart of the method for upgrading system in for the embodiment of the present invention.Wherein, Method for upgrading system in embodiments of the present invention can include:
Server cluster is obtained and updates the corresponding differential component bag of system version, wherein, the differential component bag includes First class component;The differential component bag is installed in configuration, to install first class component;By first class component and Two class components constitute whole assembly bag, wherein, before second class component installs the differential component bag for configuration, the service The mounted component of device cluster.
In embodiments of the present invention, at least one server apparatus, and server set can be included in server cluster The method that the processor of any server apparatus or management server equipment in group can carry out said system upgrading.And And the server apparatus or processor in server cluster can receive that other electronic equipments send for updating server The differential component bag of the system version information in equipment, can be including in pre-updated to server cluster in the differential component bag The information of the first class component.Server apparatus or processor in server cluster can be with after the differential component bag is received Differential component bag is directly performed, the system data information in server cluster, or module information is updated.Performing differential component The differential component can also will be installed in the information of the first class component in the differential component bag and server cluster after bag The information of the second class component before bag is bonded whole assembly bag.
That is, when the renewal for the component in server cluster is performed, it is not necessary to which whole components is updated Bag constitutes entirety and is uploaded and updated, and can only upload the differential component bag for needing to update, and simplifies the occupancy of Installed System Memory Rate, and the transmission and treatment of data are more simple.
In addition, after the update is performed, i.e., the first class component and the second class component are constituted after installation differential component bag After whole assembly bag, can also the convenient management for the various components in whole assembly bag.
In another embodiment of the invention, the server apparatus or processor in server cluster may also receive from Whole assembly in the pre-updated component bag of other electronic equipments, and the pre-updated component bag and server cluster received based on this Bag contrast generation differential component bag, and the installation for differential component bag is individually performed, so as to update service in server cluster The system of device equipment, the simple installation for system update program can be realized by the configuration, it is not necessary to by all of component Program perform one by one, reduce the utilization rate of Installed System Memory.The component of wherein above-mentioned pre-updated can be that new component also may be used Being updating the data for existing component.Said modules can be structured as hardware program or software application.Installing After differential component bag, can also be by the first class component in differential component bag and server before installing the differential component bag The whole assembly bag (the second class component) of cluster constitutes new whole assembly bag.Also, the component bag of above-mentioned pre-updated is corresponding to list The more new procedures of the more new procedures of only component or multiple components.
In the preferred embodiment of the present invention, server cluster is obtained and updates the corresponding differential component bag bag of system version Include:The version information of the system of version information and pre-updated according to the mounted component of server cluster, obtains differential component Bag.
That is, after server cluster receives pre-updated component bag, can check including pre-updated group The version information of part (the first class component), and version information that this is viewed is corresponding with existing mounted system program The version information of component is contrasted, so as to obtain differential component bag.The configuration can quickly and easily obtain differential component bag, Improve the efficiency of renewal.
In addition, it is necessary to explanation, the differential component bag in the embodiment of the present invention can be including updating system version correspondence Component in be different from the second class component differential component fresh information.That is, can include not in differential component bag The new module information of the mounted component being same as in server cluster, or based on existing mounting assembly not Same fresh information.
In addition, as shown in Fig. 2 being the principle flow chart of the method for updating system in another embodiment of the present invention.
Wherein, in embodiments of the present invention, the description based on Fig. 1 embodiments, after whole assembly bag is constituted, also including inciting somebody to action The version information of whole assembly bag is updated.
When obtaining differential component bag or performing installation differential component bag, or can be obtained when constituting whole assembly bag For the version information of the first class component in differential component bag, version information correspondence can be updated when whole assembly is constituted, Operated in order to follow-up system update.By the embodiment of the present invention, all kinds of groups in server cluster are may further ensure that The real-time update of the version information of part, in order to pass through more accurately to facilitate when version information is corresponding to obtain differential component bag.
In another embodiment of the invention, whole assembly bag can also be stored, and the corresponding upgrading letter of record Breath.Above-mentioned upgrade information can at least include update time, the situation of change of upgraded version information, the capacity of whole assembly bag, more New is the information such as title, storage location, the amount of capacity of whole assembly after which component and renewal.So as to detailed note Recording system more news, in order to check and Compare System update status.
Based on above-mentioned, the embodiment of the present invention can be realized installing differential component Bao Laigeng new systems or to being by performing System is upgraded, and without whole component bag is performed and installed, on the one hand simplifies the installation process of program, the opposing party Face decreases the committed memory of system, there is provided operational efficiency.
The embodiment of the present invention additionally provides a kind of server device cluster, and the server cluster can be upgraded using said system The renewal and upgrading of each component programs in method execution system, with simple and convenient and system occupancy is relatively low a little.
As shown in figure 3, a kind of server cluster in for the embodiment of the present invention, the server cluster can at least include phase At least one processor 1 and at least one memory 2 for connecting, above-mentioned processor 1 and memory 2 can be included in service The device in server apparatus 3 in device cluster, it is also possible to be independently of the isolated system or device of each server apparatus 3.Should Processor 1 can perform the renewal of the system version for each server apparatus in server cluster.
Specifically, the processor 1 in the embodiment of the present invention can obtain the corresponding differential component bag of renewal system version, its In, differential component bag includes the first class component;And installation differential component bag can be configured to memory, to install first kind group Part;First class component and the second class component are constituted into whole assembly bag, wherein, second class component installs institute for configuration Before stating differential component bag to the memory, mounted component in the memory.Above-mentioned whole assembly bag can also be located Reason device 1 is stored to memory 2.
In embodiments of the present invention, at least one server apparatus, and server set can be included in server cluster The method that the treatment of any server apparatus or each server apparatus of management in group can carry out said system upgrading.Example Such as, processor 1 can receive the difference for updating the system version information in server apparatus that other electronic equipments send Other component bag, can include the information of the first class component in pre-updated to server cluster in the differential component bag.Processor 1 Differential component bag can be directly performed after the differential component bag is received, the system data information in server cluster is updated Or module information and store in memory 2.Can also be by the in the differential component bag after differential component bag is performed It is bonded in the information for installing the second class component before the differential component bag in the information of one class component and server cluster Whole assembly bag, and by whole assembly bag storage to memory.
That is, when the renewal for the component in server cluster is performed, it is not necessary to which whole components is updated Bag constitutes entirety and is uploaded and updated, and can only upload the differential component bag for needing to update, and simplifies the occupancy of Installed System Memory Rate, and the transmission and treatment of data are more simple.
In addition, after the update is performed, i.e., the first class component and the second class component are constituted after installation differential component bag After whole assembly bag, can also the convenient management for the various components in whole assembly bag.
In another embodiment of the invention, processor 1 may also receive from the pre-updated component of other electronic equipments Whole assembly bag contrast generation differential component bag in bag, and the pre-updated component bag and server cluster received based on this, and The installation for differential component bag is individually performed, and is installed in memory 2, so as to update server cluster server equipment System, the simple installation for system update program can be realized by the configuration, it is not necessary to by the program of all of component Perform one by one, reduce the utilization rate of Installed System Memory.The component of wherein above-mentioned pre-updated can be that new component can also be right In updating the data for existing component.Said modules can be structured as hardware program or software application.Difference group is being installed After part bag, can also be by the first class component in differential component bag and server cluster before installing the differential component bag Whole assembly bag (the second class component) constitutes new whole assembly bag.Also, the component bag of above-mentioned pre-updated is corresponding to independent assembly More new procedures or multiple component more new procedures.
In the preferred embodiment of the present invention, processor 1 can be according to the version of the mounted component of server cluster The version information of the system of information and pre-updated, obtains differential component bag.
That is, after processor 1 receives pre-updated component bag, can check including pre-updated component The version information of (the first class component), and the version information that this is viewed with store existing mounted in memory 2 The version information of the corresponding component of system program is contrasted, so as to obtain differential component bag.The configuration can be quickly and easily Differential component bag is obtained, the efficiency of renewal is improve.
In addition, it is necessary to explanation, the differential component bag in the embodiment of the present invention can be including updating system version correspondence Component in be different from the second class component differential component fresh information.That is, can include not in differential component bag The new module information of the mounted component being same as in server cluster, or based on existing mounting assembly not Same fresh information.
In a preferred embodiment of the invention, processor 1 can also be after whole assembly bag be constituted by the version of whole assembly bag This information is updated.
When processor 1 obtains differential component bag or performs installation differential component bag, or constitute whole assembly Bao Shike To obtain the version information for the first class component in differential component bag, can be by version information correspondence when whole assembly is constituted Update, operated in order to follow-up system update.By the embodiment of the present invention, may further ensure that each in server cluster The real-time update of the version information of class component, in order to pass through version information it is corresponding obtain differential component bag when more accurate side Just.
In another embodiment of the invention, whole assembly bag can also be stored using memory 2, and record phase The upgrade information answered.Above-mentioned upgrade information can at least include update time, the situation of change of upgraded version information, whole assembly bag Capacity, update is which component and the information such as title, storage location, the amount of capacity of whole assembly after updating.From And detailed record system more news, in order to check and Compare System update status.
Based on above-mentioned, the embodiment of the present invention can be realized installing differential component Bao Laigeng new systems or to being by performing System is upgraded, and without whole component bag is performed and installed, on the one hand simplifies the installation process of program, the opposing party Face decreases the committed memory of system, there is provided operational efficiency.
Above example is only exemplary embodiment of the invention, is not used in the limitation present invention, protection scope of the present invention It is defined by the claims.Those skilled in the art can make respectively in essence of the invention and protection domain to the present invention Modification or equivalent are planted, this modification or equivalent also should be regarded as being within the scope of the present invention.

Claims (10)

1. a kind of method for upgrading system, the method includes:
Server cluster is obtained and updates the corresponding differential component bag of system version, wherein, the differential component bag includes first Class component;
The differential component bag is installed in configuration, to install first class component;
First class component and the second class component are constituted into whole assembly bag, wherein, second class component is installed for configuration Before the differential component bag, the mounted component of server cluster.
2. method for upgrading system according to claim 1, server cluster is obtained and updates the corresponding difference group of system version The step of part bag, includes:The version letter of the system of version information and pre-updated according to the mounted component of the server cluster Breath, obtains the differential component bag.
3. method for upgrading system according to claim 1, the differential component bag includes the renewal system version correspondence Component in be different from second class component differential component fresh information.
4. method for upgrading system according to claim 1, the method for upgrading system is also included the whole assembly bag Version information is updated.
5. method for upgrading system according to claim 1, the method for upgrading system also includes the storage whole assembly bag simultaneously Record corresponding upgrade information.
6. a kind of server cluster, including at least one processor and at least one memory being connected with each other, the processor It is configured to:
Obtain and update the corresponding differential component bag of system version, wherein, the differential component bag includes the first class component;
Configuration installs the differential component bag to the memory, to install first class component;
First class component and the second class component are constituted into whole assembly bag, wherein, second class component is installed for configuration Before the differential component bag to the memory, mounted component in the memory.
7. server cluster according to claim 6, the processor is configured to installed according to the server cluster Component version information and pre-updated system version information, obtain the differential component bag.
8. server cluster according to claim 6, the differential component bag includes that the renewal system version is corresponding The fresh information of the differential component of second class component is different from component.
9. server cluster according to claim 6, the processor be further configured to when first class component with And second class component constitute whole assembly bag after, the version information of the whole assembly bag is updated;Memory is configured to storage The version information of the whole assembly bag after renewal.
10. server cluster according to claim 6, the memory is further configured to store the whole assembly bag simultaneously Record corresponding upgrade information.
CN201710193454.9A 2017-03-28 2017-03-28 A kind of method for upgrading system and device Pending CN106933600A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710193454.9A CN106933600A (en) 2017-03-28 2017-03-28 A kind of method for upgrading system and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710193454.9A CN106933600A (en) 2017-03-28 2017-03-28 A kind of method for upgrading system and device

Publications (1)

Publication Number Publication Date
CN106933600A true CN106933600A (en) 2017-07-07

Family

ID=59424762

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710193454.9A Pending CN106933600A (en) 2017-03-28 2017-03-28 A kind of method for upgrading system and device

Country Status (1)

Country Link
CN (1) CN106933600A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107222355A (en) * 2017-07-27 2017-09-29 郑州云海信息技术有限公司 A kind of server updating method and device
CN110333889A (en) * 2019-07-19 2019-10-15 浪潮云信息技术有限公司 The upgrade method and system of container service user's cluster

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1831771A (en) * 2005-03-11 2006-09-13 联想(北京)有限公司 Method for updating software
CN102724308A (en) * 2012-06-13 2012-10-10 腾讯科技(深圳)有限公司 Software update method and software update system
CN105260200A (en) * 2015-09-07 2016-01-20 北京奇虎科技有限公司 Processing method and device for upgrading operating system
CN106227561A (en) * 2016-07-20 2016-12-14 杭州华三通信技术有限公司 A kind of cloud operating system update method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1831771A (en) * 2005-03-11 2006-09-13 联想(北京)有限公司 Method for updating software
CN102724308A (en) * 2012-06-13 2012-10-10 腾讯科技(深圳)有限公司 Software update method and software update system
CN105260200A (en) * 2015-09-07 2016-01-20 北京奇虎科技有限公司 Processing method and device for upgrading operating system
CN106227561A (en) * 2016-07-20 2016-12-14 杭州华三通信技术有限公司 A kind of cloud operating system update method and device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107222355A (en) * 2017-07-27 2017-09-29 郑州云海信息技术有限公司 A kind of server updating method and device
CN107222355B (en) * 2017-07-27 2020-12-01 苏州浪潮智能科技有限公司 Server upgrading method and device
CN110333889A (en) * 2019-07-19 2019-10-15 浪潮云信息技术有限公司 The upgrade method and system of container service user's cluster

Similar Documents

Publication Publication Date Title
CN103067445B (en) Method and device of software upgrading of distributed system
CN101571809B (en) Implementation method of plug-in registration and device thereof
CN100570607C (en) The method and system that is used for the data aggregate of multiprocessing environment
CN101656623B (en) Software installing method, sever and system
EP1693754A3 (en) System and method for creating and managing virtual servers
CN109660372B (en) SDN service configuration method and device
CN105553741A (en) Automatic deployment method for application system based on cloud computing
CN1407441A (en) System and method for automatic management computer service and programmable device
CN105183389A (en) Data hierarchical management method and device and electronic equipment
CN106357738A (en) Automatic arrangement method for server cluster and device as well as system thereof
CN105278991B (en) A kind of building method of cloud application deployment configuration model
CN105227379A (en) A kind of centralized monitor for java web application and method for early warning
CN103327051A (en) Long-distance desktop management system and method
CN105430096A (en) Automatic installation method and device for parallel file system
CN106933600A (en) A kind of method for upgrading system and device
CN104468811A (en) Upgrading method and device
CN105760242B (en) The driver adaptive approach and device of self-service device
US20190361695A1 (en) Method for updating firmware of unassigned drives
US9870234B2 (en) Automatic identification of returned merchandise in a data center
CN114844788B (en) Network data analysis method, system, equipment and storage medium
CN103457968B (en) A kind of method and system disposing cloud service
CN110798358A (en) Distributed service identification method and device, computer readable medium and electronic equipment
JP2023531701A (en) Efficient controller data generation and extraction
CN115827010A (en) Vehicle software version matching method, vehicle equipment and readable medium
CN104077285A (en) File designation method and first electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20170707

RJ01 Rejection of invention patent application after publication