CN106254149A - A kind of method and management board judging that board is pulled out - Google Patents

A kind of method and management board judging that board is pulled out Download PDF

Info

Publication number
CN106254149A
CN106254149A CN201610822668.3A CN201610822668A CN106254149A CN 106254149 A CN106254149 A CN 106254149A CN 201610822668 A CN201610822668 A CN 201610822668A CN 106254149 A CN106254149 A CN 106254149A
Authority
CN
China
Prior art keywords
board
plate
main management
place
status information
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
CN201610822668.3A
Other languages
Chinese (zh)
Other versions
CN106254149B (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.)
Ruijie Networks Co Ltd
Original Assignee
Ruijie Networks Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ruijie Networks Co Ltd filed Critical Ruijie Networks Co Ltd
Priority to CN201610822668.3A priority Critical patent/CN106254149B/en
Publication of CN106254149A publication Critical patent/CN106254149A/en
Application granted granted Critical
Publication of CN106254149B publication Critical patent/CN106254149B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/10Packet switching elements characterised by the switching fabric construction
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/40Constructional details, e.g. power supply, mechanical construction or backplane

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • Structure Of Telephone Exchanges (AREA)

Abstract

The embodiment of the invention discloses a kind of method and management board judging that board is pulled out, relate to the communications field, solve the PLD of management board and extracting of this management board is mistaken for extracting of board that certain slot accesses, thus the problem affecting the business of the board that this slot accesses.The specific scheme is that when main management plate detects the first board signal change in place that the first slot accesses, just main management plate and the status information of the communication interface from management board are obtained, and according to the status information of communication interface, judge whether main management plate and the communication interface from management board disconnect, if main management plate and the communication interface from management board disconnect, then main management plate determines the first board signal change in place ignoring the first slot access detected, and determines that main management plate is pulled out.The embodiment of the present invention is during main management plate is pulled out.

Description

