CN1829110B - Several-to-one mixing backup method for aiming at different function units - Google Patents

Several-to-one mixing backup method for aiming at different function units Download PDF

Info

Publication number
CN1829110B
CN1829110B CN200510008789A CN200510008789A CN1829110B CN 1829110 B CN1829110 B CN 1829110B CN 200510008789 A CN200510008789 A CN 200510008789A CN 200510008789 A CN200510008789 A CN 200510008789A CN 1829110 B CN1829110 B CN 1829110B
Authority
CN
China
Prior art keywords
unit
stand
functional
different function
many
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
Application number
CN200510008789A
Other languages
Chinese (zh)
Other versions
CN1829110A (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.)
New 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 CN200510008789A priority Critical patent/CN1829110B/en
Publication of CN1829110A publication Critical patent/CN1829110A/en
Application granted granted Critical
Publication of CN1829110B publication Critical patent/CN1829110B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Hardware Redundancy (AREA)

Abstract

The present invention discloses a many-to-one mixing backing up method to different functional unit. It contains 1, configuring standby unit and saving at least one unit functional software among required backing up functional unit, to make it normal running in standby state, other functional unit software temporary downloading according to requirement in main and standby unit reversion, 2, when one main unit gone wrong existing normal standby unit, system starting up main and standby reversion, 3, system notifying standby unit activating relevant functional software, changing it into new main unit and having same function with original fault main unit, 4, system modifying relevant configuring to make originally traffic stream configuring to original fault main unit, whole converting to new main unit. Said invention makes backing up through one stand-by unit to functional unit with same hard ware but different software, which greatly reduces backing up unit number and satisfying system reliable operation requirement.

Description

