patents.google.com

CN103118061A - Self-synchronizing upgrade processing method and system - Google Patents

  • ️Wed May 22 2013

CN103118061A - Self-synchronizing upgrade processing method and system - Google Patents

Self-synchronizing upgrade processing method and system Download PDF

Info

Publication number
CN103118061A
CN103118061A CN201210467897XA CN201210467897A CN103118061A CN 103118061 A CN103118061 A CN 103118061A CN 201210467897X A CN201210467897X A CN 201210467897XA CN 201210467897 A CN201210467897 A CN 201210467897A CN 103118061 A CN103118061 A CN 103118061A Authority
CN
China
Prior art keywords
information server
information
server
upgrade request
version
Prior art date
2012-11-19
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
CN201210467897XA
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.)
2012-11-19
Filing date
2012-11-19
Publication date
2013-05-22
2012-11-19 Application filed by SUZHOU YIBEI INFORMATION TECHNOLOGY Co Ltd filed Critical SUZHOU YIBEI INFORMATION TECHNOLOGY Co Ltd
2012-11-19 Priority to CN201210467897XA priority Critical patent/CN103118061A/en
2013-05-22 Publication of CN103118061A publication Critical patent/CN103118061A/en
Status Pending legal-status Critical Current

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)
  • Stored Programmes (AREA)

Abstract

The invention provides a self-synchronizing upgrade processing method and a system. The self-synchronizing upgrade processing method comprises the following steps: a global server receives upgrade requests of an information server and obtains second version information by inquiring a controller; the global server judges whether first version of current running software of the information server is the latest version by comparing first version information and the second version information; if the global server judges that the first version of the current running software of the information server sending the upgrade requests is not the latest version, the information server sending the upgrade requests sends inquiry message and inquires whether other information servers which do not send the upgrade requests need to upgrade together; and if the other information servers which do not send the upgrade requests all reply to the information server sending the upgrade requests to upgrade together, the information server sending the upgrade requests informs the controller, the controller sends a memory address of the latest version corresponding to each information server to the corresponding information server.

Description

A kind of method and system of automatic synchronization upgrading processing

Technical field

The invention belongs to network communication field, relate in particular to a kind of method and system of automatic synchronization upgrading processing.

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 a kind of method and system of automatic synchronization upgrading processing, to address the above problem.

The invention provides a kind of method of automatic synchronization upgrading processing.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 judges by comparing first version information and the second version information 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, the global server notice sends the information server of upgrade request, the information server that sends upgrade request sends inquiry message to the information server that other do not send upgrade request, inquires whether other information servers that do not send upgrade request need together to upgrade; All do not reply if send other information servers of upgrade request the together upgrading of information server that sends upgrade request, send the information server notification controller of upgrade request, the memory address of the latest edition that controller is corresponding with 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 present invention also provides a kind of system of automatic synchronization upgrading processing, comprises information server, global server and controller.Information server connects global server and controller, and controller connects global server.Global server is used for receiving the upgrade request of information server, and according to the upgrading table of comparisons of storing, inquires about and obtain the second version information to controller, wherein, has carried the first version information of the current operating software of information server in upgrade request.Global server is used for judging by comparing first version information and the second version information 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, be used for the information server that notice sends upgrade request, the information server that sends upgrade request sends inquiry message to the information server that other do not send upgrade request, inquires whether other information servers that do not send upgrade request need together to upgrade.All do not reply if send other information servers of upgrade request the together upgrading of information server that sends upgrade request, send the information server of upgrade request, be used for notification controller, the memory address of the latest edition that controller is corresponding with each information server is sent to corresponding information server.Each information server is used for downloading corresponding latest edition from controller respectively and completes upgrading.

Compared to prior art, method and system according to automatic synchronization upgrading processing 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 described information server of upgrade request, the global server notice sends the information server of upgrade request, the information server that sends upgrade request sends inquiry message to the information server that other do not send upgrade request, inquires whether other information servers that do not send upgrade request need together to upgrade.All do not reply if send other information servers of upgrade request the together upgrading of information server that sends upgrade request, send the information server notification controller of upgrade request, the memory address of the latest edition that controller is corresponding with 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.

Description of drawings

Accompanying drawing described herein is used to provide a further understanding of the present invention, consists of the application's a part, and illustrative examples of the present invention and explanation thereof are used for explaining the present invention, do not consist of improper restriction of the present invention.In the accompanying drawings:

Figure 1 shows that the flow chart of the method for the automatic synchronization upgrading processing that preferred embodiment according to the present invention provides;

