CN109117155A - A kind of method and apparatus of edition upgrading - Google Patents

A kind of method and apparatus of edition upgrading Download PDF

Info

Publication number
CN109117155A
CN109117155A CN201810754799.1A CN201810754799A CN109117155A CN 109117155 A CN109117155 A CN 109117155A CN 201810754799 A CN201810754799 A CN 201810754799A CN 109117155 A CN109117155 A CN 109117155A
Authority
CN
China
Prior art keywords
child servers
version
mirror image
server
data warehouse
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
CN201810754799.1A
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.)
Gosuncn Technology Group Co Ltd
Original Assignee
Gosuncn Technology Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Gosuncn Technology Group Co Ltd filed Critical Gosuncn Technology Group Co Ltd
Priority to CN201810754799.1A priority Critical patent/CN109117155A/en
Publication of CN109117155A publication Critical patent/CN109117155A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation
    • G06F8/63Image based installation; Cloning; Build to order

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Information Transfer Between Computers (AREA)
  • Stored Programmes (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The method and apparatus that the embodiment of the present invention proposes a kind of edition upgrading, applied in the system including version server, data warehouse and multiple registered child servers, wherein, data warehouse is used to store the service mirror image of each child servers, this method comprises: whether the version number for comparing latest services mirror image in the version number and data warehouse for the service mirror image that registered each child servers are currently run by version server is consistent when receiving edition upgrading triggering command;For each child servers, if comparison result is inconsistent, the instruction of upgraded version is then sent to child servers by version server, so that child servers extract latest services mirror image from data warehouse based on instruction and execute local upgrade script, to complete to service the upgrading of mirror image in child servers.Automatic upgrading is realized, there can be the case where effect copes with multiple servers, reduce the amount of labour of user, improve the usage experience of user.

Description

A kind of method and apparatus of edition upgrading
Technical field
The present invention relates to edition upgrading field, in particular to a kind of method of edition upgrading.
Background technique
Currently, the mode for carrying out image release upgrading is then to restart docker (one manually to remove to pull newest mirror image The application container engine of a open source allows developer that can be packaged their application and relies on packet to a transplantable container In, container uses sandbox mechanism completely, does not have any interface between each other) mode of container carries out.
Specifically, needing first newest mirror image to be uploaded in the privately owned warehouse docker put up, then use putty (one A Telnet, SSH, rlogin, pure TCP and serial line interface connect software) tool is connected remotely to the server for needing to upgrade, Then order is manually entered in putty tool to go in the warehouse docker to pull newest mirror image, then again reconfiguring and Start docker container, the upgrading of image release is completed with this.
But current this method requires manual intervention, and to go to pull the version to be upgraded in the warehouse docker manually Mirror image, while need reconfigure and start docker container, process is cumbersome, if there is multiple servers to need to upgrade, needs Identical operation is repeated, user experience is not high.
Summary of the invention
For the defects in the prior art, it the invention proposes a kind of method and apparatus of edition upgrading, realizes automatic Upgrading can have the case where effect copes with multiple servers, reduce the amount of labour of user, improve the usage experience of user.
Specifically, the invention proposes embodiments in detail below:
The embodiment of the present invention proposes a kind of method of edition upgrading, be applied to including version server, data warehouse with And in the system of multiple registered child servers, wherein the data warehouse is used to store the service mirror image of each child servers, This method comprises:
When receiving edition upgrading triggering command, registered each child servers are compared by the version server and are worked as Whether the version number of latest services mirror image is consistent in the version number of preceding run service mirror image and data warehouse;
For each child servers, if comparison result be it is inconsistent, by the version server to the child servers The instruction of upgraded version is sent, so that the child servers are based on described instruction and extract latest services mirror from the data warehouse Picture simultaneously executes local upgrade script, to complete to service the upgrading of mirror image in the child servers.
It in a specific embodiment, further include database in the system, wherein the database purchase has each son The information of server, the information include the version number of institute's operation service mirror image;
It is described " version for the service mirror image that registered each child servers are currently run to be compared by the version server Whether this number consistent with the version number of latest services mirror image in data warehouse ", comprising:
It is inquired by the version server, is currently run with each child servers of determination in the database Service the version number of mirror image;
Newest clothes in the version number of the service mirror image run in each child servers determined by judging and the data warehouse Whether the version number of business mirror image is identical;
If the determination result is YES, then comparison result is consistent;
If judging result be it is no, comparison result be it is inconsistent.
In a specific embodiment, the corresponding IP address of each child servers to be registered is in default network segment;It should Method further include:
All IP address in the default network segment, and the finger for the IP that can be connected to thereto are scanned by the version server Fixed end mouthful sends registration invitation message;
For each child servers, when what is received the child servers and fed back based on the invitation message includes self information Registration when replying message, the information of the child servers is extracted from the information, and the child servers are registered to institute It states in version server.
In a specific embodiment, further includes:
Predetermined encryption algorithm is sent to each child servers to be registered by the version server;
For each child servers, key that the child servers are sent to the version server and described is being received After the information of child servers itself, the correctness of the key is verified using the Encryption Algorithm by the version server;
When the key authentication passes through, then the child servers are registered to by the information based on the child servers itself In the version server.
In a specific embodiment,
" child servers are based on described instruction and extract latest services mirror image from the data warehouse and execute local After upgrade script ", further includes:
Monitor the service image upgrade process of the child servers;
If upgrading failure, generates warning information, and the warning information is sent to the version server, so that institute Version server is stated by the alarm information record in log recording.
In a specific embodiment, further includes:
The success message of child servers feedback is received by the version server, wherein the success message is sub- clothes Business device generates after the completion of upgrading;
Know that update upgrades successfully number based on the success message.
The equipment that the embodiment of the present invention also proposed a kind of edition upgrading is applied to include version server, data warehouse And in the system of multiple registered child servers, wherein the data warehouse is used to store the service mirror of each child servers Picture, the equipment include:
Comparison module, for being compared by the version server registered when receiving edition upgrading triggering command The version number of service mirror image that is currently run of each child servers and latest services mirror image in data warehouse version number whether Unanimously;
Upgraded module, for be directed to each child servers, if comparison result be it is inconsistent, by the version server to The child servers send the instruction of upgraded version, so that the child servers are based on described instruction and mention from the data warehouse It takes latest services mirror image and executes local upgrade script, to complete to service the upgrading of mirror image in the child servers.
It in a specific embodiment, further include database in the system, wherein the database purchase has each son The information of server, the information include the version number of institute's operation service mirror image;
The comparison module " compares the service that registered each child servers are currently run by the version server Whether the version number of latest services mirror image is consistent in the version number of mirror image and data warehouse ", comprising:
It is inquired by the version server, is currently run with each child servers of determination in the database Service the version number of mirror image;
Newest clothes in the version number of the service mirror image run in each child servers determined by judging and the data warehouse Whether the version number of business mirror image is identical;
If the determination result is YES, then comparison result is consistent;
If judging result be it is no, comparison result be it is inconsistent.
In a specific embodiment, the corresponding IP address of each child servers to be registered is in default network segment;It should Equipment further include:
First registration module is used for through all IP address in the version server scanning default network segment, and to The designated port for the IP that can be wherein connected to sends registration invitation message;
For each child servers, when what is received the child servers and fed back based on the invitation message includes self information Registration when replying message, the information of the child servers is extracted from the information, and the child servers are registered to institute It states in version server.
In a specific embodiment, further includes:
Second registration module takes for predetermined encryption algorithm to be sent to each son to be registered by the version server Business device;
For each child servers, key that the child servers are sent to the version server and described is being received After the information of child servers itself, the correctness of the key is verified using the Encryption Algorithm by the version server;
When the key authentication passes through, then the child servers are registered to by the information based on the child servers itself In the version server.
With this, the embodiment of the present invention proposes a kind of method and apparatus of edition upgrading, be applied to including version server, In the system of data warehouse and multiple registered child servers, wherein the data warehouse is for storing each child servers Service mirror image compared by the version server registered this method comprises: when receiving edition upgrading triggering command The version number of service mirror image that is currently run of each child servers and latest services mirror image in data warehouse version number whether Unanimously;For each child servers, if comparison result be it is inconsistent, sent by the version server to the child servers The instruction of upgraded version, so that the child servers are based on described instruction and extract latest services mirror image simultaneously from the data warehouse Local upgrade script is executed, to complete to service the upgrading of mirror image in the child servers.Automatic upgrading is realized, there can be effect The case where coping with multiple servers, reduces the amount of labour of user, improves the usage experience of user.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below will be to needed in the embodiment attached Figure is briefly described, it should be understood that the following drawings illustrates only certain embodiments of the present invention, therefore is not construed as pair The restriction of range for those of ordinary skill in the art without creative efforts, can also be according to this A little attached drawings obtain other relevant attached drawings.
Fig. 1 is a kind of flow diagram of the method for edition upgrading that the embodiment of the present invention proposes;
Fig. 2 is a kind of structural schematic diagram of the equipment for edition upgrading that the embodiment of the present invention proposes;
Fig. 3 is a kind of structural schematic diagram of the equipment for edition upgrading that the embodiment of the present invention proposes;
Fig. 4 is a kind of structural schematic diagram of the equipment for edition upgrading that the embodiment of the present invention proposes;
Fig. 5 is a kind of structural schematic diagram of the equipment for edition upgrading that the embodiment of the present invention proposes;
Fig. 6 is a kind of structural schematic diagram of the equipment for edition upgrading that the embodiment of the present invention proposes.
Specific embodiment
Hereinafter, the various embodiments of the disclosure will be described more fully.The disclosure can have various embodiments, and It can adjust and change wherein.It should be understood, however, that: there is no the various embodiments of the disclosure are limited to spy disclosed herein Determine the intention of embodiment, but the disclosure should be interpreted as in the spirit and scope for covering the various embodiments for falling into the disclosure All adjustment, equivalent and/or optinal plan.
The term used in the various embodiments of the disclosure is used only for the purpose of describing specific embodiments and not anticipates In the various embodiments of the limitation disclosure.As used herein, singular is intended to also include plural form, unless context is clear Chu it is indicated otherwise.Unless otherwise defined, otherwise all terms (including technical terms and scientific terms) used herein have There is meaning identical with the various normally understood meanings of embodiment one skilled in the art of the disclosure.The term (term such as limited in the dictionary generally used) is to be interpreted as having and situational meaning in the related technical field Identical meaning and it will be interpreted as having Utopian meaning or meaning too formal, unless in the various of the disclosure It is clearly defined in embodiment.
Embodiment 1
The embodiment of the present invention 1 discloses a kind of method of edition upgrading, be applied to including version server, data warehouse with And in the system of multiple registered child servers, wherein the data warehouse is used to store the service mirror image of each child servers, As shown in Figure 1, method includes the following steps:
Step 101, when receiving edition upgrading triggering command, pass through the version server and compare registered each son Whether the version number of latest services mirror image is consistent in the version number for the service mirror image that server is currently run and data warehouse;
Specifically, edition upgrading triggering command can be based on received in data warehouse new demand servicing mirror image triggering generate , or get generate after the upgrade command of user, or both have concurrently in the case where generate.
And all service mirror images that corresponding each child servers are stored in data warehouse (can be specifically a certain clothes of execution The application program of business, such as location algorithm, speed determination algorithm etc.).Newest service mirror image can be determined with this, such as It can be determined from the version number of each service mirror image.
And the child servers for completing registration when registration and subsequent periodically (such as can wrap the information of itself in advance Include version number) it is transferred to version server, the service mirror being currently running in child servers can be compared with this version server It seem no to be newest.
Specifically, further including in one embodiment database in the system, wherein the database purchase has each sub- clothes The information of business device, the information includes the version number of institute's operation service mirror image;
It is described " version for the service mirror image that registered each child servers are currently run to be compared by the version server Whether this number consistent with the version number of latest services mirror image in data warehouse ", comprising:
It is inquired by the version server, is currently run with each child servers of determination in the database Service the version number of mirror image;
Newest clothes in the version number of the service mirror image run in each child servers determined by judging and the data warehouse Whether the version number of business mirror image is identical;
If the determination result is YES, then comparison result is consistent;
If judging result be it is no, comparison result be it is inconsistent.
Specifically, can be stored with newest service mirror image in data warehouse, subsequent child servers are also from data warehouse Extract, by with the version number of the latest services mirror image in database be made whether it is consistent compare, that is, can determine whether to need Upgraded, if comparison result be it is consistent, illustrate not needing to upgrade, be otherwise then comparison result be it is inconsistent, then illustrate just Be not in the service mirror image of operation it is newest, need to upgrade, step 102. carried out with this
Step 102 is directed to each child servers, if comparison result be it is inconsistent, by the version server to described Child servers send the instruction of upgraded version, so that the child servers are based on described instruction and extract most from the data warehouse New demand servicing mirror image simultaneously executes local upgrade script, to complete to service the upgrading of mirror image in the child servers.
Specifically, extracting latest services mirror image from data warehouse after determining that needs upgrade and executing local upgrade foot This (specifically, for example can be shell script), be automatically performed the upgrading to service, configures and restart container, completes upgrading.
Specifically, in order to which more vivid embodiment upgrades, version server can be set in actual escalation process Set the graphic interface of management version;The graphical page reads each clothes of present each child servers from mysql database The version information of business, so that comparison process be embodied in a manner of image.
And upgrading corresponding is the registered child servers on version server, thus before step 101, it is also necessary to The registration process of child servers is completed, specific registration process can be just like under type:
Mode one, specifically, the corresponding IP address of each child servers to be registered is in default network segment;It is subsequent to lead to Over-scan the data interaction between the IP address realization of the default network segment and sub-services.
This method further include:
All IP address in the default network segment, and the finger for the IP that can be connected to thereto are scanned by the version server Fixed end mouthful sends registration invitation message;
For each child servers, when what is received the child servers and fed back based on the invitation message includes self information Registration when replying message, the information of the child servers is extracted from the information, and the child servers are registered to institute It states in version server.
Specifically, being illustrated with the example under a concrete application scene, in the automatic updating scheme of docker In have the central warehouse namely data warehouse for taking version server, version server is mainly to following child servers Automatically upgraded;There is a redis memory database, this is primarily used to record each docker service for needing to upgrade Latest edition number and old version number;There are one the mysql databases for being used to record each server info simultaneously.
Specifically, each child servers will be registered first in version server.One of logon mode are as follows: automatic discovery Mode: child servers open designated port monitoring information, and version server scans all addresses ip of specified network segment, to all The designated port for the ip that can be connected to sends message, if child servers respond the message of book server info to version server, Then version server extracts the information of child servers from message, and the child servers are then registered to version management server In.
Specifically also a kind of register method are as follows:
Predetermined encryption algorithm is sent to each child servers to be registered by the version server;
For each child servers, key that the child servers are sent to the version server and described is being received After the information of child servers itself, the correctness of the key is verified using the Encryption Algorithm by the version server;
When the key authentication passes through, then the child servers are registered to by the information based on the child servers itself In the version server.
Specifically, also a kind of logon mode is Active Registration: specifically, version server opens registration interface, and providing Encryption Algorithm gives each child servers, and child servers actively send the information of code key and child servers to version server.Version Server first passes through the correctness that Encryption Algorithm verifies code key after receiving message, if code key is correct, bundle server registration Into version server.
And after step 102, namely after execution edition upgrading, corresponding there are two types of results: fail one is upgrading, goes back one kind It is to upgrade successfully.
With this, " child servers are based on described instruction and extract latest services mirror image from the data warehouse and hold After row local upgrade script ", further includes:
Monitor the service image upgrade process of the child servers;
If upgrading failure, generates warning information, and the warning information is sent to the version server, so that institute Version server is stated by the alarm information record in log recording.
Specifically, when upgrading failure, if such as child servers there is mistake during upgrading.Such as it pulls newest The service of version is unsuccessful or fails when executing local upgrade script, then alerts from trend version server, with day Will record unsuccessfully alerts, and requests investigation mistake with this.
In a specific embodiment, this method further include:
The success message of child servers feedback is received by the version server, wherein the success message is sub- clothes Business device generates after the completion of upgrading;
Know that update upgrades successfully number based on the success message.
Specifically, child servers update is unsuccessful, warning information and error reason are returned;And if meeting after the completion of updating Send success message to version server, and version server receive the message of each child servers after can statistical updating success Number.
Embodiment 2
The embodiment of the present invention 2 also discloses a kind of equipment of edition upgrading, is applied to include version server, data warehouse And in the system of multiple registered child servers, wherein the data warehouse is used to store the service mirror of each child servers Picture, as shown in Fig. 2, the equipment includes:
Comparison module 201, for having been infused by version server comparison when receiving edition upgrading triggering command The version number of latest services mirror image is in the version number for the service mirror image that each child servers of volume are currently run and data warehouse It is no consistent;
Upgraded module 202, for be directed to each child servers, if comparison result be it is inconsistent, pass through the versioning service Device sends the instruction of upgraded version to the child servers, so that the child servers are based on described instruction from the data warehouse Middle extraction latest services mirror image simultaneously executes local upgrade script, to complete to service the upgrading of mirror image in the child servers.
It in a specific embodiment, further include database in the system, wherein the database purchase has each son The information of server, the information include the version number of institute's operation service mirror image;
The comparison module 201 " compares what registered each child servers were currently run by the version server Whether the version number for servicing latest services mirror image in the version number and data warehouse of mirror image is consistent ", comprising:
It is inquired by the version server, is currently run with each child servers of determination in the database Service the version number of mirror image;
Newest clothes in the version number of the service mirror image run in each child servers determined by judging and the data warehouse Whether the version number of business mirror image is identical;
If the determination result is YES, then comparison result is consistent;
If judging result be it is no, comparison result be it is inconsistent.
In a specific embodiment, the corresponding IP address of each child servers to be registered is in default network segment;Such as Shown in Fig. 3, the equipment further include:
First registration module 203, for scanning all IP address in the default network segment by the version server, and The designated port for the IP that can be connected to thereto sends registration invitation message;
For each child servers, when what is received the child servers and fed back based on the invitation message includes self information Registration when replying message, the information of the child servers is extracted from the information, and the child servers are registered to institute It states in version server.
In a specific embodiment, as shown in figure 4, the equipment further include:
Second registration module 204, it is each to be registered for being sent to predetermined encryption algorithm by the version server Child servers;
For each child servers, key that the child servers are sent to the version server and described is being received After the information of child servers itself, the correctness of the key is verified using the Encryption Algorithm by the version server;
When the key authentication passes through, then the child servers are registered to by the information based on the child servers itself In the version server.
In a specific embodiment, as shown in figure 5, the equipment further include:
Log module 205, for " child servers be based on described instruction newest clothes are extracted from the data warehouse Business mirror image simultaneously executes local upgrade script " after, monitor the service image upgrade process of the child servers;
If upgrading failure, generates warning information, and the warning information is sent to the version server, so that institute Version server is stated by the alarm information record in log recording.
In a specific embodiment, as shown in fig. 6, the equipment further include:
Logging modle 206, for receiving the success message of child servers feedback by the version server, wherein institute Stating success message is that child servers generate after the completion of upgrading;
Know that update upgrades successfully number based on the success message.
With this, the embodiment of the present invention proposes a kind of method and apparatus of edition upgrading, be applied to including version server, In the system of data warehouse and multiple registered child servers, wherein the data warehouse is for storing each child servers Service mirror image compared by the version server registered this method comprises: when receiving edition upgrading triggering command The version number of service mirror image that is currently run of each child servers and latest services mirror image in data warehouse version number whether Unanimously;For each child servers, if comparison result be it is inconsistent, sent by the version server to the child servers The instruction of upgraded version, so that the child servers are based on described instruction and extract latest services mirror image simultaneously from the data warehouse Local upgrade script is executed, to complete to service the upgrading of mirror image in the child servers.Automatic upgrading is realized, there can be effect The case where coping with multiple servers, reduces the amount of labour of user, improves the usage experience of user.
It will be appreciated by those skilled in the art that the accompanying drawings are only schematic diagrams of a preferred implementation scenario, module in attached drawing or Process is not necessarily implemented necessary to the present invention.
It will be appreciated by those skilled in the art that the module in device in implement scene can be described according to implement scene into Row is distributed in the device of implement scene, can also be carried out corresponding change and is located at the one or more dresses for being different from this implement scene In setting.The module of above-mentioned implement scene can be merged into a module, can also be further split into multiple submodule.
Aforementioned present invention serial number is for illustration only, does not represent the superiority and inferiority of implement scene.
Disclosed above is only several specific implementation scenes of the invention, and still, the present invention is not limited to this, Ren Heben What the technical staff in field can think variation should all fall into protection scope of the present invention.

Claims (10)

1. a kind of method of edition upgrading, which is characterized in that applied to including version server, data warehouse and multiple infused In the system of the child servers of volume, wherein the data warehouse is used to store the service mirror image of each child servers, this method packet It includes:
When receiving edition upgrading triggering command, registered each current institute of child servers is compared by the version server Whether the version number of latest services mirror image is consistent in the version number of the service mirror image of operation and data warehouse;
For each child servers, if comparison result be it is inconsistent, sent by the version server to the child servers The instruction of upgraded version, so that the child servers are based on described instruction and extract latest services mirror image simultaneously from the data warehouse Local upgrade script is executed, to complete to service the upgrading of mirror image in the child servers.
2. a kind of method of edition upgrading as described in claim 1, which is characterized in that it further include database in the system, Wherein, the database purchase has the information of each child servers, and the information includes the version number of institute's operation service mirror image;
It is described " version number for the service mirror image that registered each child servers are currently run to be compared by the version server It is whether consistent with the version number of latest services mirror image in data warehouse ", comprising:
It is inquired in the database by the version server, the service currently run with each child servers of determination The version number of mirror image;
Latest services mirror in the version number of the service mirror image run in each child servers determined by judging and the data warehouse Whether the version number of picture is identical;
If the determination result is YES, then comparison result is consistent;
If judging result be it is no, comparison result be it is inconsistent.
3. a kind of method of edition upgrading as described in claim 1, which is characterized in that each child servers to be registered are corresponding IP address is in default network segment;This method further include:
All IP address in the default network segment, and the designated ends for the IP that can be connected to thereto are scanned by the version server Mouth sends registration invitation message;
For each child servers, when the note including self information for receiving the child servers and being fed back based on the invitation message When volume replies message, the information of the child servers is extracted from the information, and the child servers are registered to the version In book server.
4. a kind of method of edition upgrading as described in claim 1, which is characterized in that further include:
Predetermined encryption algorithm is sent to each child servers to be registered by the version server;
For each child servers, the key and the sub- clothes that the child servers are sent to the version server are being received It is engaged in after the information of device itself, verifies the correctness of the key using the Encryption Algorithm by the version server;
When the key authentication passes through, then the child servers are registered to described by the information based on the child servers itself In version server.
5. a kind of method of edition upgrading as described in claim 1, which is characterized in that
" child servers are based on described instruction and extract latest services mirror image from the data warehouse and execute local upgrade After script ", further includes:
Monitor the service image upgrade process of the child servers;
If upgrading failure, generates warning information, and the warning information is sent to the version server, so that the version Book server is by the alarm information record in log recording.
6. a kind of method of edition upgrading as described in claim 1, which is characterized in that further include:
The success message of child servers feedback is received by the version server, wherein the success message is child servers It is generated after the completion of upgrading;
Know that update upgrades successfully number based on the success message.
7. a kind of equipment of edition upgrading, which is characterized in that applied to including version server, data warehouse and multiple infused In the system of the child servers of volume, wherein the data warehouse is used to store the service mirror image of each child servers, the equipment packet It includes:
Comparison module, for being compared by the version server registered each when receiving edition upgrading triggering command Whether the version number of latest services mirror image is consistent in the version number for the service mirror image that child servers are currently run and data warehouse;
Upgraded module, for being directed to each child servers, if comparison result be it is inconsistent, by the version server to described Child servers send the instruction of upgraded version, so that the child servers are based on described instruction and extract most from the data warehouse New demand servicing mirror image simultaneously executes local upgrade script, to complete to service the upgrading of mirror image in the child servers.
8. a kind of equipment of edition upgrading as claimed in claim 7, which is characterized in that it further include database in the system, Wherein, the database purchase has the information of each child servers, and the information includes the version number of institute's operation service mirror image;
The comparison module " compares the service mirror image that registered each child servers are currently run by the version server Version number and data warehouse in latest services mirror image version number it is whether consistent ", comprising:
It is inquired in the database by the version server, the service currently run with each child servers of determination The version number of mirror image;
Latest services mirror in the version number of the service mirror image run in each child servers determined by judging and the data warehouse Whether the version number of picture is identical;
If the determination result is YES, then comparison result is consistent;
If judging result be it is no, comparison result be it is inconsistent.
9. a kind of equipment of edition upgrading as claimed in claim 7, which is characterized in that each child servers to be registered are corresponding IP address is in default network segment;The equipment further include:
First registration module, for scanning all IP address in the default network segment by the version server, and thereto The designated port for the IP that can be connected to sends registration invitation message;
For each child servers, when the note including self information for receiving the child servers and being fed back based on the invitation message When volume replies message, the information of the child servers is extracted from the information, and the child servers are registered to the version In book server.
10. a kind of equipment of edition upgrading as claimed in claim 7, which is characterized in that further include:
Second registration module, for predetermined encryption algorithm to be sent to each sub-services to be registered by the version server Device;
For each child servers, the key and the sub- clothes that the child servers are sent to the version server are being received It is engaged in after the information of device itself, verifies the correctness of the key using the Encryption Algorithm by the version server;
When the key authentication passes through, then the child servers are registered to described by the information based on the child servers itself In version server.
CN201810754799.1A 2018-07-11 2018-07-11 A kind of method and apparatus of edition upgrading Pending CN109117155A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810754799.1A CN109117155A (en) 2018-07-11 2018-07-11 A kind of method and apparatus of edition upgrading

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810754799.1A CN109117155A (en) 2018-07-11 2018-07-11 A kind of method and apparatus of edition upgrading

Publications (1)

Publication Number Publication Date
CN109117155A true CN109117155A (en) 2019-01-01

Family

ID=64862574

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810754799.1A Pending CN109117155A (en) 2018-07-11 2018-07-11 A kind of method and apparatus of edition upgrading

Country Status (1)

Country Link
CN (1) CN109117155A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110336699A (en) * 2019-07-09 2019-10-15 北京和利时智能技术有限公司 The method, apparatus and system of automatically dispose gateway system
CN110830554A (en) * 2019-10-14 2020-02-21 珠海金山网络游戏科技有限公司 Method and system for asynchronously and concurrently updating distributed node mirror image
CN111273926A (en) * 2020-01-14 2020-06-12 一飞智控(天津)科技有限公司 Airport client remote upgrade management method, system, storage medium and unmanned aerial vehicle
CN111443992A (en) * 2020-03-31 2020-07-24 高新兴科技集团股份有限公司 Docker mirror image difference derivation method, computer storage medium and electronic device
CN112015448A (en) * 2020-08-21 2020-12-01 新奥数能科技有限公司 System upgrading method and device based on over-the-air technology
CN112165522A (en) * 2020-09-28 2021-01-01 杭州安恒信息技术股份有限公司 Policy library upgrading method, device, system, electronic equipment and storage medium
CN112379903A (en) * 2020-11-09 2021-02-19 杭州安恒信息技术股份有限公司 Version updating method, device, system, electronic device and storage medium
CN112839239A (en) * 2020-12-30 2021-05-25 广州虎牙科技有限公司 Audio and video processing method and device and server
WO2021232651A1 (en) * 2020-05-22 2021-11-25 苏州浪潮智能科技有限公司 Method and apparatus for upgrading multi-level management system, and device and medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107454210A (en) * 2017-09-15 2017-12-08 成都西加云杉科技有限公司 Communication means and system
CN107483241A (en) * 2017-08-08 2017-12-15 聚好看科技股份有限公司 A kind of method and apparatus that upgrade image version is downloaded during network element updating
CN107870774A (en) * 2017-11-24 2018-04-03 武汉精测电子集团股份有限公司 A kind of system for AOI system software version management

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107483241A (en) * 2017-08-08 2017-12-15 聚好看科技股份有限公司 A kind of method and apparatus that upgrade image version is downloaded during network element updating
CN107454210A (en) * 2017-09-15 2017-12-08 成都西加云杉科技有限公司 Communication means and system
CN107870774A (en) * 2017-11-24 2018-04-03 武汉精测电子集团股份有限公司 A kind of system for AOI system software version management

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110336699A (en) * 2019-07-09 2019-10-15 北京和利时智能技术有限公司 The method, apparatus and system of automatically dispose gateway system
CN110830554A (en) * 2019-10-14 2020-02-21 珠海金山网络游戏科技有限公司 Method and system for asynchronously and concurrently updating distributed node mirror image
CN111273926A (en) * 2020-01-14 2020-06-12 一飞智控(天津)科技有限公司 Airport client remote upgrade management method, system, storage medium and unmanned aerial vehicle
CN111443992A (en) * 2020-03-31 2020-07-24 高新兴科技集团股份有限公司 Docker mirror image difference derivation method, computer storage medium and electronic device
CN111443992B (en) * 2020-03-31 2023-04-07 高新兴科技集团股份有限公司 Docker mirror image difference derivation method, computer storage medium and electronic device
WO2021232651A1 (en) * 2020-05-22 2021-11-25 苏州浪潮智能科技有限公司 Method and apparatus for upgrading multi-level management system, and device and medium
CN112015448A (en) * 2020-08-21 2020-12-01 新奥数能科技有限公司 System upgrading method and device based on over-the-air technology
CN112165522A (en) * 2020-09-28 2021-01-01 杭州安恒信息技术股份有限公司 Policy library upgrading method, device, system, electronic equipment and storage medium
CN112379903A (en) * 2020-11-09 2021-02-19 杭州安恒信息技术股份有限公司 Version updating method, device, system, electronic device and storage medium
CN112839239A (en) * 2020-12-30 2021-05-25 广州虎牙科技有限公司 Audio and video processing method and device and server

Similar Documents

Publication Publication Date Title
CN109117155A (en) A kind of method and apparatus of edition upgrading
US20120117557A1 (en) Method and system for upgrading wireless data card
US9585033B2 (en) System and method for enhanced diagnostics on mobile communication devices
CN107465548A (en) The dispositions method and device of code
CN105072398B (en) A kind of device updating method and device
CN113312064B (en) Method and device for installing and configuring physical machine and computer readable medium
CN105959302B (en) A kind of terminal management system and method
CN113590169B (en) Application deployment method, application deployment system, and computer-readable storage medium
CN102572896A (en) Upgrading method and upgrading device for wireless communication system
CN107395385A (en) Method for upgrading software and device
EP4050850A1 (en) Service upgrading method, device and system
CN112953983A (en) SFTP transmission method and device
CN115514667A (en) Access service processing method, system, device, electronic equipment and storage medium
CN109842524A (en) Automatically updating method, device, electronic equipment and computer readable storage medium
CN112448850B (en) Method for identifying and configuring network access equipment
CN110912725A (en) Configuration method and configuration device of OpenFlow virtual switch
CN105391566B (en) A kind of method and device that dynamic network equipments configuration compares
CN112333026A (en) Network device, network management device and zero configuration opening system and method for network device
CN115809096B (en) Batch self-adaptive upgrading method for operating system
US9207928B2 (en) Computer-readable medium, apparatus, and methods of automatic capability installation
CN114840225B (en) Application deployment method and device, storage medium and electronic device
CN116844087A (en) Monitoring method and device of operating system and BMC
CN109189441A (en) A kind of method and apparatus upgrading basic input-output system BIOS
CN114356357A (en) Mirror image file processing method and device and electronic equipment
CN108345476A (en) A kind of method and apparatus of batch processing hardware configuration information

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: 20190101

RJ01 Rejection of invention patent application after publication