CN104320475A - Equipment upgrading method and device - Google Patents

Equipment upgrading method and device Download PDF

Info

Publication number
CN104320475A
CN104320475A CN201410603190.6A CN201410603190A CN104320475A CN 104320475 A CN104320475 A CN 104320475A CN 201410603190 A CN201410603190 A CN 201410603190A CN 104320475 A CN104320475 A CN 104320475A
Authority
CN
China
Prior art keywords
subsystem
interface
control board
module
board
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.)
Granted
Application number
CN201410603190.6A
Other languages
Chinese (zh)
Other versions
CN104320475B (en
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.)
Hangzhou H3C Technologies Co Ltd
Original Assignee
Hangzhou H3C Technologies 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 Hangzhou H3C Technologies Co Ltd filed Critical Hangzhou H3C Technologies Co Ltd
Priority to CN201410603190.6A priority Critical patent/CN104320475B/en
Publication of CN104320475A publication Critical patent/CN104320475A/en
Application granted granted Critical
Publication of CN104320475B publication Critical patent/CN104320475B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings
    • H04L41/082Configuration setting characterised by the conditions triggering a change of settings the condition being updates or upgrades of network functionality

Abstract

The invention discloses an equipment upgrading method. A master main control board, a standby main control board and a plurality of interface boards in the equipment are configured to a first subsystem and a second subsystem. The method comprises the steps that when the master main control board receives a version upgrading file, the interface boards of the first subsystem are kept in communication, communication of the interface boards of the second subsystem stops, and the standby main control board is informed to carry out version upgrading on the second subsystem; after it is determined that the version upgrading of the second subsystem is finished by the master main control board, the standby main control board is informed to restore the communication of the interface boards of the second subsystem, and communication of the interface boards of the first subsystem stops; version upgrading is carried out on the first subsystem through the master main control board, the communication of the interface boards of the first subsystem is restored after upgrading is finished, and therefore it is guaranteed that one subsystem can be communicated with the outside at any time in the upgrading process so that service flow cannot be interrupted in the upgrading process. The invention further discloses an equipment upgrading device.

Description