Figure 2 shows that the schematic diagram of the system of the automatic synchronization upgrading processing that preferred embodiment according to the present invention provides.

Embodiment

Hereinafter also describe in conjunction with the embodiments the present invention in detail with reference to accompanying drawing.Need to prove, in the situation that do not conflict, embodiment and the feature in embodiment in the application can make up mutually.

Figure 1 shows that the flow chart of the method for the automatic synchronization upgrading processing that preferred embodiment according to the present invention provides.As shown in Figure 1, the method for the automatic synchronization upgrading processing that provides of preferred embodiment of the present invention 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, inquires 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.In this, the corresponding relation of upgrading table of comparisons storage information server address, controller address and dbase.

In step 102, described global server judges by comparing first version information and the second version information 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 reach information server C under the second information with Interworking Data and collection, the data that information server C docking information server B passes down, the 3rd information of obtaining simultaneously 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 according to the upgrading table of comparisons (for example table 1) of storing, inquires about and obtain the second version information to controller (address 1).Wherein, carried the first version information of the current operating software of information server A in upgrade request.In this, when including dbase and renewal, first version information and the second version information ask.

In this, due to the up-to-date software version of controller storage, 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 notice sends the described information server of upgrade request, the described information server that sends upgrade request sends inquiry message to the information server that other do not send upgrade request, inquires whether other information servers that do not send upgrade request need together to upgrade.

