CN103457984A - Method and system for automatic synchronous upgrade control - Google Patents

Method and system for automatic synchronous upgrade control Download PDF

Info

Publication number
CN103457984A
CN103457984A CN2012104678965A CN201210467896A CN103457984A CN 103457984 A CN103457984 A CN 103457984A CN 2012104678965 A CN2012104678965 A CN 2012104678965A CN 201210467896 A CN201210467896 A CN 201210467896A CN 103457984 A CN103457984 A CN 103457984A
Authority
CN
China
Prior art keywords
information
server
information server
version
controller
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
CN2012104678965A
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.)
SUZHOU YIBEI INFORMATION TECHNOLOGY Co Ltd
Original Assignee
SUZHOU YIBEI INFORMATION TECHNOLOGY Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by SUZHOU YIBEI INFORMATION TECHNOLOGY Co Ltd filed Critical SUZHOU YIBEI INFORMATION TECHNOLOGY Co Ltd
Priority to CN2012104678965A priority Critical patent/CN103457984A/en
Publication of CN103457984A publication Critical patent/CN103457984A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The invention provides a method and system for automatic synchronous upgrade control. The method comprises the following steps that an upgrade request of an information server is received by a global server, a controller is queried about the request according to a stored upgrade comparison table, and second version information is obtained; first version information and the second version information are compared through the global server so that whether a first version of currently operated software of the information server is the latest version or not can be judged; if the result that the first version of the currently operated software of the information server sending the upgrade request is not the latest version is obtained through the global server, inquiry information is sent to other information servers which do not send an upgrade request through the controller, and whether the information servers which do not send the upgrade request need to be upgraded simultaneously or not is inquired; if all of the information servers which do not send the upgrade request send a response that simultaneous upgrade is needed to the controller, storage addresses of the latest version corresponding to the information servers are sent to the corresponding information servers through the controller.

Description

