CN106330562A - System and method for solving crash problem of switch in hot plug process - Google Patents

System and method for solving crash problem of switch in hot plug process Download PDF

Info

Publication number
CN106330562A
CN106330562A CN201610786687.5A CN201610786687A CN106330562A CN 106330562 A CN106330562 A CN 106330562A CN 201610786687 A CN201610786687 A CN 201610786687A CN 106330562 A CN106330562 A CN 106330562A
Authority
CN
China
Prior art keywords
signal
switch
signal processing
processing chip
connecting line
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.)
Pending
Application number
CN201610786687.5A
Other languages
Chinese (zh)
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.)
Inspur Beijing Electronic Information Industry Co Ltd
Original Assignee
Inspur Beijing Electronic Information Industry 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 Inspur Beijing Electronic Information Industry Co Ltd filed Critical Inspur Beijing Electronic Information Industry Co Ltd
Priority to CN201610786687.5A priority Critical patent/CN106330562A/en
Publication of CN106330562A publication Critical patent/CN106330562A/en
Pending legal-status Critical Current

Links

Classifications

    • 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/06Management of faults, events, alarms or notifications
    • H04L41/0654Management of faults, events, alarms or notifications using network fault recovery
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/30Peripheral units, e.g. input or output ports

Abstract

The invention discloses a system and method for solving a crash problem of a switch in a hot plug process. The system comprises: a signal sending device used for sensing a pull-out signal of a connecting line and the switch and converting the pull-out signal into an electrical signal; and a signal processing chip used for judging whether the electrical signal represents that the connecting line is disconnected with the switch when receiving the electrical signal, and if so, outputting an interruption signal to the switch. Therefore, the system adopts a hardware mode to output the interruption signal to the switch when the pull-out signal is detected, in this way, the data exchange between the switch and a host is interrupted in advance prior to pull-out, and then the crash problem of the switch is prevented.

Description