A kind of many-to-one mixing backup method at different function units
Technical field
The present invention relates to a kind of method that data on the different function units in the communication system are backed up, relate in particular to a kind of identical or compatible but realize that by software the data on the unit of difference in functionality carry out the method that many-one mixes backup hardware in the data communication system.
Background technology
For the very high field of reliability requirement, fields such as for example military, telecommunications, space flight and aviation, Industry Control, medical equipment, can improve reliability of products by the exploitation and the quality of production of updating each unit of product itself, though this method is helpful but also not obvious for improving system reliability, adopts backup policy just to provide the best approach of system reliability for keystone resources in the system (data).So in the high occasion of reliability requirement, the keystone resources (data) of device therefor inside is all had backup, the resource between the system core equipment (data) also has backup.But provide backup to mean the cost that will improve system, because must put at least one backup units by polygamy, when the unit of needs backups more for a long time, the cost that backup is increased will significantly rise, if all parts are all backuped, cost almost will double.
For the quantity that reduces backup units to reduce cost, industry is the unit that a plurality of hardware are identical, function is identical to existing in the system usually, a common backup units is set to be backed up, we claim N+1 backup this many-to-one backup method that carries out at same functional unit again usually, but this backup can only be carried out in the identical unit of function, and it still needs different backup units to back up during for the unit that has difference in functionality in the system.
On the other hand, equipment manufacturers are in order to reduce cost, more a lot of functional units in the equipment are all adopted identical or compatible hardware designs, realize different business functions by the different functional software of programming device operation, in a system, just have a lot of hardware identical (or compatible mutually) like this but the different unit of software function.To this situation, existing backup method still needs the unit of difference in functionality is backed up separately, can't reduce cost effectively.
Summary of the invention
Main purpose of the present invention promptly is to overcome above-mentioned defective, at a plurality of hardware that exist in the system are identical or compatible but functional units that software function is different propose a kind of better backup method, in the guaranteed while of reliability, can reduce backup cost significantly.
To achieve these goals, the invention discloses a kind of many-to-one mixing backup method, comprise the steps: at different function units
(1), the configuration stand-by unit, on stand-by unit, preserve the functional software need at least one unit in the backup functionality unit, make it normally operate in stand-by state, other functional unit softwares are downloaded by system when masterslave switchover as required temporarily;
(2), break down with functional unit as a certain master, and when having normal stand-by unit, the active and standby change of current journey of leading of system start-up; Realize described main function by the functional software that programming device moves on the described stand-by unit with functional unit.
Further scheme is that in step (2), the active and standby flow process of switching comprises the steps:
(a), the notifications stand-by unit activates the functional software of fault master with the functional unit correspondence, finishes necessary initialization, makes stand-by unit change into and new mainly uses the unit, have former fault master and use the unit identical functions;
(b), the corresponding configuration of system change, make to be configured to the Business Stream of former fault master originally with the unit, all transfer to the new main unit of using; Realize described main function by the functional software that programming device moves on the described stand-by unit with functional unit.
Wherein, comprise the steps: that also the former fault master of system reset uses functional unit.
Wherein, comprise the steps: that also the former fault master of system configuration is a stand-by unit with the unit.
Wherein, also comprise the steps: former fault master with the unit recover normal after, system switches back it and leads that to use unit, former backup units still be backup units.
Wherein, in step (2), main can the detection in real time by system with cell failure information obtains, and also can initiatively report fault to system with the unit by main.
Wherein, main when not having fault with functional unit in step (2), system also can force start is active and standby switches.
In the technical program, described stand-by unit can be one, also can be polylith.
In the technical program, described functional software comprises encode or symbolism command sequences such as various programs, programmable logic, microcode.
Wherein, the hardware of described different function units and backup units is identical or compatible mutually.
Compared with prior art, since technical solution of the present invention by to hardware in the system identical (or compatibility) mutually but the different different function units of software back up by a stand-by unit, thereby can significantly reduce the quantity of backup units, when reducing cost, can satisfy the requirement of system's reliability service again.
Embodiment
Specify detailed technology content of the present invention below in conjunction with embodiment.
In order to help to understand better the present invention, alleged unit is meant the part of a system among the present invention, and it can be independently parts, a veneer etc. for an equipment, and for a big system, it also can be an equipment.At present industry adopts the significant data in the method standby system unit of N+1 backup usually, but this backup can only carry out in the identical unit of function, for the unit of difference in functionality in the system still carrying out independent backup.
On the other hand, equipment manufacturers are in order to reduce production costs, a lot of functional units in the equipment are adopted identical or compatible mutually hardware designs, realize different business functions by the different functional software of programming device operation, the production and the maintenance cost of hardware development, material procurement and veneer can both be reduced greatly, in a system, just have a lot of hardware identical (or compatible mutually) like this but the different unit of function.And at present general N+1 backup method still needs independent backup at the unit of these difference in functionalitys, can't further effectively reduce cost.
The present invention then provides a kind of new many-one mixing backup method at different function units at this situation, and can utilize a stand-by unit is that identical or the compatible mutually but different a plurality of masters of software of a plurality of hardware back up with the data on the functional unit.
Backup method of the present invention is mainly finished by following several steps:
1, configuration stand-by unit: want to realize that many-one mixes backup, at first to dispose stand-by unit, preserve the required whole softwares of system's all functional units to back up on stand-by unit, normally operate in stand-by state, this moment, control system can be traffic flow configuration to this stand-by unit.
2, fault detect: control system detects each main ruuning situation with functional unit in real time, if detecting certain main break down (comprising software fault and hardware fault) and when having normal stand-by unit, then starts the active and standby flow process of switching with functional unit.
Wherein dual mode is adopted in fault detect usually: a kind of is regularly to inquire about, judge each main working condition with functional unit by system, and another kind is initiatively to report fault by main with functional unit.After system learns that the master is broken down with functional unit, also require current stand-by unit working properly, have only these two conditions all to satisfy just can start and switch flow process.
The user also can be as required, initiates switch flow process by command forces under the normal situation with the unit main, need not consider mainly with unit fault whether in this case, but the normal condition of stand-by unit still need satisfy.
Switching flow process comprises the steps:
(1) stand-by unit function activation: the former fault master of system reset uses the unit, and former fault master is set is stand-by unit with the unit; Notify stand-by unit to activate the functional software of fault master simultaneously, finish necessary initialization, make stand-by unit change new master into and use the unit, have former fault master and use the unit identical functions with the unit correspondence.
(2) masterslave switchover: system start-up masterslave switchover instruction makes stand-by unit can replace the fault master to carry out work with the unit, at this moment system will change corresponding configuration, the feasible Business Stream that was configured to trouble unit originally, all transferring to new master comes with the unit, former like this stand-by unit just becomes the functional unit of main usefulness, can finish former master with the whole function in unit.
3, the former fault master of system reset uses functional unit, and disposing former fault master is stand-by unit with the unit.
More than be that to load leading of all need backing up with standby unit be that example describes with the situation of the software of functional unit.In another technology implementation scheme of the present invention, also can on stand-by unit, preserve the functional software that needs one or several unit in the backup functionality unit, especially under the situation that the functional software in system is bigger, usually select one system very important function software is preloaded in the backup units, purpose is when needs are switched this functional unit, can directly activate this program, save the time of loading procedure, assurance realizes switching processing the most fast to important function, and other functional unit softwares are downloaded by system when masterslave switchover as required temporarily.Other implementation step is identical with embodiment 1.This situation does not just need the whole software of storage on stand-by unit, just just loads required software by system when switching temporarily.
In another embodiment of the present invention, described backup units becomes main with behind the functional unit, not doing stand-by unit after former fault master switches with the unit uses, after as long as former master recovers normally with the unit, system switches back again, former master still is that main to use unit, backup units still be backup units with the unit.
The present invention also can be used for functional unit FPGA (Field Programmable Gate Array) control circuit hardware difference, but only needs just can realize by software change the situation of repertoire of the functional unit of required backup, i.e. the hardware circuit situation of compatibility mutually.The for example main processor that adopts 386 type CPU with functional unit, then can adopt the processor of 486 type CPU to back up them, though 486 different with the hardware of 386 type CPU, but compatible, can finish many-to-one backup requirements equally, corresponding embodiment is identical with previous embodiment.
Another scheme that improves system reliability of the present invention of the present invention is, reserves more than one backup functionality unit in system, for example 10 main with corresponding 2 backup units of functional unit, or 10 main with corresponding 3 backup units of functional unit etc.
In addition, need to prove that the software of indication of the present invention can also be encode or the symbolism command sequence that programmable logic, microcode or the like can online change functions.The just structures that adopt CPU+NP of for example at present high-end router applications are finished different functions by loading different microcodes more, and the present invention is equally applicable to this situation.
In summary it can be seen, the present invention is identical or the compatible but different functional unit of software mutually for hardware, back up by at least one stand-by unit, can greatly reduce the quantity of backup units, reduce the system hardware cost, can satisfy again simultaneously the requirement of system's reliability service, have significant technique effect.

