[go: up one dir, main page]

CN1734991A - A method for detecting service loopback of multi-service transmission platform equipment - Google Patents

A method for detecting service loopback of multi-service transmission platform equipment Download PDF

Info

Publication number
CN1734991A
CN1734991A CN 200410058370 CN200410058370A CN1734991A CN 1734991 A CN1734991 A CN 1734991A CN 200410058370 CN200410058370 CN 200410058370 CN 200410058370 A CN200410058370 A CN 200410058370A CN 1734991 A CN1734991 A CN 1734991A
Authority
CN
China
Prior art keywords
loopback
channel
flag
tracking
byte
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
CN 200410058370
Other languages
Chinese (zh)
Other versions
CN1734991B (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.)
CHINA TECHNOLOGY EXCHANGE Co Ltd
State Grid Beijing Electric Power Co Ltd
State Grid Economic and Technological Research Institute
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 CN 200410058370 priority Critical patent/CN1734991B/en
Publication of CN1734991A publication Critical patent/CN1734991A/en
Application granted granted Critical
Publication of CN1734991B publication Critical patent/CN1734991B/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Monitoring And Testing Of Exchanges (AREA)

Abstract

This invention discloses a method to detect loop-return business in multi business transmission platform device,, which comprises following steps: 1. generating unique track mark accorded with ITUT for every channel; 2. writing the mark on overhead position and sending; 3. abstracting the mark when receiving data; 4. comparing the received mark and send track mark to decide whether there is ring return. The method can find out the happen and disappear quickly, soles the problem that data exchange palsy for ring-return in SDH line, and makes MSTP device more stale.

Description