The method and system that a kind of automatic synchronization upgrading is controlled
Technical field
The invention belongs to network communication field, relate in particular to the method and system that a kind of automatic synchronization upgrading is controlled.
Background technology
At present, in the system with a plurality of nodes, if when certain node need to be upgraded, need to manually upgrade one by one to other nodes, to guarantee the compatibility between each node upgraded version.So, be unfavorable for the version management of whole system program, and, certain node probably occurs jump edition upgrading, cause the version between node can't be compatible, cause upgrading unsuccessfully to wait problem.
Summary of the invention
The invention provides the method and system that a kind of automatic synchronization upgrading is controlled, to address the above problem.
The invention provides a kind of method that automatic synchronization upgrading is controlled.Said method comprises the following steps: global server receives the upgrade request of information server, and according to the upgrading table of comparisons of storing, inquire about and obtain the second version information to controller, wherein, carried the first version information of the current operating software of information server in upgrade request; Global server, by comparing first version information and the second version information, judges whether the first version of the current operating software of information server is latest edition; If it is not up-to-date version that global server judgement obtains sending the first version of the current operating software of described information server of upgrade request, the global server notification controller, the information server that controller does not send upgrade request to other sends inquiry message, inquires whether other information servers that do not send upgrade request need together to upgrade; All do not reply controller and need to together upgrade if send other information servers of upgrade request, the memory address of controller corresponding latest edition by each information server is sent to corresponding information server; Each information server is downloaded corresponding latest edition from controller respectively and is completed upgrading.
The system that the present invention also provides a kind of automatic synchronization upgrading to control, comprise information server, global server and controller.Information server connects global server and controller, and controller connects global server.Global server, for receiving the upgrade request of information server, and, according to the upgrading table of comparisons of storing, inquire about and obtain the second version information to controller, wherein, carried the first version information of the current operating software of information server in upgrade request.Global server, for by comparing first version information and the second version information, judge whether the first version of the current operating software of information server is latest edition.If it is not up-to-date version that global server judgement obtains sending the first version of the current operating software of information server of upgrade request, global server, for notification controller, the information server that controller does not send upgrade request to other sends inquiry message, inquires whether other information servers that do not send upgrade request need together to upgrade.All do not reply controller and need to together upgrade if send other information servers of upgrade request, controller, be sent to corresponding information server for the memory address of the latest edition that each information server is corresponding.Each information server, complete upgrading for downloading corresponding latest edition from controller respectively.
Compared to prior art, the method and system of controlling according to automatic synchronization upgrading provided by the invention, if it is not up-to-date version that global server judgement obtains sending the first version of the current operating software of information server of upgrade request, the global server notification controller, the information server that controller does not send upgrade request to other sends inquiry message, inquires whether other information servers that do not send upgrade request need together to upgrade.All do not reply controller and need to together upgrade if send other information servers of upgrade request, the memory address of controller corresponding latest edition by each information server is sent to corresponding information server.So, realize the synchronous auto-update of all information servers.And, be convenient to manage whole system.
The accompanying drawing explanation
Accompanying drawing described herein is used to provide a further understanding of the present invention, forms the application's a part, and schematic description and description of the present invention the present invention does not form inappropriate limitation of the present invention for explaining.In the accompanying drawings:
Figure 1 shows that the flow chart of the method for the automatic synchronization upgrading control that preferred embodiment according to the present invention provides;
Figure 2 shows that the schematic diagram of the system of the automatic synchronization upgrading control that preferred embodiment according to the present invention provides.
Embodiment
Hereinafter with reference to accompanying drawing, also describe the present invention in detail in conjunction with the embodiments.It should be noted that, in the situation that do not conflict, embodiment and the feature in embodiment in the application can combine mutually.
Figure 1 shows that the flow chart of the method for the automatic synchronization upgrading control that preferred embodiment according to the present invention provides.As shown in Figure 1, the method that the automatic synchronization upgrading that preferred embodiment of the present invention provides is controlled comprises step 101~105.
In step 101, global server receives the upgrade request of information server, and, according to the upgrading table of comparisons of storing, to controller, inquires about and obtain the second version information, wherein, carried the first version information of the current operating software of described information server in described upgrade request.In this, the corresponding relation of the storage of the upgrading table of comparisons information server address, controller address and dbase.
In step 102, described global server, by comparing first version information and the second version information, judges whether the first version of the current operating software of described information server is latest edition.
In the present embodiment, the number of information server is for example three, that is, and and information server A, information server B and information server C.Yet the present invention does not limit this.Particularly, information server A link information server B, information server B link information server C, and also information server A~C moves respectively different software.Information server A obtains the first information, and reach information server B under carrying out after analyzing and processing to the first information, the data that information server B docking information server A passes down, and will under the second information of Interworking Data and collection, reach information server C, the data that information server C docking information server B passes down, the 3rd information of simultaneously obtaining manages.In this, the upgrading table of comparisons example of global server storage is as shown in table 1.
The information server address Dbase Controller address
Information server A address Software A Address 1
Information server B location Software B Address 1
Information server C address Software C Address 1
Table 1
In this, all corresponding controller of information server A~C.Described controller is stored the latest edition of each information server.Yet the present invention does not limit this.In practical application, a plurality of controllers can be set as required.
In the present embodiment, if information server A sends upgrade request to global server, global server receives the upgrade request of information server A, and for example,, according to the upgrading table of comparisons (table 1) of storing, to controller (address 1), inquires about and obtain the second version information.Wherein, carried the first version information of the current operating software of information server A in upgrade request.In this, first version information and the second version information include dbase and update time.
In this, because controller is stored up-to-date software version, therefore, the second version information is latest version information.If the software upgrading time consistency in first version information and the second version information, the first version of the current operating software of descriptive information server A is latest edition.If both update times are inconsistent, the first version of the current operating software of descriptive information server A is not latest edition.
In step 103, if it is not up-to-date version that the judgement of described global server obtains sending the first version of the current operating software of described information server of upgrade request, described global server is notified described controller, the information server that described controller does not send upgrade request to other sends inquiry message, inquires whether other information servers that do not send upgrade request need together to upgrade.
In step 104, if send the described controller of the whole reply of other information servers of upgrade request, need to together not upgrade, the memory address of described controller corresponding latest edition by each information server is sent to corresponding information server.
In step 105, each information server is downloaded corresponding latest edition from described controller respectively and is completed upgrading.
In this, still take information server A~C as example.For example, if it is not up-to-date version that the global server judgement obtains sending the first version of the current operating software of information server (, information server A) of upgrade request, global server sends a notification message to controller.Wherein, carried the address information of information server A~C in notification message.After controller receives the notification message of global server, the information server that does not send upgrade request to other (for example, information server B and information server C) send inquiry message, whether inquiry message server B and information server C need together to upgrade.If information server B and information server C all reply controller, need to together upgrade, the memory address of for example, by each information server (, information server A~C) corresponding latest edition of controller is sent to corresponding information server.Wherein, the controller storage update table of comparisons, upgrade the table of comparisons and store the corresponding relation of dbase, update time and the memory address of the latest edition that each information server is corresponding.In this, the renewal table of comparisons example of controller storage is as shown in table 2.
Dbase Update time Memory address
Software A 2012.11.1?12:00 Address a
Software B 2012.10.25?14:00 Address b
Software C 2012.11.13?9:00 Address c
Table 2
In this, when controller determines that information server A~C need to together upgrade, controller is sent to information server A according to table 2 by the address a of software A, and the address b of software B is sent to information server B, and the address c of software C is sent to information server C.After information server A~C receives the address information of controller transmission, download respectively the software A~C of latest edition from controller, thereby complete upgrading.
Figure 2 shows that the schematic diagram of the system of the automatic synchronization upgrading control that preferred embodiment according to the present invention provides.As shown in Figure 2, the system that the automatic synchronization upgrading that preferred embodiment of the present invention provides is controlled comprises information server 10A~10C, global server 12 and controller 14.In this, take three information server 10A~10C and a controller 14 is example.Yet the present invention does not limit this.Information server 10A link information server 10B, information server 10B link information server 10C.Information server 10A~10C connects respectively global server 12, and information server 10A~10C connects respectively controller 14, and controller 14 connects global server 12.
In the present embodiment, global server 12, for example, for (receiving information server, information server 10A) upgrade request, and according to the upgrading table of comparisons of storing, inquire about and obtain the second version information to controller 14, wherein, carried the first version information of the current operating software of information server 10A in upgrade request.Global server 12, for by comparing first version information and the second version information, judge whether the first version of the current operating software of information server 10A is latest edition.If it is not up-to-date version that global server 12 judgement obtains sending the first version of the current operating software of information server 10A of upgrade request, global server 12, for notification controller 14, the information server that controller 14 does not send upgrade request to other (for example, information server 10B and information server 10C) the transmission inquiry message, inquire that other do not send the information server of upgrade request (that is, information server 10B and information server 10C) and whether need together to upgrade.If do not send other information servers of upgrade request (, information server 10B and information server 10C) all reply controller 14 and need to together upgrade, controller 14, for the memory address of the latest edition that each information server is corresponding, are sent to corresponding information server.Each information server, complete upgrading for downloading corresponding latest edition from controller 14 respectively.Specific operation process about said system is described with above-mentioned method, therefore repeat no more in this.
In sum, the method and system that the automatic synchronization upgrading that preferred embodiment provides according to the present invention is controlled, if it is not up-to-date version that global server judgement obtains sending the first version of the current operating software of information server of upgrade request, the global server notification controller, the information server that controller does not send upgrade request to other sends inquiry message, inquires whether other information servers that do not send upgrade request need together to upgrade.All do not reply controller and need to together upgrade if send other information servers of upgrade request, the memory address of controller corresponding latest edition by each information server is sent to corresponding information server.So, realize the synchronous auto-update of all information servers.And, be convenient to manage whole system.
The foregoing is only the preferred embodiments of the present invention, be not limited to the present invention, for a person skilled in the art, the present invention can have various modifications and variations.Within the spirit and principles in the present invention all, any modification of doing, be equal to replacement, improvement etc., within all should being included in protection scope of the present invention.