Claims (18)

1. one kind at the many-to-one mixing backup method of different function units, it is characterized in that, comprises the steps:
(1) configuration stand-by unit is preserved the required whole softwares of all functional units to back up on stand-by unit, make it normally operate in stand-by state;
(2) break down with functional unit as a certain master, and when having normal stand-by unit, system start-up is active and standby switches; Realize described main function by the functional software that programming device moves on the described stand-by unit with functional unit.
2. the many-one mixing backup method at different function units according to claim 1 is characterized in that, in step (2), the active and standby flow process of switching comprises the steps:
(i) the notifications stand-by unit activates the functional software of fault master with the functional unit correspondence, finishes necessary initialization, makes stand-by unit change new master into and uses the unit, has former fault master and uses the unit identical functions;
The (ii) corresponding configuration of system's change makes to be configured to the Business Stream of former fault master with the unit originally, all transfers to new master and uses the unit.
3. the many-to-one mixing backup method at different function units according to claim 2 is characterized in that, comprises the steps: that also the former fault master of system reset uses functional unit, and to dispose former fault master be stand-by unit with the unit.
4. the many-to-one mixing backup method at different function units according to claim 2, it is characterized in that, also comprise the steps: former fault master with the unit recover normal after, system switches back it and leads that to use unit, former backup units still be backup units.
5. the many-to-one mixing backup method at different function units according to claim 1 is characterized in that, in step (2), main can the detection in real time by system with cell failure information obtains, and also can initiatively report fault to system with the unit by main.
6. a kind of many-to-one mixing backup method at different function units according to claim 1 is characterized in that, and is main when not having fault with functional unit in step (2), and system also can force start is active and standby switches.
7. the many-to-one mixing backup method at different function units according to claim 1 is characterized in that described stand-by unit can be one, also can be polylith.
8. the many-to-one mixing backup method at different function units according to claim 1 is characterized in that described functional software comprises encode or symbolism command sequences such as various programs, programmable logic, microcode.
9. the many-to-one mixing backup method at different function units according to claim 1 is characterized in that, the hardware of described different function units and backup units is identical or compatible mutually.
10. the many-to-one mixing backup method at different function units is characterized in that, comprises the steps:
(a), the configuration stand-by unit, on stand-by unit, preserve the functional software need at least one unit in the backup functionality unit, make it normally operate in stand-by state, other functional unit softwares are loaded by system when masterslave switchover as required temporarily;
(b), break down with functional unit as a certain master, and when having normal stand-by unit, system start-up is active and standby switches; Realize described main function by the functional software that programming device moves on the described stand-by unit with functional unit.
11. the many-one mixing backup method at different function units according to claim 10 is characterized in that, in step (b), the active and standby flow process of switching comprises the steps:
(i) the notifications stand-by unit activates the functional software of fault master with the functional unit correspondence, finishes necessary initialization, makes stand-by unit change new master into and uses the unit, has former fault master and uses the unit identical functions;
The (ii) corresponding configuration of system's change makes to be configured to the Business Stream of former fault master with the unit originally, all transfers to new master and uses the unit.
12. the many-to-one mixing backup method at different function units according to claim 11 is characterized in that, comprises the steps: that also the former fault master of system reset uses functional unit, and to dispose former fault master be stand-by unit with the unit.
13. the many-to-one mixing backup method at different function units according to claim 11, it is characterized in that, also comprise the steps: former fault master with the unit recover normal after, system switches back it and leads that to use unit, former backup units still be backup units.
14. the many-to-one mixing backup method at different function units according to claim 10 is characterized in that, in step (b), main can the detection in real time by system with cell failure information obtains, and also can initiatively report fault to system with the unit by main.
15. a kind of many-to-one mixing backup method at different function units according to claim 10 is characterized in that, and is main when not having fault with functional unit in step (b), system also can force start is active and standby switches.
16. the many-to-one mixing backup method at different function units according to claim 10 is characterized in that described stand-by unit can be one, also can be polylith.
17. the many-to-one mixing backup method at different function units according to claim 10 is characterized in that described functional software comprises encode or symbolism command sequences such as various programs, programmable logic, microcode.
18. the many-to-one mixing backup method at different function units according to claim 10 is characterized in that, the hardware of described different function units and backup units is identical or compatible mutually.
CN200510008789A 2005-03-01 2005-03-01 Several-to-one mixing backup method for aiming at different function units Active CN1829110B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200510008789A CN1829110B (en) 2005-03-01 2005-03-01 Several-to-one mixing backup method for aiming at different function units

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200510008789A CN1829110B (en) 2005-03-01 2005-03-01 Several-to-one mixing backup method for aiming at different function units