A kind of switch that solves crashes the system and method for problem in hot plug process
Technical field
The present invention relates to field of computer technology, particularly relate to a kind of switch that solves and crash in hot plug process and ask The system and method for topic.
Background technology
Switch in the present invention refers to the switch with PCI-Express (being called for short PCIE) interface, worked Cheng Zhong, switch communicates with multiple host, and maximum support communicates between 32 main frames.Switch and main frame are by main The connecting line (Cable) of machine communicates, and Cable has QSFP+ (Quad Small Form-factor Pluggable Plus, observe is SFF_8436 agreement) port.In use, QSFP+ port is inserted switch, when not in use QSFP+ port is extracted.
But find during test, during multiple host and switch communicate, if pulled out suddenly Fall the Cable of a main frame, switch can be caused to crash.This is because this hot plug is to violate PCIE agreement to hot plug Require.
As can be seen here, how to solve switch crash in hot plug process the problem of problem be those skilled in the art urgently Ground to be solved problem.
Summary of the invention
It is an object of the invention to provide a kind of switch that solves to crash in hot plug process the system and method for problem, use In in hot plug process, cause the problem that switch crashes when the connecting line having main frame is pulled out suddenly.
For solve above-mentioned technical problem, the present invention provide a kind of solve switch in hot plug process deadlock problem be System, including:
Signal induction device, extracts signal for sense connecting line and switch, and is converted to by described signal of extracting The signal of telecommunication;
Signal processing chip, for when receiving the described signal of telecommunication, it is judged that whether the described signal of telecommunication characterizes described connection Line disconnects with described switch, if it is, export interrupt signal to described switch.
Preferably, described signal induction device is pressure transducer, described in extract signal be described connecting line and described friendship The pressure signal changed planes.
Preferably, described pressure transducer and described signal processing chip are integrated setting, described pressure transducer and institute State signal processing chip and be arranged at the QSFP+ port of described connecting line.
Preferably, described pressure transducer and described signal processing chip are that split is arranged, and described pressure transducer is arranged In the QSFP+ port of described connecting line, described signal processing chip is arranged in described switch.
Preferably, described signal processing chip includes signal processing unit and signal output unit;
Described signal processing unit, is used for receiving the described signal of telecommunication, and judges that whether the described signal of telecommunication is less than predetermined value;As Fruit is then to trigger described signal output unit;
Described signal output unit, for exporting described interrupt signal under the triggering of described signal processing unit.
Preferably, also include suggestion device, be connected with described signal processing chip, for defeated at described signal processing chip Prompting when going out described interrupt signal.
Preferably, described suggestion device is display lamp.
For solving above-mentioned technical problem, the present invention provides a kind of and solves switch side of deadlock problem in hot plug process Method, including:
Signal induction device sensing connecting line extracts signal with switch, and described signal of extracting is converted to telecommunications Number;
Signal processing chip is when receiving the described signal of telecommunication, it is judged that whether the described signal of telecommunication characterizes described connecting line and institute State switch to disconnect, if it is, export interrupt signal to described switch.
Solution switch provided by the present invention crashes the system and method for problem in hot plug process, including: signal Induction installation, for sensing the signal of extracting of connecting line and switch, and will extract signal and be converted to the signal of telecommunication;Signal processing core Sheet, for when receiving the signal of telecommunication, it is judged that whether the signal of telecommunication characterizes connecting line disconnects with switch, if it is, to Switch output interrupt signal.As can be seen here, native system use hardware mode, when detect extract signal time, to switch Output interrupt signal, thus the data exchange of switch and main frame can be interrupted before extracting in advance, and then play and prevent from handing over Change planes occur crash problem.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention, the accompanying drawing used required in embodiment will be done simply below Introduce, it should be apparent that, the accompanying drawing in describing below is only some embodiments of the present invention, for ordinary skill people From the point of view of Yuan, on the premise of not paying creative work, it is also possible to obtain other accompanying drawing according to these accompanying drawings.
A kind of switch that solves that Fig. 1 provides for the present invention crashes the structure chart of system of problem in hot plug process;
Fig. 2 is a kind of pressure transducer and the signal processing chip attachment structure figure of the embodiment of the present invention;
Fig. 3 is another kind of pressure transducer and the signal processing chip attachment structure figure of the embodiment of the present invention;
A kind of switch that solves that Fig. 4 provides for the present invention crashes the flow chart of method of problem in hot plug process.
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 embodiment wholely.Based on this Embodiment in invention, those of ordinary skill in the art are not under making creative work premise, and obtained is every other Embodiment, broadly falls into scope.
The core of the present invention is to provide a kind of switch that solves and crashes in hot plug process the system and method for problem.
In order to make those skilled in the art be more fully understood that the present invention program, below in conjunction with the accompanying drawings and detailed description of the invention The present invention is described in further detail.
A kind of switch that solves that Fig. 1 provides for the present invention crashes the structure chart of system of problem in hot plug process. The system of problem as it is shown in figure 1, solution switch crashes in hot plug process, including:
Signal induction device 10, for sensing the signal of extracting of connecting line and switch, and will extract signal and be converted to electricity Signal.
Signal processing chip 11, for when receiving the signal of telecommunication, it is judged that whether the signal of telecommunication characterizes connecting line and switch Disconnect, if it is, export interrupt signal to switch.
In being embodied as, the effect of signal induction device 10 be sensing connecting line and switch extract signal, such as Signal induction device can be pressure transducer or photoelectric sensor, if it is exactly connecting line that pressure transducer then extracts signal With the pressure signal of exchange interface, if photoelectric sensor, then extracting signal is exactly between connecting line and exchange interface Optical signal.If extracting signal, corresponding signal induction device 10 will be converted to the signal of telecommunication by extracting signal.Signal Process chip 11 when receiving the signal of telecommunication, it is judged that whether the signal of telecommunication characterizes connecting line disconnects with switch, if it is, Interrupt signal is exported to switch.Switch, after receiving interrupt signal, by stopping and the data transmission of main frame, drags down simultaneously The signal in place of QSFP+ port, can carry out normal hot plug process.
Switch crashes in the hot plug process system of problem that what the present embodiment provided solve, including: induction of signal fills Put, for sensing the signal of extracting of connecting line and switch, and signal will be extracted be converted to the signal of telecommunication;Signal processing chip, uses In when receiving the signal of telecommunication, it is judged that whether the signal of telecommunication characterizes connecting line disconnects with switch, if it is, to switch Output interrupt signal.As can be seen here, native system use hardware mode, when detect extract signal time, to switch export in Break signal, thus the data exchange of switch and main frame can be interrupted before extracting in advance, and then play and prevent switch from going out The problem now crashed.
It should be noted that, signal processing chip 11 needs to be connected with switch, so that interrupt signal is sent to switch, Above-described embodiment can use therebetween any connected mode, if wired connection, then need corresponding transmission line, If wireless connections, then needing corresponding transmission of wireless signals equipment, the present invention repeats no more.
As being preferably carried out mode, on the basis of above-described embodiment, signal induction device 10 is pressure transducer, pulls out Go out the pressure signal that signal is connecting line and switch.
It is understood that connecting line is connected with exchange interface by QSFP+ port, then extract what signal referred in fact QSFP+ port and the direct pressure of exchange interface.If QSFP+ port and exchange interface are in normal connection status, then The pressure of QSFP+ port is relatively big, if QSFP+ port is pulled out, then the pressure of QSFP+ port is less.Due to pressure transducer Corresponding pressure signal can be converted to the signal of telecommunication, therefore, by the size of the signal of telecommunication it may determine that go out QSFP+ port quilt Extract.
Fig. 2 is a kind of pressure transducer and the signal processing chip attachment structure figure of the embodiment of the present invention.As preferably Embodiment, on the basis of above-described embodiment, pressure transducer and signal processing chip 11 are integrated setting, pressure transducer With the QSFP+ port that signal processing chip 11 is arranged at connecting line.
In being embodied as, pressure transducer and signal processing chip 11 all can be integrated in QSFP+ port, so The signal of telecommunication of the output of pressure transducer can quickly be transferred to signal processing chip 11, but signal processing chip 11 and exchange The transmission speed of machine comparatively speaking will be slowly.
Fig. 3 is another kind of pressure transducer and the signal processing chip attachment structure figure of the embodiment of the present invention.As preferably Ground embodiment, on the basis of above-described embodiment, pressure transducer is arranged for split with signal processing chip 11, pressure sensing Device is arranged on the QSFP+ port of connecting line, and signal processing chip 11 is arranged in a switch.
In being embodied as, can be arranged with signal processing chip 11 split by pressure transducer, pressure transducer is arranged In QSFP+ port, signal processing chip 11 is arranged in a switch.With this, the transmission of signal processing chip 11 and switch Speed, but the transmission speed of pressure transducer and signal processing chip 11 comparatively speaking will be slowly.
As being preferably carried out mode, on the basis of above-described embodiment, signal processing chip 11 includes signal processing list Unit and signal output unit;
Signal processing unit, is used for receiving the signal of telecommunication, and judges that whether the signal of telecommunication is less than predetermined value;If it is, trigger Signal output unit;
Signal output unit, for exporting interrupt signal under the triggering of signal processing unit.
Such as, when signal induction device 10 is pressure transducer, then pressure transducer output is analogue signal, pressure The biggest, then the value of the analogue signal of pressure transducer output is the biggest, in being embodied as, can set a predetermined value.
If connecting line is pulled out, then the pressure at connecting line and exchange interface diminishes, and causes pressure transducer to export Analogue signal just diminish, if less than predetermined value, then signal processing chip 11 just exports interrupt signal.
As being preferably carried out mode, on the basis of above-described embodiment, also include suggestion device, with signal processing chip Connect, for pointing out when signal processing chip 11 exports interrupt signal.
Due in actual use, it is possible to cause connecting line and exchange interface to occur loosening, cause at signal Reason chip 11 output interrupt signal by mistake.Then staff can not be reminded in time to find in time without suggestion device.Can manage Solving, suggestion device can be with sound prompt device, it is also possible to for photoelectricity suggestion device, as being preferably carried out mode, prompting Device is display lamp.It is to be understood that suggestion device can be arranged on switches, it is also possible to be arranged on the QSFP of connecting line + port.
A kind of switch that solves that Fig. 4 provides for the present invention crashes the flow chart of method of problem in hot plug process. As shown in Figure 4, solve crash in the hot plug process method of problem of switch to include:
S10: signal induction device sensing connecting line and switch extract signal, and signal will be extracted be converted to telecommunications Number;
S11: signal processing chip is when receiving the signal of telecommunication, it is judged that whether the signal of telecommunication characterizes connecting line disconnects with switch Connect, if it is, export interrupt signal to switch.
Owing to the embodiment of method part is the most corresponding with the embodiment of device part, because the embodiment of the method part please See the description of the embodiment of device part, wouldn't repeat here.
Switch crashes in the hot plug process method of problem that what the present embodiment provided solve, including: induction of signal fills Put the signal of extracting of sensing connecting line and switch, and signal will be extracted be converted to the signal of telecommunication;Signal processing chip is receiving During the signal of telecommunication, it is judged that whether the signal of telecommunication characterizes connecting line disconnects with switch, if it is, interrupt letter to switch output Number.As can be seen here, this method use hardware mode, when detect extract signal time, to switch export interrupt signal, thus Can interrupt the data exchange of switch and main frame before extracting in advance, so play prevent switch from occurring crash asks Topic.
The system and method for the problem that crashes solution switch provided by the present invention in hot plug process above is carried out It is discussed in detail.In description, each embodiment uses the mode gone forward one by one to describe, and what each embodiment stressed is and it The difference of his embodiment, between each embodiment, identical similar portion sees mutually.For filling disclosed in embodiment For putting, owing to it corresponds to the method disclosed in Example, so describe is fairly simple, relevant part sees method part Illustrate.It should be pointed out that, for those skilled in the art, in the premise without departing from the principle of the invention Under, it is also possible to the present invention is carried out some improvement and modification, and these improve and modify the protection also falling into the claims in the present invention In the range of.
Professional further appreciates that, in conjunction with the unit of each example that the embodiments described herein describes And algorithm steps, it is possible to electronic hardware, computer software or the two be implemented in combination in, in order to clearly demonstrate hardware and The interchangeability of software, the most generally describes composition and the step of each example according to function.These Function performs with hardware or software mode actually, depends on application-specific and the design constraint of technical scheme.Specialty Technical staff specifically should can be used for using different methods to realize described function to each, but this realization should not Think beyond the scope of this invention.
The method described in conjunction with the embodiments described herein or the step of algorithm can direct hardware, processor be held The software module of row, or the combination of the two implements.Software module can be placed in random access memory (RAM), internal memory, read-only deposit Reservoir (ROM), electrically programmable ROM, electrically erasable ROM, depositor, hard disk, moveable magnetic disc, CD-ROM or technology In any other form of storage medium well known in field.