A kind of method and management board judging that board is pulled out
Technical field
The present embodiments relate to the communications field, particularly relate to a kind of method and management board judging that board is pulled out.
Background technology
Frame type exchanger is the switch of a kind of insertion slot type, it comprises backboard, multiple slots of being arranged on backboard and Be crimped on the connector on backboard one to one with slot, wherein, slot is used for accessing board, such as management board, cable card board, friendship Change plate etc..
In the prior art, the management of the management board all boards for being responsible in frame type exchanger, concrete, management The board that the PLD (Programmable Logic Device, PLD) of plate is accessed by detection slot is believed in place Number the change of level, judge the situation in place of the board that this slot accesses, in order to the board accessed according to this slot Position situation realizes the management of board.Such as, when accessing board on certain slot, the PLD of management board can detect this The board signal in place that slot accesses is become low level from high level, the most just can determine that this slot has board to be access in, And report, to the central processing unit (Central Processing Unit, CPU) of management board, the letter that this slot has board to access Breath, in order to the CPU of management board is managed operation;When the board accessing certain slot is pulled out, the PLD of management board can examine The board signal in place measuring the access of this slot is become high level from low level, the most just can determine that this slot has board quilt Extract, and the information that the board reporting this slot to access to the CPU of management board is pulled out, in order to the CPU of management board is managed Operation, the information being pulled out according to the board that this slot accesses such as the CPU of management board, interrupt the industry of the board that this slot accesses Business.
In prior art, at least there are the following problems: when board accesses the slot being arranged on backboard, board is the most permissible Realize connecting, wherein it is possible to will be crimped on board by the connector of crimping on the connector crimped with it and backboard Connector is referred to as female, and the connector being crimped on backboard is referred to as male, can be provided with multiple metal clips, in male in female Multiple metal needle can be provided with.Due to the error of machining, between the multiple metal needles arranged in male, and female sets The difference of length, therefore, during management board is pulled out, the female of management board is all there is between the multiple metal clips put In metal clips be likely to occur with the metal needle in corresponding male and do not simultaneously switch off situation about contacting.So, if in management During plate is pulled out, first break with corresponding metal needle for connecting the metal clips of the board signal in place that certain slot accesses Open contact, and the metal clips being now used for controlling the signal that management board is powered also keeps contacting with corresponding metal needle, then manage The PLD of reason plate can detect that the board signal in place that this slot accesses is become high level from low level, now will assert it is this The board that slot accesses is pulled out, say, that extracting of management board is mistaken for the board that this slot accesses by the PLD of management board It is pulled out, thus result in the interruption of the board correspondence business that this slot accesses.
Summary of the invention
The embodiment of the present invention provides a kind of method and management board judging that board is pulled out, and the PLD solving management board will The extracting of this management board is mistaken for extracting of the board that certain slot accesses, thus affects asking of the business of the board that this slot accesses Topic.
For reaching above-mentioned purpose, the embodiment of the present invention adopts the following technical scheme that
The first aspect of the embodiment of the present invention, it is provided that a kind of method judging that board is pulled out, is applied to rack-mount unit, Described rack-mount unit includes backboard and at least three slot being arranged on described backboard, and described slot is used for accessing board, The board accessing slot include main management plate, from management board and at least one be managed plate, described in be managed plate be line Clamp or power board, it is characterised in that described main management plate and described being connected by communication interface from management board, described method bag Include:
When described main management plate detects the first board signal change in place that the first slot accesses, described main management plate Obtain the status information of described communication interface;
Wherein, described first board be described at least one be managed any one in plate;
Described main management buttress is according to described status information, it is judged that described main management plate and the described communication interface from management board Whether disconnect;
If described main management plate and the described communication interface from management board disconnect, the most described main management plate determines ignores inspection The first board signal change in place that described first slot measured accesses, and determine that described main management plate is pulled out.
What the embodiment of the present invention provided judges the method that board is pulled out, when main management plate detects what the first slot accessed During the first board signal change in place, just obtain main management plate and the status information of the communication interface from management board, and according to logical The status information of letter interface, judges whether main management plate and the communication interface from management board disconnect, if main management plate and from pipe The communication interface of reason plate disconnects, then main management plate determines the first board signal in place ignoring the first slot access detected Change, and determine that main management plate is pulled out.During owing to only at main management plate or being pulled out from management board, main management plate and from pipe The communication interface of reason plate just can disconnect, and does not haves management board (this management board be main management plate or from management board) and the first plate The situation that card is pulled out simultaneously, therefore when main management plate detects the first board signal change in place that the first slot accesses, If main management plate and the communication interface from management board disconnect, then can get rid of is to be pulled out from management board or the first board It is pulled out and (if being pulled out from management board, the most only there will be communication interface and being detachable without that first that the first slot accesses occurs Board signal in place saltus step;If the first board is pulled out, the most only there will be the first board signal in place that the first slot accesses Saltus step is without occurring that communication interface disconnects), only it is likely to be main management plate and is pulled out, thus detect first at main management plate During the first board signal change in place that slot accesses, if main management plate and the communication interface from management board disconnect, the most permissible The possibility that eliminating is pulled out from management board or the first board is pulled out, and determine that main management plate is pulled out itself, the most just Can prevent from extracting of main management plate is mistaken for the extracting of the first board that the first slot accesses, thus avoid erroneous judgement to first The impact of the business of the first board that slot accesses.
In conjunction with first aspect, in a kind of possible implementation, described main management plate is provided with the first depositor, uses In the status information storing described communication interface;Described main management plate obtains the status information of described communication interface, including: described Main management plate with detect described first slot access the first board signal change in place as initial time, when first presets After between, from described first depositor, read the status information of described communication interface.
In conjunction with first aspect and above-mentioned possible implementation, in alternatively possible implementation, described main management Being provided with the second depositor in plate, be used for being managed described in storing the status information in place of plate, described status information in place includes In place and the most in place;Described method also includes: if described main management plate and the described communication interface from management board do not disconnect, then institute State main management plate from described second depositor, read the status information in place of described first board;Described main management buttress is according to institute State the status information in place of the first board, it is judged that access the state in place of described first board of described first slot;If it is determined that Described first board going out to access described first slot is not in place, and the most described main management plate determines the institute accessing described first slot State the first board to be pulled out.
In conjunction with first aspect and above-mentioned possible implementation, in alternatively possible implementation, also include: if really Making and access described first board of described first slot in place, the most described main management plate determines ignores described first detected The first board signal change in place that slot accesses, and determine that described main management plate is pulled out.
In conjunction with first aspect and above-mentioned possible implementation, in alternatively possible implementation, described method is also Including: described main management plate sends synchronization request to described from management board, and enters listening state, and described synchronization request is for asking Ask described from the status information in place being managed plate described in management board return;Described main management plate judges in the second Preset Time Whether receive described from the sync response of management board, described sync response include described in be managed the state in place letter of plate Breath;If described main management plate determines receives described sync response in described second Preset Time and to described sync response Decoding failure or determine and do not receive described sync response in described second Preset Time, the most described main management plate is posted first In storage, the status information of the described communication interface of storage is set to described off-state, and the value of the 3rd depositor is reset; If described main management plate determines receives described sync response in described second Preset Time, then to described sync response solution After code success, the described status information in place being managed plate is stored in the second depositor, and judges described first depositor Whether the status information of the described communication interface of middle storage is described off-state, if the status information of described communication interface is institute State off-state, then the value of described 3rd depositor is added 1, and when the value determining described 3rd depositor is more than or equal to N, The status information of described communication interface is set to described connection status, and described N is the positive integer more than or equal to 1.
The second aspect of the embodiment of the present invention, it is provided that a kind of main management plate, is applied to rack-mount unit, and described rack sets For including backboard and at least three slot being arranged on described backboard, described slot is used for accessing board, is accessing slot Board include described main management plate, from management board and at least one be managed plate, described in be managed plate be cable card board or friendship Changing plate, it is characterised in that described main management plate and described connected by communication interface from management board, described main management plate includes:
Detector unit, whether the first board signal in place accessed for detection the first slot changes;
When described detector unit, acquiring unit, for detecting that the first board signal in place that described first slot accesses changes During change, obtain the status information of described communication interface;
Wherein, described first board be described at least one be managed any one in plate;
Judging unit, for the described status information that gets according to described acquiring unit, it is judged that described main management plate and Described whether disconnect from the communication interface of management board;
Determine unit, if judging that obtaining described main management plate connects from communicating of management board with described for described judging unit Mouth disconnects, it is determined that the first board signal in place ignoring the described first slot access that described detector unit detects changes Become, and determine that described main management plate is pulled out.
In conjunction with second aspect, in a kind of possible implementation, described main management plate also includes: memory element;Described Memory element, for storing the status information of described communication interface;Described acquiring unit, specifically for detect described first The first board signal change in place that slot accesses is initial time, after the first Preset Time, reads from described memory element Take the status information of described communication interface.
In conjunction with second aspect and above-mentioned possible implementation, in alternatively possible implementation, described storage is single Unit, is additionally operable to be managed described in storage the status information in place of plate, and described status information in place includes in place and the most in place;Described Acquiring unit, judges to obtain described main management plate and the described communication interface from management board is not broken if being additionally operable to described judging unit Open, from described memory element, read the status information in place of described first board;Described judging unit, is additionally operable to according to described The status information in place of described first board that acquiring unit gets, it is judged that access described first board of described first slot State in place;Described determine unit, determine access described the first of described first slot if being additionally operable to described judging unit Board is the most in place, it is determined that described first board accessing described first slot is pulled out.
In conjunction with second aspect and above-mentioned possible implementation, in alternatively possible implementation, described determine list Unit, if being additionally operable to described judging unit to determine that described first board accessing described first slot is in place, it is determined that ignore institute State the first board signal change in place of the described first slot access that detector unit detects, and determine described main management plate quilt Extract.
In conjunction with second aspect and above-mentioned possible implementation, in alternatively possible implementation, described main management Plate also includes: transmitting element and arrange unit;Described transmitting element, for sending synchronization request to described from management board, goes forward side by side Entering listening state, described synchronization request is described from the status information in place being managed plate described in management board return for asking;Institute State judging unit, be additionally operable to judge whether to receive in the second Preset Time described from the sync response of management board, described with Step response is managed the status information in place of plate described in including;Described unit is set, if determining for described judging unit Described sync response is received and to the decoding failure of described sync response or determine described in described second Preset Time Do not receive described sync response in two Preset Times, then the status information of the described communication interface stored in memory element is set It is set to described off-state, and the value of the 3rd depositor is reset;Described memory element, determines if being additionally operable to described judging unit Described sync response is received, then after to described sync response successfully decoded, by described pipe in described second Preset Time The status information in place of reason plate is stored in described memory element;Described judging unit, is additionally operable to judge in described memory element Whether the status information of the described communication interface of storage is described off-state;Described unit is set, if being additionally operable to described judgement Unit determines that the status information of described communication interface is described off-state, then add 1 by the value of described 3rd depositor, and really When the value of fixed described 3rd depositor is more than or equal to N, the status information of described communication interface is set to described connection status, Described N is the positive integer more than or equal to 1.
Concrete implementation mode is referred to the judgement plate that the possible implementation of first aspect or first aspect provides The behavioral function of main management plate in the method that card is pulled out.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing In having technology to describe, the required accompanying drawing used is briefly described, it should be apparent that, the accompanying drawing in describing below is only this Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, also may be used To obtain other accompanying drawing according to these accompanying drawings.
The rough schematic view of a kind of system architecture applying the embodiment of the present invention that Fig. 1 provides for the embodiment of the present invention;
The rough schematic view of the system architecture of the another kind of application embodiment of the present invention that Fig. 2 provides for the embodiment of the present invention;
A kind of method flow diagram judging that board is pulled out that Fig. 3 provides for the embodiment of the present invention;
A kind of main management plate that Fig. 4 provides for the embodiment of the present invention and the stream synchronizing status information in place between management board Cheng Tu;
The another kind that Fig. 5 provides for the embodiment of the present invention judges the method flow diagram that board is pulled out;
The composition schematic diagram of a kind of main management plate that Fig. 6 provides for the embodiment of the present invention;
The composition schematic diagram of the another kind of main management plate that Fig. 7 provides for the embodiment of the present invention;
The composition schematic diagram of the another kind of main management plate that Fig. 8 provides for the embodiment of the present invention;
The composition schematic diagram of the another kind of main management plate that Fig. 9 provides for the embodiment of the present invention.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Describe, it is clear that described embodiment is only a part of embodiment of the present invention rather than whole embodiments wholely.Based on Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under not making creative work premise Embodiment, broadly falls into the scope of protection of the invention.
It addition, the terms "and/or", a kind of incidence relation describing affiliated partner, expression can exist Three kinds of relations, such as, A and/or B, can represent: individualism A, there is A and B, individualism B these three situation simultaneously.Separately Outward, character "/" herein, typically represent the forward-backward correlation relation to liking a kind of "or".
In order to prevent that extracting of main management plate is mistaken for the extracting of the first board that the first slot accesses, the present invention implements Example provides a kind of method judging that board is pulled out, and its ultimate principle is: owing to only being pulled out at main management plate or from management board When going out, main management plate and the communication interface from management board just can disconnect, and (this management board is main management plate not to have management board Or from management board) and the first board situation about being simultaneously pulled out, therefore detect that the first slot accesses at main management plate first During board signal change in place, if main management plate and the communication interface from management board disconnect, then can get rid of is from management Plate is pulled out or the first board is pulled out and (if being pulled out from management board, the most only there will be communication interface and being detachable without out The first board signal in place saltus step that existing first slot accesses;If the first board is pulled out, the most only there will be the first slot and connect The the first board signal in place saltus step entered is without occurring that communication interface disconnects), therefore to prevent the generation of erroneous judgement, work as supervisor When reason plate detects the first board signal change in place that the first slot accesses, main management plate can obtain main management plate and from pipe The status information of the communication interface of reason plate, and according to the status information of communication interface, it is judged that main management plate and leading to from management board Whether letter interface disconnects, and when determining main management plate and the communication interface from management board disconnects, main management plate may determine that Ignore the first board signal change in place that the first slot detected accesses, and determine that main management plate is pulled out.So leading When management board detects the first board signal change in place that the first slot accesses, by judging main management plate and from management board Whether communication interface disconnects, and just can prevent from extracting of main management plate is mistaken for the extracting of the first board that the first slot accesses, Thus avoid the impact judging the business on the first board that the first slot accesses by accident.
Below in conjunction with accompanying drawing, the embodiment of the embodiment of the present invention is described in detail.
As it is shown in figure 1, Fig. 1 is illustrated that the rough schematic view of the system architecture that can apply the embodiment of the present invention.Application What the system of the embodiment of the present invention was concrete can be rack-mount unit, and this rack-mount unit is equipped with main management plate, from management board It is managed plate with at least one.Wherein, what this rack-mount unit was concrete can be frame type exchanger, and the embodiment of the present invention exists The concrete form of rack-mount unit is not limited by this.
For the ease of the understanding of those skilled in the art, the embodiment of the present invention exchanges for rack with rack-mount unit at this As a example by machine, the system architecture that can apply the embodiment of the present invention is introduced, wherein, as it is shown in figure 1, this frame type exchanger Concrete may include that board 11, the backboard 12 being fixed in the cabinet of frame type exchanger, be arranged on backboard 12 at least Three slots 13, the first connector 14 being crimped on board 11 and the second connector 15 being crimped on backboard 12, and arrange At least three slot 13 on backboard 12 and the second connector 15 one_to_one corresponding being crimped on backboard 12.
Wherein, board 11 can access in the slot 13 being arranged on backboard 12, now, is crimped on first on board 11 Connector 14 just can form physical link with corresponding the second connector 15 being crimped on backboard 12, thus realizes board 11 And the connection between backboard 12.And it is logical to form signal by backboard cabling between the second connector 15 being crimped on backboard 12 Road, such that it is able to further realize the connection accessing between the board 11 of slot 13.
Wherein, the first connector 14 being crimped on board 11 is properly termed as female, is provided with multiple metal elastic in female Sheet.The second connector 15 being crimped on backboard 12 is properly termed as male, is provided with multiple metal needle in male.
Further, as in figure 2 it is shown, board 11 can include main management plate 111, from management board 112, at least one is managed Reason plate 113, wherein, in embodiments of the present invention, being managed plate 113 can be cable card board, it is also possible to be power board.Cable card board can With the interface type that offer is different, for the access of network interface.Power board data message between repeated line clamp.
The management of all boards that main management plate 111 is responsible in frame type exchanger, and concrete permissible of main management plate 111 Comprise PLD, CPU etc., a local bus (Local Bus) can be passed through between PLD and CPU and connect, wherein, main management plate 111 The PLD comprised is managed plate 113 signal in place for collecting, and the PLD of this main management plate 111 can be FPGA or CPLD.From pipe Reason plate 112 plays backup effect, can be when main management plate 111 is out of order or is pulled out, adapter whole system in real time, thus can To avoid frame type exchanger integral reset to cause suspension accident, and from management board 112 concrete can comprise PLD, CPU etc., Can be connected by a Local Bus between PLD and CPU, wherein, the PLD comprised from management board 112 is managed plate for collecting 113 signals in place, can also should be FPGA or CPLD from the PLD of management board 112.Main management plate 111 passes through with from management board 112 Communication interface connects, and concrete can be, the PLD of main management plate 111 and pass through communication interface between the PLD of management board 112 Connecting, this communication interface typically has ready-made or reserved, if ready-made communication interface, then can be used directly to into The PLD of row main management plate 111 and the information between the PLD of management board 112 are mutual;If only reserved communication interface or Only several cablings, then can based on this design a set of specific agreement or code stream realize main management plate 111 PLD and Information between the PLD of management board 112 is mutual.
A kind of method flow diagram judging that board is pulled out that Fig. 3 provides for the embodiment of the present invention, is applied to rack and sets Standby, described rack-mount unit includes backboard and at least three slot being arranged on described backboard, and slot is used for accessing board, Accessed the board of slot include main management plate, from management board and at least one be managed plate, be managed plate be cable card board or Power board, main management plate and being connected by communication interface from management board.As it is shown on figure 3, the method may include that
201, when main management plate detects the first board signal change in place that the first slot accesses, communication interface is obtained Status information.
Wherein, the first slot be arranged on described backboard, for accessing the slot of the first board, the first board be to Few one is managed any one in plate, if at least one is managed in plate only comprises one when being managed plate, then and the first plate Card is managed plate for this, if at least one is managed in plate comprises at least two when being managed plate, then the first board is described At least two is managed any one in plate.When having accessed the first board in the first slot, (described second inserts the second slot Groove refers at least three slot being arranged on backboard for accessing the slot of main management plate) in accessed main management plate it After, the second connector being crimped on backboard that the first connector of being crimped on the first board is corresponding with the first slot, crimping The second connector being crimped on backboard that the first connector on main management plate is corresponding with the second slot and backboard cabling Between define physical path, now, main management plate just can detect first slot access the first board signal in place change Become, it is possible to determine the first slot has the first board connect according to the first board signal change in place that the first slot accesses Enter.If the first board accessed in the first slot is pulled out, then the first connector of being crimped on the first board and inserting with first The connection of the second connector that what groove was corresponding be crimped on backboard can disconnect, and this can make be crimped on the first board first to connect The second connector that what plug-in unit was corresponding with the first slot be crimped on backboard, the first connector being crimped on main management plate and The second connector that what the second slot was corresponding be crimped on backboard and the physical path that backboard cabling is formed disconnect, now, main Management board can detect the first board signal change in place that the first slot accesses, and the first plate accessed according to the first slot Block signal change in place and determine in the first slot have board to be pulled out.
But, multiple metal clips can be set due in the first connector of being crimped on board, be crimped on backboard Second connector can arrange multiple metal needle, add the error of machining, the multiple metals arranged in the second connector Between pin, and all there is the difference of length, therefore at main management plate between the multiple metal clips arranged in the first connector When being pulled out, if first breaking with corresponding metal needle for connecting the metal clips of the first board signal in place that the first slot accesses Open contact, and the metal clips being now used for controlling the signal that main management plate is powered also keeps contacting with corresponding metal needle, this Time, main management plate is also the first board signal change in place that the first slot accesses to be detected, but is not now the One board is pulled out, but main management plate is pulled out, therefore, in order to prevent main management plate that extracting of self is mistaken for the first board Extract, following steps 202 can be performed.
In embodiments of the present invention, main management plate can detect that the first board signal in place that the first slot accesses changes During change, triggering the operation of the status information obtaining communication interface, in concrete implementation, main management plate can detect first The first board signal in place that slot accesses from high level become low level time, trigger the behaviour of status information obtaining communication interface Make, it is also possible to when the first board signal in place detecting that the first slot accesses is become high level from low level, trigger and obtain The operation of the status information of communication interface, the embodiment of the present invention at this to obtain communication interface status information trigger condition also It is not particularly limited, can be configured according to the demand of actual application scenarios.
Wherein, status information includes connection status and off-state.When only at main management plate or being pulled out from management board, Main management plate and the communication interface from management board just can disconnect, and at main management plate or while management board is pulled out, will not There is the first board accessing the first slot to be pulled out, therefore, detect that the first board that the first slot accesses exists at main management plate During the signal change of position, in order to prevent that extracting of main management plate itself is mistaken for the first board is pulled out, in the detection of main management plate After the first board signal change in place that the first slot accesses, just can first obtain main management plate and communicating from management board The status information of interface.
202, main management buttress is according to the status information of communication interface, it is judged that main management plate and the communication interface from management board are No disconnection.
Wherein, get main management plate and after the status information of the communication interface of management board at main management plate, supervisor Reason plate can be according to the status information of the communication interface got, it is judged that whether main management plate and the communication interface from management board break Open.Concrete: if the status information of the communication interface got is off-state, then main management plate can determine that main management plate Disconnect with the communication interface from management board, be now probably main management plate and be pulled out, or be pulled out from management board, and can not Can be that the first board that the first slot accesses is pulled out, but due to when management board is pulled out, it is impossible to detect that the first slot connects The the first board signal change in place entered, therefore detects, according to main management plate in step 201, the first plate that the first slot accesses Block signal change in place, it may be determined that go out be due to main management plate be pulled out cause first slot access the first board in place Signal change, the most just can perform following steps 203.
203, main management plate determines the first board signal change in place ignoring the first slot access detected, and determines Main management plate is pulled out.
What the embodiment of the present invention provided judges the method that board is pulled out, when main management plate detects what the first slot accessed During the first board signal change in place, just obtain main management plate and the status information of the communication interface from management board, and according to logical The status information of letter interface, judges whether main management plate and the communication interface from management board disconnect, if main management plate and from pipe The communication interface of reason plate disconnects, then main management plate determines the first board signal in place ignoring the first slot access detected Change, and determine that main management plate is pulled out.During owing to only at main management plate or being pulled out from management board, main management plate and from pipe The communication interface of reason plate just can disconnect, and does not haves management board (this management board be main management plate or from management board) and the first plate The situation that card is pulled out simultaneously, therefore when main management plate detects the first board signal change in place that the first slot accesses, If main management plate and the communication interface from management board disconnect, then can get rid of is to be pulled out from management board or the first board It is pulled out and (if being pulled out from management board, the most only there will be communication interface and being detachable without that first that the first slot accesses occurs Board signal in place saltus step;If the first board is pulled out, the most only there will be the first board signal in place that the first slot accesses Saltus step is without occurring that communication interface disconnects), the most only it is likely to be main management plate and is pulled out, thus detect at main management plate During the first board signal change in place that the first slot accesses, if main management plate and the communication interface from management board disconnect, then Can get rid of and be pulled out from management board or possibility that the first board is pulled out, and determine that main management plate is pulled out itself, this Sample just can prevent from extracting of main management plate is mistaken for the extracting of the first board that the first slot accesses, thus it is right to avoid erroneous judgement The impact of the business of the first board that the first slot accesses.
The another kind that Fig. 4 and Fig. 5 provides for the embodiment of the present invention judges the method flow diagram that board is pulled out, and is applied to machine Posture equipment, described rack-mount unit includes backboard and at least three slot being arranged on backboard, and slot is used for accessing board, The board accessing slot include main management plate, from management board and at least one be managed plate, being managed plate is cable card board Or power board, main management plate and described connected by communication interface from management board.
Wherein, what main management plate was concrete can include PLD and CPU, from management board concrete can also include PLD and CPU, And main management plate and being connected by communication interface from management board, the concrete PLD for main management plate and the PLD from management board passes through Communication interface connects, therefore, for the ease of the understanding of those skilled in the art, by the embodiment shown in Fig. 4 and Fig. 5 to this The bright process that implements illustrates.Wherein, Fig. 4 concrete for main management plate and synchronize between management board state in place letter Breath flow chart, Fig. 5 concrete for judging the method flow diagram that board is pulled out.As shown in Figure 4 and Figure 5, the method can be wrapped Include:
301, the PLD of main management plate sends synchronization request to from the PLD of management board.
Wherein, synchronization request is managed the status information in place of plate for request from management board return.The PLD of main management plate In order to verify the state in place being managed plate in rack-mount unit in real time, synchronization request can be sent to from management board, with It is easy to ask to return the status information in place being managed plate from the PLD of management board.Wherein, what synchronization request was concrete can be one section The code stream that request synchronizes.
302, the PLD of main management plate monitors the sync response sent from the PLD of management board.
Wherein, sync response includes the status information in place being managed plate.At the PLD of main management plate to from management board After PLD sends synchronization request, the PLD of main management plate can enter listening state, in order to monitoring sends from the PLD of management board Sync response, what this sync response was concrete can be one section of response code stream.
And, at the PLD of main management plate after have sent synchronization request from the PLD of management board, just may be used from the PLD of management board With receive main management plate PLD send synchronization request, and can after receiving synchronization request, by current collection to managed The status information in place of reason plate, is sent to the PLD of main management plate by sync response, and what this sync response was concrete can be one section Response code stream.
303, the PLD of main management plate judges whether to receive the sync response sent from the PLD of management board.
Wherein, in snoop procedure, the PLD of main management plate can decide whether to receive and sends from the PLD of management board Sync response, if the PLD of main management plate determines receives sync response in the second Preset Time, then solves sync response Code, and when to sync response successfully decoded, perform step 305-step 309;Preset second if the PLD of main management plate determines After receiving sync response in time, the decoding failure or determine of this sync response is not received in the second Preset Time with Step response, then perform following steps 304.
304, the status information of the communication interface of storage in the first depositor is set to disconnect shape by the PLD of main management plate State, and the value of the 3rd depositor is reset.
Wherein, the first depositor be arrange in the PLD of main management plate, for the status information of storage communication interface Status register, the status information of communication interface includes connection status and off-state.If the PLD of main management plate determines second The sync response sent from the PLD of management board is received in Preset Time, and to the decoding failure of this sync response or determine the Do not receive the sync response sent from the PLD of management board in two Preset Times, just the communication of storage in the first depositor is connect The status information of mouth is set to off-state, and without updating the state in place letter being managed plate of storage in the second depositor Breath, and the value of the 3rd depositor is reset, and re-execute step 301, so as to being managed of storing in the second depositor The status information in place of reason plate is updated.
The status information in place of what 305, sync response was included by the PLD of main management plate be managed plate is stored in second and posts In storage.
Wherein, the second depositor is state in place letter that arrange in the PLD of main management plate, be managed plate for storage One group of depositor of breath, status information in place includes in place and the most in place.If the PLD of main management plate determines at the second Preset Time Inside receive the sync response sent from the PLD of management board, and to this sync response successfully decoded, then can be by sync response Including the status information in place being managed plate be stored in the second depositor, in order to managed in needs are to rack-mount unit When the state in place of reason plate verifies, from the second depositor, read the status information in place of the first board of the first slot.
306, during the PLD of main management plate judges the first depositor, whether the status information of the communication interface of storage is to disconnect shape State.
Wherein, the status information in place being managed plate that sync response is included by the PLD at main management plate is stored in After in two depositors, whether the PLD of main management plate may determine that in the first depositor the status information of the communication interface of storage For off-state, if the PLD of main management plate determines that the status information of communication interface is connection status, then step can be re-executed Rapid 301, to realize storage in the second depositor is managed the real-time update of the status information in place of plate;If main management plate PLD determines that the status information of communication interface is off-state, then perform following steps 307-step 309.
307, the value of the 3rd depositor is added 1 by the PLD of main management plate.
Wherein, if the PLD of main management plate determines that the status information of communication interface is off-state, then can post the 3rd The value of storage adds 1.
308, the PLD of main management plate judges that whether the value of the 3rd depositor is more than or equal to N.
Wherein, N is the positive integer more than or equal to 1.After the value of the 3rd depositor is added 1 by the PLD of main management plate, can To judge that the value of the 3rd depositor is whether more than or equal to N, in order to N continuous time receive sync response successfully decoded it After the status information of communication interface can be switched to connection status by off-state, the even PLD of main management plate determines the 3rd The value of depositor is more than or equal to N, then can perform step 309;If the value that the PLD of main management plate determines the 3rd depositor is less than N, then can re-execute step 301.
309, the status information of the communication interface of storage in the first depositor is set to connect shape by the PLD of main management plate State.
Wherein, if the PLD of main management plate determines that the value of the 3rd depositor, then can be by the first depositor more than or equal to N The status information of the communication interface of middle storage is set to connection status.Exemplary, it is assumed that N is 3, i.e. in order to ensure communication interface State arrange accuracy, when the status information of the communication interface of main management plate is off-state, the PLD of main management plate can After being more than or equal to 3 in the value determining the 3rd depositor, just by the state letter of the communication interface of storage in the first depositor Breath is set to connection status, it is possible to re-execute step 301.
It should be noted that in embodiments of the present invention, in order to realize that storage in the second depositor is managed plate The real-time update of status information in place, needs to repeat above step 301-step 309, so real-time update second and deposits The status information in place being managed plate of storage in device, the simultaneously state of the communication interface of storage in real-time update the first depositor Information.Wherein, the process performing a step 301-step 309 may be considered a synchronizing cycle.
310, when the PLD of main management plate detects the first board signal change in place that the first slot accesses, first After Preset Time, from the first depositor, read the status information of communication interface.
Wherein, the first slot be arranged on described backboard, for accessing the slot of the first board, the first board be to Few one is managed any one in plate.
When detecting, due to the PLD of main management plate, the first board signal change in place that the first slot accesses, it may be possible to The first board accessing the first slot is pulled out, it is also possible to be that main management plate is pulled out, and due to only at main management plate or When management board is pulled out, main management plate and the communication interface from management board just can disconnect, and do not have management board (this management Plate be main management plate or from management board) and the first board situation about being simultaneously pulled out of accessing of the first slot, therefore to prevent Extracting of main management plate is mistaken for the extracting of the first board that the first slot accesses, the PLD of main management plate by the PLD of main management plate Can with detect first slot access the first board signal change in place as initial time, after the first Preset Time, from First depositor reads the PLD of main management plate and the status information of the communication interface between the PLD of management board.
Wherein, the first Preset Time is for ensuring that synchronizing cycle is circulated repeatedly, and for guaranteeing at main management plate Before PLD reads the status information of communication interface from the first depositor, have updated from the PLD of management board and be managed plate Status information in place, and be managed after renewal by the PLD of main management plate and the communication interface between the PLD of management board The status information in place of plate synchronizes to give the PLD of main management plate, and the PLD of main management plate will be managed the state in place of plate Information is stored in the second depositor, simultaneously the state letter of the PLD of main management plate and communication interface between the PLD of management board Breath has updated the most.
Wherein, in a kind of possible implementation, an intervalometer, the timing cycle of this intervalometer can be pre-set Equal to the first Preset Time, say, that detect, at the PLD of main management plate, the first board signal in place that the first slot accesses After change, intervalometer can be started, and when the timing cycle of intervalometer arrives, from the first depositor, read communication interface Status information.
It should be noted that in embodiments of the present invention, the concrete value of the first Preset Time can be applied according to reality The needs of scene are configured, the embodiment of the present invention at this to the value of the first Preset Time and be not particularly limited.
311, the PLD of main management plate is according to the status information of communication interface, it is judged that the PLD of main management plate and from management board Whether the communication interface between PLD disconnects.
Wherein, the PLD at main management plate gets the PLD of main management plate and the communication interface between the PLD of management board Status information after, the PLD of main management plate can be according to the status information of the communication interface got, it is judged that main management plate Whether PLD and the communication interface between the PLD of management board disconnect.Due to when main management plate is pulled out, it is understood that there may be supervisor The PLD of reason plate and the communication interface between the PLD of management board are later than the feelings of the board signal change in place that other slots access Condition, therefore, if the status information of the PLD of the main management plate got and the communication interface between the PLD of management board is for connecting State, then the PLD of main management plate can determine that the PLD of main management plate and the communication interface between the PLD of management board are not broken Open, now in order to further prevent the PLD of main management plate that extracting of main management plate is mistaken for the first of the first slot access Extracting of board, the PLD of main management plate can perform following steps 312-step 315.If the PLD of the main management plate got and The status information of the communication interface between the PLD of management board is off-state, then the PLD of main management plate can determine that supervisor PLD and the communication interface between the PLD of management board of reason plate disconnect, then be shown to be and cause owing to main management plate is pulled out The first board signal change in place that first slot accesses, the most just can perform following steps 315.
312, the PLD of main management plate reads the status information in place of the first board from the second depositor.
313, the PLD of main management plate is according to the status information in place of the first board, it is judged that access the first plate of the first slot The state in place of card.
Wherein, after the PLD of main management plate reads the status information in place of the first board from the second depositor, supervisor The PLD of reason plate can be according to the status information in place got, it is judged that access the state in place of the first board of the first slot.Tool Body, if the PLD of main management plate determines that the first board accessing the first slot is not in place, then perform step 314, if main management The PLD of plate determines that the first board accessing the first slot is in place, then perform step 315.
314, the PLD of main management plate determines that the first board accessing the first slot is pulled out.
Wherein, if the PLD of main management plate is according to the status information in place of the first board got, it is judged that access first First board of slot is not in place, illustrates now to have collected, from the PLD of management board, the first board quilt that the first slot accesses yet The information extracted, then the first board signal change in place that the PLD of main management plate can access according to the first slot detected, Determine that the first board accessing the first slot is pulled out.
After the PLD of main management plate determines that the first board of access the first slot is pulled out, the PLD of main management plate is permissible The information reporting being pulled out by the first board that first slot accesses just can connect to the CPU, the CPU of main management plate of main management plate Receive the information that is pulled out of the first board that the first slot accesses, and receiving what the first board that the first slot accesses was pulled out After information, the first board accessing the first slot is managed operation, and the CPU such as main management plate accesses according to the first slot The information that is pulled out of the first board, interrupt the business of the first board.
315, the PLD of main management plate determines the first board signal change in place ignoring the first slot access detected, And determine that main management plate is pulled out.
Wherein, if the PLD of main management plate is according to the status information in place of the first board of the first slot access got, Judge that the first board accessing the first slot is in place, show that the first board that the first slot accesses is not pulled out, be main management Plate is pulled out and creates erroneous judgement, and now the PLD of main management plate may determine that and ignores the first plate that the first slot detected accesses Block signal change in place, and determine that main management plate is pulled out.
What the embodiment of the present invention provided judges the method that board is pulled out, when the PLD of main management plate detects the first slot During the first board signal change in place accessed, just obtain the PLD of main management plate and the communication interface between the PLD of management board Status information, and according to the status information of communication interface, judge the PLD of main management plate and between the PLD of management board Whether communication interface disconnects, if the PLD of main management plate and the communication interface between the PLD of management board disconnect, then and main management The PLD of plate determines the first board signal change in place ignoring the first slot access detected, and determines that main management plate is pulled out Go out.During owing to only at main management plate or being pulled out from management board, main management plate and the communication interface from management board just can disconnect, And do not have a management board (this management board be main management plate or from management board) and situation that the first board is pulled out simultaneously, therefore When main management plate detects the first board signal change in place that the first slot accesses, if main management plate and from management board Communication interface disconnects, then can get rid of is to be pulled out from management board or the first board is pulled out (if being pulled out from management board Go out, the most only there will be communication interface and be detachable without that the first board signal in place saltus step that the first slot accesses occurs;If the One board is pulled out, and the most only there will be the first board signal in place saltus step of the first slot access without occurring that communication interface is broken Open), only it is likely to be main management plate and is pulled out.So PLD at main management plate detects the first board that the first slot accesses During signal change in place, by judging whether the PLD of main management plate and the communication interface between the PLD of management board disconnect, just Can prevent from extracting of main management plate is mistaken for the extracting of the first board that the first slot accesses, thus avoid erroneous judgement to first The impact of the business of the first board that slot accesses.
Further, the PLD at main management plate detects the first board signal change in place and main management that the first slot accesses When the PLD of plate and the communication interface between the PLD of management board do not disconnect, by according to the access collected from the PLD of management board The status information in place of the first board of the first slot, verifies the state in place of the first board accessing the first slot, Further prevent and extracting of main management plate is mistaken for the extracting of the first board that the first slot accesses.
The scheme that the embodiment of the present invention is provided by above-mentioned angle the most mutual between each network element is described.Can To be understood by, each network element, such as main management plate is in order to realize above-mentioned functions, it comprises each function of execution the hardest Part structure and/or software module.Those skilled in the art should be readily appreciated that, retouches in conjunction with the embodiments described herein The algorithm steps of each example stated, the present invention can realize with the combining form of hardware or hardware and computer software.Certain Function performs in the way of hardware or computer software drive hardware actually, depends on the application-specific of technical scheme and sets Meter constraints.Each specifically should being used for can be used different methods to realize described function by professional and technical personnel, But this realization is it is not considered that beyond the scope of this invention.
The embodiment of the present invention can carry out the division of functional module according to said method example to main management plate, such as, and can Each functional module is divided, it is also possible to two or more functions are integrated in a processing module with each function corresponding In.Above-mentioned integrated module both can realize to use the form of hardware, it would however also be possible to employ the form of software function module realizes.Need It is noted that in the embodiment of the present invention that the division to module is schematic, is only a kind of logic function and divides, actual real Can there is other dividing mode now.
In the case of using each function corresponding to divide each functional module, Fig. 6 shows in above-mentioned and embodiment and relates to And a kind of possible composition schematic diagram of main management plate, this main management plate is applied to rack-mount unit, described rack-mount unit Including backboard and at least three slot being arranged on described backboard, the groove position of described slot is used for accessing board, is accessing The board of slot include described main management plate, from management board and at least one be managed plate, described in be managed plate be cable card board Or power board, described main management plate and described connected by communication interface from management board.As shown in Figure 6, this main management plate is permissible Including: detector unit 41, acquiring unit 42, judging unit 43, determine unit 44.
Wherein, detector unit 41, for supporting that main management plate performs judging in the method that board is pulled out shown in Fig. 3 Main management plate described in step 201 detects the first board signal change in place that the first slot accesses, the judgement shown in Fig. 5 The PLD of the main management plate described in the step 310 in the method that board is pulled out detects the first board that the first slot accesses Signal change in place.
Acquiring unit 42, for supporting that main management plate performs the step judged in the method that board is pulled out shown in Fig. 3 The status information of the acquisition communication interface described in 201, in the step 310 judged in the method that board is pulled out shown in Fig. 5 Described after the first Preset Time, from the first depositor, read the status information of communication interface, step 312.
Judging unit 43, for supporting that main management plate performs the step judged in the method that board is pulled out shown in Fig. 3 The step 303 judged in the method that board is pulled out shown in 202, Fig. 4, step 306, step 308, the judgement plate shown in Fig. 5 Step 311 in the method that card is pulled out, step 313.
Determine unit 44, for supporting that main management plate performs the step judged in the method that board is pulled out shown in Fig. 3 The step 314 judged in the method that board is pulled out shown in 203, Fig. 5, step 315.
In embodiments of the present invention, further, as it is shown in fig. 7, described main management plate also includes: memory element 45, Transmitting element 46, unit 47 is set.
Memory element 45, for supporting that main management plate performs the step judged in the method that board is pulled out shown in Fig. 4 305。
Transmitting element 46, for supporting that main management plate performs the step judged in the method that board is pulled out shown in Fig. 4 301。
Unit 47 is set, for supporting that main management plate performs the step judged in the method that board is pulled out shown in Fig. 4 304, step 309.
It should be noted that all related contents of each step that said method embodiment relates to all can quote correspondence The function of functional module describes, and does not repeats them here.
The main management plate that the embodiment of the present invention provides, for performing the method that above-mentioned judgement board is pulled out, the most permissible Reach the effect identical with the method that above-mentioned judgement board is pulled out.
In the case of using integrated unit, Fig. 8 shows another of main management plate involved in above-described embodiment Plant possible composition schematic diagram.As shown in Figure 8, this main management plate includes: processing module 51 and communication module 52.
Processing module 51 is for being controlled management to the action of main management plate, and communication module 52 is used for supporting main management plate With the communication of other network entities, the such as communication between functional module or network entity and shown in Fig. 1.Main management plate is also Memory module 53 can be included, for storing program code and the data of main management plate.
Wherein, processing module 51 can be processor or controller.It is open interior that it can realize or perform to combine the present invention Various exemplary logic block described by appearance, module and circuit.Described processor can also be the group realizing computing function Close, such as, comprise combination of one or more micro processor combination, DSP and microprocessor etc..Communication module 52 can be to receive Send out device, transmission circuit or communication interface etc..Memory module 53 can be memorizer.
When processing module 51 is processor, and communication module 52 is transceiver, when memory module 53 is memorizer, the present invention is real Executing the main management plate involved by example can be for the main management plate shown in Fig. 9.
Fig. 9 provides the composition schematic diagram of another kind of main management plate for the embodiment of the present invention, as it is shown in figure 9, described main management Plate may include that processor 61, memorizer 62, system bus 63 and communication interface 64.
Described memorizer 62 is used for storing computer executed instructions, and described processor 61 and described memorizer 62 are by described System bus 63 connects, and when described main management plate runs, described processor 61 performs the described meter of described memorizer 62 storage Calculation machine performs instruction, so that described main management plate performs to judge the method that board is pulled out, with accordingly as described in Fig. 3 or Fig. 5 Realize detector unit 41 that the main management plate shown in Fig. 6 includes, acquiring unit 42, judging unit 43, determine the merit of unit 44 Can, and realize the memory element 45 that the main management plate shown in Fig. 7 includes, the function that unit 47 is set the most accordingly, and, When main management plate runs, described communication interface 64 judges, as described in Fig. 3 or Fig. 5, the method that board is pulled out for performing, To realize the function of the transmitting element 46 that the main management plate shown in Fig. 7 includes accordingly.
The present embodiment also provides for a kind of storage medium, and this storage medium can include described memorizer 62.
Described processor 61 can be central processing unit (central processing unit, CPU).Described processor 61 can also be other general processors, digital signal processor (digital signal processing, DSP), special collection Become circuit (application specific integrated circuit, ASIC), field programmable gate array (field- Programmable gate array, FPGA) or other PLDs, discrete gate or transistor logic, Discrete hardware components etc..The processor that general processor can be microprocessor or this processor can also be any routine Deng.
Described memorizer 62 can include volatile memory (volatile memory), such as random access memory (random-access memory, RAM);Described memorizer 62 can also include nonvolatile memory (non-volatile Memory), such as read only memory (read-only memory, ROM), flash memory (flash memory), hard disk (hard disk drive, HDD) or solid state hard disc (solid-state drive, SSD);Described memorizer 62 can also include The combination of the memorizer of mentioned kind.
Described system bus 63 can include data/address bus, power bus, control bus and signal condition bus etc..This reality Execute in order to understand explanation in example, in fig .9 various buses are all illustrated as system bus 63.
It should be noted that the specific works process of each functional module is permissible in the main management plate of embodiment of the present invention offer The specific descriptions of corresponding process in reference method embodiment, in this not go into detail for the embodiment of the present invention.The embodiment of the present invention The main management plate provided, for performing the method that above-mentioned judgement board is pulled out, therefore can reach and above-mentioned transmission side data The effect that method is identical.
Through the above description of the embodiments, those skilled in the art is it can be understood that arrive, for describe Convenient and succinct, only it is illustrated with the division of above-mentioned each functional module, in actual application, can be as desired by upper State function distribution to be completed by different functional modules, the internal structure of device will be divided into different functional modules, to complete All or part of function described above.
In several embodiments provided herein, it should be understood that disclosed apparatus and method, can be passed through it Its mode realizes.Such as, device embodiment described above is only schematically, such as, and described module or unit Dividing, be only a kind of logic function and divide, actual can have other dividing mode, the most multiple unit or assembly when realizing Can in conjunction with or be desirably integrated into another device, or some features can be ignored, or does not performs.Another point, shown or The coupling each other discussed or direct-coupling or communication connection can be the indirect couplings by some interfaces, device or unit Close or communication connection, can be electrical, machinery or other form.
The described unit illustrated as separating component can be or may not be physically separate, shows as unit The parts shown can be a physical location or multiple physical location, i.e. may be located at a place, or can also be distributed to Multiple different local.Some or all of unit therein can be selected according to the actual needs to realize the present embodiment scheme Purpose.
It addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it is also possible to It is that unit is individually physically present, it is also possible to two or more unit are integrated in a unit.Above-mentioned integrated list Unit both can realize to use the form of hardware, it would however also be possible to employ the form of SFU software functional unit realizes.
If described integrated unit realizes and as independent production marketing or use using the form of SFU software functional unit Time, can be stored in a read/write memory medium.Based on such understanding, the technical scheme of the embodiment of the present invention is substantially The part that in other words prior art contributed or this technical scheme completely or partially can be with the form of software product Embodying, this software product is stored in a storage medium, including some instructions with so that an equipment (can be single Sheet machine, chip etc.) or processor (processor) perform all or part of step of method described in each embodiment of the present invention. And aforesaid storage medium includes: USB flash disk, portable hard drive, ROM, RAM, magnetic disc or CD etc. are various can store program code Medium.
The above, the only detailed description of the invention of the present invention, but protection scope of the present invention is not limited thereto, and any Those familiar with the art, in the technical scope that the invention discloses, can readily occur in change or replace, should contain Cover within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with described scope of the claims.