Publications (2)

Publication Number Publication Date
CN1829110A CN1829110A (en) 2006-09-06
CN1829110B true CN1829110B (en) 2010-05-05

Family

ID=36947275

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200510008789A Active CN1829110B (en) 2005-03-01 2005-03-01 Several-to-one mixing backup method for aiming at different function units

Country Status (1)

Country Link
CN (1) CN1829110B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101170320B (en) * 2007-11-28 2015-09-16 中兴通讯股份有限公司 The method of crossed master/slave switching
WO2012106911A1 (en) * 2011-07-21 2012-08-16 华为技术有限公司 Controller, and method and system for controlling power output using same
CN110837444B (en) * 2019-09-30 2022-10-18 超聚变数字技术有限公司 Memory fault processing method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1321004A (en) * 2000-04-25 2001-11-07 华为技术有限公司 Method and equipment for swapping active with standby switches
CN1437326A (en) * 2002-02-07 2003-08-20 华为技术有限公司 Exchange method between on-line and off-line communicator
CN1545268A (en) * 2003-11-27 2004-11-10 中兴通讯股份有限公司 A method and system for Ethernet interface node backup
CN1571551A (en) * 2004-05-13 2005-01-26 中兴通讯股份有限公司 A base station equipment structure and backup method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1321004A (en) * 2000-04-25 2001-11-07 华为技术有限公司 Method and equipment for swapping active with standby switches
CN1437326A (en) * 2002-02-07 2003-08-20 华为技术有限公司 Exchange method between on-line and off-line communicator
CN1545268A (en) * 2003-11-27 2004-11-10 中兴通讯股份有限公司 A method and system for Ethernet interface node backup
CN1571551A (en) * 2004-05-13 2005-01-26 中兴通讯股份有限公司 A base station equipment structure and backup method