A kind of device updating method and device
Technical field
The present invention relates to technical field of communication equipment, particularly relate to a kind of device updating method and device.
Background technology
In current frame type equipment, generally all possesses the structure of dual master control plate and some interface boards.Master control borad mainly completes the management work of all devices on frame, also realizes the data exchanging function in each board in frame simultaneously.Interface board mainly provides user interface.Wherein, dual master control plate comprises main control board and slave control board.At arbitrary operation time, main control board management interface plate; Slave control board, when main control board generation problem, just can be taken over main control board and carry out management interface plate.
When the incompatible version upgrading of frame type equipment, generally there are two kinds of methods:
One is that whole frame type equipment arranges new version software as after startup file, restarts whole equipment.This kind of upgrading mode is simple and crude, and in whole restarting process, interface board interrupts completely with extraneous business.
Two is that mode by being isolated by slave control board realizes edition upgrading.Specifically, first restart slave control board, slave control board enters isolated state after starting with new version software, and other interface boards in discord frame type equipment are mutual.Restart total interface plate and main control board again.When main control board is restarted, slave control board is removed and is isolated and switch to new main control board to adapter total interface plate; And former main control board is after starting with new version software, automatically become new slave control board.Interface board loads new version software from new main control board, and then completes the version updating of whole frame type equipment.
For the first upgrade method, simple and crude, in whole restarting process, interface board interrupts completely with extraneous service traffics.
For the second upgrade method, due to all interface boards still need to reload new version software after restart, in the process, service traffics are still interrupted completely.
The interruption of service traffics can cause the instability of system, brings great inconvenience to operator and user.
Summary of the invention
In view of this, the present invention proposes a kind of device updating method and device, to solve the problem.
For achieving the above object, the technical scheme of the embodiment of the present invention is achieved in that
The embodiment of the present invention provides a kind of device updating method, described equipment comprises main control board, slave control board and at least two interface boards, at least one interface board in described main control board and described interface board is configured to the first subsystem, all the other at least one interface boards in described slave control board and described interface board are configured to the second subsystem.
Described upgrade method comprises:
When a, described main control board receive edition upgrading file, the interface board in described first subsystem is kept communication, the interface board of described second subsystem is stopped communication, and notifies that described second subsystem is carried out edition upgrading by described slave control board;
B, described main control board, after the edition upgrading confirming described second subsystem, notify that the interface board of described second subsystem is recovered communication by described slave control board, and the interface board of described first subsystem are stopped communication;
Described first subsystem is carried out edition upgrading by c, described main control board, and after upgrading, the interface board of described first subsystem is recovered communication.
Alternatively, in step a, the interface board of described second subsystem stops communication comprising by described main control board:
Described main control board notifies that the interface board of described second subsystem is stopped communication by described slave control board;
Or,
The interface board of described second subsystem is directly stopped communication by described main control board.
Alternatively, in step a, described main control board notifies that described second subsystem is carried out edition upgrading and comprises by described slave control board: described main control board notifies that described slave control board carries out edition upgrading, and after upgrading, the total interface plate that described slave control board is restarted in the second subsystem carries out edition upgrading;
In step c, described first subsystem is carried out edition upgrading and comprises by described main control board: described main control board is first by the edition upgrading of self, then the total interface plate of restarting in the first subsystem carries out edition upgrading.
Alternatively, in stepb, described main control board comprises confirming that the edition upgrading of described slave control board is complete:
Described first subsystem periodically inquires whether described second subsystem upgrades complete, or
Described second subsystem notifies described first subsystem after upgrading.
Alternatively, before carrying out edition upgrading, between described main control board and described slave control board, carry out the mutual of control message and service message;
In step a, before described second subsystem carries out edition upgrading, redundant link is utilized to transfer to the first subsystem to process the business of access second subsystem.
Alternatively, in step a, after main control board notifies that described slave control board carries out the edition upgrading of described second subsystem, between described main control board and described slave control board, only carry out the mutual of control message;
In step c, after described first subsystem is carried out edition upgrading by described main control board, between described main control board and described slave control board, recover the mutual of control message and service message.
Alternatively, for described first subsystem and described second subsystem all arrange mark of mourning in silence, described in mourn in silence mark enable time, described interface board keeps communication; Described mourn in silence mark disable time, described interface board stops communication;
In step a, when described main control board receives edition upgrading file, by enable for the mark of mourning in silence of described first subsystem, the mark disable of mourning in silence of described second subsystem;
In stepb, described main control board confirm described second subsystem edition upgrading after, by described second subsystem mourn in silence mark enable, the mark disable of mourning in silence of described first subsystem;
In step c, described main control board after described first subsystem carries out edition upgrading, by described first subsystem mourn in silence mark enable.
The embodiment of the present invention also provides a kind of equipment upgrade device, described equipment comprises main control board, slave control board and at least two interface boards, described update device comprises the configuration module be located on main control board, the first upgraded module, first interface control module, and is located at the second upgraded module, the second interface control module on slave control board;
At least one interface board in described main control board and described interface board is configured to the first subsystem and all the other at least one interface boards in described slave control board and described interface board is configured to the second subsystem by described configuration module;
Described first upgraded module is when receiving edition upgrading file, the interface board of described first subsystem is kept communication by notice first interface control module, notify that the interface board of described second subsystem is stopped communication by described second interface control module, and notify that described second upgraded module carries out the edition upgrading of the second subsystem;
Described first upgraded module is after confirming the edition upgrading of described second subsystem to described second upgraded module, notify described second interface control module via described second upgraded module, the interface board of described second subsystem is switched to communications status and notifies that the interface board of described first subsystem is stopped communication by described first interface control module;
Described first subsystem is carried out edition upgrading by described first upgraded module, and after upgrading, notifies that the interface board of described first subsystem is recovered communication by described first interface control module.
Alternatively, described first upgraded module notifies that the interface board of described second subsystem stops communication comprising by described second interface control module:
Described first upgraded module notifies described second upgraded module, notifies that the interface board of described second subsystem is stopped communication by described second interface control module by described second upgraded module again;
Or,
Described first upgraded module directly notifies that the interface board of described second subsystem is stopped communication by described second interface control module.
Alternatively, described first upgraded module notifies that the edition upgrading that described second upgraded module carries out the second subsystem comprises: described first upgraded module notifies that described second upgraded module is by the edition upgrading of described slave control board, and after upgrading, described second upgraded module notifies that the total interface plate that described second interface control module is restarted in the second subsystem carries out edition upgrading;
Described first subsystem is carried out edition upgrading and comprises by described first upgraded module: described first upgraded module, first by the edition upgrading of described main control board, reinforms the total interface plate that described first interface control module restarts in the first subsystem and carries out edition upgrading.
Alternatively, described first upgraded module comprises confirming that the edition upgrading of described second subsystem is complete to described second upgraded module:
Described first upgraded module periodically inquires described in described second upgraded module, whether the second subsystem upgrades complete; Or,
Described second upgraded module, after described second sub-system staging of confirmation, notifies described first upgraded module.
Alternatively, before carrying out edition upgrading, between described first upgraded module and described second upgraded module, carry out the mutual of control message and service message;
When carrying out edition upgrading,
Before described second upgraded module carries out the edition upgrading of the second subsystem, the business of the interface board of access second subsystem is reached described second upgraded module by described second interface control module, described second upgraded module utilizes Redundant Link Technology that this business is reached the first upgraded module, and hands over extremely described first interface control module to process by the first upgraded module.
Alternatively, after described first upgraded module notifies that described second upgraded module carries out edition upgrading, make only to carry out the mutual of control message between described first upgraded module and described second upgraded module;
At described first upgraded module after described first subsystem carries out edition upgrading, make to recover between described first upgraded module and described second upgraded module the mutual of control message and service message.
Alternatively, described first interface control module and described second interface control module are all by the communications status of marking of control interface board of mourning in silence, and when described mark of mourning in silence is enable, described interface board keeps communication; Described mourn in silence mark disable time, described interface board stops communication;
When described first upgraded module receives edition upgrading file, notify that described first interface control module mark of mourning in silence is enable, described second interface control module will be mourned in silence mark disable;
Described first upgraded module, after confirming the edition upgrading of described second subsystem to described second upgraded module, notifies that described first interface control module will be mourned in silence mark disable, described second interface control module will mourn in silence mark enable;
Described first upgraded module after described first subsystem carries out edition upgrading, notify described first interface control module will mourn in silence mark enable.
Device updating method of the present invention and device, by main control board, slave control board and interface board being divided into two different subsystems, and be arranged on when carrying out edition upgrading, a sub-system external communication, another subsystem carries out restarting upgrading, thus ensure to have at any time a subsystem can correspondence with foreign country in escalation process, to realize not interrupting of service traffics in escalation process.
In addition, equipment of the present invention is in escalation process, only carry out between main control board and slave control board control message mutual, do not carry out the mutual of service message, and the mutual of service message and control message is recovered between main control board and slave control board again after upgrading, thus not only avoid the loss of business datum, the mutual of the business datum in escalation process between two master control borads can also be reduced.
Accompanying drawing explanation
Fig. 1 is the device updating method flow chart in the embodiment of the present invention;
Fig. 2 is the device structure schematic diagram in the embodiment of the present invention;
Fig. 3 is the function structure chart of main control board in the embodiment of the present invention and slave control board.
Embodiment
In order to make object of the present invention, technical scheme and advantage clearly understand, below by way of specific embodiment and see accompanying drawing, the present invention is described in detail.
The technical problem of interface board flow interrupt is caused in order to solve device upgrade, present embodiments provide a kind of device updating method, as shown in Figure 1, this equipment comprises slave control board, main control board and multiple interface board, wherein, at least one interface board in described main control board and described interface board is configured to the first subsystem, all the other at least one interface boards in described slave control board and described interface board are configured to the second subsystem.
Wherein, the dividing mode of two subsystems can for just planning when frame type equipment designs, and such as, before, several interface boards divide in the first subsystem, and several interface boards divide in the second subsystem afterwards; Also automatically can be calculated by software or user configuration divide, and by mark notify each interface board.
First it should be noted that, the service traffics in the present embodiment, spy refers to two laminar flow amounts of the interface board of frame type equipment, i.e. the service traffics that forward of the direct interface via interface board.
It should be noted that in addition, the device updating method in this enforcement and device, be mainly used in situation during version incompatible upgrading.As for the upgrading of the compatible version on active and standby master control borad, although also can adopting said method, actually can be realized by simpler method when using, namely directly independent each veneer is restarted upgrade, and without the need to dividing two subsystems again.
When carrying out edition upgrading, the first subsystem and the second subsystem all have two mode of operations: normal mode of operation and isolation mode.In the normal mode of operation, the interface board of the first subsystem and the interface board of the second subsystem are all in communications status, and carry out the mutual of control message and service message between main control board and slave control board.Communications status in the present embodiment all refers to interface board can forwarding service data, repeat no more hereinafter.The normal mode of operation of this mode of operation and whole frame type equipment of the prior art is as good as.
Under isolation mode, the interface board of the first subsystem or the interface board of the second subsystem are in communications status, and only carry out the mutual of control message between main control board and slave control board.Control message has multiple, such as, include but not limited to: notify that correspondence with foreign country is stopped to party subsystem, inquire about whether party subsystem is upgraded complete etc.
Particularly, in order to realize the isolation mode of the first subsystem and the second subsystem, for described first subsystem and described second subsystem all arrange mark of mourning in silence, described in mourn in silence mark enable time, described interface board keeps communication; Described mourn in silence mark disable time, described interface board stops communication.
This mark of mourning in silence can be realized by hardware: as being arranged on the logical circuit on interface board, and this logical circuit connects master control borad.Such as when the first subsystem carries out edition upgrading, described main control board is closed by the interface of logical circuit control interface plate.In addition, this mark of mourning in silence also can be realized by software: the state such as arranging main control board monitor-interface plate, and when learning that the first subsystem carries out edition upgrading, the interface of control interface plate is closed.
In addition, two subsystems mourn in silence that to be marked at be mutual exclusion in logic.For convenience of description, above-described embodiment have employed the mode arranging mark of mourning in silence in the first subsystem and the second subsystem respectively.Alternatively, the logic mutual exclusion of two subsystems when isolation mode can also be realized by arranging a control mark.
When carrying out edition upgrading, described upgrade method comprises:
When a, described main control board receive edition upgrading file, the interface board of described first subsystem is kept communication, the interface board of described second subsystem is stopped communication, and notifies that described second subsystem is carried out edition upgrading by slave control board.
In this step, the interface board of described second subsystem stops communication comprising by described main control board: described main control board notifies that the interface board of described second subsystem is stopped communication by described slave control board; Or the interface board of described second subsystem is directly stopped communication by described main control board.
Described main control board notifies that described second subsystem is carried out edition upgrading and comprises by described slave control board: described main control board notifies that described slave control board carries out edition upgrading, and after upgrading, the total interface plate that described slave control board is restarted in the second subsystem carries out edition upgrading.
In addition, specifically, in this step, when described main control board receives edition upgrading file, the interface board realizing the first subsystem keeps communication, the interface board stopping communication of the second subsystem is: by enable for the mark of mourning in silence of described first subsystem, make the interface board of the first subsystem keep communication, the mark disable of mourning in silence of described second subsystem, make the interface board of the second subsystem stop communication.
In addition, before carrying out edition upgrading, carry out the mutual of control message and service message between described main control board and described slave control board, namely above-mentioned main control board and slave control board are all in normal mode of operation.
And, in this step, before described second subsystem carries out edition upgrading, redundant link (as straddle polymerization technique) business of access second subsystem is utilized to transfer to the first subsystem to process, thus the timely process of the business of guarantee, avoid upgrading to impact business.
After main control board notifies that described second subsystem carries out edition upgrading, only carry out the mutual of control message between described main control board and described slave control board, namely above-mentioned main control board and slave control board are all in isolation mode.
B, described main control board are after the edition upgrading confirming described second subsystem, and described in notice slave control board, the interface board of the second subsystem switches to communications status, and the interface board of described first subsystem is stopped communication.
During specific implementation, described main control board confirm described second subsystem edition upgrading after, by described second subsystem mourn in silence mark enable, the mark disable of mourning in silence of described first subsystem.
In addition, in this step, described main control board comprises confirming that the edition upgrading of described slave control board is complete:
Described first subsystem periodically inquires whether described second subsystem upgrades complete.During as specific implementation, described first subsystem periodically sends inquiry message, to inquire whether described second subsystem upgrades complete; And described second subsystem is after upgrading, sends a reply message to described first subsystem, stops correspondence with foreign country to trigger the first subsystem and carry out edition upgrading;
Or second subsystem after upgrading, notify described first subsystem, stop correspondence with foreign country carry out edition upgrading to trigger the first subsystem.
Described first subsystem is carried out edition upgrading by c, described main control board, and after upgrading, the interface board of described first subsystem is recovered communication.
During specific implementation, in this step, main control board after described first subsystem carries out edition upgrading, by described first subsystem mourn in silence mark enable.
In this step, described first subsystem is carried out edition upgrading and comprises: main control board is first by the edition upgrading of self, then the total interface plate of restarting in the first subsystem carries out edition upgrading.
Further, in this step, after described first subsystem is carried out edition upgrading, recover the mutual of control message and service message between described main control board and described slave control board, also namely main control board and slave control board revert to normal mode of operation.
From above-mentioned, the device updating method of the embodiment of the present invention, by main control board, slave control board and interface board being divided into two different subsystems, and be arranged on when carrying out edition upgrading, a sub-system external communication, another subsystem carries out restarting upgrading, thus ensures to have at any time a subsystem can correspondence with foreign country in escalation process, to realize not interrupting of service traffics in escalation process.
In addition, equipment of the present invention is in escalation process, only carry out between main control board and slave control board control message mutual, do not carry out the mutual of service message, and the mutual of service message and control message is recovered between main control board and slave control board again after upgrading, thus not only avoid the loss of business datum, the mutual of the business datum in escalation process between two master control borads can also be reduced.
In addition, also it should be noted that:
1, slave control board can't dock oralia in the normal mode of operation and manages, before upgrading, and can first by active and standby master control board switching.But when system is in upgrade status, all master control borad (main control board) management services managing each interface, the master control borad (slave control board) not managing each interface is upgraded, namely in arbitrary upgrading moment, be all that the subsystem at slave control board place is first upgraded, upgrade after the subsystem at main control board place, correspond in the present invention, be the second subsystem first to upgrade, upgrade after the first subsystem.
The break-make of the service message 2, between main control board and slave control board controls, and can be realized by the mutual chip controlled on main control board and slave control board.As when the first subsystem carries out upgrading service, by arranging the mutual chip close port on main control board, thus the filtration of finishing service message (hardware); The mode that also can be marked by software design patterns is realized, namely after software design patterns mark, the message screening between two cover subsystems is completed by software, as when the first subsystem carries out upgrading service, carry out close port by the mark arranged on main control board, thus realize the filtration (software) of service message.
The embodiment of the present invention also provides a kind of equipment upgrade device, as shown in Figures 2 and 3, comprise main control board, slave control board and at least two interface boards, when carrying out edition upgrading, the first subsystem and the second subsystem all have two mode of operations: normal mode of operation and isolation mode.Introduce in detail in two kinds of patterns method part above, just repeat no more herein.
In addition, for described first interface control module and described second interface control module all arrange mark of mourning in silence, described in mourn in silence mark enable time, described interface board keeps communication; Described mourn in silence mark disable time, described interface board stops communication.
This mark of mourning in silence can be realized by hardware: as being arranged on the logical circuit on interface board, the logical circuit on main control board connects first interface control module and the first upgraded module respectively.Such as when the first subsystem carries out edition upgrading, described first upgraded module is by logical circuit notice first interface control module, and then the interface of first interface control module control interface plate is closed.In addition, this mark of mourning in silence also can be realized by software: the state such as arranging the first upgraded module monitor-interface plate, and when learning that the first subsystem carries out edition upgrading, notice first interface control module, to close the interface of interface board.
Wherein, see Fig. 3, this device comprises the first upgraded module be located on described main control board, first interface control module, configuration module, is located at the second upgraded module on slave control board, the second interface control module;
At least one interface board in described main control board and described interface board is configured to the first subsystem and all the other at least one interface boards in described slave control board and described interface board is configured to the second subsystem by described configuration module (not shown in Fig. 3).Wherein, the dividing mode of two subsystems can for just planning when frame type equipment designs, and such as, before, several interface boards divide in the first subsystem, and several interface boards divide in the second subsystem afterwards, and trigger this configuration module action in use by user.In the present embodiment, this configuration module can be positioned on main control board, is configured the first subsystem and the second subsystem by main control board; Each interface board, according to the instruction of configuration module, records and oneself belongs to which subsystem.
When carrying out edition upgrading, described first upgraded module is when receiving edition upgrading file, the interface board of described first subsystem is kept communication by notice first interface control module, notify that the interface board of described second subsystem is stopped communication by described second interface control module, and notify that described second upgraded module carries out the edition upgrading of the second subsystem.
Wherein, described first upgraded module notifies that the interface board of described second subsystem stops communication comprising by described second interface control module: described first upgraded module notifies described second upgraded module, notifies that the interface board of described second subsystem is stopped communication by described second interface control module by described second upgraded module again;
Or described first upgraded module directly notifies that the interface board of described second subsystem is stopped communication by described second interface control module.
Described first upgraded module notifies that the edition upgrading that described second upgraded module carries out the second subsystem comprises: described first upgraded module notifies that described second upgraded module is by the edition upgrading of described slave control board, and after upgrading, described second upgraded module notifies that the total interface plate that described second interface control module is restarted in the second subsystem carries out edition upgrading.
In addition, before carrying out edition upgrading, between described first upgraded module and described second upgraded module, carry out the mutual of control message and service message.After the first upgraded module notifies that the second upgraded module carries out edition upgrading, only carry out the mutual of control message between the first upgraded module and described second upgraded module, namely above-mentioned main control board and slave control board are all in isolation mode.
When carrying out edition upgrading, before described second upgraded module carries out the edition upgrading of the second subsystem, the business of the interface board of access second subsystem is reached described second upgraded module by described second interface control module, described second upgraded module utilizes redundant link (as straddle polymerization technique) that this business is reached the first upgraded module, and hands over extremely described first interface control module to process by the first upgraded module.
In addition, specifically, the interface board realizing the first subsystem keeps communication, the interface board stopping communication of the second subsystem is: when described first upgraded module receives edition upgrading file, notify that described first interface control module mark of mourning in silence is opened, described second interface control module mark of mourning in silence is closed.
Then, described first upgraded module is after confirming the edition upgrading of described second subsystem to described second upgraded module, described second interface control module is notified via described second upgraded module, the interface board of described second subsystem is switched to communications status, and notifies that the interface board of described first subsystem is stopped communication by described first interface control module.
Wherein, described first upgraded module comprises confirming that the edition upgrading of described second subsystem is complete to described second upgraded module: the first upgraded module periodically inquires described in described second upgraded module, whether the second subsystem upgrades complete, such as but not limited to: the first upgraded module periodically sends inquiry message, to inquire whether the second upgraded module upgrades complete.
Or second upgraded module confirmation described second sub-system staging after, notify described first upgraded module, such as but not limited to: the second upgraded module, after upgrading, sends a reply message to the first upgraded module, carries out edition upgrading to trigger the first subsystem.
Specifically, described first upgraded module is after confirming the edition upgrading of described second subsystem to described second upgraded module, notify that described first interface control module will be mourned in silence mark disable, described second interface control module mark of mourning in silence is enable, keeps communication, the interface board of the first subsystem stops communication to realize the interface board of the second subsystem to switch to.
Again, described first subsystem is carried out edition upgrading by described first upgraded module, and after upgrading, notifies that the interface board of described first subsystem is recovered communication by described first interface control module.
During specific implementation, the first upgraded module after described first subsystem carries out edition upgrading, and upgrading after, notify described first interface control module will mourn in silence mark enable, with by the interface board of described first subsystem recover communicate.
Wherein, when carrying out the edition upgrading of described first subsystem: described first upgraded module, first by the edition upgrading of described main control board, reinforms the total interface plate that described first interface control module restarts in the first subsystem and carries out edition upgrading.
And, at described first upgraded module after described first subsystem carries out edition upgrading, make to recover between described first upgraded module and described second upgraded module the mutual of control message and service message, also namely main control board and slave control board revert to normal mode of operation.
In addition, also it should be noted that: the break-make of the service message between the first upgraded module and the second upgraded module, the mutual chip that can be controlled respectively on main control board and slave control board by the first upgraded module and the second upgraded module is realized.As when the first subsystem carries out upgrading service, the mutual chip controlled on main control board by the first upgraded module carrys out close port, thus the filtration of finishing service message.
From above-mentioned, the equipment upgrade device of the embodiment of the present invention, by main control board, slave control board and interface board being divided into two different subsystems, and be arranged on when carrying out edition upgrading, the interface board correspondence with foreign country of a subsystem, the interface board of another subsystem carries out restarting upgrading, thus ensures to have at any time the interface board of a subsystem can correspondence with foreign country in escalation process, to realize not interrupting of service traffics in escalation process.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, within the spirit and principles in the present invention all, any amendment made, equivalent replacement, improvement etc., all should be included within the scope of protection of the invention.

Claims (12)

1. a device updating method, described equipment comprises main control board, slave control board and at least two interface boards, it is characterized in that, at least one interface board in described main control board and described interface board is configured to the first subsystem, all the other at least one interface boards in described slave control board and described interface board are configured to the second subsystem;
Described upgrade method comprises:
When a, described main control board receive edition upgrading file, the interface board in described first subsystem is kept communication, the interface board of described second subsystem is stopped communication, and notifies that described second subsystem is carried out edition upgrading by described slave control board;
B, described main control board, after the edition upgrading confirming described second subsystem, notify that the interface board of described second subsystem is recovered communication by described slave control board, and the interface board of described first subsystem are stopped communication;
Described first subsystem is carried out edition upgrading by c, described main control board, and after upgrading, the interface board of described first subsystem is recovered communication.
2. device updating method according to claim 1, is characterized in that, in step a, the interface board of described second subsystem stops communication comprising by described main control board:
Described main control board notifies that the interface board of described second subsystem is stopped communication by described slave control board;
Or,
The interface board of described second subsystem is directly stopped communication by described main control board.
3. device updating method according to claim 1, it is characterized in that, in step a, described main control board notifies that described second subsystem is carried out edition upgrading and comprises by described slave control board: described main control board notifies that described slave control board carries out edition upgrading, and after upgrading, the total interface plate that described slave control board is restarted in the second subsystem carries out edition upgrading;
In step c, described first subsystem is carried out edition upgrading and comprises by described main control board: described main control board is first by the edition upgrading of self, then the total interface plate of restarting in the first subsystem carries out edition upgrading.
4. device updating method according to claim 1, is characterized in that, in stepb, described main control board comprises confirming that the edition upgrading of described slave control board is complete:
Described first subsystem periodically inquires whether described second subsystem upgrades complete, or
Described second subsystem notifies described first subsystem after upgrading.
5. device updating method according to claim 1, is characterized in that, before carrying out edition upgrading, carries out the mutual of control message and service message between described main control board and described slave control board;
In step a, before described second subsystem carries out edition upgrading, redundant link is utilized to transfer to the first subsystem to process the business of access second subsystem;
In step a, after main control board notifies that described slave control board carries out the edition upgrading of described second subsystem, between described main control board and described slave control board, only carry out the mutual of control message;
In step c, after described first subsystem is carried out edition upgrading by described main control board, between described main control board and described slave control board, recover the mutual of control message and service message.
6. device updating method according to claim 1, is characterized in that, for described first subsystem and described second subsystem all arrange mark of mourning in silence, described in mourn in silence mark enable time, described interface board keeps communication; Described mourn in silence mark disable time, described interface board stops communication;
In step a, when described main control board receives edition upgrading file, by enable for the mark of mourning in silence of described first subsystem, the mark disable of mourning in silence of described second subsystem;
In stepb, described main control board confirm described second subsystem edition upgrading after, by described second subsystem mourn in silence mark enable, the mark disable of mourning in silence of described first subsystem;
In step c, described main control board after described first subsystem carries out edition upgrading, by described first subsystem mourn in silence mark enable.
7. an equipment upgrade device, described equipment comprises main control board, slave control board and at least two interface boards, it is characterized in that,
Described update device comprises configuration module first upgraded module, the first interface control module be located on main control board, and is located at the second upgraded module, the second interface control module on slave control board;
At least one interface board in described main control board and described interface board is configured to the first subsystem and all the other at least one interface boards in described slave control board and described interface board is configured to the second subsystem by described configuration module;
Described first upgraded module is when receiving edition upgrading file, the interface board of described first subsystem is kept communication by notice first interface control module, notify that the interface board of described second subsystem is stopped communication by described second interface control module, and notify that described second upgraded module carries out the edition upgrading of the second subsystem;
Described first upgraded module is after confirming the edition upgrading of described second subsystem to described second upgraded module, notify described second interface control module via described second upgraded module, the interface board of described second subsystem is switched to communications status and notifies that the interface board of described first subsystem is stopped communication by described first interface control module;
Described first subsystem is carried out edition upgrading by described first upgraded module, and after upgrading, notifies that the interface board of described first subsystem is recovered communication by described first interface control module.
8. equipment upgrade device according to claim 7, is characterized in that, described first upgraded module notifies that the interface board of described second subsystem stops communication comprising by described second interface control module:
Described first upgraded module notifies described second upgraded module, notifies that the interface board of described second subsystem is stopped communication by described second interface control module by described second upgraded module again;
Or,
Described first upgraded module directly notifies that the interface board of described second subsystem is stopped communication by described second interface control module.
9. equipment upgrade device according to claim 7, is characterized in that,
Described first upgraded module notifies that the edition upgrading that described second upgraded module carries out the second subsystem comprises: described first upgraded module notifies that described second upgraded module is by the edition upgrading of described slave control board, and after upgrading, described second upgraded module notifies that the total interface plate that described second interface control module is restarted in the second subsystem carries out edition upgrading;
Described first subsystem is carried out edition upgrading and comprises by described first upgraded module: described first upgraded module, first by the edition upgrading of described main control board, reinforms the total interface plate that described first interface control module restarts in the first subsystem and carries out edition upgrading.
10. equipment upgrade device according to claim 7, is characterized in that, described first upgraded module comprises confirming that the edition upgrading of described second subsystem is complete to described second upgraded module:
Described first upgraded module periodically inquires described in described second upgraded module, whether the second subsystem upgrades complete; Or,
Described second upgraded module, after described second sub-system staging of confirmation, notifies described first upgraded module.
11. equipment upgrade devices according to claim 7, is characterized in that, before carrying out edition upgrading, carry out the mutual of control message and service message between described first upgraded module and described second upgraded module;
When carrying out edition upgrading, before described second upgraded module carries out the edition upgrading of the second subsystem, the business of the interface board of access second subsystem is reached described second upgraded module by described second interface control module, described second upgraded module utilizes redundant link that this business is reached the first upgraded module, and hands over extremely described first interface control module to process by the first upgraded module;
After described first upgraded module notifies that described second upgraded module carries out edition upgrading, make only to carry out the mutual of control message between described first upgraded module and described second upgraded module;
At described first upgraded module after described first subsystem carries out edition upgrading, make to recover between described first upgraded module and described second upgraded module the mutual of control message and service message.
12. equipment upgrade devices according to claim 7, it is characterized in that, described first interface control module and described second interface control module are all by the communications status of marking of control interface board of mourning in silence, and when described mark of mourning in silence is enable, described interface board keeps communication; Described mourn in silence mark disable time, described interface board stops communication;
When described first upgraded module receives edition upgrading file, notify that described first interface control module mark of mourning in silence is enable, described second interface control module will be mourned in silence mark disable;
Described first upgraded module, after confirming the edition upgrading of described second subsystem to described second upgraded module, notifies that described first interface control module will be mourned in silence mark disable, described second interface control module will mourn in silence mark enable;
Described first upgraded module after described first subsystem carries out edition upgrading, notify described first interface control module will mourn in silence mark enable.
CN201410603190.6A 2014-10-31 2014-10-31 A kind of device updating method and device Active CN104320475B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410603190.6A CN104320475B (en) 2014-10-31 2014-10-31 A kind of device updating method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410603190.6A CN104320475B (en) 2014-10-31 2014-10-31 A kind of device updating method and device