Claims (8)

1. one kind solves switch and crashes in hot plug process the system of problem, it is characterised in that including:
Signal induction device, extracts signal for sense connecting line and switch, and described signal of extracting is converted to telecommunications Number;
Signal processing chip, for when receiving the described signal of telecommunication, it is judged that the described signal of telecommunication whether characterize described connecting line with Described switch disconnects, if it is, export interrupt signal to described switch.
Solution switch the most according to claim 1 crashes the system of problem in hot plug process, it is characterised in that institute Stating signal induction device is pressure transducer, described in extract the pressure signal that signal is described connecting line and described switch.
Solution switch the most according to claim 2 crashes the device of problem in hot plug process, it is characterised in that institute State pressure transducer and described signal processing chip is integrated setting, described pressure transducer and described signal processing chip and is all provided with Put the QSFP+ port at described connecting line.
Solution switch the most according to claim 2 crashes the system of problem in hot plug process, it is characterised in that institute Stating pressure transducer with described signal processing chip is that split is arranged, and described pressure transducer is arranged on the QSFP of described connecting line + port, described signal processing chip is arranged in described switch.
5. the system of the problem that crashes in hot plug process according to the solution switch described in claim 1-4 any one, its Being characterised by, described signal processing chip includes signal processing unit and signal output unit;
Described signal processing unit, is used for receiving the described signal of telecommunication, and judges that whether the described signal of telecommunication is less than predetermined value;If It is then to trigger described signal output unit;
Described signal output unit, for exporting described interrupt signal under the triggering of described signal processing unit.
Solution switch the most according to claim 5 crashes the system of problem in hot plug process, it is characterised in that also Including suggestion device, it is connected with described signal processing chip, for when described signal processing chip exports described interrupt signal Prompting.
Solution switch the most according to claim 6 crashes the system of problem in hot plug process, it is characterised in that institute Stating suggestion device is display lamp.
8. one kind solves switch and crashes in hot plug process the method for problem, it is characterised in that including:
Signal induction device sensing connecting line extracts signal with switch, and described signal of extracting is converted to the signal of telecommunication;
Signal processing chip is when receiving the described signal of telecommunication, it is judged that whether the described signal of telecommunication characterizes described connecting line and described friendship Change planes and disconnect, if it is, export interrupt signal to described switch.
CN201610786687.5A 2016-08-30 2016-08-30 System and method for solving crash problem of switch in hot plug process Pending CN106330562A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610786687.5A CN106330562A (en) 2016-08-30 2016-08-30 System and method for solving crash problem of switch in hot plug process

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610786687.5A CN106330562A (en) 2016-08-30 2016-08-30 System and method for solving crash problem of switch in hot plug process

