Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the invention, the technical scheme in the embodiment of the invention is clearly and completely described, 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 belong to the scope of protection of the invention not making the every other embodiment that obtains under the creative work prerequisite.
For built-in BYPASS equipment, built-in BYPASS equipment generally is power taking from the protected equipment, that is: built-in BYPASS equipment relies on the power supply of its equipment of protecting to power.In distributed system, the equipment that built-in BYPASS equipment is protected can be business board.For the ease of operation, built-in BYPASS equipment is set to the form of plug-in card usually, and the BYPASS plug-in card can be connected by the business board that specific connector and its are protected.Generally; a BYPASS equipment can be integrated with many protection links simultaneously; in distributed system for the protection of many business boards; as shown in Figure 1; the BYPASS plug-in card is connected with business board 1; the BYPASS plug-in card relies on the Power supply on the business board 1, and simultaneously, the BYPASS plug-in card provides protection to the data link of business board 2 and business board 3 respectively by the corresponding interface plate that is arranged on business board 2 and the business board 3.When business board 1 breaks down the needs replacing; usually need plug business board 1 and BYPASS plug-in card; in case and business board 1 is pulled out; then the BYPASS plug-in card will lose power supply; at this moment; interruption along with the power supply of BYPASS plug-in card; the protection link 1 that this BYPASS plug-in card is integrated and protection link 2 all will be switched to the bypass protection state; and when former protection link 1 or protection link 2 when be normal condition, then owing to being forced to switch to the bypass protection state and will causing protection link 1 and protect losing of business datum on the link 2.
For fear of above-mentioned technological deficiency occurring, the embodiment of the invention provides a kind of method, Apparatus and system that prevents built-in BYPASS device looses power.
Embodiment one:
The embodiment of the invention provides a kind of method that prevents built-in BYPASS device looses power, as shown in Figure 2, is the steps flow chart of the method, and the method can may further comprise the steps:
The power supply state of step 201, the built-in BYPASS equipment of monitoring;
Step 202, when the power supply of determining protected equipment can not be for described BYPASS power devices, open the external power source of described BYPASS equipment connection, continue as described BYPASS power devices by described external power source.
In the embodiment of the invention; for built-in BYPASS equipment arranges external power source; when the power supply of the protected equipment of BYPASS equipment connection can not provide normal power supply for described BYPASS equipment; by opening external power source; continue as described BYPASS equipment by external power source normal power supply is provided; keep the normal power supply of BYPASS equipment, simultaneously, the current Link State of keeping described protected equipment is constant.As seen; even protected equipment is to the power failure of BYPASS equipment; still have external power source to continue to provide normal power supply to BYPASS equipment; guaranteed the continued power to built-in BYPASS equipment; because externally in the Power supply process; keep the current Link State of protected equipment constant, thereby avoid interruption owing to built-in BYPASS power devices to cause impact on each protection Link State, more avoided owing to protecting losing of business datum on the link that the change of Link State causes.
The embodiment of the invention is in actual implementation process, and the implementation of external power source can comprise following two kinds:
(1) described external power source is an outside stand-by power supply.
Outside stand-by power supply can be external dc-battery device or other external power supply units of form of communication, the energy storage device of the passable forms such as battery that arrange at the BYPASS device interior, and the embodiment of the invention is not specifically limited this.This outside standby power supply device is used for providing stand-by power supply, as long as this external power source can provide the normal operation of BYPASS equipment required voltage.
(2) be positioned at advanced telecom computer architecture framework (ATCA when described built-in BYPASS equipment, during back card/back board Advanced Telecommunications Computing Architecture), power supply by the master control borad among the ATCA is described built-in BYPASS power devices, and described built-in BYPASS equipment can be connected with master control borad by external cabling.
It is the BYPASS power devices that is arranged on the business board back card/back board that this kind implementation is utilized the power supply of master control borad, the BYPASS equipment on the back card/back board of can solving can not be independent of the problem of front card, BYPASS equipment on the realization back card/back board and the decoupling zero of front card, thereby the Reliability ﹠ Maintainability of raising system.
For the ease of to the fully understanding of embodiment of the invention technical scheme, below in conjunction with the accompanying drawing in the embodiment of the invention, the technical scheme in the embodiment of the invention is carried out clear, complete description.
Embodiment two
At first outside stand-by power supply is elaborated.As shown in Figure 3, for built-in BYPASS equipment in the present embodiment structural representation behind the outside stand-by power supply is set.As shown in Figure 3, the BYPASS plug-in card is connected with outside stand-by power supply, when business board 1 breaks down the needs replacing, business board 1 need to be separated with the BYPASS plug-in card, behind disassociation service plate 1 and BYPASS plug-in card, power supply on the business board 1 is no longer powered to the BYPASS plug-in card, interruption for fear of the power supply of BYPASS plug-in card, when disassociation service plate 1 and BYPASS plug-in card, open outside stand-by power supply, the power supply of being taken on the business board 1 by outside stand-by power supply continues as the power supply of BYPASS plug-in card, thereby, kept the continuity of BYPASS plug-in card power supply.Because externally in the process of stand-by power supply power supply; the current Link State of keeping all protected equipment is constant; then protect link 1 and protection link 2 still to keep original state, business datum loses on the link of having avoided causing owing to the change of protecting Link State.
The embodiment of the invention in the specific implementation, power supply that can be by monitoring protected equipment is realized the monitoring to BYPASS power devices state for the supply power voltage that described BYPASS equipment provides.When monitoring described supply power voltage and be lower than the required operating voltage of described BYPASS equipment; the power supply of then determining described protected equipment can not be described BYPASS power devices; then open outside stand-by power supply, continue as the BYPASS power devices by outside stand-by power supply.
Certainly, those skilled in the art are when implementing the present embodiment, and power supply that can also be by monitoring protected equipment is realized the monitoring to BYPASS power devices state for the supply current that described BYPASS equipment provides.To this, the present embodiment is not specifically limited.
According to the application scenarios of reality, the monitoring mode that BYPASS power devices state can be set is Real-Time Monitoring or periodic monitor.
When the power up that monitors described protected equipment is described BYPASS power devices, then interrupt described outside stand-by power supply to the power supply of described BYPASS equipment.
When the original service restoration of BYPASS equipment is normal; the power supply that supply power mode still can be switched to by protected equipment is the mode of its power supply, like this, and in normal operation; BYPASS equipment is all the time by a kind of Power supply, the wasting of resources of avoiding many power supplys to work simultaneously and cause.
Need to prove; judge whether the original power supply of BYPASS equipment recovers; the voltage that provides of power supply of the protected equipment of monitoring or the implementation of electric current still can be provided; for example: when monitoring described supply power voltage and can satisfy the required operating voltage of described BYPASS equipment; the power supply of then determining described protected equipment can be described BYPASS power devices; at this moment, can interrupt outside stand-by power supply to the power supply of BYPASS equipment.
In the embodiment of the invention, can set up connecting interface at BYPASS equipment, by this interface external power source is connected with described BYPASS equipment.And for the way of realization of this connecting interface, the embodiment of the invention also is not specifically limited.For example: those skilled in the art can it be set to the form of USB (Universal Serial BUS, USB) interface, thus convenient with BYPASS equipment be connected stand-by power supply and connect.
In addition, when comprising simultaneously a plurality of BYPASS equipment in the system, can for these BYPASS equipment corresponding outside stand-by power supply be set respectively simultaneously, also can utilize independent outside stand-by power supply to safeguard power supply for all BYPASS equipment provide.To this, the embodiment of the invention also is not specifically limited.
Embodiment three
The below is that the implementation that is arranged on the BYPASS power devices on the business board back card/back board is carried out following explanation to the power supply that utilizes master control borad.
In the ATCA framework, veneer comprises following several: front card, backboard, back card/back board, in the prior art, back card/back board must link together and could work with front card, front card provides power supply signal for back card/back board, break down such as front card, back card/back board can't be worked, and greatly reduce the reliability of system.
Be used for protecting the BYPASS equipment of front card usually to be arranged on the back card/back board that is connected with this front card, the power supply of BYPASS equipment is still provided by the power supply on the front card.The power supply of BYPASS back card/back board is supplied with by front card, breaks down such as front card, and back card/back board can't work, and greatly reduces the reliability of system.In addition, the supervisory signal of master control borad and BYPASS equipment can only communicate by the transmission of front card, and the control signal transmission path is long, breaks down such as front card, and master control borad can't communicate with BYPASS equipment.Under this application scenarios, usually BYPASS equipment can be protected multilink simultaneously, when front card breaks down, also can cause other normal veneers also to be forced to carry out the BYPASS protection, may cause losing of regular traffic data on the link.
For fear of defects, in the embodiment of the invention, mode by outside cabling, the BYPASS equipment on the back card/back board is connected with master control borad in the business board with being arranged on, the power supply of master control borad power supply is caused the BYPASS equipment on the back card/back board in the business board, and the connection diagram of the BYPASS equipment in master control borad and the business board on the back card/back board as shown in Figure 4.
Wherein, Z1 is for being used for power supply and baseboard management controller (BMC, Baseboard ManagementController) interface connector, Zone 2 are the interface connector of data (business) transmission, and Zone3 is user-defined I/O interface connector.In the embodiment of the invention, in the master control borad in back card/back board and the business board back card/back board all set up corresponding interface, and by outside cabling these two interfaces of setting up are connected.Power supply on the master control borad is arranged on the front card in the master control borad usually, the power supply of this power supply is caused the back card/back board of master control borad by the backboard (not shown), because back card/back board is connected the interface of setting up on the back card/back board and is connected by outside cabling with business board in the master control borad, then the Power supply on the front card is further caused the BYPASS equipment on the back card/back board in the business board in the master control borad, final realization is the BYPASS power devices that is arranged on the business board back card/back board by the power supply of master control borad, and master control borad also transfers to BYPASS equipment by outside cabling to the control signal that the BYPASS equipment that is arranged on the business board back card/back board provides.
Because in the ATCA framework, the power supply of master control borad needs the stability of height usually, therefore, the power supply that utilizes master control borad is the BYPASS power devices that is arranged on the business board back card/back board, can greatly reduce the unsteadiness to the BYPASS power devices on the back card/back board.Also just so, when practical application, can carry out back card/back board and the front card of business board full decoupled, be not have any annexation between the two, as shown in Figure 4, the back card/back board of business board and front card can be without any mutual at Zone 3 places, and the back card/back board of business board will no longer rely on and can realize normal operation being connected of front card.
Need to prove herein, in the ATCA framework, master control borad can be two usually, each other redundancy backup, even the more simultaneous redundant case of polylith master control borad may appear, therefore, same BYPASS back card/back board can be simultaneously be connected with master control borad more than two, like this, if wherein a master control power board back card/back board breaks down, because BYPASS equipment still is connected with other master control borad back card/back board, then still can work, and has greatly increased the reliability of system.
Embodiment four
Corresponding above-described embodiment, the embodiment of the invention provide a kind of device that prevents built-in BYPASS device looses power, and as shown in Figure 5, this device can comprise:
Power supply monitoring means 501 is for the power supply state of monitoring built-in BYPASS equipment;
Power switching unit 502 is used for opening the external power source of described BYPASS equipment connection when the power supply of definite protected equipment can not be for described BYPASS power devices, continues as described BYPASS power devices by described external power source;
Link State control unit 503 is used at described BYPASS equipment during by described external power source, and the current Link State of keeping described protected equipment is constant.
In the embodiment of the invention; for built-in BYPASS equipment arranges external power source; utilize the power supply monitoring means to monitor the power supply state of built-in BYPASS equipment; when the power supply of the protected equipment of BYPASS equipment connection can not provide normal power supply for described BYPASS equipment; trigger the power switching unit; by opening external power source; continue as described BYPASS equipment by external power source normal power supply is provided; keep the normal power supply of BYPASS equipment, the current Link State that the Link State control unit is then kept described protected equipment is constant.As seen; even protected equipment is to the power failure of BYPASS equipment; still have external power source to continue to provide normal power supply to BYPASS equipment; guaranteed the continued power to built-in BYPASS equipment; because externally in the Power supply process; keep the current Link State of protected equipment constant, thereby avoid interruption owing to built-in BYPASS power devices to cause impact on each protection Link State, more avoided owing to protecting losing of business datum on the link that the change of Link State causes.
During implementation, as shown in Figure 6, power supply monitoring means 501 specifically can comprise:
Voltage monitoring subelement 601 is used for monitoring the supply power voltage that the power supply of protected equipment provides for described BYPASS equipment;
Power supply state judgment sub-unit 602 is used for when described supply power voltage is lower than the required operating voltage of described BYPASS equipment, and then the power supply of definite described protected equipment can not be described BYPASS power devices.
The embodiment of the invention in the specific implementation, the power supply that can monitor protected equipment by the voltage monitoring subelement is realized the monitoring to BYPASS power devices state for the supply power voltage that described BYPASS equipment provides.When monitoring described supply power voltage and be lower than the required operating voltage of described BYPASS equipment; then the power supply state judgment sub-unit can determine that the power supply of described protected equipment can not be described BYPASS power devices; then open external power source, continue as the BYPASS power devices by external power source.
Certainly, those skilled in the art are when implementing the present embodiment, and power supply that can also be by monitoring protected equipment is realized the monitoring to BYPASS power devices state for the supply current that described BYPASS equipment provides.To this, the present embodiment is not specifically limited.
According to the application scenarios of reality, it is Real-Time Monitoring or periodic monitor to the monitoring mode of BYPASS power devices state that the voltage monitoring subelement can also be set.
Need to prove; the device that prevents built-in BYPASS device looses power that provides in the embodiment of the invention in actual applications; can be used as the function device that is independent of BYPASS equipment and protected equipment; also can be set to the functional module in the protected equipment; when this protected equipment of BYPASS equipment connection, by this functional module on the protected equipment power supply of BYPASS equipment is coordinated.
Embodiment five
In the device that prevents built-in BYPASS device looses power that the embodiment of the invention provides, the implementation of described external power source can comprise following two kinds:
(1) described external power source is an outside stand-by power supply.
Outside stand-by power supply can be external dc-battery device or other external power supply units of form of communication, the energy storage device of the passable forms such as battery that arrange at the BYPASS device interior, and the embodiment of the invention is not specifically limited this.This outside standby power supply device is used for providing safeguards power supply, as long as this external power source can provide the normal operation of BYPASS equipment required voltage.
(2) when described built-in BYPASS equipment is arranged in the back card/back board of ATCA, be described built-in BYPASS power devices by the power supply of described master control borad, described built-in BYPASS equipment is connected with master control borad by external cabling.
It is the BYPASS power devices that is arranged on the business board back card/back board that this kind implementation is utilized the power supply of master control borad, the BYPASS equipment on the back card/back board of can solving can not be independent of the problem of front card, BYPASS equipment on the realization back card/back board and the decoupling zero of front card, thereby the Reliability ﹠ Maintainability of raising system.
When adopting outside stand-by power supply to be the BYPASS power devices; described power switching unit need to be when described stand-by power supply be opened; the current Link State of keeping described protected equipment is constant, and business datum loses on the link of avoiding causing owing to the change of protecting Link State.When the original service restoration of BYPASS equipment is normal; the power supply that supply power mode still can be switched to by protected equipment is the mode of its power supply, like this, and in normal operation; BYPASS equipment is all the time by a kind of Power supply, the wasting of resources of avoiding many power supplys to work simultaneously and cause.Can set up connecting interface at BYPASS equipment, by this interface external power source is connected with described BYPASS equipment.
When comprising simultaneously a plurality of BYPASS equipment in the system, can for these BYPASS equipment corresponding outside stand-by power supply be set respectively simultaneously, also can utilize independent outside stand-by power supply to safeguard power supply for all BYPASS equipment provide.
Embodiment six
Another prevents in the device of built-in BYPASS device looses power, the implementation of external power source is, when described built-in BYPASS equipment is arranged in the back card/back board of ATCA framework, described external power source is the power supply that is arranged in the master control borad of ATCA framework, and described built-in BYPASS equipment is connected by external cabling with master control borad.
In the embodiment of the invention, in the master control borad in back card/back board and the business board back card/back board all set up corresponding interface, and by outside cabling these two interfaces of setting up are connected.Power supply on the master control borad is arranged on the front card in the master control borad usually, the power supply of this power supply is caused the back card/back board of master control borad by backboard, because back card/back board is connected the interface of setting up on the back card/back board and is connected by outside cabling with business board in the master control borad, then the Power supply on the front card is further caused the BYPASS equipment on the back card/back board in the business board in the master control borad, final realization is the BYPASS power devices that is arranged on the business board back card/back board by the power supply of master control borad, and master control borad also transfers to BYPASS equipment by outside cabling to the control signal that the BYPASS equipment that is arranged on the business board back card/back board provides.More preferred implementation is to carry out back card/back board and the front card of business board full decoupled.
When described master control borad is polylith, described built-in BYPASS is connected with every master control borad simultaneously.This is because in the ATCA framework, master control borad can be two usually, redundancy backup each other, even the more simultaneous redundant case of polylith master control borad may appear, therefore, same BYPASS back card/back board can be simultaneously be connected with master control borad more than two, like this, if wherein a master control power board back card/back board breaks down, because BYPASS equipment still is connected with other master control borad back card/back board, then still can work, greatly increase the reliability of system.
Embodiment seven
Corresponding to above-described embodiment, the embodiment of the invention also provides a kind of system that prevents built-in BYPASS device looses power, and as shown in Figure 7, described system can comprise:
Built-in BYPASS equipment 701, the protected equipment 702 that connects described BYPASS equipment 701 and the external power source 703 that connects described BYPASS equipment 701; In addition; BYPASS equipment 701 is connected with external power source simultaneously and is connected the device 704 that prevents built-in BYPASS device looses power; the described device 704 that prevents built-in BYPASS device looses power is when the power supply of determining protected equipment can not be for described BYPASS power devices; open the external power source of described BYPASS equipment connection, continue as described BYPASS power devices by described external power source.
Particularly, the described device 704 of built-in BYPASS device looses power that prevents comprises:
Power supply monitoring means 7041 is for the power supply state of monitoring built-in BYPASS equipment;
Power switching unit 7042 is used for opening the external power source of described BYPASS equipment connection when the power supply of definite protected equipment can not be for described BYPASS power devices, continues as described BYPASS power devices by described external power source;
Link State control unit 7043 is used at described BYPASS equipment during by described external power source, and the current Link State of keeping described protected equipment is constant.
In the embodiment of the invention; for built-in BYPASS equipment arranges external power source; utilize the power supply monitoring means to monitor the power supply state of built-in BYPASS equipment; when the power supply of the protected equipment of BYPASS equipment connection can not provide normal power supply for described BYPASS equipment; trigger the power switching unit; by opening external power source; continue as described BYPASS equipment by external power source normal power supply is provided; keep the normal power supply of BYPASS equipment, the current Link State that the Link State control unit is then kept described protected equipment is constant.As seen; even protected equipment is to the power failure of BYPASS equipment; still have external power source to continue to provide normal power supply to BYPASS equipment; guaranteed the continued power to built-in BYPASS equipment; because externally in the Power supply process; keep the current Link State of protected equipment constant, thereby avoid interruption owing to built-in BYPASS power devices to cause impact on each protection Link State, more avoided owing to protecting losing of business datum on the link that the change of Link State causes.
The embodiment of the invention in the specific implementation, can by the power supply monitoring means monitor protected equipment power supply for the supply power voltage that described BYPASS equipment provides, realize the monitoring to BYPASS power devices state.When monitoring described supply power voltage and be lower than the required operating voltage of described BYPASS equipment, determine that then the power supply of described protected equipment can not then be opened external power source for described BYPASS power devices, continue as the BYPASS power devices by external power source.
Certainly, power supply that can also be by monitoring protected equipment is realized the monitoring to BYPASS power devices state for the supply current that described BYPASS equipment provides.
According to the application scenarios of reality, the monitoring mode that BYPASS power devices state can also be set is Real-Time Monitoring or periodic monitor.
In the device that prevents built-in BYPASS device looses power that the embodiment of the invention provides, the implementation of described external power source can comprise following two kinds:
(1) described external power source is an outside stand-by power supply.
Outside stand-by power supply can be external dc-battery device or other external power supply units of form of communication, the energy storage device of the passable forms such as battery that arrange at the BYPASS device interior, and the embodiment of the invention is not specifically limited this.This outside standby power supply device is used for providing safeguards power supply, as long as this external power source can provide the normal operation of BYPASS equipment required voltage.
At this moment, can set up connecting interface at BYPASS equipment, by this interface outside stand-by power supply is connected with described BYPASS equipment.
(2) when described built-in BYPASS equipment is arranged in the back card/back board of ATCA, be described built-in BYPASS power devices by the power supply of described master control borad, described built-in BYPASS equipment is connected with master control borad by external cabling.
It is the BYPASS power devices that is arranged on the business board back card/back board that this kind implementation is utilized the power supply of master control borad, the BYPASS equipment on the back card/back board of can solving can not be independent of the problem of front card, BYPASS equipment on the realization back card/back board and the decoupling zero of front card, thereby the Reliability ﹠ Maintainability of raising system.
Among this embodiment, in the master control borad in back card/back board and the business board back card/back board all set up corresponding interface, and by outside cabling these two interfaces of setting up are connected.Power supply on the master control borad is arranged on the front card in the master control borad usually, the power supply of this power supply is caused the back card/back board of master control borad by backboard, because back card/back board is connected the interface of setting up on the back card/back board and is connected by outside cabling with business board in the master control borad, then the Power supply on the front card is further caused the BYPASS equipment on the back card/back board in the business board in the master control borad, final realization is the BYPASS power devices that is arranged on the business board back card/back board by the power supply of master control borad, and master control borad also transfers to BYPASS equipment by outside cabling to the control signal that the BYPASS equipment that is arranged on the business board back card/back board provides.More preferred implementation is to carry out back card/back board and the front card of business board full decoupled.
By said method, Apparatus and system embodiment; as seen; for built-in BYPASS equipment arranges external power source; monitor the power supply state of built-in BYPASS equipment, when the power supply of the protected equipment of BYPASS equipment connection can not provide normal power supply for described BYPASS equipment, by opening external power source; continue as described BYPASS equipment by external power source normal power supply is provided; keep the normal power supply of BYPASS equipment, simultaneously, the current Link State of keeping described protected equipment is constant.As seen; even protected equipment is to the power failure of BYPASS equipment; still have the external power source assurance to the continued power of built-in BYPASS equipment; because externally in the Power supply process; keep the current Link State of protected equipment constant; thereby avoid interruption owing to built-in BYPASS power devices to cause impact on each protection Link State, more avoided owing to protecting losing of business datum on the link that the change of Link State causes.
For system embodiment, because it is substantially corresponding to method, device embodiment, so describe fairly simplely, relevant part gets final product referring to the part explanation of method and apparatus embodiment.Device embodiment described above only is schematic, wherein said unit as the separating component explanation can or can not be physically to separate also, the parts that show as the unit can be or can not be physical locations also, namely can be positioned at a place, perhaps also can be distributed on a plurality of network element.Can select according to the actual needs wherein some or all of module to realize the purpose of the present embodiment scheme.Those of ordinary skills namely can understand and implement in the situation that do not pay creative work.
To the above-mentioned explanation of the disclosed embodiments, make this area professional and technical personnel can realize or use the present invention.Multiple modification to these embodiment will be apparent concerning those skilled in the art, and General Principle as defined herein can in the situation of the spirit or scope that do not break away from the embodiment of the invention, realize in other embodiments.Therefore, the embodiment of the invention will can not be restricted to these embodiment shown in this article, but will meet the widest scope consistent with principle disclosed herein and features of novelty.