CN102571443A - Abnormality handling method and device - Google Patents

Abnormality handling method and device Download PDF

Info

Publication number
CN102571443A
CN102571443A CN2012100192021A CN201210019202A CN102571443A CN 102571443 A CN102571443 A CN 102571443A CN 2012100192021 A CN2012100192021 A CN 2012100192021A CN 201210019202 A CN201210019202 A CN 201210019202A CN 102571443 A CN102571443 A CN 102571443A
Authority
CN
China
Prior art keywords
control unit
main control
subelement
unit
memory space
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
CN2012100192021A
Other languages
Chinese (zh)
Other versions
CN102571443B (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201210019202.1A priority Critical patent/CN102571443B/en
Publication of CN102571443A publication Critical patent/CN102571443A/en
Application granted granted Critical
Publication of CN102571443B publication Critical patent/CN102571443B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The embodiment of the invention provides an abnormality handling method, which comprises the following steps: determining a first mater control unit as a primary master control unit, determining a second master control unit as a spare master control unit so that the first master control unit is interacted with an interface board of a router through a master control board of the router, wherein the master control board comprises a multi-core processor; the multi-core processor comprises a plurality of cores; the first master control unit comprises at least one core, and the second master control unit comprises at least one core, judging whether the first master control unit is abnormal, determining the second master control unit as the primary master control unit when the first master control unit is abnormal, and determining the second master control unit as the primary master control unit so that the second master control unit instead of the first master control unit is interacted with the interface board through the master control board. In addition, the embodiment of the invention also provides a corresponding device. The cost can be reduced by the technical scheme provided by the embodiment of the invention.

Description

A kind of method and apparatus of abnormality processing
Technical field
The present invention relates to communication technical field, relate in particular to a kind of method and apparatus of abnormality processing.
Background technology
In the existing distributed route system, master control borad is responsible for system's centralized control and management.Master control borad comprises main control board and slave control board.Main control board and slave control board take a veneer respectively.All veneers all are inserted on the backboard.Main control board and slave control board carry out communication between plates through backboard.In the prior art, when on the main control board when unusual, slave control board upgrades to main control board, and whole router is taken over.
The inventor finds, has following technical problem in the prior art:
Utilize main control board and slave control board to realize masterslave switchover, cost is higher.
Summary of the invention
Embodiments of the invention provide a kind of method and apparatus of abnormality processing, can reduce cost.
For achieving the above object, embodiments of the invention adopt following technical scheme:
On the one hand, the embodiment of the invention provides a kind of method of abnormality processing, comprising:
Confirm that first main control unit is the main main control unit of using; Confirm that second main control unit is subsequent use main control unit; So that said first main control unit carries out alternately through the master control borad of router and the interface board of said router, said master control borad comprises polycaryon processor, and said polycaryon processor comprises a plurality of nuclears; Said first main control unit comprises at least one in said a plurality of nuclear, and said second main control unit comprises at least one in said a plurality of nuclear;
Judge whether said first main control unit takes place unusually;
When said first main control unit takes place when unusual, confirm that said second main control unit is mainly to use main control unit, so that said second main control unit replaces said first main control unit to carry out alternately through said master control borad and said interface board.
On the other hand, the embodiment of the invention provides a kind of device of abnormality processing, comprises confirming unit and judging unit:
Said definite unit comprises first subelement and second subelement;
Said first subelement is used for confirming that first main control unit is the main main control unit of using; Confirm that second main control unit is subsequent use main control unit; So that said first main control unit carries out alternately through the master control borad of router and the interface board of said router, said master control borad comprises polycaryon processor, and said polycaryon processor comprises a plurality of nuclears; Said first main control unit comprises at least one in said a plurality of nuclear, and said second main control unit comprises at least one in said a plurality of nuclear;
Said second subelement is used for taking place when unusual when said first main control unit of judgment unit judges; Confirm that said second main control unit is that the master uses main control unit, so that said second main control unit replaces said first main control unit to carry out alternately through said master control borad and said interface board;
Said judging unit is used to judge whether said first main control unit takes place unusually.
It is thus clear that whether the technical scheme that provides through the embodiment of the invention when first main control unit is main when use main control unit, takes place unusually through judging first main control unit, when first main control unit is unusual, second main control unit is confirmed as to lead use main control unit.The technical scheme that the embodiment of the invention provides can reach the technique effect that utilizes a master control borad to realize masterslave switchover.Compare with slave control board with main control board of the prior art, reduced cost.
Description of drawings
In order to be illustrated more clearly in the embodiment of the invention or technical scheme of the prior art; To do to introduce simply to the accompanying drawing of required use in embodiment or the description of the Prior Art below; Obviously, the accompanying drawing in describing below only is some embodiments of the present invention, for those of ordinary skills; Under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
The flow chart of the method for a kind of abnormality processing that Fig. 1 provides for the embodiment of the invention;
The structural representation of the device of a kind of abnormality processing that Fig. 2 provides for the embodiment of the invention.
Embodiment
To combine the accompanying drawing in the embodiment of the invention below, the technical scheme in the embodiment of the invention is carried out clear, intactly description, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills are not making the every other embodiment that is obtained under the creative work prerequisite, all belong to the scope of the present invention's protection.
Embodiment one
The embodiment of the invention provides a kind of method of abnormality processing, can reduce cost.The flow chart of the abnormality eliminating method that Fig. 1 provides for the embodiment of the invention.Referring to Fig. 1, said method comprises:
101, confirm that first main control unit is the main main control unit of using; Confirm that second main control unit is subsequent use main control unit; So that this first main control unit carries out alternately through the master control borad of router and the interface board of this router, this master control borad comprises polycaryon processor, and this polycaryon processor comprises a plurality of nuclears; This first main control unit comprises at least one in these a plurality of nuclears, and this second main control unit comprises at least one in these a plurality of nuclears.
During 101 concrete realizations, can carry out by the Interrupt Process unit in the polycaryon processor.
The nuclear of first main control unit in can corresponding polycaryon processor, a plurality of nuclears in also can corresponding polycaryon processor.The operational environment of first main control unit is an embedded OS.
When second main control unit is specifically realized, similar with first main control unit, repeat no more here.It is pointed out that the corresponding embedded OS embedded OS corresponding with first main control unit of second main control unit is not same embedded OS.
102, judge whether this first main control unit takes place unusually.
During 102 concrete realizations, can carry out by second main control unit.
103, take place when unusual when this first main control unit, confirm that this second main control unit is the main main control unit of use, so that this this first main control unit of second main control unit replacement carries out through this master control borad and this interface board alternately.
During 103 concrete realizations, can carry out by the Interrupt Process unit.
Second main control unit can carry out through master control borad and interface board alternately.During concrete the realization, can be after interface board receives route messages, through control channel with delivering to master control borad on this route messages.After second main control unit is received this route messages, generate the message that is used to upgrade the routing forwarding list item according to this route messages.Second main control unit is issued to interface board through control channel with the message that this is used to upgrade the routing forwarding list item.Interface board is used to upgrade the message of routing forwarding list item according to this, and the route forwarding table of this interface board is upgraded.
The embodiment of the invention provides a kind of method of abnormality processing.When first main control unit is main when use main control unit, whether take place unusually through judging first main control unit, when first main control unit is unusual, second main control unit is confirmed as to lead use main control unit.The technical scheme that the embodiment of the invention provides can reach the technique effect that utilizes a master control borad to realize masterslave switchover.Compare with slave control board with main control board of the prior art, reduced cost.
Optional,
This judges whether this first main control unit takes place specifically to comprise unusually:
When this second main control unit did not receive the heartbeat message of this first main control unit transmission in the predetermined very first time, it is unusual that this second main control unit judges that this first main control unit takes place;
Perhaps,
This second main control unit sends the heartbeat message request to this first main control unit;
When this second main control unit did not receive this heartbeat message request corresponding response in the second predetermined time, then this second main control unit judged that this first main control unit takes place unusually.
The embodiment of the invention provides two kinds of judgment modes.Second main control unit can judge whether first main control unit takes place unusually according to above-mentioned dual mode.In two kinds of judgment modes, first main control unit and second main control unit can communicate through heartbeat message.During concrete the realization, can be: corresponding first operating system of first main control unit, on first operating system, moved the corresponding thread of heartbeat message; Corresponding second operating system of second main control unit has also been moved the corresponding thread of heartbeat message on second operating system.By the way, can realize internuclear communication between first main control unit and second main control unit.Be illustrated in the face of dual mode down.
Giving an example of first kind of judgment mode:
First main control unit sends heartbeat message according to pre-defined rule to second main control unit.When second main control unit did not receive the heartbeat message of first main control unit transmission in the predetermined very first time, it is unusual that second main control unit judges that first main control unit takes place.When second main control unit received the heartbeat message of first main control unit transmission in the predetermined very first time, it is unusual that second main control unit judges that first main control unit does not take place.The very first time is a time period, and the present invention does not limit the length of the very first time.
It is thus clear that first kind of mode initiatively sent heartbeat message through first main control unit, second main control unit can receive this heartbeat message based on whether and judge whether first main control unit takes place unusually in the predetermined very first time.
Giving an example of second kind of judgment mode:
Second main control unit sends the heartbeat message request according to predetermined rule to first main control unit; When second main control unit did not receive this heartbeat message request corresponding response in the second predetermined time, then second main control unit judged that first main control unit takes place unusually.When second main control unit received request responding message in the second predetermined time, then second main control unit judged that first main control unit does not take place unusually.Second time also was a time period, and the present invention does not limit the length of second time.
It is thus clear that the second way is initiatively sent the heartbeat message request to first main control unit through second main control unit, first main control unit sends response according to the heartbeat message request to second main control unit.Second main control unit judges according in the second predetermined time, whether receiving response message whether first main control unit takes place unusually.
Need to prove that what second main control unit took place can be hardware fault unusually, also can be software fault.The very first time in the embodiment of the invention and second time can be the same or different.
In embodiments of the present invention, the hardware resource that first main control unit and second main control unit can be visited can be internal memory, network interface, flash memory (flash) but or can wipe the editorial logic device (Erasable Programmable Logic Device, EPLD).
Optional; The internal memory of this polycaryon processor visit comprises first memory space and second memory space; This first memory space and this second memory space do not have overlapping, and this first memory space is used for by this first main control unit visit, and this second main control unit is under an embargo and visits this first memory space; This second memory space is used for by this second main control unit visit, and this first main control unit is under an embargo and visits this second memory space.
Technique scheme can prevent that first main control unit and second main control unit from conducting interviews to same memory space.
Optional,
Should confirm that this second main control unit is that the master uses main control unit, specifically can comprise:
The Interrupt Process unit receives the triggering signal that this second main control unit sends, and this triggering signal is that this second main control unit judges that the signal that send unusual back takes place this first main control unit;
This Interrupt Process unit enables the Interrupt Process authority of this second main control unit according to this triggering signal.
During concrete the realization, the Interrupt Process unit can be the interruption processing module in the polycaryon processor.
Optional,
After this judged whether this first main control unit takes place unusually, this method can also comprise:
If this first main control unit takes place unusual, then repair this first main control unit;
Confirm that this first main control unit is subsequent use main control unit.
Need to prove,, be expressed as a series of combination of actions for aforesaid method embodiment; But those skilled in the art should know; The present invention does not receive the restriction of described sequence of movement, because according to the present invention, some step can adopt other orders or carry out simultaneously.Secondly, those skilled in the art also should know, the embodiment described in the specification all belongs to preferred embodiment, and related action and module might not be that the present invention is necessary.
Need to prove that " first " in the embodiment of the invention and " second " only are used for the object that is described is distinguished, and are not used in the qualification sequencing.
It is thus clear that; The embodiment of the invention provides a kind of method of abnormality processing; Whether at first main control unit is main when using main control unit, take place unusually through judging first main control unit, when first main control unit is unusual; Second main control unit is confirmed as the master use main control unit, thereby replace first main control unit; The technical scheme that the embodiment of the invention provides can utilize a master control borad to realize the technique effect of masterslave switchover.Compare with slave control board with main control board of the prior art, reduced cost.
In addition, in the technical scheme that the embodiment of the invention provides, first main control unit adopts internuclear communication with second main control unit, with respect to the communication between plates mode, has reduced power consumption.
Embodiment two
The embodiment of the invention provides a kind of device of abnormality processing, can reduce cost.Said device can be realized through the method that embodiment one improves.Fig. 2 provides a kind of device of abnormality processing for the embodiment of the invention.Referring to Fig. 2, said device comprises:
Confirm unit 201 and judging unit 202.
Should confirm that unit 201 comprised first subelement 203 and second subelement 204.
This first subelement 203 is used for confirming that first main control unit is the main main control unit of using; Confirm that second main control unit is subsequent use main control unit; So that this first main control unit carries out alternately through the master control borad of router and the interface board of this router, this master control borad comprises polycaryon processor, and this polycaryon processor comprises a plurality of nuclears; This first main control unit comprises at least one in these a plurality of nuclears, and this second main control unit comprises at least one in these a plurality of nuclears.
This second subelement 204 is used for taking place when unusual when this first main control unit of judgment unit judges; Confirm that this second main control unit is the main main control unit of using, so that this second main control unit replaces this first main control unit to carry out alternately through this master control borad and this interface board.
This judging unit 202 is used to judge whether this first main control unit takes place unusually.
When confirming unit 201 concrete realizations, can be the Interrupt Process unit in the polycaryon processor.
The nuclear of first main control unit in can corresponding polycaryon processor, a plurality of nuclears in also can corresponding polycaryon processor.The operational environment of first main control unit is an embedded OS.
When second main control unit is specifically realized, similar with first main control unit, repeat no more here.It is pointed out that the corresponding embedded OS embedded OS corresponding with first main control unit of second main control unit is not same embedded OS.
Second main control unit can carry out through master control borad and interface board alternately.During concrete the realization, can be after interface board receives route messages, through control channel with delivering to master control borad on this route messages.After second main control unit is received this route messages, generate the message that is used to upgrade the routing forwarding list item according to this route messages.Second main control unit is issued to interface board through control channel with the message that this is used to upgrade the routing forwarding list item.Interface board is used to upgrade the message of routing forwarding list item according to this, and the route forwarding table of this interface board is upgraded.
During judging unit 202 concrete realizations, can be second main control unit.
It is thus clear that; Whether the device of a kind of abnormality processing that provides according to the embodiment of the invention when first main control unit is main when using main control unit, takes place unusually through judging first main control unit; When first main control unit is unusual, second main control unit is confirmed as the main main control unit of using.The technical scheme that the embodiment of the invention provides can reach the technique effect that utilizes a master control borad to realize masterslave switchover.Compare with slave control board with main control board of the prior art, reduced cost.
Optional,
This judging unit 202 specifically can comprise:
First receives subelement, is used to receive the heartbeat message that this first main control unit sends.
First judgment sub-unit is used for when this first reception subelement does not receive the heartbeat message of this first main control unit transmission in the predetermined very first time, and it is unusual to judge that this first main control unit takes place.
Optional,
This judging unit 202 specifically can comprise:
Send subelement, be used for sending the heartbeat message request to this first main control unit;
Second receives subelement, is used to receive this heartbeat message request corresponding response;
Second judgment sub-unit is used for when this second reception subelement does not receive this heartbeat message request corresponding response in the second predetermined time, and it is unusual to judge that this first main control unit takes place.
During judging unit 202 concrete realizations, can be second main control unit.
The embodiment of the invention provides two kinds of judgment modes.Second main control unit can judge whether first main control unit takes place unusually according to above-mentioned dual mode.In two kinds of judgment modes, first main control unit and second main control unit can communicate through heartbeat message.During concrete the realization, can be: corresponding first operating system of first main control unit, on first operating system, moved the corresponding thread of heartbeat message; Corresponding second operating system of second main control unit has also been moved the corresponding thread of heartbeat message on second operating system.By the way, can realize internuclear communication between first main control unit and second main control unit.Be illustrated in the face of dual mode down.
Giving an example of first kind of judgment mode:
First main control unit sends heartbeat message according to pre-defined rule to second main control unit.When second main control unit did not receive the heartbeat message of first main control unit transmission in the predetermined very first time, it is unusual that second main control unit judges that first main control unit takes place.When second main control unit received the heartbeat message of first main control unit transmission in the predetermined very first time, it is unusual that second main control unit judges that first main control unit does not take place.The very first time is a time period, and the present invention does not limit the length of the very first time.
It is thus clear that first kind of mode initiatively sent heartbeat message through first main control unit, second main control unit can receive this heartbeat message based on whether and judge whether first main control unit takes place unusually in the predetermined very first time.
Giving an example of second kind of judgment mode:
Second main control unit sends the heartbeat message request according to predetermined rule to first main control unit; When second main control unit did not receive this heartbeat message request corresponding response in the second predetermined time, then second main control unit judged that first main control unit takes place unusually.When second main control unit received request responding message in the second predetermined time, then second main control unit judged that first main control unit does not take place unusually.Second time also was a time period, and the present invention does not limit the length of second time.
It is thus clear that the second way is initiatively sent the heartbeat message request to first main control unit through second main control unit, first main control unit sends response according to the heartbeat message request to second main control unit.Second main control unit judges according in the second predetermined time, whether receiving response message whether first main control unit takes place unusually.
Need to prove that what second main control unit took place can be hardware fault unusually, also can be software fault.The very first time in the embodiment of the invention and second time can be the same or different.
In embodiments of the present invention, the hardware resource that can visit of first main control unit and second main control unit can be internal memory, network interface, flash memory or EPLD.
Optional,
This second subelement specifically can comprise the reception subelement and enable subelement:
This reception subelement is used to receive the triggering signal that this second main control unit sends, and this triggering signal is that this second main control unit judges that the signal that send unusual back takes place this first main control unit;
This enables the Interrupt Process authority that subelement is used for after this reception subelement receives this triggering signal, enabling this second main control unit.
Optional,
Said device can also comprise the reparation unit, and this reparation unit is used for after this first main control unit of this judgment unit judges takes place unusually, repairing this first main control unit;
Should confirm that the unit also comprised the 3rd subelement, the 3rd subelement is used for behind this first main control unit of this reparation unit reparation, confirming that this first main control unit is subsequent use main control unit.
During concrete the realization, repair first main control unit and can repair through software mode.Restorative procedure can be the software reset.
Optional,
Said device can also comprise the internal memory that is used for by this polycaryon processor visit; This internal memory comprises first memory space and second memory space; This first memory space and this second memory space do not have overlapping, and this first memory space is used for by this first main control unit visit, and this second main control unit is under an embargo and visits this first memory space; This second memory space is used for by this second main control unit visit, and this first main control unit is under an embargo and visits this second memory space.
Technique scheme can prevent that first main control unit and second main control unit from conducting interviews to same memory space.
Need to prove that " first " in the embodiment of the invention and " second " only are used for the object that is described is distinguished, and are not used in the qualification sequencing.
The technical scheme that the embodiment of the invention provides can utilize a master control borad to realize the technique effect of masterslave switchover.Compare with slave control board with main control board of the prior art, reduced cost.
In addition, in the technical scheme that the embodiment of the invention provides, first main control unit adopts internuclear communication with second main control unit, with respect to the communication between plates mode, has reduced power consumption.
Those of ordinary skills can recognize, the unit and the algorithm steps of each example of describing in conjunction with embodiment disclosed herein can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions still are that software mode is carried out with hardware actually, depend on the application-specific and the design constraint of technical scheme.The professional and technical personnel can use distinct methods to realize described function to each certain applications, but this realization should not thought and exceeds scope of the present invention.
The those skilled in the art can be well understood to, for the convenience described with succinct, the concrete course of work of the system of foregoing description, device and unit can repeat no more at this with reference to the corresponding process among the preceding method embodiment.
In several embodiment that the application provided, should be understood that the system that is disclosed, apparatus and method can realize through other mode.For example, device embodiment described above only is schematically, for example; The division of said unit; Can only be that a kind of logic function is divided, during actual the realization other dividing mode can be arranged, for example a plurality of unit or assembly can combine or can be integrated into another system; Or some characteristics can ignore, or do not carry out.Another point, the coupling each other that shows or discuss or directly coupling or communication to connect can be through some interfaces, the INDIRECT COUPLING of device or unit or communication connect, and can be electrically, machinery or other form.
Said unit as separating component explanation can or can not be physically to separate also, and the parts that show as the unit can be or can not be physical locations also, promptly can be positioned at a place, perhaps also can be distributed on a plurality of NEs.Can select wherein some or all of unit to realize the purpose of present embodiment scheme according to the actual needs.
In addition, each functional unit in each embodiment of the present invention can be integrated in the processing unit, also can be that the independent physics in each unit exists, and also can be integrated in the unit two or more unit.
If said function realizes with the form of SFU software functional unit and during as independently production marketing or use, can be stored in the computer read/write memory medium.Based on such understanding; The part that technical scheme of the present invention contributes to prior art in essence in other words or the part of this technical scheme can be come out with the embodied of software product; This computer software product is stored in the storage medium; Comprise some instructions with so that computer equipment (can be personal computer, server, the perhaps network equipment etc.) carry out all or part of step of the said method of each embodiment of the present invention.And aforesaid storage medium comprises: (english abbreviation is ROM for USB flash disk, portable hard drive, read-only memory; English full name is Read-Only Memory), various media that can be program code stored such as random access memory (english abbreviation is RAM, and English full name is Random Access Memory), magnetic disc or CD.
The above; Be merely embodiment of the present invention, but protection scope of the present invention is not limited thereto, any technical staff who is familiar with the present technique field is in the technical scope that the present invention discloses; Can expect easily changing or replacement, all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion by said protection range with claim.

Claims (10)

1. the method for an abnormality processing is characterized in that, comprising:
Confirm that first main control unit is the main main control unit of using; Confirm that second main control unit is subsequent use main control unit; So that said first main control unit carries out alternately through the master control borad of router and the interface board of said router, said master control borad comprises polycaryon processor, and said polycaryon processor comprises a plurality of nuclears; Said first main control unit comprises at least one in said a plurality of nuclear, and said second main control unit comprises at least one in said a plurality of nuclear;
Judge whether said first main control unit takes place unusually;
When said first main control unit takes place when unusual, confirm that said second main control unit is mainly to use main control unit, so that said second main control unit replaces said first main control unit to carry out alternately through said master control borad and said interface board.
2. method according to claim 1 is characterized in that, saidly judges whether said first main control unit takes place specifically to comprise unusually:
When said second main control unit did not receive the heartbeat message of said first main control unit transmission in the predetermined very first time, it is unusual that said second main control unit judges that said first main control unit takes place;
Perhaps,
Said second main control unit sends the heartbeat message request to said first main control unit;
When said second main control unit did not receive said heartbeat message request corresponding response in the second predetermined time, it is unusual that then said second main control unit judges that said first main control unit takes place.
3. method according to claim 1 and 2 is characterized in that, said definite said second main control unit is that the master uses main control unit, specifically comprises:
The Interrupt Process unit receives the triggering signal that said second main control unit sends, and said triggering signal is that said second main control unit judges that the signal that send unusual back takes place said first main control unit;
Said Interrupt Process unit enables the Interrupt Process authority of said second main control unit according to said triggering signal.
4. according to the arbitrary described method of claim 1~3, it is characterized in that, said judge said first main control unit whether take place unusual after, said method also comprises:
If said first main control unit takes place unusual, then repair said first main control unit;
Confirm that said first main control unit is subsequent use main control unit.
5. according to the arbitrary described method of claim 1~4, it is characterized in that,
The internal memory of said polycaryon processor visit comprises first memory space and second memory space; Said first memory space and said second memory space do not have overlapping; Said first memory space is used for by said first main control unit visit; Said second main control unit is under an embargo and visits said first memory space, and said second memory space is used for by said second main control unit visit, and said first main control unit is under an embargo and visits said second memory space.
6. the device of an abnormality processing is characterized in that, comprises confirming unit and judging unit:
Said definite unit comprises first subelement and second subelement;
Said first subelement is used for confirming that first main control unit is the main main control unit of using; Confirm that second main control unit is subsequent use main control unit; So that said first main control unit carries out alternately through the master control borad of router and the interface board of said router, said master control borad comprises polycaryon processor, and said polycaryon processor comprises a plurality of nuclears; Said first main control unit comprises at least one in said a plurality of nuclear, and said second main control unit comprises at least one in said a plurality of nuclear;
Said second subelement is used for taking place when unusual when said first main control unit of judgment unit judges; Confirm that said second main control unit is that the master uses main control unit, so that said second main control unit replaces said first main control unit to carry out alternately through said master control borad and said interface board;
Said judging unit is used to judge whether said first main control unit takes place unusually.
7. device according to claim 6 is characterized in that, said judging unit specifically comprises:
First receives subelement, is used to receive the heartbeat message that said first main control unit sends;
First judgment sub-unit is used for when the said first reception subelement does not receive the heartbeat message of said first main control unit transmission in the predetermined very first time, and it is unusual to judge that said first main control unit takes place;
Perhaps,
Send subelement, be used for sending the heartbeat message request to said first main control unit;
Second receives subelement, is used to receive said heartbeat message request corresponding response;
Second judgment sub-unit is used for when said second receives subelement and in the second predetermined time, do not receive said heartbeat message request corresponding response, and it is unusual to judge that said first main control unit takes place.
8. according to claim 6 or 7 described devices, it is characterized in that said second subelement specifically comprises the reception subelement and enables subelement:
Said reception subelement is used to receive the triggering signal that said second main control unit sends, and said triggering signal is that said second main control unit judges that the signal that send unusual back takes place said first main control unit;
Saidly enable the Interrupt Process authority that subelement is used for after said reception subelement receives said triggering signal, enabling said second main control unit.
9. according to the arbitrary described device of claim 6~8, it is characterized in that,
Said device also comprises the reparation unit, and said reparation unit is used for after said first main control unit of said judgment unit judges takes place unusually, repairing said first main control unit;
Said definite unit also comprises the 3rd subelement, and said the 3rd subelement is used for after said first main control unit is repaired in said reparation unit, confirming that said first main control unit is subsequent use main control unit.
10. according to the arbitrary described device of claim 6~9, it is characterized in that,
Said device also comprises the internal memory that is used for by said polycaryon processor visit; Said internal memory comprises first memory space and second memory space; Said first memory space and said second memory space do not have overlapping; Said first memory space is used for by said first main control unit visit; Said second main control unit is under an embargo and visits said first memory space, and said second memory space is used for by said second main control unit visit, and said first main control unit is under an embargo and visits said second memory space.
CN201210019202.1A 2012-01-20 2012-01-20 Abnormality handling method and device Expired - Fee Related CN102571443B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210019202.1A CN102571443B (en) 2012-01-20 2012-01-20 Abnormality handling method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210019202.1A CN102571443B (en) 2012-01-20 2012-01-20 Abnormality handling method and device

Publications (2)

Publication Number Publication Date
CN102571443A true CN102571443A (en) 2012-07-11
CN102571443B CN102571443B (en) 2015-04-08

Family

ID=46415969

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210019202.1A Expired - Fee Related CN102571443B (en) 2012-01-20 2012-01-20 Abnormality handling method and device

Country Status (1)

Country Link
CN (1) CN102571443B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016078362A1 (en) * 2014-11-21 2016-05-26 中兴通讯股份有限公司 Method and device for upgrade board by board in dual master control isolation
CN109298961A (en) * 2018-08-28 2019-02-01 迈普通信技术股份有限公司 Fault handling method, device and the network equipment of multi-core processor
CN110874926A (en) * 2018-08-31 2020-03-10 百度在线网络技术(北京)有限公司 Intelligent road side unit

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040042395A1 (en) * 2002-09-03 2004-03-04 Xiaomei Lu IS-IS high availability design
CN101005398A (en) * 2006-01-20 2007-07-25 迈普(四川)通信技术有限公司 Double machine work method on single frame device
CN101252535A (en) * 2008-03-28 2008-08-27 杭州华三通信技术有限公司 Centralize type forwarding network appliance and method
CN101262501A (en) * 2008-04-23 2008-09-10 杭州华三通信技术有限公司 An inter-core communication method in multi-core system and one multi-core system
CN101631075A (en) * 2009-08-19 2010-01-20 杭州华三通信技术有限公司 Method for processing message and device thereof
CN102204185A (en) * 2011-05-31 2011-09-28 华为技术有限公司 Multi-core router

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040042395A1 (en) * 2002-09-03 2004-03-04 Xiaomei Lu IS-IS high availability design
CN101005398A (en) * 2006-01-20 2007-07-25 迈普(四川)通信技术有限公司 Double machine work method on single frame device
CN101252535A (en) * 2008-03-28 2008-08-27 杭州华三通信技术有限公司 Centralize type forwarding network appliance and method
CN101262501A (en) * 2008-04-23 2008-09-10 杭州华三通信技术有限公司 An inter-core communication method in multi-core system and one multi-core system
CN101631075A (en) * 2009-08-19 2010-01-20 杭州华三通信技术有限公司 Method for processing message and device thereof
CN102204185A (en) * 2011-05-31 2011-09-28 华为技术有限公司 Multi-core router

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016078362A1 (en) * 2014-11-21 2016-05-26 中兴通讯股份有限公司 Method and device for upgrade board by board in dual master control isolation
CN109298961A (en) * 2018-08-28 2019-02-01 迈普通信技术股份有限公司 Fault handling method, device and the network equipment of multi-core processor
CN110874926A (en) * 2018-08-31 2020-03-10 百度在线网络技术(北京)有限公司 Intelligent road side unit
US11579285B2 (en) 2018-08-31 2023-02-14 Baidu Online Network Technology (Beijing) Co., Ltd. Intelligent roadside unit

Also Published As

Publication number Publication date
CN102571443B (en) 2015-04-08

Similar Documents

Publication Publication Date Title
CN202798798U (en) High availability system based on cloud computing technology
CN103458086B (en) A kind of smart mobile phone and fault detection method thereof
US20090187668A1 (en) Protocol Independent Server Replacement and Replication in a Storage Area Network
CN104461747B (en) A kind of distributed task dispatching system
CN104170323A (en) Fault handling method, device and system based on network function virtualization
CN102346779A (en) Distributed file system and master control node backup method
CN103618627A (en) Method, device and system for managing virtual machines
CN104468521A (en) Online migration method, device and system
CN103152390A (en) Method and device and nodes and system for node configuration of distributed storage system
CN102710436A (en) Network equipment management method, device, relative equipment and system
CN102752147A (en) Method and device for creating network equipment
CN102739451A (en) Method and device for updating master-slave switchover condition, server and system
CN102387042A (en) Automatic configuration method and system as well as network node
CN104781792A (en) Redundancy device unit and method for determining fault in industrial control system, industrial control system and industrial system comprising redundancy device unit
CN102520982A (en) Method and device of node hot plug
CN102571443A (en) Abnormality handling method and device
CN103324554A (en) Standby system device, a control method, and a program thereof
CN105550076A (en) Image splicing control system and redundant hot backup method thereof
CN111294413B (en) Method, device and readable medium for determining Internet Protocol (IP) address
CN104461705A (en) Service access method, storage controllers and cluster storage system
CN102393838A (en) Data processing method and device, PCI-E (peripheral component interface-express) bus system, and server
CN103412771A (en) Software upgrading processing method, device and system
CN110968456B (en) Method and device for processing fault disk in distributed storage system
CN104683130A (en) Method for configuring stacking port and equipment
CN101114264A (en) System and method for providing increased availability of i/o drawers

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
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20150408

Termination date: 20190120