Publications (1)

Publication Number Publication Date
CN106330562A true CN106330562A (en) 2017-01-11

Family

ID=57789385

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610786687.5A Pending CN106330562A (en) 2016-08-30 2016-08-30 System and method for solving crash problem of switch in hot plug process

Country Status (1)

Country Link
CN (1) CN106330562A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1983221A (en) * 2006-05-31 2007-06-20 华为技术有限公司 Thermal-plug controller and controlling method
CN101826068A (en) * 2009-03-03 2010-09-08 英业达股份有限公司 Method for hot-plugging PCI-E device and application thereof
CN104731741A (en) * 2013-12-23 2015-06-24 研祥智能科技股份有限公司 Hot plugging implementing method and system
CN105701051A (en) * 2016-01-15 2016-06-22 华为技术有限公司 Hot plug method, host controller, host and PCIe bridge equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1983221A (en) * 2006-05-31 2007-06-20 华为技术有限公司 Thermal-plug controller and controlling method
CN101826068A (en) * 2009-03-03 2010-09-08 英业达股份有限公司 Method for hot-plugging PCI-E device and application thereof
CN104731741A (en) * 2013-12-23 2015-06-24 研祥智能科技股份有限公司 Hot plugging implementing method and system
CN105701051A (en) * 2016-01-15 2016-06-22 华为技术有限公司 Hot plug method, host controller, host and PCIe bridge equipment

