CN100504834C - Method and device for controlling impact external-equipment interconnected bus interface board circuit - Google Patents

Method and device for controlling impact external-equipment interconnected bus interface board circuit Download PDF

Info

Publication number
CN100504834C
CN100504834C CNB2007100739348A CN200710073934A CN100504834C CN 100504834 C CN100504834 C CN 100504834C CN B2007100739348 A CNB2007100739348 A CN B2007100739348A CN 200710073934 A CN200710073934 A CN 200710073934A CN 100504834 C CN100504834 C CN 100504834C
Authority
CN
China
Prior art keywords
interface board
described interface
signal
control
peripheral component
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.)
Expired - Fee Related
Application number
CNB2007100739348A
Other languages
Chinese (zh)
Other versions
CN101030188A (en
Inventor
李延松
杨辉
刘华伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CNB2007100739348A priority Critical patent/CN100504834C/en
Publication of CN101030188A publication Critical patent/CN101030188A/en
Application granted granted Critical
Publication of CN100504834C publication Critical patent/CN100504834C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

A method for controlling interface board circuit of compact external device interconnected bus includes setting said interface board to be controlled only by spanner signal after said interface board is just inserted in slot and switched on as well as before said interface board is extracted out then controlling said interface board to be switched on or off when said spanner signal is received by said interface board.

Description

The method and apparatus of compact peripheral component interconnect bus interface board circuit control
Technical field
The present invention relates to the communications field, the method and apparatus of particularly compact peripheral component interconnect bus interface board circuit control.
Background technology
Peripheral component interconnect (PCI, Peripheral Component Interconnect) bus has obtained application widely with its plug and play,, advantage such as extensibility is good irrelevant with processor.PCI industrial computer (the PICMG of AEM, PCI Industrial Computer Manufacturers Group) peripheral component interconnect bus (CompactPCI, the Compact PeripheralComponent Interconnect) standard of the compactness of issuing in 1994 indicates that pci bus begins to be applied to fields such as the very high telecommunications of reliability requirement, Industry Control.
The CompactPCI normalized definition a kind of new integrated circuit board and system architecture, the mechanical dimension that adopts European card, electrical specification is identical with pci bus with Data Transport Protocol; Extensibility is better, can be according to the quantity of the needs configuring interface board of using; Support masterslave switchover, improve the advantages such as reliability of system.
The CompactPCI system is front and back plate structures, and front card is used to the processing power that provides general, and back card/back board is generally used for providing external interface.Front card is divided into two kinds of system board and interface boards, and the former mainly finishes system management and control function, for example the resetting of the duty of monitor-interface plate, control interface board, power-on and power-off etc., and the latter mainly finishes service processing function.Specifically can be with reference to figure 1, Fig. 1 is front and back, CompactPCI system 8 a groove positions plate structural representation in the prior art.
For the system of high availability, require to provide the hot plug function of interface board usually.Specifically, need to change if fault has taken place certain piece interface board, this piece interface board must be extracted from charged CompactPCI bus so, then a trouble-free interface board is inserted original groove position, whole process can not produce other interface boards of working and disturb, so the hot plug function has improved the maintainability of system.
In order to realize this function, PICMG has issued the hot plug standard of CompactPCI bus in 1998, be the PICMG2.1 standard, it has defined the usage of related state exchange, hot plug signal and handle switch of interface board hot plug, the contents such as definition of pilot lamp.
According to the hot plug standard of CompactPCI bus, interface board power on and following electricity is operated by hot-swapping controller (HSC, Hot Swap Controller) fully.Send to insert when interface board insertion groove position and interrupt, hot-swapping controller powers on to interface board after detecting and interrupting.If interface board is opened spanner after powering on, it can produce ENUM (from the configuring request signal of interface board, represent interface board request configuration access in the time of low level) interrupt reporting hot-swapping controller, the interface board software at hot-swapping controller place can respond this interruption and inquire and produce the reason that ENUM interrupts, and for example interface board just powers on or prepares down.If prepare electricity down, hot-swapping controller can be with interface board down.
The inventor finds when research is of the present invention, after the electricity, if close spanner more again, interface board normally can't power under interface board is opened spanner and finished, because this moment, hot-swapping controller can't be learnt the state of spanner, can not produce to insert yet and interrupt or the ENUM interruption.Have only and interface board extracted and insertion groove position once more, produced and inserted after interrupting that it just can re-power.But because there is the restriction of plug number of times in the CompactPCI Bussing connector that interface board uses, repeatedly the coating of contact pin can be worn after the plug, causes the increase of contact resistance, can bring adverse effect to signal quality; And the plug interface board also can be made troubles to system maintenance.
Summary of the invention
The object of the invention is to provide a kind of method and apparatus of peripheral component interconnect bus interface board circuit control of compactness, realizes by the opening, close of spanner with regard to the power-on and power-off of controllable interface plate, and the maintenance of Convenient interface plate.
The method of the peripheral component interconnect bus interface board circuit control of a kind of compactness that the embodiment of the invention provides comprises:
After the firm insertion groove of described interface board position powered on, before extracting, described interface board was controlled by wrench signal only;
According to the described wrench signal that described interface board receives described interface board is controlled,, then controlled under the described interface board if described interface board is received the spanner opening signal; If described interface board and groove position are in connection status and receive the spanner signal that closes, then control described interface board and power on.
The device of the peripheral component interconnect bus interface board circuit control of a kind of compactness that the embodiment of the invention provides comprises:
The unit is set, is used for after the firm insertion groove of described interface board position powers on, before extracting, described interface board is set controlled by wrench signal;
Control module, be used for according to described interface board receive described wrench signal described interface board is controlled, if described interface board is received the spanner opening signal, then control under the described interface board; If described interface board and groove position are in connection status and receive the spanner signal that closes, then control described interface board and power on.
The peripheral component interconnect bus interface board circuit control of a kind of compactness that provides by the embodiment of the invention method and apparatus, by after the firm insertion groove of described interface board position powers on, before extracting, described interface board is set controlled by wrench signal, and when described interface board is received described wrench signal, control under the described interface board electricity or power on, avoided the CompactPCI interface board because the situation of the unusual following electricity that hot-swapping controller causes unusually, and realized opening by spanner, close with regard to the power-on and power-off of controllable interface plate, and made things convenient for the maintenance of interface board.
Description of drawings
Fig. 1 is the peripheral component interconnect bus system structural representation of 8 groove position compactnesses in the prior art.
Fig. 2 is the method flow synoptic diagram of the embodiment of the invention about a kind of peripheral component interconnect bus interface board circuit control of compactness.
Fig. 3 is that the embodiment of the invention is about state machine transfer process synoptic diagram.
Fig. 4 is arranged in the structural representation of electrifying control circuit about state machine for the embodiment of the invention.
Fig. 5 is the structural representation of the embodiment of the invention about a kind of device of peripheral component interconnect bus interface board circuit control of compactness.
Embodiment
Break down at the hot-swapping controller that exists in the present prior art, cause interface board to descend unusually, and because of last hot-line insertion and extraction interface board causes the wearing and tearing of interface board and the inconvenience in the maintenance, the embodiment of the invention provides a kind of method and apparatus of peripheral component interconnect bus interface board circuit control of compactness.
As shown in Figure 2, Fig. 2 is the schematic flow sheet of the peripheral component interconnect bus interface board circuit control method of a kind of compactness of the embodiment of the invention;
Step 101: after the firm insertion groove of described interface board position powered on, before extracting, described interface board was controlled by wrench signal only;
As the state machine that circuit is controlled on the CompactPCI interface board is set, and state machine is set at the state that does not power on, powers on, descends under three kinds of situations of electricity;
The state machine of circuit control on the CompactPCI interface board is a kind of State Control program of describing with hardware description language.Normally used hardware description language has VerilogHDL (Chinese: Verilog hardware description language, and VHDL (Very High Speed Integrated Circuit (VHSIC) hardware description language, Very High SpeedIntegrated Circuit Hardware Description Language).Those of ordinary skill in the art should understand that hardware description language can also comprise descriptive language other type, that realize identical function, and is no longer exhaustive at this.
After being converted into file destination and being loaded on the interface board, the state machine of describing by hardware description language can realize the function that described state machine is set, this process is that those of ordinary skills need not the common technology means that creative work can be realized, does not repeat them here.The three kinds of states of electricity that do not power on, power on, descend set in state machine are represented with S0, S1, S2 respectively:
State S0: interface board does not power on, and waits for that the BD_SEL# signal controlling from hot-swapping controller powers on;
State S1: interface board powers on, and this moment, it was not subjected to the BD_SEL# signal controlling of hot-swapping controller;
State S2: interface board is electricity down, and this moment, it was not subjected to the BD_SEL# signal controlling of hot-swapping controller.
Step 102: according to the described wrench signal that described interface board receives described interface board is controlled,, then controlled under the described interface board if described interface board is received the spanner opening signal; If described interface board and groove position are in connection status and receive the spanner signal that closes, then control described interface board and power on.
As according in the last example, the state of the described state machine of setting is provided with state machine the CompactPCI interface board is controlled.
State S0, S1, S2 as according to the state machine that has been provided with are provided with described state machine, make described state machine can to the CompactPCI interface board power on and/or down electricity control effectively:
Specific implementation can be with reference to figure 3, and Fig. 3 is that the embodiment of the invention is about state machine transfer process synoptic diagram.
When the firm insertion groove of interface board position, state machine is in S0;
When state machine was in S0, if interface board is powered on by hot-swapping controller HSC control interface board, state machine forwarded S1 to;
When state machine was in S1, if the spanner of interface board is opened, state machine forwarded S2 to;
When state machine was in S2, if the spanner of interface board closes, state machine forwarded S1 to;
If described CompactPCI interface board receives under the spanner opening signal behind the electricity, described interface board is pulled out groove position and insertion groove position again again, and state machine forwards S0 to.
Simultaneously, those of ordinary skill in the art can understand that described state machine promptly can be arranged in electrifying control circuit, also can be used as other functional units that an ingredient is arranged in compact peripheral component interconnect bus interface board.And, described state machine place interface board is subjected to reset signal RST# from hot-swapping controller all the time (from the reset signal of hot-swapping controller, in the time of low level interface board is resetted) control, also can export Healthy# (from the power state signal of interface board, represent in the time of low level that interface board normally powers on) signal and ENUM# (, representing interface board request configuration access in the time of low level) signal from the configuring request signal of interface board.Described RST# signal, Healthy# signal and ENUM# signal all are due signals of CompactPCI interface board in the prior art, and its function and realization are same as the prior art, are not described in detail in this.
Now only be arranged in electrifying control circuit and state machine realized that the described circuit control of the embodiment of the invention is illustrated for example with regard to state machine.
With reference to figure 4, Fig. 4 is arranged in the structural representation of electrifying control circuit about state machine for the embodiment of the invention, interface board is the peripheral component interconnect bus interface board of the described compactness of the embodiment of the invention among the figure, described state machine is arranged in electrifying control circuit, and the relation between itself and wrench signal, BD_SEL# signal, RST# signal, Healthy# signal and the ENUM# signal as shown in the figure.Be arranged in other circuit of compact peripheral component interconnect bus interface board for state machine as an ingredient, those of ordinary skills are according to the disclosed technical scheme of the embodiment of the invention, and need not creative work can realize, does not repeat them here.
With reference to figure 5, Fig. 5 is the state machine structural representation of the embodiment of the invention about a kind of device of peripheral component interconnect bus CompactPCI interface board circuit control of compactness, comprising:
The unit is set: be used for after the firm insertion groove of described interface board position powers on, before extracting, described interface board be set controlled by wrench signal;
Control module: be used for according to described interface board receive described wrench signal described interface board is controlled, if described interface board is received the spanner opening signal, then control under the described interface board; If described interface board and groove position are in connection status and receive the spanner signal that closes, then control described interface board and power on.
Last electric unit: be used for when the firm insertion groove of described interface board position, power on by the described interface board of enable signal BD_SEL# signal controlling that powers on of hot-swapping controller.
Described device powers on and starts working prior to other circuit in the plate after described interface board insertion groove position.
The peripheral component interconnect bus interface board circuit control of a kind of compactness that provides by the embodiment of the invention method and apparatus, by after the firm insertion groove of described interface board position powers on, before extracting, described interface board is set controlled by wrench signal, and when described interface board is received described wrench signal, control under the described interface board electricity or power on, avoided the CompactPCI interface board because the situation of the unusual following electricity that hot-swapping controller causes unusually, and realized opening by spanner, close with regard to the power-on and power-off of controllable interface plate, and made things convenient for the maintenance of interface board.

Claims (9)

1, the method for a kind of peripheral component interconnect bus interface board circuit of compactness control is characterized in that:
After the firm insertion groove of described interface board position powered on, before extracting, described interface board was controlled by wrench signal only;
According to the described wrench signal that described interface board receives described interface board is controlled,, then controlled under the described interface board if described interface board is received the spanner opening signal; If described interface board and groove position are in connection status and receive the spanner signal that closes, then control described interface board and power on.
2, the method for the peripheral component interconnect bus interface board circuit of a kind of compactness according to claim 1 control is characterized in that further comprising:
When the firm insertion groove of described interface board position, described interface board is powered on by the enable signal control that powers on of hot-swapping controller.
3, the method for the peripheral component interconnect bus interface board circuit of a kind of compactness according to claim 1 control is characterized in that further comprising:
When described interface board is received under the spanner opening signal behind the electricity, described interface board is pulled out the groove position more again during the insertion groove position, and described interface board is powered on by the enable signal control that powers on of hot-swapping controller.
4, the method for the peripheral component interconnect bus interface board circuit of a kind of compactness according to claim 2 control is characterized in that:
The enable signal that powers on of described hot-swapping controller is the BD_SEL# signal.
5, the method for the peripheral component interconnect bus interface board circuit of a kind of compactness according to claim 1 control is characterized in that:
A kind of State Control program that described interface board circuit control is described by the Verilog hardware description language realizes; Perhaps a kind of State Control program of describing by VHDL language realizes.
6, the method for the peripheral component interconnect bus interface board circuit of a kind of compactness according to claim 1 control is characterized in that:
Described interface board is subjected to the control of the reset signal RST# of hot-swapping controller, and output Healthy# signal and ENUM# signal.
7, the device of a kind of peripheral component interconnect bus interface board circuit of compactness control is characterized in that, comprising:
The unit is set, is used for after the firm insertion groove of described interface board position powers on, before extracting, described interface board is set controlled by wrench signal;
Control module, be used for according to described interface board receive described wrench signal described interface board is controlled, if described interface board is received the spanner opening signal, then control under the described interface board; If described interface board and groove position are in connection status and receive the spanner signal that closes, then control described interface board and power on.
8, the device of the peripheral component interconnect bus interface board circuit of a kind of compactness according to claim 7 control is characterized in that the described unit that is provided with also comprises:
Last electric unit: be used for when the firm insertion groove of described interface board position, controlling described interface board by the enable signal that powers on of hot-swapping controller and powering on.
9, the device of the peripheral component interconnect bus interface board circuit of a kind of compactness according to claim 8 control is characterized in that:
The enable signal that powers on of described hot-swapping controller is the BD_SEL# signal.
CNB2007100739348A 2007-03-31 2007-03-31 Method and device for controlling impact external-equipment interconnected bus interface board circuit Expired - Fee Related CN100504834C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2007100739348A CN100504834C (en) 2007-03-31 2007-03-31 Method and device for controlling impact external-equipment interconnected bus interface board circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2007100739348A CN100504834C (en) 2007-03-31 2007-03-31 Method and device for controlling impact external-equipment interconnected bus interface board circuit

Publications (2)

Publication Number Publication Date
CN101030188A CN101030188A (en) 2007-09-05
CN100504834C true CN100504834C (en) 2009-06-24

Family

ID=38715543

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2007100739348A Expired - Fee Related CN100504834C (en) 2007-03-31 2007-03-31 Method and device for controlling impact external-equipment interconnected bus interface board circuit

Country Status (1)

Country Link
CN (1) CN100504834C (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101605188B (en) * 2008-06-10 2012-08-08 华为技术有限公司 Method, system and front plugboard supporting hot plug
CN101299678B (en) * 2008-07-03 2011-07-20 杭州华三通信技术有限公司 Method and system for implementing electrification of interface plate in open application structure
CN102207530B (en) * 2010-03-31 2014-03-26 炬力集成电路设计有限公司 Method of detecting hot swap equipment and system thereof

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
Compact PCI热插拔技术的研究及其实现. 赵海波,张进明,王真.计算机测量与控制,第04期. 2005
Compact PCI热插拔技术的研究及其实现. 赵海波,张进明,王真.计算机测量与控制,第04期. 2005 *

Also Published As

Publication number Publication date
CN101030188A (en) 2007-09-05

Similar Documents

Publication Publication Date Title
US8447893B2 (en) USB peripheral device comprising limited function USB host controller
KR100304851B1 (en) A method and apparatus for adding and removing components of a data processing system without powering down
US20030140190A1 (en) Auto-SCSI termination enable in a CPCI hot swap system
CN104731741B (en) The method and system of hot plug
CN102724093B (en) A kind of ATCA machine frame and IPMB method of attachment thereof
CN101141263A (en) Method, control cell and system for controlling ethernet power supply
CN104133533A (en) Expansion board card system for supporting full-length PCIE
CN103345459B (en) The changing method multiplexing based on the multiple processor serial ports on veneer and commutation circuit
CN1725752A (en) Method for hot-line insertion and extraction of network interface plate
CN102446149A (en) Processing method and system capable of achieving hot plug of compact PCI product
CN102299807A (en) POE system realized on MicroTCA and management method thereof
CN104881105A (en) Electronic device
CN100504834C (en) Method and device for controlling impact external-equipment interconnected bus interface board circuit
CN203350870U (en) Switching circuit based on multiplexing of multiple processor serial ports on veneer
CN102385566B (en) A kind of hot-plug method and MTCA platform based on MTCA platform
CN102902334A (en) CPU (central processing unit) power supply regulating method and CPU power supply regulating system
CN108090009A (en) A kind of multimachine method, apparatus of falling machine and system
CN108415866A (en) Intelligent platform management controller
CN209029000U (en) Engineering machinery display screen, engineering machinery and project monitor and control system
CN207249662U (en) Adaptive usb synchronizers
CN202217164U (en) Programmable control host machine of central control system
WO2009067873A1 (en) Communication single board, chassis, system for detecting insertion and extraction of communication single board, and communication system
CN105208192A (en) Storage card state control method of terminal and device
CN216286659U (en) High-speed data processing equipment based on homemade VPX framework
CN217467658U (en) PCIE keysets

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20090624

Termination date: 20170331

CF01 Termination of patent right due to non-payment of annual fee