Also Published As

Publication number Publication date
CN1829110A (en) 2006-09-06

Similar Documents

Publication Publication Date Title
CN101043310B (en) Image backup method for dual-core control of core controlled system
CN105700969A (en) Server system
CN101217401B (en) Base station controller upgrade, backup method and device
CN110874261B (en) Availability system, method, and storage medium storing program
CN101888304A (en) Updating method, device and system for routing equipment
CN107347018A (en) A kind of triple redundance 1553B bus dynamic switching methods
CN101916217A (en) Method, control device and system for switching a plurality of controllers
CN100428155C (en) Upgrading method of communication equipment
CN102937925A (en) Distributed communication device software upgrading method and system
CN1829110B (en) Several-to-one mixing backup method for aiming at different function units
US8321608B2 (en) Pool I/O device operation confirmation method and computer system
CN104468217A (en) Network reconstruction method under 1394 network manager fault
CN101207519A (en) Version server, operation maintenance unit and method for restoring failure
CN105049936B (en) A kind of method and device of switching on and shutting down
CN114337944B (en) System-level main/standby redundancy general control method
CN113438111A (en) Method for restoring RabbitMQ network partition based on Raft distribution and application
CN100496030C (en) Integrated access media gateway device based on the high-available system
CN103152209B (en) Application service based on multiple-node backup runs treatment system
CN101631044A (en) Smooth upgrading method and smooth upgrading system of communication equipment
CN101567804B (en) Method, equipment and system for realizing protection of system anomaly
WO2008101430A1 (en) A method for active/standby switching and a system thereof
JP2010231257A (en) High availability system and method for handling failure of high availability system
WO2011158367A1 (en) Technology for updating active program
CN100499387C (en) A method of singleboard N+1 backup in communication system
WO2020011255A1 (en) Single board, backplane switch and method for powering on/off single board

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CP03 Change of name, title or address
CP03 Change of name, title or address

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

Patentee after: Xinhua three Technology Co., Ltd.

Address before: 310053 Hangzhou hi tech Industrial Development Zone, Zhejiang province science and Technology Industrial Park, No. 310 and No. six road, HUAWEI, Hangzhou production base

Patentee before: Huasan Communication Technology Co., Ltd.