A kind of method that detects multi-service transport platform appliance services loopback
Technical field
The present invention relates to the multi-service transport platform technology of communication transmission field.
Background technology
The multi-service transport platform MSTP (Multi-ServiceTransport Platform) that is called as second generation transmission equipment is accepted by numerous telecom operators.It becomes the visual plant that makes up metropolitan area network with its cheap cost, high reliability and level and smooth upgrading ability.His architecture generally is divided into three parts: data are multiplexing to the intersection of the cascade of SDH mapping, SDH container and SDH container.
Because MSTP is the fusion of data and two kinds of technology of SDH, so the problem that can bring some not have at the general data network inevitably.In the general data network, the packet that port sends can not receive from same port again, and this is by the principle decision of data network exchange; But in MSTP equipment, the data that FPDP is sent are mapped on the SDH synchronous data-link, and loopback is the important means of SDH network debugging, therefore, at the line side of MSTP equipment port, packet just loopback might occur, and as shown in Figure 1: user data enters data switching networks by user port, under normal circumstances will exchange, and send by corresponding ports according to the network address of its packet; In MSTP equipment, if packet sends from the line side port, then can enter the framer of SDH, packet is mapped in the SDH synchronization link, and transmits by the SDH network; If loopback has appearred in the SDH link, data will be returned same line side port this moment, and at this moment, data are sent and accepted from same port, and this phenomenon is exactly the loopback of MSTP equipment.
The consequence of data service loopback is very serious, will directly cause exchanges data normally not carry out.Therefore, loopback is will avoid in the MSTP equipment as far as possible.At present in data network and SDH network, do not find general loop detection method as yet, do not see relevant method of on MSTP equipment, carrying out loopback detection in publication or the technical literature yet.
Summary of the invention
Purpose of the present invention just is to solve the problem that can't find the data loopback in the prior art, proposes a kind of method that detects multi-service transport platform appliance services loopback.
Core concept of the present invention is: utilize the tracking mark in the SDH path overhead to carry business, carry unique channels track sign, by the tracking mark that relatively receives whether with the consistent loopback that quick and precisely detects that sends, make MSTP equipment can take corresponding actions to avoid network paralysis.
A kind of method that detects multi-service transport platform appliance services loopback comprises the following steps:
Step 1,, each passage meets the unique tracking mark of ITUT to tracking mark byte regulation for generating;
Step 2, the tracking mark that generates is write corresponding expense position send;
Extract the tracking mark of corresponding expense position when step 3, reception data;
Step 4, according to channel information, whether the tracking mark by the channels track sign that relatively receives and transmission identical judges whether to have taken place loopback.
If detect loopback having taken place, then the line side port has been carried out corresponding operating, stops data to enter the exchanges data layer; State before the recovery port arrives and operates after loopback disappears.
Adopt the method that detects the data loopback in the MSTP equipment that is applied in that the present invention proposes, can find the generation and the disappearance of loopback rapidly and accurately, can make the loopback discovery time reduce to quite little degree (I to 2 millisecond).The method that the present invention proposes can solve based on MSTP and make up the intrinsic problem that causes exchanges data to be paralysed because of the SDH line loopback of metropolitan area network institute, makes MSTP equipment more stable.
Description of drawings
Fig. 1 is the schematic diagram of multi-service transport platform equipment generation loopback;
Fig. 2 is the flow chart of the method that proposes of the present invention;
Fig. 3 is the flow chart of a specific embodiment of the present invention.
Embodiment
The present invention is described in further detail below in conjunction with drawings and Examples.
Fig. 1 had carried out explanation in background technology.
Fig. 2 is the flow chart of the method that proposes of the present invention.As shown in Figure 2, the method for the detection multi-service transport platform appliance services loopback that the present invention proposes comprises the following steps: 1, meets the unique tracking mark of ITUT to tracking mark byte regulation for each passage generates.If the sign that generates is not unique, when receiving relatively erroneous judgement will appear.The tracking mark information that generates will meet the regulation of ITUT to the tracking mark byte, can be 1 such as the highest order of having only the CRC check byte.A kind of reliable tracking mark generation method is: CRC check sign indicating number+NE ID+sub-frame number+slot number+CPU number+channel number+random number; Perhaps the employing time generates: CRC check sign indicating number+year+date+time+channel number.2, the tracking mark that generates being write corresponding expense position sends.Because the different stage of SDH has different expenses, the writing position of tracking mark is also different, and for regenerator section, writing position is the J0 byte; For higher order path, writing position is a j1 byte; For low order channel, writing position is the J2 byte.In addition, the length of tracking mark is defined as 16 or 64 bytes, should guarantee that two kinds of forms can both send the sign with uniqueness, and can be identified and detect.Extract the tracking mark of corresponding expense position when 3, receiving data.Because the generation of tracking mark and the standard that transmission meets ITUT so general overhead extraction method is still adopted in the extraction of tracking mark, can not increase extra processing.4, according to channel information, whether the tracking mark by the channels track sign that relatively receives and transmission identical judges whether to have taken place loopback.For single pass loopback detection, if the tracking mark of the channels track sign that receives and transmission is identical then loopback has taken place; For the passage of Adjacent Concatenation, if the tracking mark of the tracking mark in the path overhead after the cascade and transmission is identical then loopback has taken place.For virtual cascade group, because the member in each cascaded series still has the expense of oneself, therefore still to detect the loopback situation of each member in the cascaded series, and determine the wrapped state of whole cascaded series according to different situations.A kind of feasible method is: think when loopback appears in arbitrary member in detecting cascaded series that cascade curses the generation loopback, and think that when all members do not have loopback cascaded series does not have loopback.When detecting loopback and occur, should stop port to continue to send or receive data to avoid the paralysis of whole node, such as this port of BLOCKING, forbid that it transmits data; When detecting the loopback disappearance, the result of binding data agreement operation that this port is operated, recover port to the preceding state of operation.
Fig. 3 is the flow chart of a specific embodiment of the present invention.In conjunction with Fig. 3, in a specific embodiment of the present invention, the method for detection multi-service transport platform appliance services loopback of the present invention comprises the following steps:
1, to obtain network element ID information, equipment unique address information in order to claim the unique information of path overhead at the device power initial phase.Such as network element ID is 0x00000024, and the veneer address is 0xB1, can generate following unique path overhead (hexadecimal) according to preceding method to first passage:
e700024b1004146167e20da
Second passage is:
ed00024b1014146167e20da
The rest may be inferred, can determine the expense that each passage has unique sign
2, the mapping particle of supposing SDH is the VC12 virtual container, and then the transmission position of tracking mark is the J2 byte, and the multi-frame of per 500 microseconds sends a byte, and 8 milliseconds have been transmitted one group of complete tracking mark.
3, extract the tracking mark of the J2 byte of each passage, the tracking mark that will correctly extract is delivered comparing unit and is compared then.
4, comparing unit is determined these channel group cascade situations according to user's configuring condition, and cascaded series and line side port corresponding relation, and whether each member's receive path sign is identical with transmission in the detection cascaded series.For example: cascaded series is made up of 1,2 two passage, if when finding tracking mark that 1 passage receives and transmission identical, can think that loopback has taken place the data of this virtual cascade group.When finding the cascaded series loopback, can carry out corresponding operating to the line side port, such as this port of BLOCKING, avoid data to enter the exchanges data layer; State before should recovering port after the loopback disappearance to arrive operation.
Because the channels track flag information can dynamically be set, therefore, must have and to allow the user that the position of channels track flag information is set, and utilize remaining expense to carry out loopback detection as far as possible.Artificially set particular value when some passage of cascaded series, then should not have been made the wrapped state that detects these passages in this way, but remaining passage still can have been detected with the method that the present invention proposes, therefore still can have been found the loopback of port data.
The method that the present invention proposes can be realized by software, also can finish by hardware, if realize by software, then hardware only need provide writing and read out function of SDH channels track flag information, the judgement of loopback is transferred to software and is realized, the time of detecting can postpone to some extent, but realizes that cost then can reduce greatly.

Claims (9)

1、一种检测多业务传送平台设备业务环回的方法,其特征在于包括下列步骤:1. A method for detecting service loopback of multi-service transmission platform equipment, characterized in that it comprises the following steps: 步骤一、为每个通道生成符合ITUT对跟踪标志字节规定的唯一的跟踪标志;Step 1. Generate a unique tracking flag that complies with ITUT's regulations on the tracking flag byte for each channel; 步骤二、将生成的跟踪标志写入相应的开销位置进行发送;Step 2, write the generated tracking flag into the corresponding overhead position and send it; 步骤三、接收数据时提取相应的开销位置的跟踪标志;Step 3, extracting the tracking flag of the corresponding overhead position when receiving the data; 步骤四、根据通道信息,通过比较接收的通道跟踪标志与发送的跟踪标志是否相同来判断是否发生了环回。Step 4: According to the channel information, it is judged whether a loopback has occurred by comparing whether the received channel trace flag is the same as the sent trace flag. 2、根据权利要求1所述的方法,其特征在于:如果检测到发生了环回,则对线路侧端口进行相应操作,阻止数据进入数据交换层;当环回消失后恢复端口到操作前状态。2. The method according to claim 1, characterized in that: if it is detected that a loopback has occurred, corresponding operations are performed on the line side port to prevent data from entering the data exchange layer; when the loopback disappears, the port is restored to the state before the operation . 3、根据权利要求1或2所述的方法,其特征在于所述步骤一中的跟踪标志生成方法为:CRC校验码+网元ID+子架号+槽位号+CPU号+通道号+随机数。3. The method according to claim 1 or 2, characterized in that the tracking flag generation method in said step 1 is: CRC check code + network element ID + subrack number + slot number + CPU number + channel number + random number. 4、根据权利要求1或2所述的方法,其特征在于所述步骤一中的跟踪标志生成方法为:CRC校验码+年+日期+时间+通道号。4. The method according to claim 1 or 2, characterized in that the tracking mark generation method in the first step is: CRC check code + year + date + time + channel number. 5、根据权利要求1或2所述的方法,其特征在于:所述步骤二中,将跟踪标志写入再生段的J0字节,写入高阶通道的J1字节,写入低阶通道的J2字节。5. The method according to claim 1 or 2, characterized in that: in the second step, the tracking flag is written into the J0 byte of the regeneration section, written into the J1 byte of the high-order channel, and written into the low-order channel the J2 byte. 6、根据权利要求5所述的方法,其特征在于:所述跟踪标志的长度为16字节或64字节。6. The method according to claim 5, wherein the length of the tracking flag is 16 bytes or 64 bytes. 7、据权利要求1或2所述的方法,其特征在于所述步骤四中:对于单通道,如果接收的通道跟踪标志与发送的跟踪标志相同则发生了环回;对于相邻级联的通道,如果级联后的通道开销中的跟踪标志与发送的跟踪标志相同则发生了环回。7. The method according to claim 1 or 2, characterized in that in said step 4: for a single channel, if the received channel trace flag is the same as the sent trace flag, a loopback occurs; for adjacent cascaded channel, loopback occurs if the trace flag in the concatenated channel overhead is the same as the trace flag sent. 8、据权利要求1或2所述的方法,其特征在于所述步骤四中:对于虚级联组,通过判断级联组内每个成员的环回情况来确定整个级联组的环回状态。8. The method according to claim 1 or 2, characterized in that in said step 4: for the virtual concatenation group, the loopback of the entire cascade group is determined by judging the loopback situation of each member in the cascade group state. 9、据权利要求8所述的方法,其特征在于:如果级联组内的任一成员发生环回则判断整个级联组环回。9. The method according to claim 8, wherein if a loopback occurs in any member of the cascading group, it is judged that the entire cascading group is looped back.
CN 200410058370 2004-08-13 2004-08-13 Method for detecting multi-service transmission platform device service loopback Expired - Fee Related CN1734991B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200410058370 CN1734991B (en) 2004-08-13 2004-08-13 Method for detecting multi-service transmission platform device service loopback

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200410058370 CN1734991B (en) 2004-08-13 2004-08-13 Method for detecting multi-service transmission platform device service loopback

Publications (2)

Publication Number Publication Date
CN1734991A true CN1734991A (en) 2006-02-15
CN1734991B CN1734991B (en) 2010-08-18

Family

ID=36077213

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200410058370 Expired - Fee Related CN1734991B (en) 2004-08-13 2004-08-13 Method for detecting multi-service transmission platform device service loopback

Country Status (1)

Country Link
CN (1) CN1734991B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101056224B (en) * 2007-05-31 2010-09-22 杭州华三通信技术有限公司 A loop detection method and device for the network device
CN101895362A (en) * 2010-07-27 2010-11-24 中兴通讯股份有限公司 Service loopback method and device for synchronizing digital system
CN101141212B (en) * 2007-08-03 2011-03-02 中兴通讯股份有限公司 Method of protecting virtual cascade/link capability automatic regulation mechanism
CN101316197B (en) * 2007-05-28 2012-05-30 中国电信股份有限公司 Method and device for detecting Ethernet port loop of MSTP (Multi-service transport platform) device
CN101820363B (en) * 2009-02-27 2014-12-03 中国电信股份有限公司 Ethernet port loopback detection method and multi-service transport platform
CN113364641A (en) * 2020-03-06 2021-09-07 烽火通信科技股份有限公司 Loopback detection method and system for EOS (Ethernet over coax) service

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
SE512055C2 (en) * 1997-07-04 2000-01-17 Ericsson Telefon Ab L M Detection of loop
GB2355898B (en) * 1999-10-26 2002-07-03 Marconi Comm Ltd Communications system

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101316197B (en) * 2007-05-28 2012-05-30 中国电信股份有限公司 Method and device for detecting Ethernet port loop of MSTP (Multi-service transport platform) device
CN101056224B (en) * 2007-05-31 2010-09-22 杭州华三通信技术有限公司 A loop detection method and device for the network device
CN101141212B (en) * 2007-08-03 2011-03-02 中兴通讯股份有限公司 Method of protecting virtual cascade/link capability automatic regulation mechanism
CN101820363B (en) * 2009-02-27 2014-12-03 中国电信股份有限公司 Ethernet port loopback detection method and multi-service transport platform
CN101895362A (en) * 2010-07-27 2010-11-24 中兴通讯股份有限公司 Service loopback method and device for synchronizing digital system
CN113364641A (en) * 2020-03-06 2021-09-07 烽火通信科技股份有限公司 Loopback detection method and system for EOS (Ethernet over coax) service
CN113364641B (en) * 2020-03-06 2022-03-01 烽火通信科技股份有限公司 Loopback detection method and system for EOS (Ethernet over coax) service

Also Published As

Publication number Publication date
CN1734991B (en) 2010-08-18

Similar Documents

Publication Publication Date Title
US8190966B1 (en) Systems and methods for implementing end-to-end checksum
US20060206602A1 (en) Network switch link failover in a redundant switch configuration
US20060203715A1 (en) Method for redirection of virtual LAN network traffic
CN101316197B (en) Method and device for detecting Ethernet port loop of MSTP (Multi-service transport platform) device
US6850704B1 (en) Low-overhead fault-tolerance techniques for optical and other cross-connect systems
GB2350530A (en) Port mirroring across a trunked stack of multi-port devices
EP1745381A2 (en) Managing process state information in an operating system environment
JP2002232462A (en) IP packet communication apparatus and redundant configuration switching method
JP2809151B2 (en) Communication network automatic recovery system
CN102088387B (en) Tunnel protection method and device of ring network
US9060030B2 (en) Frame concatenation apparatus
CN105357114A (en) Distributed network equipment
US7515532B2 (en) Method, system, and storage medium for preventing duplication and loss of exchanges, sequences, and frames
JP5772911B2 (en) Fault tolerant system
CN104158586B (en) Switching realization method, sites and system
CN101573895B (en) Congestion avoidance for link capacity adjustment scheme (LCAS)
CN1734991B (en) Method for detecting multi-service transmission platform device service loopback
CN102771087A (en) Fast LSP alert mechanism
CA2399619A1 (en) Methods and apparatus for selecting the better cell from redundant streams within a cell-oriented environment
CA2529599C (en) Method and apparatus for providing tandem connection, performance monitoring, and protection architectures over ethernet protocols
US20040255190A1 (en) System and method for providing switch redundancy between two server systems
US8208370B1 (en) Method and system for fast link failover
US7065104B1 (en) Method and system for managing inverse multiplexing over ATM
CN100550844C (en) The method of reducing redirected message characteristic information
US7051113B1 (en) Method and apparatus for computing a primary path while allowing for computing an alternate path by using a blocked list

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
ASS Succession or assignment of patent right

Owner name: BEIJING POWER ECONOMIC RESEARCH INSTITUTE

Free format text: FORMER OWNER: ZTE CORPORATION

Effective date: 20140128

Owner name: STATE GRID BEIJING ELECTRIC POWER COMPANY CHINA TE

Effective date: 20140128

COR Change of bibliographic data

Free format text: CORRECT: ADDRESS; FROM: 518057 SHENZHEN, GUANGDONG PROVINCE TO: 100055 XICHENG, BEIJING

TR01 Transfer of patent right

Effective date of registration: 20140128

Address after: 100055 No. 15 West Street, Guanganmen station, Beijing, Xicheng District

Patentee after: State Power Economic Research Institute

Patentee after: State Grid Beijing Electric Power Company

Patentee after: CHINA TECHNOLOGY EXCHANGE CO., LTD.

Address before: 518057 Nanshan District, Guangdong high tech Industrial Park, science and Technology Industrial Park, ZTE building, block A, layer 6, layer

Patentee before: ZTE Corporation

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

Granted publication date: 20100818

Termination date: 20150813

EXPY Termination of patent right or utility model