Claims (10)

1. judging the method that board is pulled out, be applied to rack-mount unit, described rack-mount unit includes backboard and setting At least three slot on described backboard, described slot is used for accessing board, includes supervisor at the board accessing slot Reason plate, from management board and at least one be managed plate, described in be managed plate be cable card board or power board, it is characterised in that described Main management plate and described connected by communication interface from management board, described method includes:
When described main management plate detects the first board signal change in place that the first slot accesses, described main management plate obtains The status information of described communication interface;
Wherein, described first board be described at least one be managed any one in plate;
Described main management buttress is according to described status information, it is judged that described main management plate and described from the communication interface of management board whether Disconnect;
If described main management plate and the described communication interface from management board disconnect, the most described main management plate determines to ignore and detects The first board signal change in place of accessing of described first slot, and determine that described main management plate is pulled out.
Method the most according to claim 1, it is characterised in that be provided with the first depositor in described main management plate, be used for Store the status information of described communication interface;
Described main management plate obtains the status information of described communication interface, including:
Described main management plate is with the first board signal change in place of described first slot being detected and accessing as initial time, the After one Preset Time, from described first depositor, read the status information of described communication interface.
Method the most according to claim 1 and 2, it is characterised in that be provided with the second depositor in described main management plate, uses In being managed the status information in place of plate described in storage, described status information in place includes in place and the most in place;
Described method also includes:
If described main management plate and the described communication interface from management board do not disconnect, the most described main management plate is deposited from described second Device reads the status information in place of described first board;
Described main management buttress is according to the status information in place of described first board, it is judged that access described the first of described first slot The state in place of board;
If it is determined that it is in place to access described first board of described first slot, the most described main management plate determines access described the Described first board of one slot is pulled out.
Method the most according to claim 3, it is characterised in that also include:
If it is determined that described first board accessing described first slot is in place, the most described main management plate determines to ignore and detects The first board signal change in place that described first slot accesses, and determine that described main management plate is pulled out.
5. according to the method according to any one of claim 1-4, it is characterised in that described method also includes:
Described main management plate sends synchronization request to described from management board, and enters listening state, and described synchronization request is for asking Ask described from the status information in place being managed plate described in management board return;
Whether described main management plate judges to receive in the second Preset Time described from the sync response of management board, described synchronization Response is managed the status information in place of plate described in including;
If described main management plate determines receives described sync response in described second Preset Time and to described sync response Decoding failure or determine in described second Preset Time, do not receive described sync response, the most described main management plate is by first In depositor, the status information of the described communication interface of storage is set to described off-state, and by clear for the value of the 3rd depositor Zero;
If described main management plate determines receives described sync response in described second Preset Time, then described synchronization is being rung After answering successfully decoded, the described status information in place being managed plate is stored in the second depositor, and judges that described first posts In storage, whether the status information of the described communication interface of storage is described off-state, if the status information of described communication interface For described off-state, then the value of described 3rd depositor is added 1, and be more than or equal in the value determining described 3rd depositor During N, the status information of described communication interface being set to described connection status, described N is the positive integer more than or equal to 1.
6. a main management plate, is applied to rack-mount unit, and described rack-mount unit includes backboard and is arranged on described backboard At least three slot, described slot is used for accessing board, includes described main management plate at the board accessing slot, from pipe Reason plate and at least one be managed plate, described in be managed plate be cable card board or power board, it is characterised in that described main management plate and Described being connected by communication interface from management board, described main management plate includes:
Detector unit, whether the first board signal in place accessed for detection the first slot changes;
Acquiring unit, for detecting, when described detector unit, the first board signal change in place that described first slot accesses Time, obtain the status information of described communication interface;
Wherein, described first board be described at least one be managed any one in plate;
Judging unit, for the described status information that gets according to described acquiring unit, it is judged that described main management plate and described Whether disconnect from the communication interface of management board;
Determine unit, if for described judging unit judge obtain described main management plate and described from the communication interface of management board Disconnect, it is determined that ignore the first board signal change in place of the described first slot access that described detector unit detects, and Determine that described main management plate is pulled out.
Main management plate the most according to claim 6, it is characterised in that described main management plate also includes: memory element;
Described memory element, for storing the status information of described communication interface;
Described acquiring unit, is initial specifically for the first board signal change in place described first slot access to be detected In the moment, after the first Preset Time, from described memory element, read the status information of described communication interface.
8. according to the main management plate described in claim 6 or 7, it is characterised in that
Described memory element, is additionally operable to be managed described in storage the status information in place of plate, and described status information in place is included in Position is with the most in place;
Described acquiring unit, judges to obtain described main management plate and described communicating from management board if being additionally operable to described judging unit Interface does not disconnects, and reads the status information in place of described first board from described memory element;
Described judging unit, is additionally operable to the status information in place of described first board got according to described acquiring unit, sentences Disconnecting enters the state in place of described first board of described first slot;
Described determine unit, if being additionally operable to described judging unit to determine that described first board accessing described first slot does not exists Position, it is determined that described first board accessing described first slot is pulled out.
Main management plate the most according to claim 8, it is characterised in that
Described determine unit, if being additionally operable to described judging unit to determine that described first board accessing described first slot exists Position, it is determined that ignore the first board signal change in place that described first slot that described detector unit detects accesses, and really Fixed described main management plate is pulled out.
10. according to the main management plate according to any one of claim 6-9, it is characterised in that described main management plate also includes: send out Send unit and unit is set;
Described transmitting element, for sending synchronization request to described from management board, and enters listening state, and described synchronization request is used Described from the status information in place being managed plate described in management board return in request;
Whether described judging unit, be additionally operable to judge to receive in the second Preset Time described from the sync response of management board, Described sync response is managed the status information in place of plate described in including;
Described unit is set, if determining for described judging unit and receiving described sync response in described second Preset Time And to the decoding failure of described sync response or determine and do not receive described sync response in described second Preset Time, then will In memory element, the status information of the described communication interface of storage is set to described off-state, and by clear for the value of the 3rd depositor Zero;
Described memory element, if being additionally operable to described judging unit to determine that receiving described synchronization in described second Preset Time rings Should, then after to described sync response successfully decoded, the status information in place of described management board is stored in described memory element In;
Described judging unit, is additionally operable to judge in described memory element, whether the status information of the described communication interface of storage is institute State off-state;
Described unit is set, if being additionally operable to described judging unit to determine that the status information of described communication interface is described disconnection shape State, then add 1 by the value of described 3rd depositor, and when the value determining described 3rd depositor is more than or equal to N, by described logical The status information of letter interface is set to described connection status, and described N is the positive integer more than or equal to 1.
CN201610822668.3A 2016-09-14 2016-09-14 A kind of method and management board judging that board is pulled out Active CN106254149B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610822668.3A CN106254149B (en) 2016-09-14 2016-09-14 A kind of method and management board judging that board is pulled out

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610822668.3A CN106254149B (en) 2016-09-14 2016-09-14 A kind of method and management board judging that board is pulled out