Publications (2)

Publication Number Publication Date
CN104320475A true CN104320475A (en) 2015-01-28
CN104320475B CN104320475B (en) 2019-01-18

Family

ID=52375643

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410603190.6A Active CN104320475B (en) 2014-10-31 2014-10-31 A kind of device updating method and device

Country Status (1)

Country Link
CN (1) CN104320475B (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105573127A (en) * 2015-05-29 2016-05-11 宇龙计算机通信科技(深圳)有限公司 Remote control permission control method and device
CN106789863A (en) * 2016-04-25 2017-05-31 新华三技术有限公司 A kind of matched rule upgrade method and device
CN107026743A (en) * 2015-06-24 2017-08-08 中兴通讯股份有限公司 The upgrade method of software version, device and communication equipment in communication equipment
CN107046476A (en) * 2017-02-21 2017-08-15 杭州迪普科技股份有限公司 A kind of method and device of edition upgrading
CN107678764A (en) * 2017-09-30 2018-02-09 杭州迪普科技股份有限公司 A kind of method and device based on ISSU upgrading VSM systems
CN107919976A (en) * 2016-10-10 2018-04-17 中兴通讯股份有限公司 Telecommunication apparatus upgrade-system and upgrade method
CN108459869A (en) * 2017-12-28 2018-08-28 新华三技术有限公司 ISSU upgrade methods and device
CN109728886A (en) * 2017-10-27 2019-05-07 中兴通讯股份有限公司 A kind of method of data synchronization, device, equipment and storage medium suitable for cross-version upgrading
CN110895469A (en) * 2019-11-29 2020-03-20 深信服科技股份有限公司 Method and device for upgrading dual-computer hot standby system, electronic equipment and storage medium
CN114745362A (en) * 2022-03-25 2022-07-12 中国科学院国家授时中心 Remote upgrading method and system based on optical fiber time service

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040255186A1 (en) * 2003-05-27 2004-12-16 Lucent Technologies, Inc. Methods and apparatus for failure detection and recovery in redundant systems
CN101888304A (en) * 2009-05-15 2010-11-17 华为技术有限公司 Updating method, device and system for routing equipment
CN102081540A (en) * 2011-01-18 2011-06-01 杭州华三通信技术有限公司 Distributed dual-master control network equipment software updating method and device
CN102195796A (en) * 2010-03-19 2011-09-21 杭州华三通信技术有限公司 Method and equipment for updating software version of distributed dual master control equipment
CN102968357A (en) * 2012-11-01 2013-03-13 中兴通讯股份有限公司 Software upgrading method and system for distributed communication device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040255186A1 (en) * 2003-05-27 2004-12-16 Lucent Technologies, Inc. Methods and apparatus for failure detection and recovery in redundant systems
CN101888304A (en) * 2009-05-15 2010-11-17 华为技术有限公司 Updating method, device and system for routing equipment
CN102195796A (en) * 2010-03-19 2011-09-21 杭州华三通信技术有限公司 Method and equipment for updating software version of distributed dual master control equipment
CN102081540A (en) * 2011-01-18 2011-06-01 杭州华三通信技术有限公司 Distributed dual-master control network equipment software updating method and device
CN102968357A (en) * 2012-11-01 2013-03-13 中兴通讯股份有限公司 Software upgrading method and system for distributed communication device

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105573127A (en) * 2015-05-29 2016-05-11 宇龙计算机通信科技(深圳)有限公司 Remote control permission control method and device
CN107026743A (en) * 2015-06-24 2017-08-08 中兴通讯股份有限公司 The upgrade method of software version, device and communication equipment in communication equipment
CN106789863A (en) * 2016-04-25 2017-05-31 新华三技术有限公司 A kind of matched rule upgrade method and device
CN106789863B (en) * 2016-04-25 2020-06-26 新华三技术有限公司 Matching rule upgrading method and device
CN107919976A (en) * 2016-10-10 2018-04-17 中兴通讯股份有限公司 Telecommunication apparatus upgrade-system and upgrade method
CN107046476A (en) * 2017-02-21 2017-08-15 杭州迪普科技股份有限公司 A kind of method and device of edition upgrading
CN107678764A (en) * 2017-09-30 2018-02-09 杭州迪普科技股份有限公司 A kind of method and device based on ISSU upgrading VSM systems
CN109728886A (en) * 2017-10-27 2019-05-07 中兴通讯股份有限公司 A kind of method of data synchronization, device, equipment and storage medium suitable for cross-version upgrading
CN108459869A (en) * 2017-12-28 2018-08-28 新华三技术有限公司 ISSU upgrade methods and device
CN110895469A (en) * 2019-11-29 2020-03-20 深信服科技股份有限公司 Method and device for upgrading dual-computer hot standby system, electronic equipment and storage medium
CN114745362A (en) * 2022-03-25 2022-07-12 中国科学院国家授时中心 Remote upgrading method and system based on optical fiber time service
CN114745362B (en) * 2022-03-25 2023-08-29 中国科学院国家授时中心 Remote upgrading method and system based on optical fiber time service

Also Published As

Publication number Publication date
CN104320475B (en) 2019-01-18

Similar Documents

Publication Publication Date Title
CN104320475A (en) Equipment upgrading method and device
CN102105867B (en) Method and system for maintaining data integrity in data servers across data centers
CN101616028B (en) Method and system for uninterrupted upgrade of communication program service
CN106254100A (en) A kind of data disaster tolerance methods, devices and systems
CN106357787A (en) Storage disaster tolerant control system
CN108616382A (en) Upgrade method, apparatus, network interface card and the equipment of network interface card firmware
CN103488498A (en) Computer booting method and computer
CN104281511A (en) Intelligent platform management interface system, substrate management controller and implementation method
CN102238093A (en) Service interruption prevention method and device
CN111162941B (en) Method for automatically managing virtual IP (Internet protocol) in Kubernetes environment
TWI740158B (en) A server system, a centralized flash memory module, and a method of updating flash firmware image
CN102081540A (en) Distributed dual-master control network equipment software updating method and device
CN103970567A (en) Method for online upgrading of cloud storage system firmware
CN105577408A (en) Method of VNFM disaster recovery protection, apparatus and NFVO thereof
CN102708027B (en) A kind of method and system avoiding outage of communication device
CN100428155C (en) Upgrading method of communication equipment
WO2014067330A1 (en) Method and system for upgrading software of distributed communication device
CN103713925A (en) Method and device for avoiding service interruption of storage array in upgrading process
CN106469069A (en) A kind of version upgrading method and system
CN105677380A (en) Method and device for plate-to-plate upgrading with dual master controls isolated
CN104516796A (en) Command set based network element backup and recovery method and device
CN106161086B (en) The control method and device that master control borad is restarted
CN100465913C (en) Configuration of recovery device and method thereof
CN100539514C (en) Intelligent optical network equipment and its implementation with two central processing units
CN102708023B (en) Back-up system counter, group system, the method that service is provided and recording medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No.

Applicant after: Xinhua three Technology Co., Ltd.

Address before: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No.

Applicant before: Huasan Communication Technology Co., Ltd.

GR01 Patent grant
GR01 Patent grant