Similar Documents

Publication Publication Date Title
CN203376424U (en) Wire harness detection apparatus
CN201118817Y (en) Thermal plug interface circuit and TV with circuit
CN204576500U (en) A kind of usb communication circuit of compatible I2C communication and system
CN201789630U (en) Headset plugging detection circuit
CN105404600B (en) Take into account the method and device of USB eye patterns performance and OTG functions
CN105978057A (en) Intelligent charging data cable
CN205039383U (en) Multifunctional data line
CN110471812A (en) A kind of method of USB and AccessPort multiplexing
CN106330562A (en) System and method for solving crash problem of switch in hot plug process
CN204721475U (en) A kind of control circuit
CN201215981Y (en) Control circuit and television having the control circuit
CN104994040A (en) Ethernet switch and port multiplexing method applied to Ethernet switch
CN107810640A (en) Multi-media signal abnormality eliminating method and display device
CN209231922U (en) USB OTG interface isolation circuit
CN203326320U (en) Adapter
CN208737453U (en) Circuit and electronic equipment based on general-purpose serial bus USB interface
CN205750414U (en) A kind of high-sensitive USB interface and mainboard thereof
JP5743484B2 (en) COMMUNICATION CONTROL DEVICE AND ITS CONTROL METHOD
CN205376976U (en) There is lightning protection device just to have eight line system RJ45 network adapters of pilot lamp
CN109189173A (en) A kind of hard disk backboard, system and method for transmitting signals
CN102801010B (en) Hot-plug connection device
CN203786729U (en) USB (universal serial bus) connecting device
CN103700444B (en) A kind of MHL cable, MHL cable hot plug detection system and detection method
CN104636108B (en) Electronic equipment
CN202632551U (en) USB interface module of learning machine circuit

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20170111

RJ01 Rejection of invention patent application after publication