CN104320475B - A kind of device updating method and device - Google Patents
A kind of device updating method and device Download PDFInfo
- Publication number
- CN104320475B CN104320475B CN201410603190.6A CN201410603190A CN104320475B CN 104320475 B CN104320475 B CN 104320475B CN 201410603190 A CN201410603190 A CN 201410603190A CN 104320475 B CN104320475 B CN 104320475B
- 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.)
- Active
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0803—Configuration setting
- H04L41/0813—Configuration setting characterised by the conditions triggering a change of settings
- H04L41/082—Configuration setting characterised by the conditions triggering a change of settings the condition being updates or upgrades of network functionality
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Hardware Redundancy (AREA)
- Stored Programmes (AREA)
Abstract
The invention discloses a kind of device updating methods, the first subsystem and the second subsystem are configured by main control board, slave control board and the multiple interface boards in equipment, when including: that main control board receives edition upgrading file, interface board in first subsystem is kept into communication, the interface board of second subsystem is stopped into communication, and notifies slave control board that the second subsystem is carried out edition upgrading;For main control board after confirming the edition upgrading of the second subsystem, the interface board of the second subsystem is restored communication by notice slave control board, and the interface board of the first subsystem is stopped communicating;First subsystem is carried out edition upgrading by main control board, and the interface board of the first subsystem is restored communication after upgrading, to guarantee to have at any time in escalation process a subsystem can be with correspondence with foreign country, to realize not interrupting for service traffics in escalation process.The invention also discloses a kind of equipment upgrade devices.
Description
Technical field
The present invention relates to technical field of communication equipment more particularly to a kind of device updating methods and device.
Background technique
In current frame type equipment, generally all has the structure of dual master control plate and several interface boards.Master control borad is mainly complete
At the management work of all devices on frame, while also realizing the data exchanging function in frame in each board.Interface board mainly mentions
For user interface.Wherein, dual master control plate includes main control board and slave control board.In any operation time, main control board
Management interface plate;Slave control board can just take over main control board and carry out management interface plate when problem occurs for main control board.
In the incompatible version upgrading of frame type equipment, general there are two types of methods:
First is that restarting whole equipment after entire frame type equipment setting new version software is as startup file.Such upgrading side
Formula is simple and crude, and in entire restarting process, interface board interrupts completely with extraneous business.
Second is that realizing edition upgrading in such a way that slave control board is isolated.Specifically, first restarting spare master control
Plate, slave control board enter isolated state after starting with new version software, other interface boards interaction got along well in frame type equipment.It weighs again
Open total interface plate and main control board.When main control board is restarted, slave control board, which releases, to be isolated and is switched to new
Main control board is come adapter tube total interface plate;And former main control board is with new version software after being started, and automatically becomes new standby
Use master control borad.Interface board loads new version software from new main control board, and then completes the version of entire frame type equipment more
Newly.
Simple and crude for the first upgrade method, in entire restarting process, interface board and extraneous service traffics are complete
It interrupts.
For second of upgrade method, weighed after still needing to reload new version software due to all interface boards
It opens, in the process, service traffics are still interrupted completely.
The interruption of service traffics will cause the unstable of system, bring 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 above problems.
In order to achieve the above objectives, the technical solution of the embodiment of the present invention is achieved in that
The embodiment of the present invention provides a kind of device updating method, the equipment include main control board, slave control board and
At least one interface board in the main control board and the interface board is configured the first subsystem by least two interface boards
System, by remaining in the slave control board and the interface board, at least one interface board is configured to the second subsystem.
The upgrade method includes:
A, when the main control board receives edition upgrading file, the interface board in first subsystem is kept logical
The interface board of second subsystem is stopped communication, and the slave control board is notified to carry out second subsystem by letter
Edition upgrading;
B, the main control board notifies the spare master control after confirming the edition upgrading of second subsystem
The interface board of second subsystem is restored communication by plate, and the interface board of first subsystem is stopped communicating;
C, first subsystem is carried out edition upgrading by the main control board, and by described first after upgrading
The interface board of subsystem restores communication.
Optionally, in step a, the interface board of second subsystem is stopped communication and includes: by the main control board
The main control board notifies the slave control board that the interface board of second subsystem is stopped communication;
Or,
The interface board of second subsystem is directly stopped communication by the main control board.
Optionally, in step a, the main control board notifies the slave control board to carry out second subsystem
Edition upgrading includes: the main control board notifies the slave control board to carry out edition upgrading, and after upgrading, described
Slave control board restarts the total interface plate in the second subsystem and carries out edition upgrading;
In step c, first subsystem progress edition upgrading is included by the main control board: the primary master control
Plate is first by the edition upgrading of itself, then the total interface plate restarted in the first subsystem carries out edition upgrading.
Optionally, in stepb, the main control board finishes packet in the edition upgrading for confirming the slave control board
It includes:
First subsystem periodically inquires whether second subsystem upgrades and finishes, or
Second subsystem notifies first subsystem after upgrading.
Optionally, control is carried out before carrying out edition upgrading, between the main control board and the slave control board to disappear
The interaction of breath and service message;
In step a, before second subsystem carries out edition upgrading, the business for accessing the second subsystem is utilized superfluous
Remaining link transfers to the first subsystem to be handled.
Optionally, in step a, the slave control board is notified to carry out the version of second subsystem in main control board
After this upgrading, the interaction of control message is only carried out between the main control board and the slave control board;
In step c, after first subsystem is carried out edition upgrading by the main control board, the main control board
The interaction of recovery control message and service message between the slave control board.
Optionally, it is respectively provided with silent label for first subsystem and second subsystem, the silent label makes
When energy, the interface board keeps communication;When the silence marks non-enabled, the interface board stops communication;
In step a, when the main control board receives edition upgrading file, the silence of first subsystem is marked
Note is enabled, and the silence label of second subsystem is non-enabled;
In stepb, the main control board is after confirming the edition upgrading of second subsystem, by described the
The silent label of two subsystems is enabled, and the silence label of first subsystem is non-enabled;
In step c, the main control board is after first subsystem carries out edition upgrading, by first subsystem
The silent label of system is enabled.
The embodiment of the present invention also provides a kind of equipment upgrade device, includes main control board, spare master control in the equipment
Plate and at least two interface boards, the update device include configuration module on the main control board, the first upgraded module, the
One interface control module, and the second upgraded module on slave control board, second interface control module;
The configuration module configures first at least one interface board in the main control board and the interface board
Subsystem and at least one interface board is configured to the second subsystem by remaining in the slave control board and the interface board;
First upgraded module notifies first interface control module by described first when receiving edition upgrading file
The interface board of subsystem keeps communication, and it is logical to notify that the second interface control module stops the interface board of second subsystem
Letter, and second upgraded module is notified to carry out the edition upgrading of the second subsystem;
First upgraded module is confirming that the edition upgrading of second subsystem finishes to second upgraded module
Afterwards, the second interface control module is notified via second upgraded module, the interface board of second subsystem is switched
For communications status and notify the first interface control module that the interface board of first subsystem is stopped communication;
First subsystem is carried out edition upgrading by first upgraded module, and after upgrading, described in notice
The interface board of first subsystem is restored communication by first interface control module.
Optionally, first upgraded module notifies the second interface control module by the interface of second subsystem
Plate stops communication
First upgraded module notifies second upgraded module, by second upgraded module notifies described second again
The interface board of second subsystem is stopped communication by interface control module;
Or,
First upgraded module directly notifies the second interface control module by the interface board of second subsystem
Stop communication.
Optionally, first upgraded module notifies second upgraded module to carry out the upgrade edition upgrade pack of the second subsystem
Include: first upgraded module notifies second upgraded module by the edition upgrading of the slave control board, and is upgrading
Bi Hou, second upgraded module notify the second interface control module to restart the total interface plate in the second subsystem and carry out
Edition upgrading;
First subsystem progress edition upgrading is included by first upgraded module: first upgraded module first will
The edition upgrading of the main control board reinforms the first interface control module and restarts total interface in the first subsystem
Plate carries out edition upgrading.
Optionally, first upgraded module is in the version liter for confirming second subsystem to second upgraded module
Grade, which finishes, includes:
First upgraded module periodically inquires whether the second subsystem described in second upgraded module has upgraded
Finish;Or,
Second upgraded module notifies first upgraded module after confirming second sub-system staging.
Optionally, it before carrying out edition upgrading, is controlled between first upgraded module and second upgraded module
The interaction of message processed and service message;
When carrying out edition upgrading,
Before the edition upgrading that second upgraded module carries out the second subsystem, the second interface control module will be connect
The business for entering the interface board of the second subsystem reaches second upgraded module, and second upgraded module utilizes redundant link skill
The business is reached the first upgraded module by art, and is handed over by the first upgraded module to the first interface control module and handled.
Optionally, after first upgraded module notifies second upgraded module to carry out edition upgrading, make described the
The interaction of control message is only carried out between one upgraded module and second upgraded module;
In first upgraded module after first subsystem carries out edition upgrading, make the first upgrading mould
The interaction of recovery control message and service message between block and second upgraded module.
Optionally, the first interface control module and the second interface control module are connect by silent marking of control
The communications status of oralia, when the silent label enables, the interface board keeps communication;When the silence marks non-enabled,
The interface board stops communication;
When first upgraded module receives edition upgrading file, the first interface control module is notified to mark silence
Note is enabled, and the second interface control module is non-enabled by silence label;
First upgraded module is confirming that the edition upgrading of second subsystem finishes to second upgraded module
Afterwards, notify that the first interface control module is non-enabled by silence label, the second interface control module makes silence label
Energy;
First upgraded module notifies the first interface control mould after first subsystem carries out edition upgrading
Block is enabled by silence label.
Device updating method and device of the invention, by the way that main control board, slave control board and interface board to be divided into
Two different subsystems, and be arranged when carrying out edition upgrading, a sub- system external communication, another subsystem carries out weight
Upgrading is opened, to guarantee have a subsystem can be with correspondence with foreign country, to realize the industry in escalation process at any time in escalation process
Business flow does not interrupt.
Disappear in addition, equipment of the invention only carries out control in escalation process, between main control board and slave control board
The interaction of breath, the interaction without service message, and restore again between main control board and slave control board after upgrading
The interaction of service message and control message can also be reduced in escalation process to not only avoid the loss of business datum
The interaction of business datum between two master control borads.
Detailed description of the invention
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 the main control board and slave control board in the embodiment of the present invention.
Specific embodiment
In order to make the objectives, technical solutions, and advantages of the present invention clearer, below by way of specific embodiment and join
See attached drawing, the present invention is described in detail.
In order to solve the technical issues of device upgrade leads to interface board flow interrupt, a kind of equipment liter is present embodiments provided
Grade method, as shown in Figure 1, the equipment includes slave control board, main control board and multiple interface boards, wherein will be described primary
At least one interface board in master control borad and the interface board is configured to the first subsystem, by the slave control board and described connects
Remaining at least one interface board in oralia is configured to the second subsystem.
Wherein, it is just planned when the division mode of two subsystems can design for frame type equipment, such as preceding several connect
Oralia divides into the first subsystem, several rear interface boards divide into the second subsystem;Can also be calculated automatically by software or
User configuration notifies each interface board by label to be divided.
Firstly the need of explanation, service traffics in the present embodiment, spy refers to two layers of the interface board of frame type equipment
Flow, i.e., the service traffics directly forwarded via the interface of interface board.
It is further to note that device updating method and device in this implementation, are mainly used for version incompatible upgrading
When situation.As for the upgrading of the compatible version on active and standby master control borad, although can also be with adopting said method, in actual use
It can be realized by simpler method, i.e., directly individually each veneer be carried out to restart upgrading, without subdivided
Two subsystems.
When carrying out edition upgrading, there are two operating modes for the first subsystem and the second subsystem: normal mode of operation
And isolation mode.In the normal mode of operation, the interface board of the interface board of the first subsystem and the second subsystem is in communication
State, and the interaction of control message and service message is carried out between main control board and slave control board.It is logical in the present embodiment
Letter state refer to interface board can forwarding service data, hereinafter repeat no more.This operating mode with it is in the prior art whole
The normal mode of operation of a frame type equipment is no different.
Under isolation mode, the interface board of the interface board of the first subsystem or the second subsystem is in communications status, and main
With the interaction for only carrying out control message between master control borad and slave control board.There are many control messages, for example including but be not limited to:
Notice stops correspondence with foreign country to party subsystem, inquiry is finished to whether party subsystem upgrades.
Specifically, in order to realize the isolation mode of the first subsystem and the second subsystem, for first subsystem and institute
It states the second subsystem and is respectively provided with silent label, when the silent label enables, the interface board keeps communication;The silent label
When non-enabled, the interface board stops communication.
Silence label can be realized by hardware: the logic circuit on interface board such as be arranged in, and the logic circuit connects
Connect master control borad.Such as when the first subsystem carries out edition upgrading, the main control board passes through logic circuit control interface plate
Interface close.In addition, silence label can also be realized by software: the shape that such as setting main control board monitors interface board
State, and when learning that the first subsystem carries out edition upgrading, the interface of control interface plate is closed.
In addition, the silent label of two subsystems is logically mutual exclusion.For ease of description, above-described embodiment uses
The mode of silent label is respectively set in the first subsystem and the second subsystem.Optionally, setting one can also be passed through
Control label is to realize logic mutual exclusion of the two subsystems in isolation mode.
When carrying out edition upgrading, the upgrade method includes:
A, when the main control board receives edition upgrading file, the interface board of first subsystem is kept logical
The interface board of second subsystem is stopped communication, and notifies slave control board that second subsystem is carried out version by letter
Upgrading.
In this step, it includes: the master that the interface board of second subsystem is stopped communication by the main control board
Notify the slave control board that the interface board of second subsystem is stopped communication with master control borad;Or the main control board is straight
It connects and the interface board of second subsystem is stopped into communication.
The main control board notifies that second subsystem progress edition upgrading is included by the slave control board: described
Main control board notifies the slave control board to carry out edition upgrading, and after upgrading, and the slave control board restarts the
Total interface plate in two subsystems carries out edition upgrading.
In addition, specifically, in this step, when the main control board receives edition upgrading file, realizing first
The interface board of subsystem keeps the interface board of communication, the second subsystem to stop communication are as follows: marks the silence of first subsystem
Note is enabled, and the interface board of the first subsystem is made to keep communication, and the silence label of second subsystem is non-enabled, makes the second subsystem
The interface board of system stops communication.
In addition, carrying out control message between the main control board and the slave control board before carrying out edition upgrading
With the interaction of service message, i.e., above-mentioned main control board and slave control board are in normal mode of operation.
Also, in this step, before second subsystem carries out edition upgrading, the business of the second subsystem will be accessed
It transfers to the first subsystem to be handled using redundant link (such as straddle polymerization technique), to guarantee the timely processing of business, keeps away
Exempt from upgrading to impact business.
After main control board notifies second subsystem to carry out edition upgrading, the main control board and described spare
The interaction of control message is only carried out between master control borad, i.e., above-mentioned main control board and slave control board are in isolation mode.
B, the main control board notifies slave control board institute after confirming the edition upgrading of second subsystem
The interface board for stating the second subsystem is switched to communications status, and the interface board of first subsystem is stopped communicating.
When specific implementation, the main control board, will be described after confirming the edition upgrading of second subsystem
The silent label of second subsystem is enabled, and the silence label of first subsystem is non-enabled.
In addition, in this step, the main control board is finished in the edition upgrading for confirming the slave control board includes:
First subsystem is periodically inquired whether second subsystem upgrades and is finished.When such as implementing, institute
It states the first subsystem and periodically sends inquiry message, finished with inquiring whether second subsystem upgrades;And described second
Subsystem sends to first subsystem after upgrading and replys message, stops correspondence with foreign country to trigger the first subsystem
And carry out edition upgrading;
Or second subsystem first subsystem is notified after upgrading, with trigger the first subsystem stop it is externally logical
Believe and carries out edition upgrading.
C, first subsystem is carried out edition upgrading by the main control board, and by described first after upgrading
The interface board of subsystem restores communication.
When specific implementation, in this step, main control board is after first subsystem carries out edition upgrading, by described the
The silent label of one subsystem is enabled.
In this step, include by first subsystem progress edition upgrading: main control board is first by the version of itself
Upgrading, then the total interface plate restarted in the first subsystem carry out edition upgrading.
Also, in this step, after first subsystem is carried out edition upgrading, the main control board and described
The interaction of recovery control message and service message namely the recovery of main control board and slave control board are positive between slave control board
Normal operating mode.
From the foregoing, it can be seen that the equipment of the embodiment of the present invention upgrade method, by by main control board, slave control board and connecing
Oralia is divided into two different subsystems, and is arranged when carrying out edition upgrading, a sub- system external communication, another height
System carries out restarting upgrading, to guarantee have a subsystem can be with correspondence with foreign country, to realize upgrading at any time in escalation process
Service traffics in the process are not interrupted.
Disappear in addition, equipment of the invention only carries out control in escalation process, between main control board and slave control board
The interaction of breath, the interaction without service message, and restore again between main control board and slave control board after upgrading
The interaction of service message and control message can also be reduced in escalation process to not only avoid the loss of business datum
The interaction of business datum between two master control borads.
In addition, it should be noted that:
1, slave control board in the normal mode of operation can't be managed interface board, before upgrading, can first by
Active and standby master control board switching.It is master control borad (main control board) management industry for managing each interface but when system is in upgrade status
Business, it, that is, at any upgrading moment, is all slave control board institute that the master control borad (slave control board) for not managing each interface, which is upgraded,
Subsystem first upgrade, upgrade after the subsystem where main control board, correspond in the present invention, as the second subsystem is first
Upgrade, upgrades after the first subsystem.
2, the on-off control of the service message between main control board and slave control board, can be by controlling primary master control
Interaction chip on plate and slave control board is realized.Such as when the first subsystem carries out upgrading service, by the way that primary master is arranged
The interaction chip close port on plate is controlled, thus the filtering (hardware) of finishing service message;Software setting flag can also be passed through
Mode realize, i.e., after software setting flag, the message screening between two sets of subsystems is completed by software, such as in the first subsystem
When carrying out upgrading service, by the label on setting main control board come close port, to realize that the filtering of service message is (soft
Part).
The embodiment of the present invention also provides a kind of equipment upgrade device, as shown in Figures 2 and 3, including it is main control board, spare
Master control borad and at least two interface boards, when carrying out edition upgrading, there are two Working moulds for the first subsystem and the second subsystem
Formula: normal mode of operation and isolation mode.Both of which is discussed in detail in method part in front, here just no longer
It repeats.
In addition, it is respectively provided with silent label for the first interface control module and the second interface control module, it is described
When silence label is enabled, the interface board keeps communication;When the silence marks non-enabled, the interface board stops communication.
Silence label can be realized by hardware: such as be arranged in the logic circuit on interface board, on main control board
Logic circuit is separately connected first interface control module and the first upgraded module.Such as when the first subsystem carries out edition upgrading
When, first upgraded module notifies first interface control module by logic circuit, and then first interface control module controls
The interface of interface board is closed.In addition, silence label can also be realized by software: the monitoring of the first upgraded module is for example arranged and connects
The state of oralia, and when learning that the first subsystem carries out edition upgrading, first interface control module is notified, by interface board
Interface is closed.
Wherein, referring to Fig. 3, which includes the first upgraded module being set on the main control board, first interface control
Molding block, configuration module, the second upgraded module, second interface control module on slave control board;
The configuration module (being not shown in Fig. 3) is by least one interface in the main control board and the interface board
Plate is configured to the first subsystem and at least one interface board is configured to by remaining in the slave control board and the interface board
Second subsystem.Wherein, just planned when the division mode of two subsystems can design for frame type equipment, for example, before several
Interface board divides into the first subsystem, several rear interface boards divide into the second subsystem, and are triggered when in use by user
Configuration module movement.In the present embodiment, which can be located on main control board, by main control board to the first son
System and the second subsystem are configured;Each interface board records and which subsystem oneself is belonged to according to the instruction of configuration module.
When carrying out edition upgrading, first upgraded module notifies first interface when receiving edition upgrading file
The interface board of first subsystem is kept communication by control module, notifies the second interface control module by second son
The interface board of system stops communication, and second upgraded module is notified to carry out the edition upgrading of the second subsystem.
Wherein, first upgraded module notifies the second interface control module by the interface board of second subsystem
Stopping communication includes: that first upgraded module notifies second upgraded module, again by second upgraded module notice institute
It states second interface control module and the interface board of second subsystem is stopped into communication;
Or first upgraded module directly notifies the second interface control module by the interface of second subsystem
Plate stops communication.
The edition upgrading that first upgraded module notifies second upgraded module to carry out the second subsystem includes: described
First upgraded module notifies second upgraded module by the edition upgrading of the slave control board, and after upgrading, institute
Stating the second upgraded module notifies the second interface control module to restart the total interface plate in the second subsystem and carry out version liter
Grade.
In addition, being controlled between first upgraded module and second upgraded module before carrying out edition upgrading
The interaction of message and service message.After the first upgraded module notifies the second upgraded module to carry out edition upgrading, the first upgrading mould
The interaction of control message is only carried out between block and second upgraded module, i.e., above-mentioned main control board and slave control board are equal
In isolation mode.
When carrying out edition upgrading, before the edition upgrading that second upgraded module carries out the second subsystem, described the
The business for accessing the interface board of the second subsystem is reached second upgraded module, second upgrading by two interface control modules
The business is reached the first upgraded module using redundant link (such as straddle polymerization technique) by module, and by the first upgraded module hand over to
The first interface control module is handled.
In addition, specifically, realizing that the interface board of the first subsystem keeps communication, the interface board of the second subsystem stops leading to
Letter are as follows: when first upgraded module receives edition upgrading file, the first interface control module is notified to mark silence
It opens, the second interface control module closes silence label.
Then, first upgraded module is in the edition upgrading for confirming second subsystem to second upgraded module
After, the second interface control module is notified via second upgraded module, by the interface board of second subsystem
It is switched to communications status, and notifies the first interface control module that the interface board of first subsystem is stopped communication.
Wherein, first upgraded module is in the edition upgrading for confirming second subsystem to second upgraded module
Finishing includes: that the first upgraded module is periodically inquired whether the second subsystem described in second upgraded module upgrades and finished,
Such as, but not limited to: the first upgraded module periodically sends inquiry message, is finished with inquiring whether the second upgraded module upgrades.
Or second upgraded module after confirming second sub-system staging, notify first upgraded module, example
Such as, but not limited to: the second upgraded module sends to the first upgraded module after upgrading and replys message, to trigger the first subsystem
System carries out edition upgrading.
Specifically, first upgraded module is in the version for confirming second subsystem to second upgraded module
After upgrading, notify that the first interface control module is non-enabled by silence label, the second interface control module will be quiet
Silent label enables, and is switched to the interface board of the second subsystem with realization and keeps communication, the interface board of the first subsystem stops leading to
Letter.
Again, first subsystem is carried out edition upgrading by first upgraded module, and after upgrading, notice
The interface board of first subsystem is restored communication by the first interface control module.
When specific implementation, the first upgraded module is after first subsystem carries out edition upgrading, and after upgrading,
It notifies that the first interface control module is enabled by silence label, the interface board of first subsystem is restored into communication.
Wherein, when carrying out the edition upgrading of first subsystem: first upgraded module is first by the primary master
The edition upgrading for controlling plate reinforms the total interface plate that the first interface control module is restarted in the first subsystem and carries out version
Upgrading.
Also, make described first after first subsystem carries out edition upgrading in first upgraded module
The interaction of recovery control message and service message namely main control board and standby between upgraded module and second upgraded module
Normal mode of operation is reverted to master control borad.
In addition, it should be noted that: the on-off of the service message between the first upgraded module and the second upgraded module, it can
With by the first upgraded module and the second upgraded module control respectively the interaction chip on main control board and slave control board come
It realizes.Such as when the first subsystem carries out upgrading service, the interaction chip on main control board is controlled by the first upgraded module
Carry out close port, thus the filtering of finishing service message.
From the foregoing, it can be seen that the equipment of the embodiment of the present invention update device, by by main control board, slave control board and connecing
Oralia is divided into two different subsystems, and is arranged 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, to guarantee the interface board for having a subsystem at any time in escalation process
It can be with correspondence with foreign country, to realize not interrupting for the service traffics in escalation process.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all in essence of the invention
Within mind and principle, any modification, equivalent substitution, improvement and etc. done be should be included within the scope of the present invention.
Claims (10)
1. a kind of device updating method, the equipment includes main control board, slave control board and at least two interface boards, spy
Sign is, configures the first subsystem at least one interface board in the main control board and the interface board, will be described
Remaining at least one interface board in slave control board and the interface board is configured to the second subsystem;
The upgrade method includes:
A, when the main control board receives edition upgrading file, the interface board in first subsystem is kept into communication,
The interface board of second subsystem is stopped into communication, and notifies the slave control board that second subsystem is carried out version
Upgrading;
B, the main control board notifies the slave control board will after confirming the edition upgrading of second subsystem
The interface board of second subsystem restores communication, and the interface board of first subsystem is stopped communicating;
C, first subsystem is carried out edition upgrading by the main control board, and by first subsystem after upgrading
The interface board of system restores communication;
Wherein,
In step a, before second subsystem carries out edition upgrading, the business for accessing the second subsystem is utilized into redundancy chain
The first subsystem is transferred to be handled in road;
In step a, the main control board notifies the slave control board that second subsystem is carried out upgrade edition upgrade pack
Include: the main control board notifies the slave control board to carry out edition upgrading, and after upgrading, the slave control board
The total interface plate restarted in the second subsystem carries out edition upgrading;
In step c, first subsystem progress edition upgrading is included by the main control board: the main control board is first
By the edition upgrading of itself, then the total interface plate restarted in the first subsystem carries out edition upgrading.
2. device updating method according to claim 1, which is characterized in that in step a, the main control board is by institute
The interface board for stating the second subsystem stops communication and includes:
The main control board notifies the slave control board that the interface board of second subsystem is stopped communication;
Or,
The interface board of second subsystem is directly stopped communication by the main control board.
3. device updating method according to claim 1, which is characterized in that in stepb, the main control board is true
The edition upgrading for recognizing the slave control board, which finishes, includes:
First subsystem periodically inquires whether second subsystem upgrades and finishes, or
Second subsystem notifies first subsystem after upgrading.
4. device updating method according to claim 1, which is characterized in that before carrying out edition upgrading, the primary master
Control the interaction that control message and service message are carried out between plate and the slave control board;
In step a, after the edition upgrading that main control board notifies the slave control board to carry out second subsystem, institute
State the interaction that control message is only carried out between main control board and the slave control board;
In step c, after first subsystem is carried out edition upgrading by the main control board, the main control board and institute
State the interaction of recovery control message and service message between slave control board.
5. device updating method according to claim 1, which is characterized in that for first subsystem and second son
System is respectively provided with silent label, and when the silent label enables, the interface board keeps communication;The silent label is non-enabled
When, the interface board stops communication;
In step a, when the main control board receives edition upgrading file, the silent label of first subsystem is made
Can, the silence label of second subsystem is non-enabled;
In stepb, the main control board is after confirming the edition upgrading of second subsystem, by second son
The silent label of system is enabled, and the silence label of first subsystem is non-enabled;
In step c, the main control board is after first subsystem carries out edition upgrading, by first subsystem
Silence label is enabled.
It include main control board, slave control board and at least two interface boards in the equipment 6. a kind of equipment upgrade device,
It is characterized in that,
The update device includes the first upgraded module of configuration module on the main control board, first interface control module,
And the second upgraded module on slave control board, second interface control module;
At least one interface board in the main control board and the interface board is configured the first subsystem by the configuration module
It unites and at least one interface board is configured to the second subsystem by remaining in the slave control board and the interface board;
First upgraded module notifies first interface control module by first subsystem when receiving edition upgrading file
The interface board of system keeps communication, notifies the second interface control module that the interface board of second subsystem is stopped communication,
And second upgraded module is notified to carry out the edition upgrading of the second subsystem;
First upgraded module is after confirming the edition upgrading of second subsystem to second upgraded module, warp
The second interface control module is notified by second upgraded module, the interface board of second subsystem is switched to communication
State simultaneously notifies the first interface control module that the interface board of first subsystem is stopped communication;
First subsystem is carried out edition upgrading by first upgraded module, and after upgrading, notifies described first
The interface board of first subsystem is restored communication by interface control module;
Wherein,
When carrying out edition upgrading, before the edition upgrading that second upgraded module carries out the second subsystem, described second is connect
The business for accessing the interface board of the second subsystem is reached second upgraded module, second upgraded module by mouth control module
The business is reached into the first upgraded module using redundant link, and is handed over by the first upgraded module to the first interface control module
It is handled;
The edition upgrading that first upgraded module notifies second upgraded module to carry out the second subsystem includes: described first
Upgraded module notifies second upgraded module by the edition upgrading of the slave control board, and after upgrading, described
Two upgraded modules notify the second interface control module to restart the total interface plate in the second subsystem and carry out edition upgrading;
First subsystem progress edition upgrading is included by first upgraded module: first upgraded module first will be described
The edition upgrading of main control board, reinform the first interface control module restart total interface plate in the first subsystem into
Row edition upgrading.
7. equipment upgrade device according to claim 6, which is characterized in that first upgraded module notifies described second
The interface board of second subsystem is stopped communication by interface control module
First upgraded module notifies second upgraded module, by second upgraded module notifies the second interface again
The interface board of second subsystem is stopped communication by control module;
Or,
First upgraded module directly notifies the second interface control module to stop the interface board of second subsystem
Communication.
8. equipment upgrade device according to claim 6, which is characterized in that first upgraded module is to described second
Upgraded module confirms that the edition upgrading of second subsystem finishes
First upgraded module is periodically inquired whether the second subsystem described in second upgraded module upgrades and is finished;
Or,
Second upgraded module notifies first upgraded module after confirming second sub-system staging.
9. equipment upgrade device according to claim 6, which is characterized in that before carrying out edition upgrading, described first liter
The interaction of control message and service message is carried out between grade module and second upgraded module;
After first upgraded module notifies second upgraded module to carry out edition upgrading, make first upgraded module and
The interaction of control message is only carried out between second upgraded module;
First upgraded module first subsystem carry out edition upgrading after, make first upgraded module and
The interaction of recovery control message and service message between second upgraded module.
10. equipment upgrade device according to claim 6, which is characterized in that the first interface control module and described
Second interface control module is described when the silent label enables by the communications status of silent marking of control interface board
Interface board keeps communication;When the silence marks non-enabled, the interface board stops communication;
When first upgraded module receives edition upgrading file, the first interface control module is notified to make silence label
Can, the second interface control module is non-enabled by silence label;
First upgraded module leads to after confirming the edition upgrading of second subsystem to second upgraded module
Know that the first interface control module is non-enabled by silence label, the second interface control module is enabled by silence label;
First upgraded module notifies the first interface control module will after first subsystem carries out edition upgrading
Silence label is enabled.
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 CN104320475A (en) | 2015-01-28 |
CN104320475B true 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) |
Families Citing this family (10)
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 |
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 |
CN107678764B (en) * | 2017-09-30 | 2020-09-08 | 杭州迪普科技股份有限公司 | Method and device for upgrading VSM system based on ISSU |
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 |
CN114745362B (en) * | 2022-03-25 | 2023-08-29 | 中国科学院国家授时中心 | Remote upgrading method and system based on optical fiber time service |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
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 |
Family Cites Families (1)
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 |
-
2014
- 2014-10-31 CN CN201410603190.6A patent/CN104320475B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
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 |
Also Published As
Publication number | Publication date |
---|---|
CN104320475A (en) | 2015-01-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104320475B (en) | A kind of device updating method and device | |
CN101277219B (en) | Communication device, communication system, and LAG management table management method used therefor | |
CN105933253B (en) | Interchanger configuration recovery method under a kind of SDN network | |
CN105183519B (en) | The device and method of ONU software version fragments upgrading | |
CN101325597B (en) | Method, apparatus and system for processing data | |
CN108616382A (en) | Upgrade method, apparatus, network interface card and the equipment of network interface card firmware | |
CN102238093A (en) | Service interruption prevention method and device | |
CN103490931B (en) | The unbroken method and apparatus of agreement in a kind of non-interrupting service escalation process | |
CN104571041A (en) | Data synchronization method based on 1:1 controller redundancies | |
WO2017173946A1 (en) | Data processing system providing service continuity protection | |
CN110166355A (en) | A kind of message forwarding method and device | |
JP7099272B2 (en) | Information processing equipment, network system and teaming program | |
US7475280B1 (en) | Active-active server for high availability of data replication management application | |
CN106254114A (en) | Cloud hostdown moving method and system | |
CN104486394A (en) | Non-interrupting service software upgrading method and device | |
CN103001787B (en) | System and method for data processing centre's disaster-tolerant backup | |
CN109347755A (en) | A kind of backup method and system for stack equipment | |
CN105306356A (en) | Method for realizing master-slave switching of multicast routing on distributed system | |
CN105005492B (en) | A kind of embedded device and a kind of method for upgrading software | |
CN101267351B (en) | Realization method, system and device for online software upgrade based on application architecture | |
CN107911250A (en) | A kind of pile system and its method for preventing traffic loss | |
CN106878075B (en) | A kind of message processing method and device | |
CN104065499B (en) | Master control borad, main preparation system, information backup method and device | |
JP2002049502A (en) | Update system for multiprocessor systems | |
CN102281158A (en) | Line fault processing method and device |
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 |