CN103001808B - A kind of port failure detection interchanger and implementation method - Google Patents
A kind of port failure detection interchanger and implementation method Download PDFInfo
- Publication number
- CN103001808B CN103001808B CN201210567742.3A CN201210567742A CN103001808B CN 103001808 B CN103001808 B CN 103001808B CN 201210567742 A CN201210567742 A CN 201210567742A CN 103001808 B CN103001808 B CN 103001808B
- Authority
- CN
- China
- Prior art keywords
- signal
- interchanger
- data
- network link
- detection
- 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.)
- Active
Links
- 238000001514 detection method Methods 0.000 title claims abstract description 71
- 238000000034 method Methods 0.000 title claims abstract description 15
- 230000005540 biological transmission Effects 0.000 claims description 12
- 238000004321 preservation Methods 0.000 claims description 3
- 230000008439 repair process Effects 0.000 claims description 3
- 238000007689 inspection Methods 0.000 claims description 2
- 238000004891 communication Methods 0.000 abstract description 9
- 230000009286 beneficial effect Effects 0.000 abstract description 2
- 238000002360 preparation method Methods 0.000 description 2
- 230000007547 defect Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention discloses a kind of port failure detection interchanger and implementation method, it belongs to switch ports themselves fault detection technique field, interchanger specifically includes interchanger main body and switch ports themselves, interchanger main body is connected with switch ports themselves, switch ports themselves include multiple connectors, each connector has a unique sequence number, and each connector correspondence is connected to a differential lines pair;Switch ports themselves include detection part, processing component and adjustment part, processing component difference connecting detection part and adjustment part, and detection part and adjustment part connect each connector respectively;The corresponding data type of each connector is preset in adjustment part;Adjustment part includes register.The beneficial effect of the technical program is:Autosensing port failure, adjust automatically line sequence realizes the proper communication of network, and can be accurately positioned the trouble point of physical connection, effectively reduces the fault rate of communication, quick fault location is provided for staff.
Description
Technical field
The present invention relates to switch ports themselves fault detection technique field, more particularly to a kind of port failure detection interchanger and
Implementation method.
Background technology
Cybertimes, the network switch turns into the capital equipment of data communication.With popularization of the network exchange in life
The raising of degree, the fault rate that network line is produced is consequently increased, wherein many trouble points are because of port connection cables
Problem is either because operating personnel's non-standard operates what is caused.But traditional interchanger is not detected and suitably repaired
State the function of failure so that many failures need complicated detecting step to be just found.
The content of the invention
The defect according to present in prior art, now provides a kind of port failure detection interchanger and implementation method, specifically
It is as follows:
A kind of port failure detects interchanger, it is adaptable to detects and repairs the failure in network link, the port failure
Detect that interchanger is accessed in the network link, the network link includes multiple network equipments and twisted-pair feeder, described double
Twisted wire includes multipair differential lines pair, and the differential lines are to for receiving and sending data-signal;
Wherein, including interchanger main body and switch ports themselves, the interchanger main body is connected with the switch ports themselves, institute
Stating switch ports themselves includes multiple connectors, and each connector has a unique sequence number, each connector
Unique correspondence is connected to one differential lines pair;The switch ports themselves include detection part and adjustment part, the tune
Integeral part and the detection part connect each connector respectively, and the adjustment part is also connected with the interchanger main body;
The detection part is used to detect the failure occurred in the network link;The adjustment part is to the improper of the differential lines pair
Connection is adjusted reparation;The corresponding data type of each connector is preset in the adjustment part;The adjustment portion
Part includes register, and the register is used to preserve the data-signal received by each connector;
The detection part includes signal projector, signal receiver, timer and processor, and the processor connects institute
Timer is stated, the timer connects the signal projector and the signal receiver respectively;The timer is used to calculate
Launch the data-signal between the time between the signal receiver reception data-signal from the signal projector
Every the processor reads the time interval that the timer is calculated, and calculates the place that the failure occurs.
It is preferred that, port failure detection interchanger, wherein, the switch ports themselves also include an alarm components, institute
State alarm components and connect the detection part, the alarm components are used to read the testing result of the detection part and send announcement
Alert signal.
A kind of port failure detects interchanger implementation method, wherein, using as described in any one in claim 1 and 2
Port failure detection interchanger, including to network link carry out line fault detection, to the differential lines in network link to entering
Row connecting detection, is detected to the delay time of the differential lines pair;
Before being detected, the length first to the twisted-pair feeder in the network link is detected, specific steps
For:
Step 1, port failure detection interchanger is accessed in the network link using intact twisted-pair feeder;It is described
Port failure detection interchanger is connected with one of network equipment in the network link;
Step 2, the signal projector in detection part by the differential lines to data-signal is sent to the network
In equipment;The timer in the detection part starts timing simultaneously;
Step 3, the signal receiver in the detection part by the differential lines to receiving from the network equipment
The data-signal of middle return;The timer stops timing simultaneously, and obtains launching the data-signal and receive the data
Standard time interval between signal;The timer sends at the standard time interval to processor;
Step 4, the processor is according to the standard time interval and the message transmission rate standard of the network link,
Calculate full-length and the preservation for obtaining the twisted-pair feeder;
It is described that the specific steps that network link carries out line fault detection are included:
Step A1, port failure detection interchanger is accessed in the network link;
Step A2, judges whether the network link connects;If not connecting, the detection part is sent to alarm components
Alarm command, the alarm components send alarm signal;
Step A3, the signal projector is by the differential lines to sending data-signal to the network equipment;Simultaneously
The timer starts timing;
Step A4, the signal receiver by the differential lines to receiving the data-signal of return, while institute
State timer and stop timing, and obtain launching the data-signal and receive the time interval between the data-signal;It is described
Timer sends the time interval to the processor;
Step A5, the processor is according to the time interval and the message transmission rate standard of the network link, meter
Calculate and obtain the differential lines to connecting the port failure detection interchanger to the length of trouble point;
The length is compared step A6, the processor with the full-length, if the length is less than described
Full-length, then it represents that the differential lines are to producing failure, and the length is the trouble point length of the differential lines pair;
The failure is the differential lines open-circuit or short circuit.
It is preferred that, port failure detection interchanger implementation method, wherein, it is described that line fault inspection is carried out to network link
In survey, in the step A6, if the length be equal to the full-length, then it represents that the differential lines to not producing failure, with
The network equipment of the port failure detection interchanger connection breaks down.
It is preferred that, port failure detection interchanger implementation method, wherein, the differential lines in network link are to entering
The specific steps of row connecting detection include:
Step B1, port failure detection interchanger is accessed in the network link;
Step B2, judges whether the network link connects;If connection, the adjustment part is connect by each connector
Receive the data-signal of network equipment transmission and be stored in the register of the adjustment part;
Step B3, the adjustment part will be received from each connector the data-signal that comes with it is built-in described in
Data type is compared;If there is the data-signal to mismatch, the adjustment part carries out sequence adjustment, by the data
The sequence of signal is exchanged to the sequence number of the correspondence connector, and the data-signal adjusted by sequence is sent to institute
State interchanger main body.
It is preferred that, port failure detection interchanger implementation method, wherein, the delay time of the differential lines pair is carried out
The specific steps of detection include:
Step C1, is detected the port failure in interchanger access network link using intact twisted-pair feeder, to ensure
The proper communication of the network link;
Step C2, the signal projector of detection part is by the differential lines to sending data-signal to the network equipment;Together
Shi Qidong timers;
Step C3, the network equipment is received after the data-signal, by the differential lines to detection part
Signal receiver sends data-signal;
Step C4, the signal receiver receives the timing for stopping the timer after the data-signal, the meter
When device record the time interval of communication;
The communication time interval is the delay time of twice of the differential lines pair.
The beneficial effect of above-mentioned technical proposal is:Port failure can automatically be detected by the port of interchanger, can be with
By reduction of speed, adjust automatically line sequence realizes the proper communication of network, and can be accurately positioned the trouble point of physical connection, so
The fault rate of communication can be effectively reduced, and quick fault location can be provided for staff.
Brief description of the drawings
Fig. 1 is a kind of structural representation of port failure detection interchanger in embodiments of the invention;
Fig. 2 is that the fault detect of embodiments of the invention middle port exchanges the preparation process schematic diagram before machine testing;
Fig. 3 is the schematic flow sheet detected to the failure in network link in embodiments of the invention;
Fig. 4 is the schematic flow sheet for the line sequence of differential lines pair being detected and being repaired in embodiments of the invention;
Fig. 5 is the schematic flow sheet detected to the delay time of differential lines pair in embodiments of the invention.
The invention will be further described with specific embodiment below in conjunction with the accompanying drawings, but not as limiting to the invention.
Embodiment
As shown in figure 1, in embodiments of the invention, a kind of port failure detects interchanger, it is adaptable to detects and repairs net
Failure in network link, port failure detection interchanger access network link in, network link include multiple network equipments with
And multipair differential lines pair, differential lines provide transmission data to for connectivity port fault detect interchanger and the network equipment
Passage;The transmission rate standard of data-signal is divided into two kinds in network link:100Mbps and 1000Mbps.
Port failure detection interchanger includes interchanger main body and switch ports themselves, and main body is connected with port, in port
Including multiple connectors, each connector has unique sequence number, and each connector uniquely corresponds to and is connected to a differential lines pair;
Switch ports themselves include detection part and adjustment part, and detection part and adjustment part connect each connector, adjustment portion respectively
Part is also connected with interchanger main body;Detection part is used to detect the failure occurred in network link;Part is adjusted to differential lines pair
Improper connection is adjusted reparation;The corresponding data type of each connector is preset in adjustment part;Adjustment part includes
Register, register is used to preserve the data-signal received by each connector.
Also include an alarm components, the alarm components connecting detection part in port failure detection interchanger;Alarm
Part is used to read the result of detection part and sends alarm signal.
Detection part includes transmitter, receiver, timer and processor, its Timer connect respectively transmitter and
Receiver, processor connection timer, signal projector is used for transmitted data signal, and signal receiver is used to receive data letter
Number, timer was used to calculate between the time received from signal projector transmitted data signal to signal receiver between data-signal
Every processor reads the time interval that timer is calculated, and calculates the place of failure generation.
As shown in Fig. 2 before being detected to network link, it is necessary first to carry out some preparations, specially survey
Intact differential lines are measured to the full-length when connecting interchanger with the network equipment, step includes:
Using intact twisted-pair feeder by interchanger access network link, i.e., the two ends of twisted-pair feeder connect respectively interchanger and
Other network equipments;It is then detected that the signal projector of part by differential lines to the network equipment send data-signal, simultaneously
Start timer;The network equipment is received after the data-signal, by differential lines to data-signal is returned into signal receiver,
Signal receiver, which is received, stops timer after the data-signal, timer will be sent to processing in elapsed time interval before this
Device, transmission rate standard of the processor in current network link and the time interval received, calculate intact multiple twin
The full-length of line and preservation, when the message transmission rate of product is under 100/1000Mbps, switch ports themselves detection, which is set up, to be connected
The length of the twisted-pair feeder connect can be as accurate as in the range of 20m.
The specific steps that fault detect is carried out to network link are illustrated in figure 3, including:
First by interchanger access network link, judge whether network link connects:If connection, illustrating link just
Often;If not connecting, the signal projector of detection part, to sending data-signal to the network equipment, and starts meter by differential lines
When device;Data-signal encounters trouble point meeting auto-returned, and the signal receiver of detection part is received after the data-signal of return
Stop timer;Under timer record said process elapsed time interval and send to processor, processor is according to current net
Message transmission rate criterion calculation in network link obtains length of the differential lines to one end to the trouble point of connection interchanger;Processing
The full-length of the length and storage is compared and draws result by device:
If length is less than full-length, it is judged as that twisted-pair feeder occurs damaged, and event can be accurately found according to the length
Hinder point, error can be accurate in the range of 1m.
If length is equal to full-length, it is judged as that the network equipment goes wrong, it may be possible in off-mode, it may be possible to
The inner connection portion of the network equipment produces problem.
Interchanger is illustrated in figure 4 to differential lines to the specific steps that are detected:
First by interchanger access network link, adjustment part receives the data letter transmitted by each connector
Number and sequentially deposit in a register;Then adjustment part is carried out according to built-in each data type to received data signal
Compare, if there is unmatched data-signal, adjustment part carries out sequence adjustment, and the sequence of data-signal is exchanged to correspondence
The sequence number of connector, and the data-signal adjusted by sequence is sent to interchanger main body to transmit for it to other networks and set
It is standby.The data produced by differential lines to polarity wrong can be made up with the polarity of adjust automatically differential lines pair by said process
Error of transmission, realizes proper communication.
It is illustrated in figure 5 the specific steps that interchanger is detected to the delay time of differential lines pair in network link:
First by interchanger access network link, in the case of ensuring that network link connection is normal, detection part
Signal projector by differential lines to the network equipment send data-signal, while start timer;Signal receiver passes through difference
Separated time is to receiving the data-signal returned from the network equipment, while stopping timer;Pass through under timer record in said process
Time interval, and by the time interval send to processor processing;The time interval is the delay of twice of differential lines pair
Time.
Preferred embodiments of the present invention are the foregoing is only, embodiments of the present invention and protection model is not thereby limited
Enclose, to those skilled in the art, should can appreciate that made by all utilization description of the invention and diagramatic content
Scheme obtained by equivalent substitution and obvious change, should be included in protection scope of the present invention.
Claims (5)
1. a kind of port failure detects interchanger, it is adaptable to detects and repairs the failure in network link, the port failure inspection
Test cross is changed planes in the access network link, and the network link includes multiple network equipments and twisted-pair feeder, the multiple twin
Line includes multipair differential lines pair, and the differential lines are to for receiving and sending data-signal;
It is characterised in that it includes interchanger main body and switch ports themselves, the interchanger main body are connected with the switch ports themselves,
The switch ports themselves include multiple connectors, and each connector has a unique sequence number, each connection
The unique correspondence of mouth is connected to the differential lines pair;The switch ports themselves include detection part and adjustment part, the adjustment
Part and the detection part connect each connector respectively, and the adjustment part is also connected with the interchanger main body;Institute
Stating detection part is used to detect the failure occurred in the network link;Improper company of the adjustment part to the differential lines pair
Connect and be adjusted reparation;The corresponding data type of each connector is preset in the adjustment part;The adjustment part
Include register, the register is used to preserve the data-signal received by each connector;
The detection part includes signal projector, signal receiver, timer and processor, and the processor connects the meter
When device, the timer connects the signal projector and the signal receiver respectively;The timer is used to calculate from institute
State signal projector and launch the data-signal to the time interval between the signal receiver reception data-signal, institute
State processor and read the time interval that the timer is calculated, and calculate the place that the failure occurs.
2. port failure as claimed in claim 1 detects interchanger, it is characterised in that the switch ports themselves also include one
Alarm components, the alarm components connect the detection part, and the alarm components are used for the detection for reading the detection part
As a result and alarm signal is sent.
3. a kind of port failure detects interchanger implementation method, it is characterised in that using such as any one in claim 1 and 2
Described port failure detection interchanger, including line fault detection is carried out to network link, to the differential lines in network link
To being attached detection;
Before being detected, the length first to the twisted-pair feeder in the network link is detected, is concretely comprised the following steps:
Step 1, port failure detection interchanger is accessed in the network link using intact twisted-pair feeder;The port
Fault detect interchanger is connected with one of network equipment in the network link;
Step 2, the signal projector in detection part by the differential lines to data-signal is sent to the network equipment
In;The timer in the detection part starts timing simultaneously;
Step 3, the signal receiver in the detection part is returned by the differential lines to receiving from the network equipment
The data-signal returned;The timer stops timing simultaneously, and obtains launching the data-signal and receive the data-signal
Between standard time interval;The timer sends at the standard time interval to processor;
Step 4, the processor is calculated according to the standard time interval and the message transmission rate standard of the network link
Obtain full-length and the preservation of the twisted-pair feeder;
It is described that the specific steps that network link carries out line fault detection are included:
Step A1, port failure detection interchanger is accessed in the network link;
Step A2, judges whether the network link connects;If not connecting, the detection part sends to alarm components and alerted
Instruction, the alarm components send alarm signal;
Step A3, the signal projector is by the differential lines to sending data-signal to the network equipment;It is simultaneously described
Timer starts timing;
Step A4, the signal receiver by the differential lines to receiving the data-signal of return, while the meter
When device stop timing, and obtain launching the data-signal and receive the time interval between the data-signal;The timing
Device sends the time interval to the processor;
Step A5, the processor is calculated according to the time interval and the message transmission rate standard of the network link
Detect interchanger to the length of trouble point to connecting the port failure to the differential lines;
The length is compared step A6, the processor with the full-length, if the length is less than the standard
Length, then it represents that the differential lines are to producing failure, and the length is the trouble point length of the differential lines pair;The failure
For the differential lines open-circuit or short circuit.
4. port failure as claimed in claim 3 detects interchanger implementation method, it is characterised in that described that network link is entered
In row line fault detect, in the step A6, if the length is equal to the full-length, then it represents that the differential lines are not to
Failure is produced, detects that the network equipment that interchanger is connected breaks down with the port failure.
5. port failure as claimed in claim 3 detects interchanger implementation method, it is characterised in that described in network link
Differential lines the specific steps for being attached detection are included:
Step B1, port failure detection interchanger is accessed in the network link;
Step B2, judges whether the network link connects;If connection, the adjustment part receives net by each connector
The data-signal of network equipment transmission is simultaneously stored in the register of the adjustment part;
Step B3, the adjustment part will receive the data-signal come and the built-in data from each connector
Type is compared;If there is the data-signal to mismatch, the adjustment part carries out sequence adjustment, by the data-signal
Sequence exchange to the sequence number of the correspondence connector, and the data-signal adjusted by sequence sent to described handed over
Change planes main body.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210567742.3A CN103001808B (en) | 2012-12-24 | 2012-12-24 | A kind of port failure detection interchanger and implementation method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210567742.3A CN103001808B (en) | 2012-12-24 | 2012-12-24 | A kind of port failure detection interchanger and implementation method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103001808A CN103001808A (en) | 2013-03-27 |
CN103001808B true CN103001808B (en) | 2017-07-25 |
Family
ID=47929967
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210567742.3A Active CN103001808B (en) | 2012-12-24 | 2012-12-24 | A kind of port failure detection interchanger and implementation method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103001808B (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104917640B (en) * | 2015-06-12 | 2017-11-24 | 国家电网公司 | A kind of localization method of switch ports themselves corresponding with access point |
CN106302003A (en) * | 2016-08-01 | 2017-01-04 | 安徽贝莱电子科技有限公司 | A kind of detection device of exchange interface |
CN109597726A (en) * | 2018-10-30 | 2019-04-09 | 山东超越数控电子股份有限公司 | A kind of method of main board failure active detecting |
CN112306766A (en) | 2019-07-31 | 2021-02-02 | 伊姆西Ip控股有限责任公司 | Method, electronic device, storage system and computer program product for error detection |
CN111416754B (en) * | 2020-03-13 | 2022-02-22 | 苏州浪潮智能科技有限公司 | Method, device, equipment and medium for restoring storage network port rate |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1341313A (en) * | 1999-02-23 | 2002-03-20 | 阿尔卡塔尔互联网运行公司 | Multi-service network switch |
CN101072047A (en) * | 2007-06-11 | 2007-11-14 | 江苏省电信有限公司南京分公司 | DSLAN port fast detecting device and its detecting method |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CA2459286C (en) * | 2001-09-04 | 2010-07-20 | Rumi Sheryar Gonda | Method for supporting sdh/sonet aps on ethernet |
-
2012
- 2012-12-24 CN CN201210567742.3A patent/CN103001808B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1341313A (en) * | 1999-02-23 | 2002-03-20 | 阿尔卡塔尔互联网运行公司 | Multi-service network switch |
CN101072047A (en) * | 2007-06-11 | 2007-11-14 | 江苏省电信有限公司南京分公司 | DSLAN port fast detecting device and its detecting method |
Also Published As
Publication number | Publication date |
---|---|
CN103001808A (en) | 2013-03-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103001808B (en) | A kind of port failure detection interchanger and implementation method | |
US9356830B2 (en) | Communication device for a redundantly operable industrial communication network and method for operating the communication device | |
US6906526B2 (en) | Non-intrusive cable connection monitoring for use in HFC networks | |
CN101494571B (en) | CAN bus self detection recovery device and method | |
CN102594600B (en) | A kind of method and system of definite two-way converting inspection session abort situation | |
CN101520744B (en) | Self-checking serial communication system and self-checking method thereof | |
CN101345584A (en) | Automatic detection method for optical fiber connection status of optical fiber communication equipments | |
CN110650066A (en) | Embedded bus communication detection system and reliability detection method thereof | |
RU2602977C2 (en) | Method for detecting correctness of optic fibre connection based on radio remote unit (rru) looped network and base band unit (bbu) | |
CN103278739A (en) | High voltage dc (direct current) transmission control system Profibus field bus fault diagnosis method | |
CN108334060B (en) | A kind of bus failure injection device | |
CN108289050B (en) | Ring network control system and control method for transmitter | |
CN104767597B (en) | A kind of redundancy control method and device of Ethernet | |
CN106154071A (en) | A kind of device and method detecting intelligent electric energy meter RS485 bus failure | |
CN103441818B (en) | The detection method of a kind of data transmission fault and device | |
CN106100941A (en) | Method and device based on distributed system test board intercard communication reliability | |
CN105278433B (en) | A kind of number adopts instrument and mends the method and apparatus for passing data automatically | |
CN201541271U (en) | Partial bus node automatic recovery device | |
US6373819B1 (en) | Routine testing parity maintenance | |
CN104572537B (en) | A kind of fault-tolerant master-slave synchronisation serial communication system based on FPGA | |
CN109067567B (en) | Network communication interruption diagnosis method | |
CN102255658B (en) | The method and device that a kind of 100GE ethernet signal transmits in optical transfer network | |
CN103531002B (en) | A kind of remote debugging method based on TD-SCDMA | |
CN108134689B (en) | Method and device for checking faults of cascade interface inside frame type equipment | |
CN101778028A (en) | Automatic recovery device of partial bus node |
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 | ||
PP01 | Preservation of patent right |
Effective date of registration: 20180313 Granted publication date: 20170725 |
|
PP01 | Preservation of patent right | ||
PD01 | Discharge of preservation of patent | ||
PD01 | Discharge of preservation of patent |
Date of cancellation: 20210313 Granted publication date: 20170725 |
|
PP01 | Preservation of patent right | ||
PP01 | Preservation of patent right |
Effective date of registration: 20210313 Granted publication date: 20170725 |
|
PD01 | Discharge of preservation of patent |
Date of cancellation: 20240313 Granted publication date: 20170725 |