Publications (2)

Publication Number Publication Date
CN106254149A true CN106254149A (en) 2016-12-21
CN106254149B CN106254149B (en) 2019-06-14

Family

ID=57598827

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610822668.3A Active CN106254149B (en) 2016-09-14 2016-09-14 A kind of method and management board judging that board is pulled out

Country Status (1)

Country Link
CN (1) CN106254149B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108733505A (en) * 2018-06-29 2018-11-02 北京广利核***工程有限公司 Board information calibration method in place and device
CN110417464A (en) * 2019-07-18 2019-11-05 锐捷网络股份有限公司 A kind of fault handling method and device, computer installation and readable storage medium storing program for executing
CN112486882A (en) * 2020-12-15 2021-03-12 安徽皖通邮电股份有限公司 Multiplexing device and multiplexing method for single-board signals on backboard

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1540891A (en) * 2003-04-23 2004-10-27 华为技术有限公司 Method and system for testing functional board being on site
US20050063395A1 (en) * 2003-09-18 2005-03-24 Cisco Technology, Inc. Virtual network device
CN101123511A (en) * 2007-09-21 2008-02-13 杭州华三通信技术有限公司 A PCI quick bus system and its energy management method
CN101159649A (en) * 2007-09-21 2008-04-09 杭州华三通信技术有限公司 PCI high-speed bus system and energy management method thereof
CN101867951A (en) * 2010-06-09 2010-10-20 新邮通信设备有限公司 Availability detection method and base station, baseband processing unit and multi-software module system
CN105530121A (en) * 2015-12-03 2016-04-27 福建星网锐捷网络有限公司 Master and slave management board switching control method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1540891A (en) * 2003-04-23 2004-10-27 华为技术有限公司 Method and system for testing functional board being on site
US20050063395A1 (en) * 2003-09-18 2005-03-24 Cisco Technology, Inc. Virtual network device
CN101123511A (en) * 2007-09-21 2008-02-13 杭州华三通信技术有限公司 A PCI quick bus system and its energy management method
CN101159649A (en) * 2007-09-21 2008-04-09 杭州华三通信技术有限公司 PCI high-speed bus system and energy management method thereof
CN101867951A (en) * 2010-06-09 2010-10-20 新邮通信设备有限公司 Availability detection method and base station, baseband processing unit and multi-software module system
CN105530121A (en) * 2015-12-03 2016-04-27 福建星网锐捷网络有限公司 Master and slave management board switching control method and device

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108733505A (en) * 2018-06-29 2018-11-02 北京广利核***工程有限公司 Board information calibration method in place and device
CN110417464A (en) * 2019-07-18 2019-11-05 锐捷网络股份有限公司 A kind of fault handling method and device, computer installation and readable storage medium storing program for executing
CN110417464B (en) * 2019-07-18 2021-01-15 锐捷网络股份有限公司 Fault processing method and device, computer device and readable storage medium
CN112486882A (en) * 2020-12-15 2021-03-12 安徽皖通邮电股份有限公司 Multiplexing device and multiplexing method for single-board signals on backboard
CN112486882B (en) * 2020-12-15 2023-05-26 安徽皖通邮电股份有限公司 Multiplexing method of multiplexing device for single board signals on backboard

