CN101005414A - Detection and processing device and method for multiple wire to DSL device - Google Patents

Detection and processing device and method for multiple wire to DSL device Download PDF

Info

Publication number
CN101005414A
CN101005414A CNA2007100074378A CN200710007437A CN101005414A CN 101005414 A CN101005414 A CN 101005414A CN A2007100074378 A CNA2007100074378 A CN A2007100074378A CN 200710007437 A CN200710007437 A CN 200710007437A CN 101005414 A CN101005414 A CN 101005414A
Authority
CN
China
Prior art keywords
link
thread
dsl device
link state
state
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
CNA2007100074378A
Other languages
Chinese (zh)
Other versions
CN100461720C (en
Inventor
谢衍
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by ZTE Corp filed Critical ZTE Corp
Priority to CNB2007100074378A priority Critical patent/CN100461720C/en
Publication of CN101005414A publication Critical patent/CN101005414A/en
Application granted granted Critical
Publication of CN100461720C publication Critical patent/CN100461720C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Maintenance And Management Of Digital Transmission (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The method includes following steps: step S202 detects link state of each physical port in DSL device with multiple line pairs; when one or multiple links in physical port of DSL device with multiple line pairs occur fault, step 204 resets corresponding physical port of DSL device with multiple line pairs in order to restart link building. The invention effectively solves issue that under mode of DSL multiple line pairs, link cannot be built for long time caused by synchronization loss between line pairs.

Description

Multi-thread to dsl device detection and processing unit and method
Technical field
The present invention relates to the communications field, relate in particular to a kind of multi-thread dsl device detection and processing unit and method.
Background technology
DSL is the very general access technology of a kind of application.Usually, connect by twisted-pair feeder between the local side of DSL (CO) and the user side (CPE).Modally be to use the 1 pair of twisted-pair feeder to connect, as widely used ADSL.There also have some DSL technical supports to use in addition to be many to the twisted-pair feeder connection, as SHDSL, can work in 4 lines (2 pairs of twisted-pair feeders) pattern.
To under the pattern, the user port on local side DSL ply-yarn drill or the user side DSL modem also is that binding is used multi-thread, and at this moment this group port can be regarded a user port in logic as.
With the SHDSL4 ray mode is example, two pairs of twisted-pair feeder collaborative works during operate as normal, the transmission of undertaking data jointly.This needs two pairs of lines to keep strict synchronism, any a pair of the going wrong in the two pairs of twisted-pair feeders, and data all can't normally transmit, and two pairs of lines are set up synchronously.
Usually the DSL chip be responsible for detection line between the synchronization loss problem, and be responsible for rebuilding link.But the control of depending merely in some cases, chip possibly can't rebulid initial line to synchronously.It often happens that in practice for we: detect synchronization loss on chip certain in two pairs of twisted-pair feeders is a pair of and to this link reset (training and link setup) again, but because the problem that the sequential or the two pairs of lines cooperate, can't form line to synchronously.See a pair of maintenance link setup state two pairs of lines from outside phenomenon, another is to resetting repeatedly, but can't set up all the time synchronously, also just can't make multi-thread to the pattern operate as normal.At this moment just need the upper layer software (applications) intervention, help to rebuild line right synchronously.
Summary of the invention
At above one or more problems, the invention provides a kind of multi-thread to dsl device detection and processing unit and method, with solve effectively DSL multi-thread under the pattern owing to line to a synchronization loss cause for a long time can't link setup problem.
Of the present invention multi-thread dsl device is detected and processing unit comprises: detecting unit is used to detect the Link State of multi-thread each physical port to dsl device; And processing unit, be used for detecting under the situation that one or more link of multi-thread physical port to dsl device breaks down at detecting unit, multi-thread respective physical port to dsl device is resetted to carry out link establishment again.
Of the present invention multi-thread dsl device is detected and processing unit in, detecting unit comprises: the Link State detecting unit is used for the Link State that timing detects multi-thread each physical port to dsl device; The link state records unit is used for detecting under the situation of Link State change at the Link State detecting unit record link-state information; And the Link State determining unit, be used for determining according to link-state information whether link breaks down.
Of the present invention multi-thread dsl device is detected and processing unit in, the following at least a link-state information of link state records unit record: Link State change time and link reset time.Change under the situation of difference greater than time threshold of time in current time and Link State, detecting unit determines that respective links breaks down.
Of the present invention multi-thread dsl device is detected and processing method may further comprise the steps: step S202 detects the Link State of multi-thread each physical port to dsl device; And step S204, under detecting the multi-thread situation that one or more link in the physical port of dsl device is broken down, multi-thread respective physical port to dsl device is resetted to carry out link establishment again.
Of the present invention multi-thread dsl device is detected and processing method in, step S202 comprises: step S202-2, timing detects the Link State of multi-thread each physical port to dsl device; Step 202-4, under the situation that detects the Link State change, the record link-state information; And step S202-6, determine according to link-state information whether link breaks down.
Of the present invention multi-thread dsl device is detected and processing method in, link-state information comprises following at least a: Link State change time and link reset time.Change under the situation of difference of time in current time and Link State, determine that respective links breaks down greater than time threshold.
In actual use, use the present invention can solve effectively DSL multi-thread under the pattern owing to line to a synchronization loss cause for a long time can't link setup problem.
Description of drawings
Accompanying drawing described herein is used to provide further understanding of the present invention, constitutes the application's a part, and illustrative examples of the present invention and explanation thereof are used to explain the present invention, do not constitute improper qualification of the present invention.In the accompanying drawings:
Fig. 1 is a multi-thread block diagram to dsl device detection and processing unit according to an embodiment of the invention;
Fig. 2 is a multi-thread flow chart to dsl device detection and processing method according to an embodiment of the invention; And
Fig. 3 is a multi-thread flow chart to dsl device detection and processing method according to another embodiment of the present invention.
Embodiment
Below with reference to accompanying drawing, describe the specific embodiment of the present invention in detail.
The objective of the invention is to solve DSL multi-thread under the pattern owing to line between the problem that can't set up link that causes of synchronization loss.
Fig. 1 is the multi-thread according to an embodiment of the invention block diagram to dsl device detection and processing unit.As shown in Figure 1, of the present invention multi-thread dsl device is detected and processing unit comprises: detecting unit 102 is used to detect the Link State of multi-thread each physical port to dsl device; And processing unit 104, be used for detecting under the situation that one or more link of multi-thread physical port to dsl device breaks down at detecting unit, multi-thread respective physical port to dsl device is resetted to carry out link establishment again.
Of the present invention multi-thread dsl device is detected and processing unit in, detecting unit comprises: Link State detecting unit 102-2 is used for the Link State that timing detects multi-thread each physical port to dsl device; Link state records unit 102-4 is used for detecting under the situation of Link State change at the Link State detecting unit record link-state information; And Link State determining unit 102-6, be used for determining according to link-state information whether link breaks down.
Of the present invention multi-thread dsl device is detected and processing unit in, the following at least a link-state information of link state records unit record: Link State change time and link reset time.Change under the situation of difference greater than time threshold of time in current time and Link State, detecting unit determines that respective links breaks down.
Of the present invention multi-thread dsl device is detected and processing method may further comprise the steps: step S202 detects the Link State of multi-thread each physical port to dsl device; And step S204, under detecting the multi-thread situation that one or more link in the physical port of dsl device is broken down, multi-thread respective physical port to dsl device is resetted to carry out link establishment again.
Of the present invention multi-thread dsl device is detected and processing method in, step S202 comprises: step S202-2, timing detects the Link State of multi-thread each physical port to dsl device; Step S202-4, under the situation that detects the Link State change, the record link-state information; And step S202-6, determine according to link-state information whether link breaks down.
Of the present invention multi-thread dsl device is detected and processing method in, link-state information comprises following at least a: Link State change time and link reset time.Change under the situation of difference of time in current time and Link State, determine that respective links breaks down greater than time threshold.
This method comprise DSL multi-thread to synchronization loss under the pattern detection and solve two aspects:
Wherein, multi-thread detection method to synchronization loss is as follows:
Each physical port of automatic regular polling dsl device is checked the current Link State (as: Handshake, Training, Linkup etc.) of each physical port, if Link State becomes other states by normal link setup (Linkup), then notes the time at that time.When having part and whole line, several line centerings of finding binding work then can not be judged as this group line to out of joint to still reaching the link setup state after surpassing the time threshold of setting.
Wherein, multi-thread processing method to synchronization loss is as follows:
Find by practice, to belonging to this line under the pattern corresponding port of group is carried out reset operation one time, can rebulid synchronously multi-thread.
When on a dsl device, multi-thread to pattern simultaneously and when depositing, being needed to distinguish and treat two kinds of ports under the pattern, only to the multi-thread operation of port under the pattern being carried out " involving in a criminal case " formula with single line.
Fig. 3 is a multi-thread flow chart to dsl device detection and processing method according to another embodiment of the present invention.With the SHDSL4 ray mode is example, and line is illustrated a synchronisation loss detection and processing method.
Establishment is used for writing down the array aOpState[of port Link State].Establishment is used for writing down the array deadChkTimestamp[that the port status transformation period stabs].Regularly all user ports are carried out poll.
The detection procedure that each poll is carried out is as follows:
Step S302 checks each port successively.If check out last port, then the epicycle flow process finishes.Otherwise carry out following step.
Step S304, with next port as working as front port.
Step S306 is if the controlled state of working as front port is then carried out next step inspection (step S308) to this port for enabling; If its controlled state then jumps to the inspection that step S302 carries out next port for forbidding.
Step S308, inquiry is worked as the line of front port to pattern, if 2 lines are to then entering the right processing branch (step S310) of 2 lines; If 4 lines are right, then jump to the right processing branch (step S322) of 4 lines.
Step S310-S316 is if the Link State of this port is initial state or link setup state, then with the correspondent time zero clearing and jump to step S302 and continue to check next port.If the current time stamp is 0, then writes down the current time and jump to step S302 continuation inspection next port.Otherwise carry out next procedure.
Step S318-S320 calculates the difference between current time and the timestamp, if less than preset threshold, then jumps to step S302 and continues to check next port.If greater than preset threshold, this port that then resets, and logging timestamp.Jump to step S302 then and continue to check next port.
Step S322, check when front port whether be a pair of line to first port in the port, if the step below then continuing, if not, then jump to step S302 and carry out next port.(a pair of port focuses in once checking, therefore will avoid rechecking to the port in the back in the paired port)
Step S324-S330 is if the Link State of two pairs of ports all is initial state or link setup state, then with the correspondent time zero clearing and jump to step S302 and continue to check next port.If the current time stamp all is 0, then writes down the current time and jump to step S302 continuation inspection next port.Otherwise carry out next procedure.
Step S332-S334 calculates the difference between two port current time and the timestamp, continues to check next port if two differences, then jump to step S302 all less than preset threshold.If greater than preset threshold, this link that then resets, and logging timestamp to port.Jump to step S302 then and continue to check next port.
To 2 lines to 4 lines to pattern, different time thresholds can be set.
The above is the preferred embodiments of the present invention only, is not limited to the present invention, and for a person skilled in the art, the present invention can have various changes and variation.Within the spirit and principles in the present invention all, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (8)

1. one kind is multi-threadly detected and processing unit dsl device, it is characterized in that comprising:
Detecting unit is used to detect the Link State of described multi-thread each physical port to dsl device; And
Processing unit is used for detecting under the situation that one or more link of described multi-thread physical port to dsl device breaks down at described detecting unit, and described multi-thread respective physical port to dsl device is resetted to carry out link establishment again.
2. according to claim 1 multi-thread to dsl device detection and processing unit, it is characterized in that described detecting unit comprises:
The Link State detecting unit is used for regularly detecting the Link State of described multi-thread each physical port to dsl device;
The link state records unit is used for detecting under the situation of Link State change at described Link State detecting unit the record link-state information; And
The Link State determining unit is used for determining according to described link-state information whether link breaks down.
3. according to claim 2 multi-thread dsl device is detected and processing unit is characterized in that the following at least a described link-state information of described link state records unit record: Link State changes time and link reset time.
4. according to claim 2 multi-thread dsl device is detected and processing unit is characterized in that, under current time and the described Link State situation of difference greater than time threshold of change time, described detecting unit determines that respective links breaks down.
5. one kind is multi-threadly detected and processing method dsl device, it is characterized in that, said method comprising the steps of:
Step S202 detects the Link State of described multi-thread each physical port to dsl device; And
Step S204 under detecting the described multi-thread situation that one or more link in the physical port of dsl device is broken down, resets described multi-thread respective physical port to dsl device to carry out link establishment again.
6. according to claim 5 multi-thread to dsl device detection and processing method, it is characterized in that described step S202 comprises:
Step S202-2 regularly detects the Link State of described multi-thread each physical port to dsl device;
Step S202-4, under the situation that detects the Link State change, the record link-state information; And
Step S202-6 determines according to described link-state information whether link breaks down.
7. according to claim 6 multi-thread to dsl device detection and processing method, it is characterized in that described link-state information comprises following at least a: Link State changes time and link reset time.
8. according to claim 6 multi-thread dsl device is detected and processing method is characterized in that, under current time and the described Link State situation of difference greater than time threshold of change time, determines that respective links breaks down.
CNB2007100074378A 2007-01-17 2007-01-17 Detection and processing device and method for multiple wire to DSL device Expired - Fee Related CN100461720C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2007100074378A CN100461720C (en) 2007-01-17 2007-01-17 Detection and processing device and method for multiple wire to DSL device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2007100074378A CN100461720C (en) 2007-01-17 2007-01-17 Detection and processing device and method for multiple wire to DSL device

Publications (2)

Publication Number Publication Date
CN101005414A true CN101005414A (en) 2007-07-25
CN100461720C CN100461720C (en) 2009-02-11

Family

ID=38704295

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2007100074378A Expired - Fee Related CN100461720C (en) 2007-01-17 2007-01-17 Detection and processing device and method for multiple wire to DSL device

Country Status (1)

Country Link
CN (1) CN100461720C (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010028562A1 (en) * 2008-09-09 2010-03-18 华为技术有限公司 Processing method and transceiver for channel changing in joint transceiving mode
CN102025557A (en) * 2009-09-10 2011-04-20 中兴通讯股份有限公司 Method and device for judging idle equipment port
CN102104572A (en) * 2009-12-22 2011-06-22 华为技术有限公司 Time synchronization method and system in transmission system and device
CN103546346A (en) * 2013-10-24 2014-01-29 上海斐讯数据通信技术有限公司 Synchronous polling automatic testing method based on logic link
CN102075340B (en) * 2009-11-24 2014-07-02 中兴通讯股份有限公司 Multi-line pair binding activation device and method for single-pair high-speed digital subscriber line
CN102098183B (en) * 2009-12-15 2014-12-31 中兴通讯股份有限公司 Multi-line pair binding method and device for SHDSL

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3583015B2 (en) * 1999-04-06 2004-10-27 富士通株式会社 Fast retraining method, apparatus and recording medium for simplified version ADSL modem not requiring splitter
JP3570504B2 (en) * 2000-08-30 2004-09-29 日本電気株式会社 Condition monitoring method and device during subscriber line test
US7239696B2 (en) * 2003-12-15 2007-07-03 International Business Machines Corporation Automatic reset for DSL lines
CN1564571A (en) * 2004-04-16 2005-01-12 港湾网络有限公司 Method of avoiding unable synchronous port of ADSL
CN100442722C (en) * 2005-03-10 2008-12-10 华为技术有限公司 Diagnostic method for network fault and its device

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010028562A1 (en) * 2008-09-09 2010-03-18 华为技术有限公司 Processing method and transceiver for channel changing in joint transceiving mode
US8619548B2 (en) 2008-09-09 2013-12-31 Huawei Technologies Co., Ltd. Processing method and transceiver for channel changing in joint transceiving mode
CN101674105B (en) * 2008-09-09 2015-05-27 华为技术有限公司 Method for processing channel change in combined transceiving mode and transceiver
CN102025557A (en) * 2009-09-10 2011-04-20 中兴通讯股份有限公司 Method and device for judging idle equipment port
CN102075340B (en) * 2009-11-24 2014-07-02 中兴通讯股份有限公司 Multi-line pair binding activation device and method for single-pair high-speed digital subscriber line
CN102098183B (en) * 2009-12-15 2014-12-31 中兴通讯股份有限公司 Multi-line pair binding method and device for SHDSL
CN102104572A (en) * 2009-12-22 2011-06-22 华为技术有限公司 Time synchronization method and system in transmission system and device
CN102104572B (en) * 2009-12-22 2013-08-07 华为技术有限公司 Time synchronization method, device and system in transmission system
CN103546346A (en) * 2013-10-24 2014-01-29 上海斐讯数据通信技术有限公司 Synchronous polling automatic testing method based on logic link
CN103546346B (en) * 2013-10-24 2016-12-07 上海斐讯数据通信技术有限公司 A kind of synchronous polling automated testing method of logic-based link

Also Published As

Publication number Publication date
CN100461720C (en) 2009-02-11

Similar Documents

Publication Publication Date Title
CN100461720C (en) Detection and processing device and method for multiple wire to DSL device
CN100534048C (en) Distributed Ethernet system and method for inspecting fault based thereon
CN103516571B (en) A kind of dual CAN bus ensures system architecture and the method thereof of data communication reliability
CN105656600A (en) Communication method for slave station to adapt to two communication protocols
CN101707536B (en) Fault detection method, line card and main control card
CN101127675A (en) Initialization method for main nodes of Ethernet loop network system
US8379509B2 (en) Electronic device protection systems and methods
KR100440585B1 (en) The method and apparatus of de-skew for the transmission of high speed data among multiple lanes
CN102394796A (en) Link time delay detection method, source terminal, destination terminal and system
CN101714939A (en) Fault treatment method for Ethernet ring network host node and corresponding Ethernet ring network
CN102148724A (en) Link detecting method and network access device
CN102754391B (en) The fault-tolerant mode of 100BASET Ethernet
CN103530215B (en) A kind of self checking method of internal integrated circuit main frame, device and main frame
CN102244589B (en) Method and opposite terminal apparatus for processing link fault in virtual switch unit system
SE438932B (en) MODEM DIAGNOSTIC DEVICE
CN101145986B (en) A communication status detection method for boards in communication system
CN101159627B (en) Link state detecting method and apparatus
CN103001808A (en) Switch for detecting port faults and achieving method
CN101360050B (en) Method and apparatus setting flow control mode
EP0606413B1 (en) Method and means for automatically detecting and correcting a polarity error in twisted-pair media
CN102710483A (en) RS485 (Recommended Standard 485) intelligent loop
CN112213967B (en) Automatic detection system for pins received and sent by serial port of microcontroller
CN101252501A (en) Intersect looped network, node and protecting method of random topology intersect looped network
CN101013970B (en) Apparatus and method for accessing digital subscriber line testing
JP2765284B2 (en) Automatic line switching device

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
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20090211

Termination date: 20180117