Claims (8)

1. the method that the automatic synchronization upgrading is controlled, is characterized in that, comprises the following steps:
Global server receives the upgrade request of information server, and, according to the upgrading table of comparisons of storing, to controller, inquires about and obtain the second version information, wherein, has carried the first version information of the current operating software of described information server in described upgrade request;
Described global server, by comparing first version information and the second version information, judges whether the first version of the current operating software of described information server is latest edition;
If it is not up-to-date version that the judgement of described global server obtains sending the first version of the current operating software of described information server of upgrade request, described global server is notified described controller, the information server that described controller does not send upgrade request to other sends inquiry message, inquires whether other information servers that do not send upgrade request need together to upgrade;
If send the described controller of the whole reply of other information servers of upgrade request, need to together not upgrade, the memory address of described controller corresponding latest edition by each information server is sent to corresponding information server;
Each information server is downloaded corresponding latest edition from described controller respectively and is completed upgrading.
2. method according to claim 1, is characterized in that, the corresponding relation of the described storage of the upgrading table of comparisons information server address, controller address and dbase.
3. method according to claim 1, is characterized in that, the number of described information server is three.
4. method according to claim 1, is characterized in that, described controller is stored the latest edition of each information server.
5. the system that the automatic synchronization upgrading is controlled, is characterized in that, comprise information server, global server and controller, described information server connects described global server and described controller, and described controller connects described global server,
Described global server, for receiving the upgrade request of described information server, and according to the upgrading table of comparisons of storing, inquire about and obtain the second version information to controller, wherein, carried the first version information of the current operating software of described information server in described upgrade request
Described global server, for by comparing first version information and the second version information, judge whether the first version of the current operating software of described information server is latest edition,
If it is not up-to-date version that the judgement of described global server obtains sending the first version of the current operating software of described information server of upgrade request, described global server, for notifying described controller, the information server that described controller does not send upgrade request to other sends inquiry message, inquire whether other information servers that do not send upgrade request need together to upgrade
All reply described controller and need to together not upgrade if send other information servers of upgrade request, described controller, be sent to corresponding information server for the memory address of the latest edition that each information server is corresponding,
Described each information server, complete upgrading for downloading corresponding latest edition from described controller respectively.
6. system according to claim 5, is characterized in that, the corresponding relation of the described storage of the upgrading table of comparisons information server address, controller address and dbase.
7. system according to claim 5, is characterized in that, the number of described information server is three.
8. system according to claim 5, is characterized in that, described controller is stored the latest edition of each information server.
CN2012104678965A 2012-11-19 2012-11-19 Method and system for automatic synchronous upgrade control Pending CN103457984A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2012104678965A CN103457984A (en) 2012-11-19 2012-11-19 Method and system for automatic synchronous upgrade control

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2012104678965A CN103457984A (en) 2012-11-19 2012-11-19 Method and system for automatic synchronous upgrade control