In step 104, all do not reply if send other information servers of upgrade request the together upgrading of described information server that sends upgrade request, the described information server that sends upgrade request is notified described controller, and the memory address of the latest edition that described controller is corresponding with 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.If the information server that global server judgement obtains sending upgrade request (for example, information server A) first version of current operating software is not up-to-date version, the information server of global server notice transmission upgrade request (namely, information server A), information server A to other information servers that do not send upgrade request (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 the whole return information server A of information server B and information server C need together upgrading, information server A notification controller, (for example, information server A~C) memory address of corresponding latest edition is sent to corresponding information server to controller with each information server.Wherein, the controller storage update table of comparisons upgrades the table of comparisons and stores the corresponding relation of dbase, update time and the memory address of latest edition corresponding to each information server.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 information server A~C need to together upgrade, information server A sends a notification message to controller, wherein, carried the address information of information server A~C in notification message, controller is sent to information server A according to table 2 with 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 processing that preferred embodiment according to the present invention provides.As shown in Figure 2, the system of the automatic synchronization upgrading processing that provides of preferred embodiment of the present invention comprises information server 10A~10C, global server 12 and controller 14.In this, take three information server 10A~10C and a controller 14 as 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, be used for (for example 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 is used for judging by comparing first version information and the second version information 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, be used for announcement information server 10A, information server 10A to other information servers that do not send upgrade request (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 (namely, information server 10B and information server 10C) all together upgradings of return information server 10A, information server 10A, be used for notification controller 14, the memory address of the latest edition that controller 14 is corresponding with each information server is sent to corresponding information server.Each information server is used for downloading corresponding latest edition from controller 14 respectively and completes upgrading.Specific operation process about said system is described with above-mentioned method, therefore repeat no more in this.

In sum, the method and system of the automatic synchronization upgrading processing that preferred embodiment provides according to the present invention, 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 notice sends the information server of upgrade request, the information server that sends upgrade request sends inquiry message to the information server that other do not send upgrade request, inquires whether other information servers that do not send upgrade request need together to upgrade.All do not reply if send other information servers of upgrade request the together upgrading of information server that sends upgrade request, send the information server notification controller of upgrade request, the memory address of the latest edition that controller is corresponding with 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 above is only the preferred embodiments of the present invention, is not limited to the present invention, and 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 for an automatic synchronization upgrading processing, 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, inquires about and obtain the second version information to controller, wherein, has carried the first version information of the current operating software of described information server in described upgrade request;

Described global server judges by comparing first version information and the second version information 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 notice sends the described information server of upgrade request, the described information server that sends upgrade request sends inquiry message to the information server that other do not send upgrade request, inquires whether other information servers that do not send upgrade request need together to upgrade;

All do not reply if send other information servers of upgrade request the together upgrading of described information server that sends upgrade request, the described information server that sends upgrade request is notified described controller, and the memory address of the latest edition that described controller is corresponding with 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 described upgrading table of comparisons storage 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 of an automatic synchronization upgrading processing, is characterized in that, comprises information server, global server and controller, and described information server connects described global server and described controller, and described controller connects described global server,

Described global server, for the upgrade request that receives 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 is used for judging by comparing first version information and the second version information 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, be used for the described information server that notice sends upgrade request, the described information server that sends upgrade request sends inquiry message to the information server that other do not send upgrade request, inquire whether other information servers that do not send upgrade request need together to upgrade

All do not reply if send other information servers of upgrade request the together upgrading of described information server that sends upgrade request, send the described information server of upgrade request, be used for notifying described controller, the memory address of the latest edition that described controller is corresponding with each information server is sent to corresponding information server

Described each information server is used for downloading corresponding latest edition from described controller respectively and completes upgrading.

6. system according to claim 5, is characterized in that, the corresponding relation of described upgrading table of comparisons storage 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.

CN201210467897XA 2012-11-19 2012-11-19 Self-synchronizing upgrade processing method and system Pending CN103118061A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210467897XA CN103118061A (en) 2012-11-19 2012-11-19 Self-synchronizing upgrade processing method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210467897XA CN103118061A (en) 2012-11-19 2012-11-19 Self-synchronizing upgrade processing method and system

Publications (1)

Publication Number Publication Date
CN103118061A true CN103118061A (en) 2013-05-22

Family

ID=48416331

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210467897XA Pending CN103118061A (en) 2012-11-19 2012-11-19 Self-synchronizing upgrade processing method and system

Country Status (1)

Country Link
CN (1) CN103118061A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110622132A (en) * 2017-05-10 2019-12-27 赤多尼科两合股份有限公司 Firmware Over The Air (FOTA) update for building services

Citations (4)

* 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
CN102387204A (en) * 2011-10-21 2012-03-21 中国科学院计算技术研究所 Method and system for maintaining consistency of cluster caching
CN102438042A (en) * 2011-11-04 2012-05-02 中国工商银行股份有限公司 Dynamic parameter synchronizing method and system of multipoint access device

Patent Citations (4)

* 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
CN102387204A (en) * 2011-10-21 2012-03-21 中国科学院计算技术研究所 Method and system for maintaining consistency of cluster caching
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
CN110622132A (en) * 2017-05-10 2019-12-27 赤多尼科两合股份有限公司 Firmware Over The Air (FOTA) update for building services
CN110622132B (en) * 2017-05-10 2023-06-30 赤多尼科两合股份有限公司 Firmware over-the-air (FOTA) update for building services

Similar Documents

Publication Publication Date Title
CN106897086B (en) 2021-02-26 Method, device and system for upgrading robot operating system
CN102577236B (en) 2014-11-05 Method and apparatus for remote management of device
CN102291416B (en) 2015-09-30 A kind of method and system of client and server bi-directional synchronization
CN107367949B (en) 2018-12-07 Method, device and system for acquiring product identification
US9696977B2 (en) 2017-07-04 Method and system for allocating ID of software component
CN101222363B (en) 2010-12-29 IP access gate batch upgrading system and method
CN104965726A (en) 2015-10-07 Configuration updating method, apparatus and system
CN102523278B (en) 2015-02-04 Cloud-computing based service providing method and network operator server
JP2016535895A (en) 2016-11-17 Software update method, system and device
CN111142905B (en) 2024-05-10 OTA upgrading method, OTA server and OTA upgrading system
KR101528210B1 (en) 2015-06-11 Software downloading method and device
CN105700927B (en) 2019-04-23 Version upgrading method, terminal device and version server
CN104780189A (en) 2015-07-15 Software upgrading method and software upgrading device
CN104486379B (en) 2019-01-29 A kind of parameter updating method and relevant device, system
CN101998227A (en) 2011-03-30 Service routing method, device and system
CN106708564A (en) 2017-05-24 FOTA update method, device and server
CN103488511A (en) 2014-01-01 Method and device for inquiring file opening mode
CN105094926A (en) 2015-11-25 Software updating method and system
CN105871568A (en) 2016-08-17 Software upgrading method and system
CN112671572B (en) 2023-02-03 Method and device for intelligent equipment network distribution, storage medium and electronic device
CN107277087B (en) 2020-09-04 Data processing method and device
CN105867952A (en) 2016-08-17 Software upgrading method and system
CN103327133B (en) 2016-04-27 A kind of geographical location information update method and device
CN110798349B (en) 2023-02-28 Configuration distribution and receiving method, equipment and computer readable storage medium
CN103118061A (en) 2013-05-22 Self-synchronizing upgrade processing method and system

Legal Events

Date Code Title Description
2013-05-22 C06 Publication
2013-05-22 PB01 Publication
2013-06-19 C10 Entry into substantive examination
2013-06-19 SE01 Entry into force of request for substantive examination
2016-07-20 C02 Deemed withdrawal of patent application after publication (patent law 2001)
2016-07-20 WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20130522