Also Published As

Publication number Publication date
CN106254149B (en) 2019-06-14

Similar Documents

Publication Publication Date Title
CN103399254B (en) The detection method that board is in place and device
CN103181133B (en) The server system that Based PC IE exchanges and reverse method and equipment
CN109408338B (en) Method, device, equipment and system for grabbing trace of NVME (network video management entity) hard disk
CN105991325A (en) Method, device and system for processing fault in at least one distributed cluster.
CN112148515B (en) Fault positioning method, system, device, medium and equipment
CN104796213B (en) Clock synchronizing control system and method of multi-redundancy controller
CN106502814B (en) Method and device for recording error information of PCIE (peripheral component interface express) equipment
JP2006270961A (en) Packet trace diagnostic system
CN106254149A (en) A kind of method and management board judging that board is pulled out
CN106100939B (en) The network equipment starts time test method and test console
CN103731663B (en) The testing method of a kind of intelligent television and device
CN109240953A (en) A kind of method, pinboard and the system of adaptive switching hard disk
CN103631688A (en) Method and system for testing interface signal
CN115550291B (en) Switch reset system and method, storage medium, and electronic device
CN106776054A (en) A kind of deadlock detection method, device and circuit
CN102457403B (en) Method and device for detecting network connection faults
CN105095037A (en) Wire card, backboard of wire card and wire card test method
CN103513144A (en) Electronic system, connecting fault reporting system and relevant method
CN103530215B (en) A kind of self checking method of internal integrated circuit main frame, device and main frame
CN109101009A (en) Fault diagnosis system and server
CN109471763B (en) Method, device, equipment and system for grabbing trace of NVME (network video management entity) hard disk
US10613963B2 (en) Intelligent packet analyzer circuits, systems, and methods
WO2022105448A1 (en) Method and system for maintaining pcie signal connection by using in-place signal, device, and medium
CN111858222A (en) Error injection method, apparatus, data storage system and program product
WO2007028727A1 (en) Facilitating detection of hardware service actions

Legal Events

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