Publications (1)

Publication Number Publication Date
CN103457984A true CN103457984A (en) 2013-12-18

Family

ID=49739932

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2012104678965A Pending CN103457984A (en) 2012-11-19 2012-11-19 Method and system for automatic synchronous upgrade control

Country Status (1)

Country Link
CN (1) CN103457984A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106775858A (en) * 2016-12-08 2017-05-31 雷蕾 A kind of method and system that software upgrading is triggered by deployment method
CN113485729A (en) * 2021-06-16 2021-10-08 义乌吉利自动变速器有限公司 Controller upgrading method and device and computer storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1584865A (en) * 2003-08-21 2005-02-23 珠海金山软件股份有限公司 Comptuer software updating method
CN101060427A (en) * 2006-04-19 2007-10-24 华为技术有限公司 A system and method for realizing the remote software updating
CN102438042A (en) * 2011-11-04 2012-05-02 中国工商银行股份有限公司 Dynamic parameter synchronizing method and system of multipoint access device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1584865A (en) * 2003-08-21 2005-02-23 珠海金山软件股份有限公司 Comptuer software updating method
CN101060427A (en) * 2006-04-19 2007-10-24 华为技术有限公司 A system and method for realizing the remote software updating
CN102438042A (en) * 2011-11-04 2012-05-02 中国工商银行股份有限公司 Dynamic parameter synchronizing method and system of multipoint access device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106775858A (en) * 2016-12-08 2017-05-31 雷蕾 A kind of method and system that software upgrading is triggered by deployment method
CN113485729A (en) * 2021-06-16 2021-10-08 义乌吉利自动变速器有限公司 Controller upgrading method and device and computer storage medium

Similar Documents

Publication Publication Date Title
US10484030B2 (en) EUICC management method, eUICC, SM platform, and system
CN108074177B (en) Data reconciliation method, system and computer-readable storage medium
CN106897086B (en) Method, device and system for upgrading robot operating system
CN107367949B (en) Method, device and system for acquiring product identification
CN101325509B (en) Method, system and apparatus for installing software component
CN104965726A (en) Configuration updating method, apparatus and system
US9696977B2 (en) Method and system for allocating ID of software component
US20140059001A1 (en) Cloud computing-based data sharing system and method
CN102523278B (en) Cloud-computing based service providing method and network operator server
KR101528210B1 (en) Software downloading method and device
CN102855152A (en) Method and system for upgrading resource files in application programs
CN104954394A (en) Software differential packet production and update method, server, terminal and update system
CN101465758B (en) Method for managing equipment, system and network management server
CN105871568B (en) Software upgrading method and system
CN103488511A (en) Method and device for inquiring file opening mode
CN110417876B (en) Session method, node server in distributed system and master control equipment
CN103327133B (en) A kind of geographical location information update method and device
CN105530323B (en) File upgrading method, related equipment and system
CN104980886A (en) Software upgrade method and device
CN112671572B (en) Method and device for intelligent equipment network distribution, storage medium and electronic device
CN103457984A (en) Method and system for automatic synchronous upgrade control
CN110798349A (en) Configuration distribution and receiving method, equipment and computer readable storage medium
CN105490852A (en) Upgrade detection method and device
CN106155670A (en) A kind of mobile terminal and brush machine method and apparatus thereof
CN103118060A (en) Self-synchronizing upgrade method and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20131218