CN106095511A - A kind of server updating method and apparatus - Google Patents
A kind of server updating method and apparatus Download PDFInfo
- Publication number
- CN106095511A CN106095511A CN201610447365.8A CN201610447365A CN106095511A CN 106095511 A CN106095511 A CN 106095511A CN 201610447365 A CN201610447365 A CN 201610447365A CN 106095511 A CN106095511 A CN 106095511A
- Authority
- CN
- China
- Prior art keywords
- server
- type
- upgraded
- configuration
- information
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/65—Updates
Abstract
The embodiment of the invention discloses a kind of server updating method and apparatus, belong to networking technology area.Wherein, described server updating method includes: determine the type of described server to be upgraded according to the unique identification information of server to be upgraded;Judge that the type of described server to be upgraded is the most consistent with the type of the server of configuration in upgrading configuration;If consistent, then according to described upgrading configuration, described server to be upgraded is upgraded.By the embodiment of the present invention, improve efficiency and the accuracy of server updating.
Description
Technical field
The present embodiments relate to networking technology area, particularly to a kind of server updating method and apparatus.
Background technology
Along with the development of network technology, in order to allow user can have preferably experience, various services when surfing the Net in the Internet
Server often to be upgraded by supplier.
At present, the upgrading of the server in clusters especially a large amount of to server, need to carry out according to upgrading configuration.
But during carrying out server updating according to upgrading configuration, if there is upgrading configuration mistake, as will be to other
The upgrading configuration mistake of server is considered the upgrading configuration of book server, it is likely that cause catastrophic consequence,
As formatted the disk etc. of book server by mistake.
During realizing the embodiment of the present invention, inventor finds that prior art at least exists following defect: how to protect
Card obtains correct upgrading configuration, and then carries out server updating according to this upgrading configuration, to determine server liter
The accuracy and efficiency of level.
Summary of the invention
The purpose of the embodiment of the present invention is to provide a kind of server updating method and apparatus, to solve to exist in prior art
Because correct upgrading configuration cannot be obtained, cause the problem that server updating is failed.
First aspect, a possible embodiment of the embodiment of the present invention provides a kind of server updating method, including:
Unique identification information according to server to be upgraded determines the type of described server to be upgraded;Judge described server to be upgraded
Type the most consistent with the type of server of configuration in upgrading configuration;If it is consistent, then according to described upgrading configuration literary composition
Part, upgrades to described server to be upgraded.
Second aspect, a possible embodiment of the embodiment of the present invention provides a kind of server updating device, including:
Determine module, for determining the type of described server to be upgraded according to the unique identification information of server to be upgraded;Judge mould
Block, the most consistent with the type of the server of configuration in upgrading configuration for judging the type of described server to be upgraded;
Perform module, if the judged result for described judge module is consistent, then according to described upgrading configuration, described waiting is risen
Level server is upgraded.
By the server updating scheme of the embodiment of the present invention, when server is upgraded, can be first according to server
Unique identification information determine the type of server, and then will the type and the server of configuration in the upgrading configuration of acquisition
Type mate, wherein, in upgrading configuration, the type of server of configuration is used for indicating this upgrading configuration to use
In what type of server (such as storage class server or preposition type servers) is upgraded.Only the two coupling
Time, just according to this upgrading configuration, server can be upgraded.By type matching, server can effectively determine acquisition
Upgrading configuration whether be applicable to the upgrading of book server, it is to avoid although obtaining upgrading configuration, but this document
It is not suitable for book server, and then causes catastrophic effect because carrying out upgrading according to unsuitable upgrading configuration, improve
The efficiency of server updating and accuracy.
Accompanying drawing explanation
Fig. 1 shows the flow chart of steps of a kind of server updating method of the embodiment of the present invention one;
Fig. 2 shows the flow chart of steps of a kind of server updating method of the embodiment of the present invention two;
Fig. 3 shows the structured flowchart of a kind of server updating device of the embodiment of the present invention three;
Fig. 4 shows the structured flowchart of a kind of server updating device of the embodiment of the present invention four;
Fig. 5 shows the structural representation of a kind of server of the embodiment of the present invention five.
Detailed description of the invention
(label identical in some accompanying drawings represent identical element) and embodiment below in conjunction with the accompanying drawings, implements the present invention
The detailed description of the invention of example is described in further detail.Following example are used for illustrating the embodiment of the present invention, but are not limited to
The scope of the present invention.
It will be understood by those skilled in the art that terms such as " first ", " second " in the embodiment of the present invention is only used for difference
Different step, equipment or module etc., neither represent any particular technology implication, also do not indicate that the inevitable logic between them is suitable
Sequence.
Embodiment one
With reference to Fig. 1, it is shown that the flow chart of steps of a kind of server updating method of the embodiment of the present invention one.
The server updating method of the present embodiment comprises the following steps:
Step S102: determine the type of server to be upgraded according to the unique identification information of server to be upgraded.
Wherein, unique identification information, for one server of unique mark, includes but not limited to: the IP address of server.
In actual applications, those skilled in the art can be in the way of using other identification server, as long as can be unique to server
It is identified.
The type of server to be upgraded can the most suitably be set by those skilled in the art, according to actual needs such as basis
The function classified types of server, or, according to server position in server cluster and between other server, physics
Or logical relation classified types etc..The type of server to be upgraded can be saved in a server specified, in order to
The information concentrating the type treating upgrade server carries out maintenance and management.
Step S104: judge whether are the type of server to be upgraded and the type of the server of configuration in upgrading configuration
Unanimously, if unanimously, then perform step S106;If inconsistent, then perform step S108.
In upgrading configuration, what type of server is upgraded by the type of the server of configuration for instruction, as
In upgrading configuration, the type of the server of configuration is storage type of server, then this upgrading configuration is only applicable to storage
The server of type.The upgrading configuration that different types of server is suitable for is different, the concrete upgrading in upgrading configuration
Configuration is likely to difference, if Type-Inconsistencies, it is possible to lead to disastrous consequence, as server disk formatted and then nothing by mistake
Method provides normal service etc..
Step S106: if the type of server to be upgraded is consistent with the type of the server of configuration in upgrading configuration,
Then according to upgrading configuration, treat upgrade server and upgrade.
When the type of server to be upgraded is with when the type of the server of configuration is consistent in upgrading configuration, can be used this
Server is upgraded by upgrading configuration.
Step S108: if the type of server to be upgraded differs with the type of the server of configuration in upgrading configuration
Cause, then abandon the upgrading to server.
It should be noted that work as the type of server to be upgraded with the type of the server of configuration in upgrading configuration not
Time consistent, a kind of possible processing method is not upgrade server.But it is not limited to this, in actual applications, it is also possible to
Use other processing method, e.g., provide alarm, or, sending inquiry to the server preserving upgrading configuration please
Asking, be applicable to the upgrading configuration of book server until finding or inquire about unsuccessfully etc., the embodiment of the present invention is to clothes to be upgraded
Process during the Type-Inconsistencies situation of the server configured in type and the upgrading configuration of business device is not restricted.
By the server updating method of the present embodiment, when server is upgraded, can first according to server only
One identification information determines the type of server, and then by the class of the server of configuration in the type upgrading configuration with acquisition
Type mates, and wherein, in upgrading configuration, the type of the server of configuration is used for indicating this upgrading configuration for right
What type of server is upgraded.Only during the two coupling, just according to this upgrading configuration, server can be risen
Level.By type matching, server can effectively determine whether the upgrading configuration of acquisition is applicable to the upgrading of book server,
Obtain upgrading configuration although avoiding, but this document is not suitable for book server, and then because of according to unsuitable upgrading
Configuration file carries out upgrading and causing catastrophic effect, improves efficiency and the accuracy of server updating.
Embodiment two
With reference to Fig. 2, it is shown that the flow chart of steps of a kind of server updating method of the embodiment of the present invention two.
In the present embodiment, set upgrading configuration be stored in one specify for storing all upgrading configuration
As a example by server, but it should be understood by those skilled in the art that in actual applications, any service with suitable storage function
Device all can store upgrading configuration.
The server updating method of the present embodiment comprises the following steps:
Step S202: server to be upgraded determines the type of server to be upgraded according to its IP address.
In the present embodiment, as a example by CDN (Content Delivery Network, content distributing network), to server
Type divide.The when of server initiation, classify according to the type of server, then this classification information is deposited
Store up in data base or other file of certain given server.
In a kind of optional mode, type of server is according to the pass between server each in server cluster and other server
System determines, such as edge type server (fringe node), storage class server (memory node) or preposition type servers
(preposition node) etc..As a rule, in CDN, the server of diverse location carries different functions, according to each service
Relation segmentation service device type between device and other server realizes simple, it is achieved low cost.
When determining the type of server to be upgraded according to the unique identification information of server to be upgraded, can be by be upgraded
The unique identification information of server is sent to store multiple server and uniquely identifies the clothes of the corresponding relation with type of server
Business device, this server can be the independent server with storage function, it is also possible to all upgrading configuration of storage
Server is same server.
Based on this, a kind of unique identification information according to server to be upgraded determines the feasible of the type of server to be upgraded
Mode includes: the unique identification information of server to be upgraded sends extremely storage has multiple server uniquely to identify and server category
The server of the corresponding relation of type;Obtain storage and have that the server of described corresponding relation returns, according to server to be upgraded
The information of the type of server that unique identification information and described corresponding relation determine;According to the information of the type of server returned,
Determine the type of server to be upgraded.
In a kind of optional mode, the unique identification information of server to be upgraded is the IP address of server to be upgraded.Service
The IP address of device can uniquely identify a station server, but is not limited to this, and in actual use, those skilled in the art also may be used
To use other identification means, as long as a station server can be uniquely identified, such as unique index number etc..By IP address
Uniquely identify server, be effectively utilized existing information, it is not necessary to increase extra identification information and process, improve mark effect
Rate, and realize low cost.
Such as, its IP address is sent to storage by server to be upgraded has multiple server uniquely to identify and type of server
The server of corresponding relation, as corresponding relation stores server;Corresponding relation storage server is receiving service to be upgraded
Behind the IP address of device, search locally stored corresponding relation, so that it is determined that the type belonging to the server of this IP address;Determining
After type belonging to this server, the information of the type is returned to server to be upgraded by corresponding relation storage server;Treat
After upgrade server receives the information of this return, i.e. can determine that the type of self.
Step S204, server to be upgraded judges in its type and upgrading configuration the type of the server of configuration whether
Unanimously, if unanimously, then perform step S206;If inconsistent, then perform step S208.
In upgrading configuration, what type of server is upgraded by the type of the server of configuration for instruction.One
Plant in feasible pattern, the letter of the type of the server that this upgrading configuration is suitable for can be increased in former upgrading configuration
Breath, as increased the attribute field of the type of the server being suitable for.Such as, for the data updating type of server of storage class
Upgrading, its server etc. that type is storage class of server being suitable for can be configured in upgrading configuration.
When server to be upgraded judges that its type is the most consistent with the type of the server configured in upgrading configuration,
A kind of feasible mode includes: has the server of upgrading configuration from storage and downloads upgrading configuration to service to be upgraded
Device is local;The type of the server of configuration is obtained from upgrading configuration;Judge type and the acquisition of server to be upgraded
The type of server is the most consistent.Under this kind of mode, the type of server to be upgraded and the service of configuration in upgrading configuration
The concordance of the type of device can be judged by server to be upgraded, in the case, if the type of server to be upgraded with
In upgrading configuration, the type of the server of configuration is consistent, and server the most to be upgraded can be directly according to the upgrading configuration downloaded
File is upgraded, it is not necessary to have the server of upgrading configuration again to send message to storage again, to obtain corresponding upgrading
Configuration file, rises stage efficiency high.
When server to be upgraded judges that its type is the most consistent with the type of the server configured in upgrading configuration,
Another kind of feasible mode includes: the information of the type of the server to be upgraded determined sends extremely storage upgrading configuration
Server;Receive and store the information that the instruction type of server having the server of upgrading configuration to return is the most consistent, its
In, the information that instruction type of server is the most consistent is had the server of upgrading configuration according to server to be upgraded by storage
In the information of type and upgrading configuration, the information of the type of the server of configuration determines generation;According to instruction type of server
The most consistent information, it is judged that the type of the server of configuration whether in the type of server to be upgraded and upgrading configuration
Cause.Under this kind of mode, the type of server to be upgraded can with the concordance of the type of the server of configuration in upgrading configuration
There to be the server of upgrading configuration to judge by storage, in the case, only server to be upgraded type with
When in upgrading configuration, the type of the server of configuration is consistent, server to be upgraded just can obtain upgrading configuration.If treating
The Type-Inconsistencies of the server of configuration in the type of upgrade server and upgrading configuration, server the most to be upgraded will not be to
Storage has the server requirement upgrading configuration of upgrading configuration, decreases file transmission and data processing load, saves
System resource.
Step S206: if server to be upgraded judges its type and the type of the server of configuration in upgrading configuration
Unanimously, then according to upgrading configuration, treat upgrade server and upgrade.
When the type of server to be upgraded is with when the type of the server of configuration is consistent in upgrading configuration, can be used this
Server is upgraded by upgrading configuration.
Step S208: if the type of server to be upgraded differs with the type of the server of configuration in upgrading configuration
Cause, then abandon the upgrading to server.
By the server updating method of the present embodiment, whether server can effectively determine the upgrading configuration of acquisition
It is applicable to the upgrading of book server, it is to avoid although obtaining upgrading configuration, but this document is not suitable for book server, enter
And cause catastrophic effect because carrying out upgrading according to unsuitable upgrading configuration, improve server updating efficiency and
Accuracy.
It will be understood by those skilled in the art that in the said method of embodiment of the present invention detailed description of the invention, each step
Sequence number size be not meant to the priority of execution sequence, the execution sequence of each step should determine with its function and internal logic,
And the implementation process that the embodiment of the present invention is concrete should not constituted any restriction.
Embodiment three
With reference to Fig. 3, it is shown that the structured flowchart of a kind of server updating device of the embodiment of the present invention three.
The server updating device of the present embodiment comprises determining that module 302, for the unique mark according to server to be upgraded
Knowledge information determines the type of server to be upgraded;Judge module 304, for judging type and the upgrading configuration of server to be upgraded
In file, the type of the server of configuration is the most consistent;Perform module 306, if the judged result for judge module 304 is one
Cause, then according to upgrading configuration, treat upgrade server and upgrade.
By the server updating device of the present embodiment, when server is upgraded, can first according to server only
One identification information determines the type of server, and then by the class of the server of configuration in the type upgrading configuration with acquisition
Type mates, and wherein, in upgrading configuration, the type of the server of configuration is used for indicating this upgrading configuration for right
What type of server is upgraded.Only during the two coupling, just according to this upgrading configuration, server can be risen
Level.By type matching, server can effectively determine whether the upgrading configuration of acquisition is applicable to the upgrading of book server,
Obtain upgrading configuration although avoiding, but this document is not suitable for book server, and then because of according to unsuitable upgrading
Configuration file carries out upgrading and causing catastrophic effect, improves efficiency and the accuracy of server updating.
Embodiment four
With reference to Fig. 4, it is shown that the structured flowchart of a kind of server updating device of the embodiment of the present invention four.
The server updating device of the present embodiment comprises determining that module 402, for the unique mark according to server to be upgraded
Knowledge information determines the type of server to be upgraded;Judge module 404, for judging type and the upgrading configuration of server to be upgraded
In file, the type of the server of configuration is the most consistent;Perform module 406, if the judged result for judge module 404 is one
Cause, then according to upgrading configuration, treat upgrade server and upgrade.
Optionally it is determined that module 402 includes: the first sending module 4022, for by unique mark of server to be upgraded
Information sends to storing the server having multiple server uniquely to identify the corresponding relation with type of server, wherein, server
Type determines according to the relation between server each in server cluster and other server;First acquisition module 4024, is used for
Obtain storage and have that the server of described corresponding relation returns, according to the unique identification information of server to be upgraded and described correspondence
The information of the type of server that relation determines;Information determination module 4026, for the information according to the type of server returned, really
The type of fixed server to be upgraded.
Alternatively, the unique identification information of server to be upgraded is the IP address of server to be upgraded.
Alternatively, it is judged that module 404 includes: download module 4042, for there being the server of upgrading configuration from storage
Middle download upgrading configuration is to server local to be upgraded;Second acquisition module 4044, for obtaining from upgrading configuration
Take the type of the server of configuration;Local judge module 4046, for judging the type of server to be upgraded and the service of acquisition
The type of device is the most consistent.
Or, alternatively, it is judged that module 404 includes: the second sending module 4048, for the server to be upgraded that will determine
The information of type send to storage and have the server of upgrading configuration;Receiver module 40410, being used for receiving storage has upgrading
The information that instruction type of server that the server of configuration file returns is the most consistent, wherein, indicates type of server whether
The information caused is had the server of upgrading configuration civilian according to information and the upgrading configuration of the type of server to be upgraded by storage
In part, the information of the type of the server of configuration determines generation;Return judge module 40412, for according to instruction type of server
The most consistent information, it is judged that the type of the server of configuration whether in the type of server to be upgraded and upgrading configuration
Cause.
The server updating device of the present embodiment is used for the corresponding server updating method in aforesaid plurality of embodiment that realizes,
And there is the beneficial effect of corresponding embodiment of the method, do not repeat them here.
Embodiment five
With reference to Fig. 5, it is shown that the structural representation of a kind of server of the embodiment of the present invention five, the embodiment of the present invention is not
Server is implemented and limits.As it is shown in figure 5, this server may include that
Processor (processor) 502, communication interface (Communications Interface) 504, memorizer
(memory) 506 and communication bus 508.Wherein:
Processor 502, communication interface 504 and memorizer 506 complete mutual communication by communication bus 508.
Communication interface 504, the net element communication between each server.
Processor 502, is used for the program that performs 510, specifically can perform the correlation step in said method embodiment.
Specifically, program 510 can include that program code, described program code include computer-managed instruction.
Processor 502 is probably a central processor CPU, or specific integrated circuit ASIC (Application
Specific Integrated Circuit), or it is configured to implement the one or more integrated electricity of the embodiment of the present invention
Road.
Memorizer 506, is used for program of depositing 510.Memorizer 506 may comprise high-speed RAM memorizer, it is also possible to also includes
Nonvolatile memory (non-volatile memory), for example, at least one disk memory.
Program 510 specifically may be used for so that processor 502 performs following operation: according to unique mark of server to be upgraded
Knowledge information determines the type of server to be upgraded;Judge type and the service of configuration in upgrading configuration of server to be upgraded
The type of device is the most consistent;If consistent, then according to upgrading configuration, treat upgrade server and upgrade.
In an optional embodiment, program 510 uniquely identifies letter according to server to be upgraded making processor 502
When breath determines the type of described server to be upgraded: the unique identification information of server to be upgraded sends extremely storage multiple clothes
Business device uniquely identifies the server of the corresponding relation with type of server, and wherein, type of server is according to each in server cluster
Relation between server and other server determines;Obtain storage and have that the server of described corresponding relation returns, according to treating
The information of the type of server that the unique identification information of upgrade server and described corresponding relation determine;According to the server returned
The information of type, determines the type of server to be upgraded.
In an optional embodiment, the unique identification information of server to be upgraded is the IP address of server to be upgraded.
In an optional embodiment, program 510 is in type and the upgrading making processor 502 judge server to be upgraded
When in configuration file, the type of the server of configuration is the most consistent: have the server of upgrading configuration from storage and download upgrading
Configuration file is to server local to be upgraded;The type of the server of configuration is obtained from upgrading configuration;Judge to be upgraded
The type of server is the most consistent with the type of the server of acquisition.
In an optional embodiment, program 510 is in type and the upgrading making processor 502 judge server to be upgraded
When in configuration file, the type of the server of configuration is the most consistent: the information of the type of the server to be upgraded determined is sent extremely
Storage has the server of upgrading configuration;Receive the instruction server category that storage has the server of upgrading configuration to return
The information that type is the most consistent, wherein, the information that instruction type of server is the most consistent is had the service of upgrading configuration by storage
Device determines life according to the information of the type of the server of configuration in the information of the type of server to be upgraded and upgrading configuration
Become;According to the information that instruction type of server is the most consistent, it is judged that the type of server to be upgraded and upgrading configuration are joined
The type of the server put is the most consistent.
In program 510, each step implements correspondence in the corresponding steps and unit that may refer in above-described embodiment
Describe, be not repeated herein.Those skilled in the art is it can be understood that arrive, and for convenience and simplicity of description, above-mentioned retouches
The equipment stated and the specific works process of module, the corresponding process being referred in preceding method embodiment describes, at this no longer
Repeat.
By the server updating method of the present embodiment, whether server can effectively determine the upgrading configuration of acquisition
It is applicable to the upgrading of book server, it is to avoid although obtaining upgrading configuration, but this document is not suitable for book server, enter
And cause catastrophic effect because carrying out upgrading according to unsuitable upgrading configuration, improve server updating efficiency and
Accuracy.
It may be noted that according to the needs implemented, all parts/step described in the embodiment of the present invention can be split as more
Multi-part/step, it is possible to the part operation of two or more components/steps or components/steps is combined into new parts/step
Suddenly, to realize the purpose of the embodiment of the present invention.
Above-mentioned method according to embodiments of the present invention can realize in hardware, firmware, or is implemented as being storable in note
Software in recording medium (such as CD ROM, RAM, floppy disk, hard disk or magneto-optic disk) or computer code, or it is implemented through net
The original storage that network is downloaded is in remotely record medium or nonvolatile machine readable media and will be stored in local recording medium
In computer code, thus method described here can be stored in use general purpose computer, application specific processor or can compile
Such software processes on the record medium of journey or specialized hardware (such as ASIC or FPGA).It is appreciated that computer, process
Device, microprocessor controller or programmable hardware include to store or receive the storage assembly of software or computer code (such as,
RAM, ROM, flash memory etc.), when described software or computer code are by computer, processor or hardware access and execution, it is achieved
Server updating method described here.Additionally, when general purpose computer accesses for realizing the server updating being shown in which
During code, general purpose computer is converted to the special-purpose computer of the server updating being shown in which for execution by the execution of code.
Those of ordinary skill in the art are it is to be appreciated that combine the list of each example that the embodiments described herein describes
Unit and method step, it is possible to being implemented in combination in of electronic hardware or computer software and electronic hardware.These functions are actually
Perform with hardware or software mode, depend on application-specific and the design constraint of technical scheme.Professional and technical personnel
Each specifically should being used for can be used different methods to realize described function, but this realization is it is not considered that exceed
The scope of the embodiment of the present invention.
Embodiment of above is merely to illustrate the embodiment of the present invention, and not restriction to the embodiment of the present invention, relevant skill
The those of ordinary skill in art field, in the case of without departing from the spirit and scope of the embodiment of the present invention, it is also possible to make various
Change and modification, the technical scheme of the most all equivalents falls within the category of the embodiment of the present invention, the patent of the embodiment of the present invention
Protection domain should be defined by the claims.
Claims (10)
1. a server updating method, including:
Unique identification information according to server to be upgraded determines the type of described server to be upgraded;
Judge that the type of described server to be upgraded is the most consistent with the type of the server of configuration in upgrading configuration;
If consistent, then according to described upgrading configuration, described server to be upgraded is upgraded.
Method the most according to claim 1, wherein, the described unique identification information according to server to be upgraded determines described
The type of server to be upgraded includes:
The unique identification information of described server to be upgraded sends extremely storage has multiple server uniquely to identify and server category
The server of the corresponding relation of type, wherein, described type of server is according to server each in server cluster and other server
Between relation determine;
Obtain storage have that the server of described corresponding relation returns, according to the unique identification information of described server to be upgraded and
The information of the type of server that described corresponding relation determines;
According to the information of the described type of server returned, determine the type of described server to be upgraded.
Method the most according to claim 2, wherein, the unique identification information of described server to be upgraded is described to be upgraded
The IP address of server.
Method the most according to claim 1, wherein, it is judged that in the type of described server to be upgraded and upgrading configuration
The type of the server of configuration the most unanimously includes:
Have the server of upgrading configuration from storage and download described upgrading configuration to server local to be upgraded;
The type of the described server of configuration is obtained from described upgrading configuration;
Judge that the type of described server to be upgraded is the most consistent with the type of the described server of acquisition.
Method the most according to claim 1, wherein, it is judged that in the type of described server to be upgraded and upgrading configuration
The type of the server of configuration the most unanimously includes:
The information of the type of the server described to be upgraded determined is sent to storing the server having upgrading configuration;
Receive and store the information that the instruction type of server having the server of described upgrading configuration to return is the most consistent, its
In, the most consistent information of described instruction type of server by storage have the server of described upgrading configuration according to described in treat
In the information of the type of upgrade server and described upgrading configuration, the information of the type of the server of configuration determines generation;
According to the information that described instruction type of server is the most consistent, it is judged that the type of described server to be upgraded and upgrading configuration
In file, the type of the server of configuration is the most consistent.
6. a server updating device, including:
Determine module, for determining the type of described server to be upgraded according to the unique identification information of server to be upgraded;
Judge module, for judging type and the type of the server of configuration in upgrading configuration of described server to be upgraded
The most consistent;
Perform module, if the judged result for described judge module is consistent, then according to described upgrading configuration, to described
Server to be upgraded is upgraded.
Device the most according to claim 6, wherein, described determines that module includes:
First sending module, has multiple server only for the unique identification information of described server to be upgraded sends extremely storage
The server of the corresponding relation of one mark and type of server, wherein, described type of server respectively takes according in server cluster
Relation between business device and other server determines;
First acquisition module, has that the server of described corresponding relation returns, according to described service to be upgraded for obtaining storage
The information of the type of server that the unique identification information of device and described corresponding relation determine;
Information determination module, for the information according to the described type of server returned, determines the class of described server to be upgraded
Type.
Device the most according to claim 7, wherein, the unique identification information of described server to be upgraded is described to be upgraded
The IP address of server.
Device the most according to claim 6, wherein, described judge module includes:
Download module, downloads described upgrading configuration to clothes to be upgraded for having the server of upgrading configuration from storage
Business device is local;
Second acquisition module, for obtaining the type of the described server of configuration from described upgrading configuration;
Local judge module, for the type whether of the described server of the type with acquisition that judge described server to be upgraded
Cause.
Device the most according to claim 6, wherein, described judge module includes:
Second sending module, has upgrading configuration for the information of the type of the server described to be upgraded determined sends extremely storage
The server of file;
Receiver module, for receiving instruction type of server that storage has the server of described upgrading configuration to return whether
The information caused, wherein, the information that described instruction type of server is the most consistent is had the service of described upgrading configuration by storage
Device is according to the letter of the type of the server of configuration in the information of the type of described server to be upgraded and described upgrading configuration
Breath determines generation;
Return judge module, for the information the most consistent according to described instruction type of server, it is judged that described service to be upgraded
The type of device is the most consistent with the type of the server of configuration in upgrading configuration.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610447365.8A CN106095511A (en) | 2016-06-20 | 2016-06-20 | A kind of server updating method and apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610447365.8A CN106095511A (en) | 2016-06-20 | 2016-06-20 | A kind of server updating method and apparatus |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106095511A true CN106095511A (en) | 2016-11-09 |
Family
ID=57238313
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610447365.8A Pending CN106095511A (en) | 2016-06-20 | 2016-06-20 | A kind of server updating method and apparatus |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106095511A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109213505A (en) * | 2018-08-22 | 2019-01-15 | 郑州云海信息技术有限公司 | Server hard disc firmware method for refreshing and device |
CN112486544A (en) * | 2020-12-16 | 2021-03-12 | 网宿科技股份有限公司 | Software upgrading method and device |
CN112751699A (en) * | 2019-10-31 | 2021-05-04 | 阿里巴巴集团控股有限公司 | OTA upgrade and upgrade management method, device, network and storage medium |
WO2023098052A1 (en) * | 2021-11-30 | 2023-06-08 | 浪潮电子信息产业股份有限公司 | Server operation and maintenance method and apparatus, and device and storage medium |
-
2016
- 2016-06-20 CN CN201610447365.8A patent/CN106095511A/en active Pending
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109213505A (en) * | 2018-08-22 | 2019-01-15 | 郑州云海信息技术有限公司 | Server hard disc firmware method for refreshing and device |
CN109213505B (en) * | 2018-08-22 | 2021-10-15 | 郑州云海信息技术有限公司 | Server hard disk firmware refreshing method and device |
CN112751699A (en) * | 2019-10-31 | 2021-05-04 | 阿里巴巴集团控股有限公司 | OTA upgrade and upgrade management method, device, network and storage medium |
CN112486544A (en) * | 2020-12-16 | 2021-03-12 | 网宿科技股份有限公司 | Software upgrading method and device |
WO2023098052A1 (en) * | 2021-11-30 | 2023-06-08 | 浪潮电子信息产业股份有限公司 | Server operation and maintenance method and apparatus, and device and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110309125B (en) | Data verification method, electronic device and storage medium | |
CN111459985B (en) | Identification information processing method and device | |
CN102694861B (en) | A kind of terminal application software sorting technique, Apparatus and system based on cloud | |
CN112005523A (en) | Method and node for enabling intelligent contracts to be executed in blockchain networks | |
JP2017521778A (en) | Method, computer program, and exception engine for handling data quality exceptions | |
CN106095511A (en) | A kind of server updating method and apparatus | |
CN105530272A (en) | Method and device for application data synchronization | |
CN106547646B (en) | Data backup and recovery method and data backup and recovery device | |
CN116415206B (en) | Operator multiple data fusion method, system, electronic equipment and computer storage medium | |
CN110688828A (en) | File processing method and device, file processing system and computer equipment | |
CN110738038A (en) | Contract text generation method, device, equipment and computer readable storage medium | |
US20090150882A1 (en) | System and method for software application installation | |
CN104424316A (en) | Data storage method, data searching method, related device and system | |
US9176974B1 (en) | Low priority, multi-pass, server file discovery and management | |
CN110611591B (en) | Network topology establishing method and device | |
CN108108444B (en) | Enterprise business unit self-adaptive system and implementation method thereof | |
CN112583761B (en) | Management method and device of security entity, computer equipment and storage medium | |
CN113407546A (en) | Rule configuration method suitable for various scenes | |
CN103902554A (en) | Data access method and device | |
CN113778950A (en) | Credit file obtaining method, index server, query server and medium | |
CN117389908B (en) | Dependency analysis method, system and medium for interface automation test case | |
CN111132121B (en) | Information processing method and network warehouse function NRF network element | |
CN112949887B (en) | Method, device and equipment for planning dispatch path and computer readable storage medium | |
CN111163088B (en) | Message processing method, system and device and electronic equipment | |
CN117202114A (en) | Industry short message sending and transferring method and device, electronic equipment and medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20161109 |
|
WD01 | Invention patent application deemed withdrawn after publication |