[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN107547234A - A kind of primary board and the method and apparatus of standby board management - Google Patents

A kind of primary board and the method and apparatus of standby board management Download PDF

Info

Publication number
CN107547234A
CN107547234A CN201610490228.2A CN201610490228A CN107547234A CN 107547234 A CN107547234 A CN 107547234A CN 201610490228 A CN201610490228 A CN 201610490228A CN 107547234 A CN107547234 A CN 107547234A
Authority
CN
China
Prior art keywords
board
signal
standby
hot plug
primary
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
CN201610490228.2A
Other languages
Chinese (zh)
Other versions
CN107547234B (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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201610490228.2A priority Critical patent/CN107547234B/en
Priority to PCT/CN2017/089566 priority patent/WO2018001168A1/en
Publication of CN107547234A publication Critical patent/CN107547234A/en
Application granted granted Critical
Publication of CN107547234B publication Critical patent/CN107547234B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Hardware Redundancy (AREA)
  • Small-Scale Networks (AREA)

Abstract

The method and apparatus that the present invention provides a kind of primary board and standby board management, including:Detect hot plug signal between primary board and standby board;The hot plug signal is filtered processing;Judge whether the level of the hot plug signal after the filtering process changes;If the level of the hot plug signal after the filtering process changes, the primary board and standby board is controlled not to transmit interactive controlling signal.The control signal for solving the problems, such as to interact in the primary board of hot plug or standby board can disturb the switching between primary board and standby board, reduce the technique effect of the control signal that is interacted in the primary board of hot plug or standby board to the interference between primary board and standby board.

Description

A kind of primary board and the method and apparatus of standby board management
Technical field
The present invention relates to communication technical field, the method and dress of more particularly to a kind of primary board and standby board management Put.
Background technology
With the development of science and technology, the communication technology has obtained rapid development, at present, important plate in a communications system Cartoon can insert two pieces of boards simultaneously, one of is primary board, and another piece is standby frequently with duplicate protection mode that is, in system Use board.When primary board breaks down, primary board is switched to standby working condition, and at the same time, standby board is just Primary working condition can be switched to by standby working condition, the requirement of this handoff procedure is lossless, that is, ensures system Normal operation will not be affected because of this switching.Prior art mainly determines that each other by interactive controlling signal This working condition, for example, determining mutual working condition between primary board and standby board by sending interactive signal Or mutual working condition is determined between primary board and standby board by customized message.It is but primary plugging When board or standby board, interactive controlling signal can be interfered so that primary board between primary board and standby board It can not switch in time with the state of standby board, it is seen then that the control letter interacted in the primary board of hot plug or standby board It number can disturb the switching between primary board and standby board.
The content of the invention
The purpose of the embodiment of the present invention is the method for providing primary board and standby board management, solves and is led in plug The problem of control signal interacted during with board or standby board can disturb the switching between primary board and standby board.
In order to achieve the above object, the embodiment of the present invention provides a kind of primary board and the method bag of standby board management Include:
Detect hot plug signal between primary board and standby board;
The hot plug signal is filtered processing;
Judge whether the level of the hot plug signal after the filtering process changes;
If the level of the hot plug signal after the filtering process changes, the primary board and standby board are controlled Interactive controlling signal is not transmitted.
The embodiment of the present invention, which provides a kind of primary board and the device of standby board management, to be included:
First detection module, for detecting hot plug signal between primary board and standby board;
First filtration module, for the hot plug signal to be filtered into processing;
First judge module, for judging whether the level of the hot plug signal after the filtering process changes;
First control module, if the level for the hot plug signal after the filtering process changes, described in control Primary board and standby board do not transmit interactive controlling signal.
The embodiment of the present invention also provides a kind of computer-readable storage medium, and computer is stored with the computer-readable storage medium Executable one or more programs, one or more of programs make the computer perform such as when being performed by the computer A kind of primary board of above-mentioned offer and the method for standby board management.
A technical scheme in above-mentioned technical proposal has the following advantages that or beneficial effect:
By detecting hot plug signal between primary board and standby board;The hot plug signal is filtered place Reason;Judge whether the level of the hot plug signal after the filtering process changes;If the hot plug after the filtering process The level of signal changes, and controls the primary board and standby board not to transmit the interactive controlling signal, and in heat When plugging primary board or standby board, hot plug signal is detected to reduce interactive controlling signal to primary board or standby The interference of board working condition, so as to reduce the control signal interacted in the primary board of hot plug or standby board to master With the interference between board and standby board.
Brief description of the drawings
Fig. 1 is the flow chart of the method for a kind of primary board provided in an embodiment of the present invention and standby board management;
Fig. 2 is the flow chart of the method for the primary board of another kind provided in an embodiment of the present invention and standby board management;
Fig. 3 is the course of work schematic diagram of primary board provided in an embodiment of the present invention;
Fig. 4 is the course of work schematic diagram of standby board provided in an embodiment of the present invention;
Fig. 5 is the signal processing schematic diagram of primary board provided in an embodiment of the present invention;
Fig. 6 is the signal processing schematic diagram of standby board provided in an embodiment of the present invention;
Fig. 7 is one of primary board provided in an embodiment of the present invention and the structure drawing of device of standby board management;
Fig. 8 is the two of primary board provided in an embodiment of the present invention and the structure drawing of device of standby board management;
Fig. 9 is the three of primary board provided in an embodiment of the present invention and the structure drawing of device of standby board management;
Figure 10 is the four of primary board provided in an embodiment of the present invention and the structure drawing of device of standby board management;
Figure 11 is the processing procedure schematic diagram of primary monitor board provided in an embodiment of the present invention;
Figure 12 is the processing procedure schematic diagram of standby monitor board provided in an embodiment of the present invention;
Figure 13 is the processing procedure schematic diagram of primary cross board provided in an embodiment of the present invention;
Figure 14 is the processing procedure schematic diagram of standby cross board provided in an embodiment of the present invention;
Figure 15 is the processing procedure schematic diagram of active clock plate provided in an embodiment of the present invention;
Figure 16 is the processing procedure schematic diagram of standby clock plate provided in an embodiment of the present invention.
Embodiment
To make the technical problem to be solved in the present invention, technical scheme and advantage clearer, below in conjunction with accompanying drawing and tool Body embodiment is described in detail.
As shown in figure 1, a kind of method that the embodiment of the present invention provides primary board and standby board management, including following step Suddenly:
Step S101, hot plug signal between primary board and standby board is detected.
Among the embodiment, this method can apply among electronic equipment, and the electronic equipment has double boards, wherein One board is primary board, and another board is standby board, and primary board is connected with standby plate card by long conductor with short conductors Connect, conductor can be row's pin.It is to transmit hot plug signal by short conductors between primary board and standby board, the short-range missile Body is that hot plug signal is for the long conductor of interactive controlling signal is transmitted between primary board and standby board Level signal in the primary board of hot plug or standby board in short conductors.Wherein, the friendship of primary board and standby board Mutual control signal and hot plug signal are transmitted to the processors such as FPGA, CPU and handled, and then control primary board and standby The course of work of board.In board working condition, the level signal can be that low level can also be high level, with specific reference to For actual hardware circuit, if the level of working condition is high level, then when pulling out board due to short conductors prior to Long conductor departs from board, and now the hot plug signal in short conductors is changed into low level from high level.
Above-mentioned electronic equipment can with any electronic equipment for possessing central processing unit and double boards, such as:Mobile phone, flat board electricity Brain (Tablet Personal Computer), laptop computer (Laptop Computer), personal digital assistant (personal digital assistant, abbreviation PDA), mobile Internet access device (Mobile Internet Device, MID) Or wearable device (Wearable Device) etc..
Step S102, the hot plug signal is filtered processing.
In this step, filtering process is that the interference signal in the external world is filtered out, such as thunder and lightning signal, board circuit Between high-frequency signal etc., so as to ensureing the accuracy of hot plug signal after filtering interference signals.
Step S103, judge whether the level of the hot plug signal after the filtering process changes.
In this step, the level of hot plug signal change can be by low level become high level can also be by High level becomes low level, can also judge the situation of change of its voltage, for example, the voltage of hot plug signal is during working condition 5 volts, when performing hot plug operations, its voltage becomes 2.5 volts, so determines whether to carry out heat by detecting the change of voltage Plug operation.
If the level of the hot plug signal after step S104, described filtering process changes, the primary board is controlled Interactive controlling signal is not transmitted with standby board.
In this step, it is by transmitting interactive controlling between primary board and standby board under normal working condition Signal is to determine the working condition of other side, and when in hot plug, the interactive controlling signal between them can be influenceed each to another The judgement of the working condition of one board, for example, sending pre-defined message to determine mutual working condition or send special Fixed interactive signal determines mutual working condition.When the level of hot plug signal change represent primary board or Standby board is in hot plug operations, control primary board and standby board do not transmit above-mentioned interactive controlling signal isolate it is primary Signal transmission between board and standby board, so as to reduce interference.
The present embodiment, by detecting hot plug signal between primary board and standby board;The hot plug signal is entered Row filtering process;Judge whether the level of the hot plug signal after the filtering process changes;If after the filtering process The level of hot plug signal change, control the primary board and standby board not to transmit the interactive controlling signal, In the primary board of hot plug or standby board, detection hot plug signal come reduce interactive controlling signal to primary board or The interference of standby board working condition, so as to reduce the control signal interacted in the primary board of hot plug or standby board To the interference between primary board and standby board.
Optionally, methods described also includes:Judge to cause the level of the hot plug signal after the filtering process to become Whether the board of change is primary board;If the board for causing the level of the hot plug signal after the filtering process to change is Primary board, then control the standby board to switch to primary working condition, otherwise keep the primary board and described standby With the working condition of board.
It is preferably central, when hot plug signal occurs, prevent maloperation, for example, being hot to insert originally Pull out standby board, but the actually primary board of hot plug, it can so cause standby board not switch in time primary Working condition and influence system normal operation.The embodiment can reach to be switched between primary board and standby board in time Working condition, so as to keep system normal operation.When the standby board of hot plug, because now primary board is also in normal Working condition, interactive controlling signal is no longer transmitted between primary board and standby board so only needing to control, and keep The state of primary board and standby board.
As shown in Fig. 2 the method that the embodiment of the present invention provides another primary board and standby board management, including it is following Step:
Step S201, hot plug signal and interactive controlling signal between primary board and standby board are detected.
In this step, interactive controlling signal includes working condition between primary board or standby board, transmission Packet information, force handover information etc..
Step S202, it is described that the hot plug signal is filtered processing, including:By the hot plug signal and described Interactive controlling signal is filtered processing.
In this step, filtering process is that the interference signal in the external world is filtered out, such as thunder and lightning signal, board circuit Between high-frequency signal etc., so as to ensureing the accuracy of interactive controlling signal and hot plug signal after filtering interference signals.
Step S203, judge whether the level of the hot plug signal after the filtering process changes.
In this step, the level of hot plug signal change can be by low level become high level can also be by High level becomes low level, can also judge the situation of change of its voltage, for example, the voltage of hot plug signal is during working condition 5 volts, when performing hot plug operations, its voltage becomes 2.5 volts, so determines whether to carry out heat by detecting the change of voltage Plug operation.
If the level of the hot plug signal after step S204, described filtering process changes, the primary board is controlled Interactive controlling signal is not transmitted with standby board.
In this step, it is by transmitting interactive controlling between primary board and standby board under normal working condition Signal is to determine the working condition of other side, and when in hot plug, the interactive controlling signal between them can be influenceed each to another The judgement of the working condition of one board, for example, sending pre-defined message to determine mutual working condition or send special Fixed interactive signal determines mutual working condition.When the level of hot plug signal change represent primary board or Standby board is in hot plug operations, control primary board and standby board do not transmit above-mentioned interactive controlling signal isolate it is primary Signal transmission between board and standby board, so as to reduce interference.
If the level of the hot plug signal after step S205, described filtering process does not change, the filtering is judged Whether there is pressure switching signal in interactive controlling signal after processing.
In this step, the i.e. primary board and the standby if level of the hot plug signal after the filtering process does not change Do not occur hot plug operations with board, this when primary board and standby board between have normal interactive controlling signal, Situations such as being burnt out in the event of board will send pressure switching signal, to tell another board switch operating state.
If having pressure switching signal in the interactive controlling signal after step S206, described filtering process, control described standby Primary working condition is switched to board, otherwise keeps the working condition of the primary board and the standby board.
The present embodiment, by increasing the deterministic process of the interactive controlling signal under non-hot pluggable condition, i.e., normal work Processing procedure under state, it is so as to reach when performing hot plug operations or can ensure when not performing hot plug operations The normal operation of system.
Optionally, it is described the interactive controlling signal and hot plug signal are filtered processing before, methods described is also Including:Protective treatment is carried out to the interactive controlling signal and hot plug signal.Protective treatment can be short in the embodiment Road safeguard measure, overpressure protection measure etc., so add the security of implementation procedure.
Optionally, methods described also includes:The working condition of the primary board and the standby board is sent to and is Other boards on system.In the embodiment, if the working condition of primary board and standby board is changed, so may be used To ensure the communication between board much sooner.
As shown in figure 3, the embodiments of the invention provide the course of work schematic diagram of primary board.
Hot plug signal and interactive controlling signal from standby board are introduced respectively by long conductor and short conductors, are carried out Necessary electric signal protective treatment, such as short circuit protection measures, is then filtered processing to above-mentioned signal.
Judge whether the level of the hot plug signal after filtering process changes, controlled if changing described primary Board and standby board do not transmit interactive controlling signal;Otherwise judge whether filtered interactive controlling signal has pressure switching letter Number, if not forcing switching signal, keep the working condition of primary board and standby board constant, and by the work shape of board State is sent to other boards;The working condition for switching primary board and standby board is controlled if having pressure switching signal, concurrently Almost control signal and hot plug signal are sent to standby board.
Primary board and standby board export active and standby instruction and coherent signal to other boards in system respectively, while will be main Backboard is sent to by long conductor with the interactive controlling signal of board, and then is connected to standby board, and the hot plug of primary board Signal is then directly connected with standby plate clamp by short conductors.
As shown in figure 4, the embodiments of the invention provide the course of work schematic diagram of standby board.
Hot plug signal and interactive controlling signal from primary board are introduced respectively by long conductor and short conductors, are carried out Necessary electric signal protective treatment, such as short circuit protection measures, is then filtered processing to above-mentioned signal.
Judge whether the level of the hot plug signal after filtering process changes, controlled if changing described primary Board and standby board do not transmit interactive controlling signal;Otherwise judge whether filtered interactive controlling signal has pressure switching letter Number, if not forcing switching signal, keep the working condition of primary board and standby board constant, and by the work shape of board State is sent to other boards;The working condition for switching primary board and standby board is controlled if having pressure switching signal, concurrently Almost control signal and hot plug signal are sent to primary board.
Primary board and standby board export active and standby instruction and coherent signal to other boards in system respectively, while will be standby Backboard is sent to by long conductor with the interactive controlling signal of board, and then is connected to primary board, and the hot plug of primary board Signal is then directly connected with standby plate clamp by short conductors.
As shown in figure 5, present embodiments provide the signal processing schematic diagram of primary board.
Control signal interface module by interactive controlling signal and hot plug signal respectively by the long conductor of board socket and Short conductors access, and carry out necessary electric signal protective treatment, interactive controlling signal and hot plug signal then are sent into filtering mould Block, while will determine that the interactive controlling signal that module is sent is sent to backboard after protection circuit is handled by socket long conductor, And then standby board is connected to, and the hot plug signal of primary board is then directly connected with standby plate card by socket short conductors.
Processing is filtered to the interactive controlling signal and hot plug signal received.If the level hair of hot plug signal Changing, then interactive controlling signal is directly sent into isolation module processing and no longer transmitted between primary board and standby board Interactive controlling signal;Judge whether there is pressure to switch in interactive controlling signal if the level of hot plug signal does not change Signal, interactive controlling signal is sent into judge module processing if having;If other situations, then this module does not export any letter Number, continue to handle input signal, the process of whole signal acquisition and judgement all uses the side of hardware signal filtration treatment Formula, filtration treatment is carried out with the clock of upper frequency.
The interactive controlling signal that filtration module is sent is isolated, if board is now in master state, will be handed over Mutually control signal shielding falls, and does not do any operation, keeps current state;If board is now in stand-by state, shielding is handed over Sent while mutual control signal and force switching signal to judge module.
If active and standby arbitration modules receive the pressure switching signal from isolation module, active and standby board state is directly carried out Switching;Switching signal is forced if confiscating, the interactive controlling signal from filtration module is judged, if it is decided that to cut Change, then active and standby board carries out master/slave switchover;If it is determined that not switching, then active and standby board keeps current state.Active and standby plate Card export respectively it is active and standby instruction and coherent signal to other boards in system, while by the first kind control signal of this plate export to Control signal interface module.
As shown in fig. 6, present embodiments providing the signal processing schematic diagram of standby board, the processing procedure can join See the processing procedure of primary board in Fig. 5, in order to avoid repeating, be not repeated herein.
As shown in fig. 7, present embodiments providing a kind of primary board and the structure chart of device 700 of standby board management, wrap Include:
First detection module 701, for detecting hot plug signal between primary board and standby board;
First filtration module 702, for the hot plug signal to be filtered into processing;
First judge module 703, for judging whether the level of the hot plug signal after the filtering process changes;
First control module 704, if the level for the hot plug signal after the filtering process changes, control institute State primary board and standby board does not transmit the interactive controlling signal.
Optionally, as shown in figure 8, managing device 700 also includes:
Second judge module 705, the level of the hot plug signal after the filtering process is caused to change for judgement Board whether be primary board;
Second control module 706, if changed for causing the level of the hot plug signal after the filtering process Board is primary board, then controls the standby board to switch to primary working condition, otherwise keep the primary board and The working condition of the standby board.
As shown in figure 9, primary board and standby board managing device 700 include:The primary board and the standby plate The length that the conductor of interactive controlling signal is transmitted between card is more than the length for the conductor for transmitting hot plug signal:
First detection module 701, for detecting hot plug signal and interactive controlling letter between primary board and standby board Number;
First filtration module 702, the hot plug signal is filtered processing for described, including:The heat is inserted Pull out signal and the interactive controlling signal is filtered processing;
First judge module 703, for for judging whether the level of the hot plug signal after the filtering process occurs Change;
First control module 704, if the level for the hot plug signal after the filtering process changes, control institute State primary board and standby board does not transmit the interactive controlling signal;
3rd judge module 707, if the level for the hot plug signal after the filtering process does not change, sentence Whether there is pressure switching signal in interactive controlling signal after the filtering process of breaking;
3rd control module 708, if for having pressure switching signal in the interactive controlling signal after the filtering process, Control the standby board to switch to primary working condition, otherwise keep the work of the primary board and the standby board State.
Optionally, as shown in Figure 10, the managing device 700 also includes:
Protection module 709, for carrying out protective treatment to the interactive controlling signal and hot plug signal.
Sending module 710, for the working condition of the primary board and the standby board to be sent in system Other boards.
The managing device 700 of primary board and standby board to realize above-mentioned Fig. 1 to all processes of Fig. 6 methods describeds, In order to avoid repeating, it is not repeated herein.The board of the present invention can be monitoring board, intersect board, clock integrated circuit boards etc..
As shown in figure 11, the embodiments of the invention provide the processing procedure figure of primary monitor board.
The monitor state signal and hot plug partitioned signal that standby monitor board is sent by socket introduce, by protection circuit After carrying out anti-hot plug processing, FPGA is sent to.
By programming FPGA, monitor state signal and plug partitioned signal that standby monitor board is sent are sent into filter unit, After carrying out sampling analysis with stable upper frequency clock, the signal shielding for being unsatisfactory for expected specification of shaking hands is fallen, to meeting to advise The signal of model is judged, is changed if hot plug partitioned signal is effectively level, the monitoring that standby monitor board is sent It is to control not transmitting monitor state signal between primary monitor board and standby monitor board that status signal, which is sent into isolated location,;If insert Pull out the invalid i.e. level of partitioned signal not change, then the monitor state signal sent standby monitor board is sent into judging unit.
Programming FPGA is handled the signal for being sent into isolated location, if based on hot plug signal level changes With monitor board, then the monitor state signal isolation sent standby monitor board, i.e., primary monitor board and standby monitoring are no longer transmitted Monitor state between plate mutually passes signal;If hot plug signal level change for standby monitor board, directly export Switching signal is forced to judging unit.
The pressure switching signal that programming FPGA is sent to the monitor state signal and isolated location of being sent into judging unit is carried out Processing, when receiving pressure switching signal, do not go to decode the monitor state signal that standby monitor board is sent, but directly switch The state of primary monitor board and standby monitor board;When do not receive force switching signal when, the just monitoring shape to standby monitor board State signal is decoded and judges to switch the state of primary monitor board and standby monitor board.And this unit also exports primary prison The monitor state signal for controlling plate reaches standby monitor board by protection circuit and socket lower backboard, while exports active and standby indication signal With control signal to other boards in system.
As shown in figure 12, the embodiments of the invention provide the processing procedure figure of standby monitor board.
The monitor state signal and hot plug partitioned signal that primary monitor board is sent by socket introduce, by protection circuit After carrying out anti-hot plug processing, FPGA is sent to.
By programming FPGA, monitor state signal and plug partitioned signal that primary monitor board is sent are sent into filter unit, After carrying out sampling analysis with stable upper frequency clock, the signal shielding for being unsatisfactory for expected specification of shaking hands is fallen, to meeting to advise The signal of model is judged, is changed if hot plug partitioned signal is effectively level, the monitoring that primary monitor board is sent It is to control not transmitting monitor state signal between primary monitor board and standby monitor board that status signal, which is sent into isolated location,;If insert Pull out the invalid i.e. level of partitioned signal not change, then the monitor state signal sent primary monitor board is sent into judging unit.
Programming FPGA is handled the signal for being sent into isolated location, if based on hot plug signal level changes With monitor board, then the monitor state signal isolation sent standby monitor board, i.e., primary monitor board and standby monitoring are no longer transmitted Monitor state between plate mutually passes signal;If hot plug signal level change for standby monitor board, directly export Switching signal is forced to judging unit.
The pressure switching signal that programming FPGA is sent to the monitor state signal and isolated location of being sent into judging unit is carried out Processing, when receiving pressure switching signal, do not go to decode the monitor state signal that primary monitor board is sent, but directly switch The state of primary monitor board and standby monitor board;When do not receive force switching signal when, the just monitoring shape to primary monitor board State signal is decoded and judges to switch the state of primary monitor board and standby monitor board.And this unit also exports primary prison The monitor state signal for controlling plate reaches standby monitor board by protection circuit and socket lower backboard, while exports active and standby indication signal With control signal to other boards in system.
As shown in figure 13, the embodiments of the invention provide the processing procedure figure of primary cross board.
The monitor state signal and hot plug partitioned signal that standby cross board is sent by socket introduce, by protection circuit After carrying out anti-hot plug processing, FPGA is sent to.
By programming FPGA, crossing condition signal and plug partitioned signal that standby cross board is sent are sent into filter unit, After carrying out sampling analysis with stable upper frequency clock, the signal shielding for being unsatisfactory for expected specification of shaking hands is fallen, to meeting to advise The signal of model is judged, is changed if hot plug partitioned signal is effectively level, the intersection that standby cross board is sent It is to control not transmitting monitor state signal between primary cross board and standby cross board that status signal, which is sent into isolated location,;If insert Pull out the invalid i.e. level of partitioned signal not change, then the crossing condition signal sent standby cross board is sent into judging unit.
Programming FPGA is handled the signal for being sent into isolated location, if based on hot plug signal level changes With cross board, then the crossing condition signal isolation sent standby cross board, i.e., primary cross board and standby intersection are no longer transmitted Crossing condition between plate mutually passes signal;If hot plug signal level change for standby cross board, directly export Switching signal is forced to judging unit.
The pressure switching signal that programming FPGA is sent to the crossing condition signal and isolated location of being sent into judging unit is carried out Processing, when receiving pressure switching signal, do not go to decode the crossing condition signal that standby cross board is sent, but directly switch The state of primary cross board and standby cross board;When not receiving pressure switching signal, just to the cross-like of standby cross board State signal is decoded and judges to switch the state of primary cross board and standby cross board.And this unit also exports primary friendship The crossing condition signal of fork plate reaches standby cross board by protection circuit and socket lower backboard, while exports active and standby indication signal With control signal to other boards in system.
As shown in figure 14, the embodiments of the invention provide the processing procedure figure of standby cross board.
The crossing condition signal and hot plug partitioned signal that primary cross board is sent by socket introduce, by protection circuit After carrying out anti-hot plug processing, FPGA is sent to.
By programming FPGA, crossing condition signal and plug partitioned signal that primary monitor board is sent are sent into filter unit, After carrying out sampling analysis with stable upper frequency clock, the signal shielding for being unsatisfactory for expected specification of shaking hands is fallen, to meeting to advise The signal of model is judged, is changed if hot plug partitioned signal is effectively level, the intersection that primary cross board is sent It is to control not transmitting crossing condition signal between primary cross board and standby cross board that status signal, which is sent into isolated location,;If insert Pull out the invalid i.e. level of partitioned signal not change, then the crossing condition signal sent primary cross board is sent into judging unit.
Programming FPGA is handled the signal for being sent into isolated location, if based on hot plug signal level changes With cross board, then the crossing condition signal isolation sent standby cross board, i.e., primary cross board and standby intersection are no longer transmitted Monitor state between plate mutually passes signal;If hot plug signal level change for standby cross board, directly export Switching signal is forced to judging unit.
The pressure switching signal that programming FPGA is sent to the crossing condition signal and isolated location of being sent into judging unit is carried out Processing, when receiving pressure switching signal, do not go to decode the crossing condition signal that primary cross board is sent, but directly switch The state of primary cross board and standby cross board;When not receiving pressure switching signal, just to the cross-like of primary cross board State signal is decoded and judges to switch the state of primary cross board and standby cross board.And this unit also exports primary friendship The crossing condition signal of fork plate reaches standby cross board by protection circuit and socket lower backboard, while exports active and standby indication signal With control signal to other boards in system.
As shown in figure 15, the embodiments of the invention provide the processing procedure figure of active clock plate.
The monitor state signal and hot plug partitioned signal that standby clock plate is sent by socket introduce, by protection circuit After carrying out anti-hot plug processing, FPGA is sent to.
By programming FPGA, clock status signal and plug partitioned signal that standby clock plate is sent are sent into filter unit, After carrying out sampling analysis with stable upper frequency clock, the signal shielding for being unsatisfactory for expected specification of shaking hands is fallen, to meeting to advise The signal of model is judged, is changed if hot plug partitioned signal is effectively level, the clock that standby clock plate is sent Status signal is sent into isolated location and does not transmit monitor state signal between control active clock plate and standby clock plate;If insert Pull out the invalid i.e. level of partitioned signal not change, then the clock status signal sent standby clock plate is sent into judging unit.
Programming FPGA is handled the signal for being sent into isolated location, if based on hot plug signal level changes With clock board, then the clock status signal sent standby clock plate is isolated, i.e., no longer transmits active clock plate and standby clock Clock status between plate mutually pass signal;If hot plug signal level change for standby clock plate, directly export Switching signal is forced to judging unit.
The pressure switching signal that programming FPGA is sent to the clock status signal and isolated location of being sent into judging unit is carried out Processing, when receiving pressure switching signal, do not go to decode the clock status signal that standby clock plate is sent, but directly switch The state of active clock plate and standby clock plate;When not receiving pressure switching signal, just to the clock-like of standby clock plate State signal is decoded and judges to switch the state of active clock plate and standby clock plate.And when this unit also exports primary The clock status signal of clock plate reaches standby clock plate by protection circuit and socket lower backboard, while exports active and standby indication signal With control signal to other boards in system.
As shown in figure 16, the embodiments of the invention provide the processing procedure figure of standby clock plate.
The clock status signal and hot plug partitioned signal that active clock plate is sent by socket introduce, by protection circuit After carrying out anti-hot plug processing, FPGA is sent to.
By programming FPGA, clock status signal and plug partitioned signal that primary monitor board is sent are sent into filter unit, After carrying out sampling analysis with stable upper frequency clock, the signal shielding for being unsatisfactory for expected specification of shaking hands is fallen, to meeting to advise The signal of model is judged, is changed if hot plug partitioned signal is effectively level, the clock that active clock plate is sent Status signal is sent into isolated location and does not transmit clock board status signal between control active clock plate and standby clock plate;If The invalid i.e. level of plug partitioned signal does not change, then the clock board status signal sent active clock plate, which is sent into, judges list Member.
Programming FPGA is handled the signal for being sent into isolated location, if based on hot plug signal level changes With clock board, then the clock status signal sent standby clock plate is isolated, i.e., no longer transmits active clock plate and standby clock Monitor state between plate mutually passes signal;If hot plug signal level change for standby clock plate, directly export Switching signal is forced to judging unit.
The pressure switching signal that programming FPGA is sent to the clock status signal and isolated location of being sent into judging unit is carried out Processing, when receiving pressure switching signal, do not go to decode the clock status signal that active clock plate is sent, but directly switch The state of active clock plate and standby clock plate;When not receiving pressure switching signal, just to the clock-like of active clock plate State signal is decoded and judges to switch the state of active clock plate and standby clock plate.And when this unit also exports primary The clock status signal of clock plate reaches standby clock plate by protection circuit and socket lower backboard, while exports active and standby indication signal With control signal to other boards in system.
One of ordinary skill in the art will appreciate that all or part of step for realizing above-described embodiment method is can be with Completed by the related hardware of programmed instruction, described program can be stored in a computer-readable medium, the program Upon execution, comprise the following steps:Detect hot plug signal between primary board and standby board;
The hot plug signal is filtered processing;
Judge whether the level of the hot plug signal after the filtering process changes;
If the level of the hot plug signal after the filtering process changes, the primary board and standby board are controlled The interactive controlling signal is not transmitted.
Optionally, methods described also includes:
Whether the board for judging to cause the level of the hot plug signal after the filtering process to change is primary board;
If the board for causing the level of the hot plug signal after the filtering process to change is primary board, control The standby board switches to primary working condition, otherwise keeps the work shape of the primary board and the standby board State.
Optionally, the length that the conductor of interactive controlling signal is transmitted between the primary board and the standby board is more than The length of the conductor of transmission hot plug signal, hot plug signal between the primary board of the detection and standby board, including:
Detect hot plug signal and interactive controlling signal between primary board and standby board;
It is described that the hot plug signal is filtered processing, including:By the hot plug signal and the interactive controlling Signal is filtered processing;
If the level of the hot plug signal after the filtering process does not change, the friendship after the filtering process is judged Whether there is pressure switching signal in mutual control signal;
If having pressure switching signal in the interactive controlling signal after the filtering process, the standby board switching is controlled For primary working condition, the working condition of the primary board and the standby board is otherwise kept.
Optionally, it is described the interactive controlling signal and hot plug signal are filtered processing before, methods described is also Including:
Protective treatment is carried out to the interactive controlling signal and hot plug signal.
Optionally, methods described also includes:
Other boards working condition of the primary board and the standby board being sent in system.
Described storage medium, such as read-only storage (Read-Only Memory, abbreviation ROM), random access memory (Random Access Memory, abbreviation RAM), magnetic disc or CD etc..
Described above is the preferred embodiment of the present invention, it is noted that for those skilled in the art For, on the premise of principle of the present invention is not departed from, some improvements and modifications can also be made, these improvements and modifications It should be regarded as protection scope of the present invention.

Claims (10)

1. a kind of primary board and the method for standby board management, it is characterised in that including:
Detect hot plug signal between primary board and standby board;
The hot plug signal is filtered processing;
Judge whether the level of the hot plug signal after the filtering process changes;
If the level of the hot plug signal after the filtering process changes, the primary board and standby board is controlled not to pass Pass interactive controlling signal.
2. according to the method for claim 1, it is characterised in that methods described also includes:
Whether the board for judging to cause the level of the hot plug signal after the filtering process to change is primary board;
If the board for causing the level of the hot plug signal after the filtering process to change is primary board, described in control Standby board switches to primary working condition, otherwise keeps the working condition of the primary board and the standby board.
3. according to the method for claim 1, it is characterised in that transmit and hand between the primary board and the standby board The length of the conductor of mutual control signal is more than the length for the conductor for transmitting hot plug signal, described to detect primary board and standby plate Hot plug signal between card, including:
Detect hot plug signal and interactive controlling signal between primary board and standby board;
It is described that the hot plug signal is filtered processing, including:
The hot plug signal and the interactive controlling signal are filtered processing;
Methods described also includes:
If the level of the hot plug signal after the filtering process does not change, the interaction control after the filtering process is judged Whether pressure switching signal is had in signal processed;
If having pressure switching signal in the interactive controlling signal after the filtering process, the standby board is controlled to switch to master Working condition, otherwise keep the working condition of the primary board and the standby board.
4. according to the method for claim 3, it is characterised in that described to enter the interactive controlling signal and hot plug signal Before row filtering process, methods described also includes:
Protective treatment is carried out to the interactive controlling signal and hot plug signal.
5. according to the method for claim 4, it is characterised in that methods described also includes:
Other boards working condition of the primary board and the standby board being sent in system.
6. a kind of primary board and the device of standby board management, it is characterised in that including:
First detection module, for detecting hot plug signal between primary board and standby board;
First filtration module, for the hot plug signal to be filtered into processing;
First judge module, for judging whether the level of the hot plug signal after the filtering process changes;
First control module, if the level for the hot plug signal after the filtering process changes, control is described primary Board and standby board do not transmit interactive controlling signal.
7. device according to claim 6, it is characterised in that described device also includes:
Second judge module, the board that the level of the hot plug signal after the filtering process changes is caused to be for judgement No is primary board;
Second control module, if being main for causing the board that the level of the hot plug signal after the filtering process changes With board, then control the standby board to switch to primary working condition, otherwise keep the primary board and described standby The working condition of board.
8. device according to claim 6, it is characterised in that transmit and hand between the primary board and the standby board The length of the conductor of mutual control signal is more than the length for the conductor for transmitting hot plug signal, and the first detection module is used to detect Hot plug signal and the interactive controlling signal between primary board and standby board;
First filtration module is used to the hot plug signal and the interactive controlling signal being filtered processing;
Described device also includes:
3rd judge module, if the level for the hot plug signal after the filtering process does not change, described in judgement Whether there is pressure switching signal in interactive controlling signal after filtering process;
3rd control module, if for having pressure switching signal in the interactive controlling signal after the filtering process, control institute State standby board and switch to primary working condition, otherwise keep the working condition of the primary board and the standby board.
9. device according to claim 8, it is characterised in that described device also includes:
Protection module, for carrying out protective treatment to the interactive controlling signal and hot plug signal.
10. device according to claim 9, it is characterised in that described device also includes:
Sending module, for other plates being sent to the working condition of the primary board and the standby board in system Card.
CN201610490228.2A 2016-06-28 2016-06-28 Method and device for managing main board card and standby board card Active CN107547234B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201610490228.2A CN107547234B (en) 2016-06-28 2016-06-28 Method and device for managing main board card and standby board card
PCT/CN2017/089566 WO2018001168A1 (en) 2016-06-28 2017-06-22 Method and apparatus for managing main board card and backup board card

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610490228.2A CN107547234B (en) 2016-06-28 2016-06-28 Method and device for managing main board card and standby board card

Publications (2)

Publication Number Publication Date
CN107547234A true CN107547234A (en) 2018-01-05
CN107547234B CN107547234B (en) 2019-12-24

Family

ID=60786561

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610490228.2A Active CN107547234B (en) 2016-06-28 2016-06-28 Method and device for managing main board card and standby board card

Country Status (2)

Country Link
CN (1) CN107547234B (en)
WO (1) WO2018001168A1 (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109388604A (en) * 2018-11-01 2019-02-26 郑州云海信息技术有限公司 A kind of hot plug control method based on PCIe, device and storage medium
CN109995597A (en) * 2019-04-12 2019-07-09 杭州迪普科技股份有限公司 A kind of network equipment failure processing method and processing device
TWI691835B (en) * 2018-12-18 2020-04-21 英業達股份有限公司 Detection control circuit and detection control method
CN112416445A (en) * 2020-11-19 2021-02-26 北京天融信网络安全技术有限公司 Device and method for determining main and standby board cards
CN112751753A (en) * 2019-10-31 2021-05-04 中兴通讯股份有限公司 Method and communication equipment for protecting main/standby states of single board
CN115834358A (en) * 2022-11-24 2023-03-21 中盈优创资讯科技有限公司 Method and device for automatically switching main board and standby board of equipment main control board card

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110347531A (en) * 2019-07-05 2019-10-18 湖南省华芯医疗器械有限公司 A kind of machine hot plug working method and system avoiding loss of data
CN113064664A (en) * 2021-03-02 2021-07-02 凌华科技(中国)有限公司 Control method and device, complex programmable logic device and server
CN112965751B (en) * 2021-03-04 2023-05-26 杭州迪普科技股份有限公司 Main control board card for frame type equipment
CN113792001B (en) * 2021-09-06 2024-11-01 西安易朴通讯技术有限公司 SAS EXP board card, back board and hot plug method

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6363050B1 (en) * 1998-03-12 2002-03-26 Fujitsu Limited Switching control in cold standby type of duplex transmission system
CN1719743A (en) * 2004-07-08 2006-01-11 中兴通讯股份有限公司 Method for preventing monolithic board from fault operation of master-slave back-up inverse circuit
CN102231700A (en) * 2011-06-14 2011-11-02 迈普通信技术股份有限公司 Exchange card switching information transmission method and exchange card hot backup system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1156995C (en) * 2000-07-11 2004-07-07 深圳市中兴通讯股份有限公司 Jitter-free change-over method and device for main and stand-by units capable of being hot plugged and unplugged in digital communication system
CN100477547C (en) * 2006-03-02 2009-04-08 迈普(四川)通信技术有限公司 Telecommunication apparatus master-slave switching method and telecommunication apparatus thereof

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6363050B1 (en) * 1998-03-12 2002-03-26 Fujitsu Limited Switching control in cold standby type of duplex transmission system
CN1719743A (en) * 2004-07-08 2006-01-11 中兴通讯股份有限公司 Method for preventing monolithic board from fault operation of master-slave back-up inverse circuit
CN102231700A (en) * 2011-06-14 2011-11-02 迈普通信技术股份有限公司 Exchange card switching information transmission method and exchange card hot backup system

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109388604A (en) * 2018-11-01 2019-02-26 郑州云海信息技术有限公司 A kind of hot plug control method based on PCIe, device and storage medium
CN109388604B (en) * 2018-11-01 2022-02-18 郑州云海信息技术有限公司 Hot plug control method, device and storage medium based on PCIe
TWI691835B (en) * 2018-12-18 2020-04-21 英業達股份有限公司 Detection control circuit and detection control method
CN109995597A (en) * 2019-04-12 2019-07-09 杭州迪普科技股份有限公司 A kind of network equipment failure processing method and processing device
CN112751753A (en) * 2019-10-31 2021-05-04 中兴通讯股份有限公司 Method and communication equipment for protecting main/standby states of single board
CN112416445A (en) * 2020-11-19 2021-02-26 北京天融信网络安全技术有限公司 Device and method for determining main and standby board cards
CN112416445B (en) * 2020-11-19 2023-07-04 北京天融信网络安全技术有限公司 Device and method for determining master and slave of board card
CN115834358A (en) * 2022-11-24 2023-03-21 中盈优创资讯科技有限公司 Method and device for automatically switching main board and standby board of equipment main control board card

Also Published As

Publication number Publication date
WO2018001168A1 (en) 2018-01-04
CN107547234B (en) 2019-12-24

Similar Documents

Publication Publication Date Title
CN107547234A (en) A kind of primary board and the method and apparatus of standby board management
CN106571663B (en) Charging method, terminal and charging adapter
JP6320544B2 (en) Method for processing impedance abnormality of power adapter, terminal and charging circuit
KR101898185B1 (en) Power adaptor, terminal and charging system
JP5304331B2 (en) Plant monitoring and control system transition device
CN107005062B (en) Charging method, mobile terminal and charging device
CN103365388A (en) Power supply method of terminal device and terminal device
CN101494560B (en) Method, apparatus and system for configuring master-salve network device
CN104133533A (en) Expansion board card system for supporting full-length PCIE
CN106684984A (en) Wireless charging method, wireless charging device and wireless charging system
CN106802872A (en) A kind of method and terminal that equipment room charging is carried out by USB interface
KR102346821B1 (en) Test board, test system and test method of charging device
CN108983695A (en) A kind of master-slave switching method and device based on Complex Programmable Logic Devices
US20180097315A1 (en) Power adapter, terminal device, charging system, and charging method
CN102281105A (en) Method and device for detecting optical fiber state
CN106877462A (en) A kind of method and charger for detecting charged state
CN108028679A (en) The signal polarity switching of the network equipment plug used in thepower line communication network
CN107885688A (en) A kind of signal switching method and device
CN105657701B (en) A kind of call method and device based on eSIM card
CN106200442B (en) Method and device for realizing connection control
CN105223489A (en) A kind of interlock circuit testing apparatus and method of testing
EP4280415A1 (en) Charging control method and apparatus, electronic device, and charger
CN105187274A (en) Method for judging port state and selecting good port communication
CN104850522B (en) A kind of signal output method and device
CN105701049B (en) System, method, apparatus and the mobile terminal of charge flag position is written

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant