CN100420223C - A test method for multiplexing segment protection protocol - Google Patents

A test method for multiplexing segment protection protocol Download PDF

Info

Publication number
CN100420223C
CN100420223C CNB031069355A CN03106935A CN100420223C CN 100420223 C CN100420223 C CN 100420223C CN B031069355 A CNB031069355 A CN B031069355A CN 03106935 A CN03106935 A CN 03106935A CN 100420223 C CN100420223 C CN 100420223C
Authority
CN
China
Prior art keywords
multiplex section
section protection
protocol
controller
test
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CNB031069355A
Other languages
Chinese (zh)
Other versions
CN1525662A (en
Inventor
王建军
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CNB031069355A priority Critical patent/CN100420223C/en
Publication of CN1525662A publication Critical patent/CN1525662A/en
Application granted granted Critical
Publication of CN100420223C publication Critical patent/CN100420223C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The present invention relates to a multiplexing segment protection protocol testing method of the technology of optical network communication. The method comprises the steps that multiple multiplexing segment protection controllers are first created according to the characteristics of a tested line, wherein each multiplexing segment protection controller simulates nodes in a corresponding number and is configured with the attributes of associated nodes; K bytes are then sent to terminal nodes through the multiplexing segment protection protocol, and instrumentation automatic testing codes are directly sent to a protocol controller of simulation destination nodes; and an external request is issued to a certain simulation node on a command line, or a reporting or switching command of a circuit is simulated, and consequently, the response test of the multiplexing segment protection protocol is completed. In the method, a simulated network environment is constructed; therefore, the operation of the multiplexing segment protection protocol in a soft environment is realized, the effect of the APS automatic operation test of the multiplexing segment protection protocol is achieved, and the efficiency and the reliability of the test are enhanced.

Description

A kind of method of testing of the multiplex section protection protocol
Technical field
The present invention relates to the optical network communication technology, relate in particular to a kind of method of testing of the multiplex section protection protocol.
Background technology
The operation of the multiplex section protection protocol APS needs the support of network element, light path.A plurality of network elements are formed annular multiplex section protection or linear multiplex section protection; frame structure STM-N multiplex section layer expense K1 by SDH; the K2 byte triggers the APS agreement that operates on the master control borad in transmission between network element; the request and the state of K byte load multiplexing section protocol; the communication of agreement is finished by the K byte; that is: the operation of agreement needs a plurality of network elements to participate in; operation APS agreement under the situation that does not have actual hardware to support; the method that the optical-fiber network product is also ripe without comparison at present; the effect of software integration testing is not fine; especially to the multiplex section protection protocol APS agreement of optical-fiber network product; never find a relatively method of highly effective; integration testing is difficult to pinpoint the problems; often to wait until all that product worked it out; the networking test phase could really carry out the test of multiplex section protection; prior art can not be moved the multiplex section protection protocol APS and test under the situation that breaks away from hardware supports automatically.
In the test of existing the multiplex section protection protocol APS; usually to simulate the operation that another protocol peer is finished agreement; will import a request like this; wait for the output result of protocol entity; output according to agreement; give agreement a response input again; so finish processing of request up to agreement; this needs a lot of steps; construct correct response K byte; in fact at this moment finish test by the tester as another peer-to-peer; do such shortcoming like this: the agreement operation result is if not estimate output, may not be agreement itself not to but cause by the errored response of the test code of tester's input, increased too much human factor for the test of agreement; efficient is low, and reliability is not high.
Summary of the invention
The object of the present invention is to provide a kind of method of testing of the multiplex section protection protocol, low with the testing efficiency that solves the multiplex section protection protocol in the prior art, the problem that reliability is not high.
The method applied in the present invention is: the method for testing of this multiplex section protection protocol, and it adopts following steps:
A, according to the test line feature, create a plurality of multiplex section protection controllers, the node of this multiplex section protection controller simulation corresponding number, and configuration interdependent node attribute; Test for the loop multiplexing section agreement, create at least 3 multiplex section protection controllers, and the attribute of these controller nodes is made into a ring, the state of described multiplex section protection controller reflects normal state, the break-through attitude in the multiplex section protection protocol respectively and switches attitude; For the Linear multiplex section protocol test, create at least 2 multiplex section protection controllers;
The K byte that B, multiplex section protection controller send is directly issued the multiplex section protection controller of simulating destination node by plug-in mounting protocol automatic test code, and the multiplex section protection controller of simulation destination node is handled accordingly to the K byte of receiving.
For the Linear multiplex section protocol test, the state of described multiplex section protection controller reflects the normal state in the multiplex section protection protocol respectively and switches attitude.
In the described steps A, described multiplex section protection controller is created by command-line tool.
Among the described step B,, finish the response test of the multiplex section protection protocol by reporting or switch order to what certain multiplex section protection controller issued an external request or analog line in order line.
The K byte switching request that multiplex section protection controller that initiation is switched sends directly is dealt into the protocol processes formation in the mode that sends message, according to the destination node that comprises in the K byte number, is converted to corresponding multiplex section protection controller this request is handled.
Switch status can report automatically, or carries out state or incident inquiry by order.
When transmitting the K byte, if Signal Fail appears in the multiplex section protection controller of simulation destination node, then do not report the K byte, and the K byte is carried out buffer memory in order to inquiry.
Beneficial effect of the present invention is: the present invention is by creating a plurality of the multiplex section protection protocol APS protocol controllers; reach the analog simulation of a plurality of network elements; under the network environment of simulation structure; by the suitable code of plug-in mounting; be implemented in operation the multiplex section protection protocol APS under the soft environment; make the multiplex section protection protocol APS operation with as broad as long under actual network element environment; thereby to its checking; orientation problem and being handled ahead of time; make agreement earlier enter stationary phase; multiplex section protection can be tested under the situation of hardware supports not having, reached the effect that the multiplex section protection protocol APS moves test automatically, improve testing efficiency and reliability.
Description of drawings
Fig. 1 is a test emulation handling process schematic diagram of the present invention.
Embodiment
With embodiment the present invention is described in further detail with reference to the accompanying drawings below:
As shown in Figure 1, the present invention adopts the testing procedure of following the multiplex section protection protocol APS: A, at first, according to the test line feature, creates a plurality of multiplex section protection controllers, this multiplex section
The node of protection controller simulation corresponding number, and configuration interdependent node attribute; Wherein, for the loop multiplexing section protocol test; create at least 3 loop multiplexing section protection controllers by the optical-fiber network order; the node of this multiplex section protection controller simulation corresponding number; and the attribute of these controller nodes is made into a ring; the state of loop multiplexing section protection controller reflects the normal state among the multiplex section protection protocol APS respectively, break-through attitude and switch attitude.For the Linear multiplex section protocol test, create at least 2 multiplex section protection controllers, the state of multiplex section protection controller can reflect the normal state among the multiplex section protection protocol APS respectively and switch attitude.
The concrete steps of relevant attribute configuration are:
For the loop multiplexing section protocol test:
1, creates the multiplex section controller type: two fine two-way, two fine unidirectional or four-fiber bidirectionals.
2, the transmeridional optical fiber mapping of configuration multiplex section controller.
3, the nodal community of Configuration Control Unit, this node number, the west is to node number, and the east orientation node number is finished the ring configuration of node according to nodal community.
4, Wait to Restore Time is set.
5, whether signalization deterioration SD is as the enabler flags of switching condition.
For the Linear multiplex section protocol test:
1, create the multiplex section controller type: (1+1,1:n), the service aisle number recovers to describe (recover, do not recover), switchover mode (single-ended, both-end) to the protection type.
2, the optical fiber mapping of the protection service aisle of configuration multiplex section controller.
3, Wait to Restore Time is set.
4, whether signalization deterioration SD is as the enabler flags of switching condition.
The K byte that B, secondly, the multiplex section protection protocol APS mail to peer node is directly issued simulation destination node protocol controller by plug-in mounting protocol automatic test code, rather than mails to veneer.Specific practice is, the K byte switching request that the controller of initiating to switch sends directly is dealt into the protocol processes formation in the mode that sends message, according to the destination node that comprises in the K byte number, is converted to corresponding analog controller this request is handled.Promptly use controller analogue network element node, finish the operation of agreement.By reporting or switch order to what certain analog node issued an external request or analog line in order line, finish the response test of the multiplex section protection protocol APS, switch status can report automatically, also can carry out state or incident inquiry by order.When transmitting the K byte, if Signal Fail SF appears in destination node, then do not report the K byte, simultaneously, the K byte that reports is carried out buffer memory in order to inquiry.
In the present invention, as shown in Figure 1, in order to allow the loop multiplexing section agreement normal state occur, the break-through attitude is switched attitude, constructs at least 3 nodes when the configuration multiplex section; The Linear multiplex section protocol test only need be constructed 2 nodes.Transfer of data is only paid close attention to multiplex section agreement itself, need not add other modification, realization is support with the host software, use the function that host software of the present invention does not lose other module of main frame thereby make, other module refers to remove in the host software other modules of multiplex section protocol module, as configuration module, finish the configuration of multiplex section controller; Virtual opetrating system VOS finish the work scheduling and bottom function such as Message Processing.Like this, the present invention can reach the analog simulation of a plurality of network elements by creating a plurality of the multiplex section protection protocol APS protocol controllers, makes the operation of the multiplex section protection protocol APS with as broad as long under actual network element environment.

Claims (7)

1. the method for testing of a multiplex section protection protocol, it is characterized in that: it adopts following steps:
A, according to the test line feature, create a plurality of multiplex section protection controllers, the node of this multiplex section protection controller simulation corresponding number, and configuration interdependent node attribute; Test for the loop multiplexing section agreement, create at least 3 multiplex section protection controllers, and the attribute of these controller nodes is made into a ring, the state of described multiplex section protection controller reflects normal state, the break-through attitude in the multiplex section protection protocol respectively and switches attitude; For the Linear multiplex section protocol test, create at least 2 multiplex section protection controllers;
The K byte that B, multiplex section protection controller send is directly issued the multiplex section protection controller of simulating destination node by plug-in mounting protocol automatic test code, and the multiplex section protection controller of simulation destination node is handled accordingly to the K byte of receiving.
2. the method for testing of the multiplex section protection protocol according to claim 1 is characterized in that:
For the Linear multiplex section protocol test, the state of described multiplex section protection controller reflects the normal state in the multiplex section protection protocol respectively and switches attitude.
3. the method for testing of the multiplex section protection protocol according to claim 1 is characterized in that:
In the described steps A, described multiplex section protection controller is created by command-line tool.
4. the method for testing of the multiplex section protection protocol according to claim 1 is characterized in that:
Among the described step B,, finish the response test of the multiplex section protection protocol by reporting or switch order to what certain multiplex section protection controller issued an external request or analog line in order line.
5. according to the method for testing of claim 1 or 4 described the multiplex section protection protocols; it is characterized in that: the K byte switching request that the multiplex section protection controller of initiating to switch sends; directly be dealt into the protocol processes formation in the mode that sends message; according to the destination node that comprises in the K byte number, be converted to corresponding multiplex section protection controller this request is handled.
6. the method for testing of the multiplex section protection protocol according to claim 4 is characterized in that:
Switch status can report automatically, or carries out state or incident inquiry by order.
7. the method for testing of the multiplex section protection protocol according to claim 5 is characterized in that:
When transmitting the K byte, if Signal Fail appears in the multiplex section protection controller of simulation destination node, then do not report the K byte, and the K byte is carried out buffer memory in order to inquiry.
CNB031069355A 2003-02-26 2003-02-26 A test method for multiplexing segment protection protocol Expired - Fee Related CN100420223C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB031069355A CN100420223C (en) 2003-02-26 2003-02-26 A test method for multiplexing segment protection protocol

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB031069355A CN100420223C (en) 2003-02-26 2003-02-26 A test method for multiplexing segment protection protocol

Publications (2)

Publication Number Publication Date
CN1525662A CN1525662A (en) 2004-09-01
CN100420223C true CN100420223C (en) 2008-09-17

Family

ID=34282839

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB031069355A Expired - Fee Related CN100420223C (en) 2003-02-26 2003-02-26 A test method for multiplexing segment protection protocol

Country Status (1)

Country Link
CN (1) CN100420223C (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100388707C (en) * 2004-12-28 2008-05-14 华为技术有限公司 Method for realizing feedthrough establishment of K words of ring net element of multiplexing segment
CN100375451C (en) * 2005-03-21 2008-03-12 中兴通讯股份有限公司 Automatic test method for network protection system of optical SDH
CN101355386B (en) * 2008-08-26 2012-05-23 中兴通讯股份有限公司 Method for automatically discovering error connection of multiplex segment protective optical fiber
CN105337801B (en) * 2015-11-10 2018-07-31 上海斐讯数据通信技术有限公司 A kind of method for test examples design based on state machine suitable for switch protocol

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6144633A (en) * 1996-04-23 2000-11-07 Hitachi, Ltd. Self-healing network, method for transmission line switching thereof, and transmission equipment thereof
CN1281302A (en) * 1999-07-15 2001-01-24 深圳市华为技术有限公司 Protective reversing and detecting method of synchronously triggered multiplexing band under multiple securities mechanism
CN1295397A (en) * 1999-11-04 2001-05-16 深圳市中兴通讯股份有限公司 Automatically protected switching method and device in high rate SDH loop
JP2002164863A (en) * 2000-11-28 2002-06-07 Nec Corp Circuit switchover device
CN1507208A (en) * 2002-12-10 2004-06-23 深圳市中兴通讯股份有限公司 Automatic protection switching protocol testing method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6144633A (en) * 1996-04-23 2000-11-07 Hitachi, Ltd. Self-healing network, method for transmission line switching thereof, and transmission equipment thereof
CN1281302A (en) * 1999-07-15 2001-01-24 深圳市华为技术有限公司 Protective reversing and detecting method of synchronously triggered multiplexing band under multiple securities mechanism
CN1295397A (en) * 1999-11-04 2001-05-16 深圳市中兴通讯股份有限公司 Automatically protected switching method and device in high rate SDH loop
JP2002164863A (en) * 2000-11-28 2002-06-07 Nec Corp Circuit switchover device
CN1507208A (en) * 2002-12-10 2004-06-23 深圳市中兴通讯股份有限公司 Automatic protection switching protocol testing method

Also Published As

Publication number Publication date
CN1525662A (en) 2004-09-01

Similar Documents

Publication Publication Date Title
CN107508640B (en) Double-ring redundant self-healing optical fiber network construction method based on optical fiber channel technology
CN108462601B (en) Multi-protection-group switching method and device applied to optical transmission network and network element equipment
US5621726A (en) Point-to-point communication network and method and adapter for virtualizing a LAN system
CN103746884A (en) Method and system for testing flow through switchboard
CN106685733A (en) FC-AE-1553 network rapid configuration and automatic testing method
CN110380923B (en) In-situ component protection ring network testing device
CN109413094B (en) Space data transmission system based on HS-ADIX network
CN108462904B (en) Protection group switching method based on hardware and optical communication equipment
CN114371912A (en) Virtual network management method of data center and data center system
CN100493113C (en) Method, system and device for realizing automatic switching
CN100420223C (en) A test method for multiplexing segment protection protocol
CN208608998U (en) A kind of equipment test verifying system based on FC network
CN113036930A (en) Power grid data communication management system
CN110518978B (en) Hybrid data transmission assembly based on optical fiber link
CN109450763B (en) Bus expansion method, gateway and bus expansion system
CN100488117C (en) Method for automatically obtaining topological relation of telecommunication device
CN101316199B (en) Simulation networking method and device for SDH equipment
CN111221265A (en) Bus information extraction device of rudder system in loop and semi-physical simulation method
CN106533771A (en) Network device and control information transmission method
CN105262692A (en) Method and device for realizing flow meter information real-time synchronization of openflow switches
CN114064371A (en) Electronic interlocking simulation test method, system, equipment and storage medium
CN1507208A (en) Automatic protection switching protocol testing method
CN114221986B (en) Converged network communication system, communication method, electronic device, and storage medium
JPH02309732A (en) Start type network communication system
CN117014341B (en) Virtual switch testing method and system

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

Granted publication date: 20080917

Termination date: 20110226