CN101150454B - Testing method for automatic switching optical network - Google Patents
Testing method for automatic switching optical network Download PDFInfo
- Publication number
- CN101150454B CN101150454B CN2007101376534A CN200710137653A CN101150454B CN 101150454 B CN101150454 B CN 101150454B CN 2007101376534 A CN2007101376534 A CN 2007101376534A CN 200710137653 A CN200710137653 A CN 200710137653A CN 101150454 B CN101150454 B CN 101150454B
- Authority
- CN
- China
- Prior art keywords
- testing
- measurand
- test
- ason
- connection
- 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
Links
Images
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention discloses a method for testing automatic exchange optical networks, which includes the following steps: step S102, an exchange connection database and testing strategy are set up, in which, the exchange connection database consists of connection messages and connection scripts; step S104, a testing embodiment is executed according to the testing strategy, an instruction of the testing embodiment is sent to a measured object, and then a response result output from the measured object which is tested is received; and step S106, the invention judges whether the response result is in accordance with the corresponding predicted result of the connection scripts; if both the results are consistent each other, the testing embodiment execution is correct; otherwise, an error exists in the testing embodiment. By adopting the invention, automatic testing of user network client system in ASON network is realized, and repeated workload of testing personnel is effectively reduced; besides, the test is capable of going on without interruption, thus increasing testing efficiency and quality, facilitating the research and development progress of products and saving manpower and device resources.
Description
Technical field
The present invention relates to the optical communication field, and especially, relate to the method for testing of a kind of ASON (Automatic Switched Optical Network abbreviates ASON as).
Background technology
The birth of ASON is in order to adapt to optical transfer network active demand to intelligent and automation in evolution.Be characterized in having the ability that dynamic connection is provided, make it can support polytype business, thereby and can distribute the traffic engineering that realizes in the optical channel in real time to bandwidth according to the demand of reality, help more promptly to introduce various new value-added services.
The network configuration of ASON mainly comprises 3 independently planes: transmit plane (TP), control plane (CP) and management plane (MP).Wherein, control plane is the core of ASON.For the traditional transmission equipment and the ASON transmission equipment that solve the appearance of ASON first stage of construction can't be in the problems of control plane intercommunication, increase User Network Interface client (User-NetworkInterface-Client at traditional Synchronous Digital Hierarchy (SDH) equipment side, UNI-C), insert User Network Interface network (the User-Network Interface-Network of ASON equipment, UNI-N) interface, thus realized the intellectuality of interface between conventional transmission equipment and the ASON core layer network to a certain extent.
Wherein, the configuration that comprises all kinds of parameters on the major function of UNI-C software systems control plane with maintenance, initiatively initiate SC and be connected that (exchange connects, this connection is a kind of connection type of being set up by terminal use's request, promptly by the signaling message dynamic exchange between the control plane signaling unit, the connection of setting up between the connection end points) the establishment that is connected with various deletions and response SC of establishment and recovery after various deletions, neighborhood are safeguarded, restarted and control channel inefficacy after be connected recovery.The agreement that the tester goes design test scheme and test case to verify that its each function and uni interface use around these functions realizes situation.
In the whole test of UNI-C software in control plane, for User Network Interface (User Network Interface, UNI), its interface protocol realization is the core that its whole functional realizes, all SC establishment of connection delete functions also all are to rely on the transmission of signaling message to realize, the correctness of carrying out function also is to embody by observing the entrained information of signaling message, so the emphasis of test also concentrates on the protocol test that various foundation that UNI-C initiates to be connected with response SC delete.In addition, also need be at receive the signaling message that the opposite end sends as UNI-C after, the test of the message that management plane is reported etc.The content that these test events relate to is a lot, and test job is also very loaded down with trivial details, need carry out checking repeatedly.
The height of UNI-C software system test efficient has directly determined R﹠D cycle of product.When stable release is released, often need to carry out version change repeatedly, therefore, the tester need carry out substantive test repeatedly, and test job repeatability is very big, and nature can cause the lengthening of test period and R﹠D cycle.
Therefore, how to reduce the tester repetitive operation workload and improve the testing efficiency of ASON network UNI-C system, be a very important aspect.For shortening the cycle that version is introduced to the market, testing efficiency need improved, alleviate on the repeated workload aspect and further investigate, the retrofit testing method, and the testing time of the present measuring technology that proposes is long, the repetitive operation amount is big, need to consume great amount of manpower, obviously is unfavorable for shortening the cycle that version is introduced to the market.
Summary of the invention
Consider the problems referred to above and make the present invention that for this reason, main purpose of the present invention is to provide a kind of testing scheme of ASON.
According to embodiments of the invention, a kind of method of testing of ASON is provided, it can effectively alleviate tester's workload, and test processes is carried out swimmingly, improves the efficient of test.
This method comprises: step S102, and exchange is set connects database and Test Strategy, wherein, exchange connects in the database and comprises link information and be connected script; Step S104 according to the Test Strategy implementation of test cases, is sent to measurand with the instruction in the test case, and receives the response results of measurand output; And step S106, judge response results and connect whether expected results is consistent accordingly in the script, if consistent, represent that then the test case execution is correct; Otherwise there is mistake in the expression test case.
Wherein, Test Strategy comprises: create and/or delete the connection in the measurand and create and/or delete order, time and the mode that connects in the measurand.
In addition, before step S104, may further include: be provided with according to the execution sequence and the executive mode of Test Strategy to test case.
In step S104, to create and/or the deletion measurand in time interval between the operation that connects carry out record.
In addition, in step S104, can monitor the linking number in the measurand, judge the deleted connection that whether continues to delete measurand after zero of linking number in the measurand according to Test Strategy, if the judgment is Yes, then in measurand, connect.
In addition, in the method, measurand is the User Network Interface client.
And this method may further include: the instruction transmission rate to test case is measured.In this case, can be set measuring period to the measurement of the instruction transmission rate of test case.
By technique scheme of the present invention, can realize automatic test to user network FTP client FTP in the ASON network, effectively reduced tester's repeated workload; And can guarantee to test and interruptedly not carry out, therefore improve the efficient and the quality of test, thereby can accelerate the research and development progress of product, save manpower and device resource.
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 the flow chart according to the method for testing of the ASON of the embodiment of the invention;
Fig. 2 implements the block diagram according to the structure example of the system of the method for testing of the ASON of the embodiment of the invention shown in Fig. 1; And
Fig. 3 is the flow chart according to the processing example of the method for testing of the ASON of the embodiment of the invention that the system shown in Fig. 2 carries out.
Embodiment
In the present embodiment, provide a kind of method of testing of ASON, it can effectively alleviate tester's workload, and test processes is carried out swimmingly, improves the efficient of test.Describe this method below with reference to accompanying drawings in detail.
As shown in Figure 1, comprise according to the method for testing of the ASON of present embodiment: step S102, exchange is set connects database and Test Strategy, wherein, exchange connects in the database and comprises link information and be connected script; Step S104 according to the Test Strategy implementation of test cases, is sent to measurand with the instruction in the test case and (for example, UNI-C), and receives the response results that measurand is exported; And step S106, judge response results and connect whether expected results is consistent accordingly in the script, if consistent, represent that then the test case execution is correct; Otherwise there is mistake in the expression test case.
Wherein, Test Strategy comprises: create and/or the deletion measurand in connection (that is, determined to set up any bar connect, delete any bar connect) and create and/or the deletion measurand in the order, time and the mode that connect.At tested object is under the situation of UNI-C, as UNI-C during as source UNI-C (initiator of connection), and can be at random or create according to ordering and to connect and specify deletion order and deletion mode; As UNI-C during, drive the instrument control module and connect and initiate to create and specify deletion order and deletion mode as purpose UNI-C (the response side of connection); Operating sequence, cycle and test dynamics when specifying simultaneously well respectively as source and destination UNI-C.
In addition, before step S104, may further include: be provided with according to the execution sequence and the executive mode of Test Strategy to test case.
Preferably, when reality is tested, can measurand be connected with protocol tester and testing tool according to mode shown in Figure 2.Like this, in step S102, testing tool respectively to protocol tester and measurand (promptly, UNI-C among Fig. 2) specify the exchange that to create to connect database, and choose test case combination, and by control module management Executive Module is controlled, determining when establishment and the deletion that connects, and can to create and/or the deletion measurand in time interval between the operation that connects carry out record.
In structure shown in Figure 2, testing tool is responsible for testing automatically control, comprises and tested software UNI-C, protocol tester communication; Carry out the collection of sending and test output information that test case is instructed with tested UNI-C, carry out actual reception information and expected results and compare the output that draws corresponding test result.
Control module in the testing tool is the core of whole testing tool, comprises time management module and design test strategy, and its scheduling that can test distributes, and monitors connection status and resource situation constantly.
Testing tool also has the instrument control module, and this module is managed by control module, is mainly used in to drive protocol message, establishment and the deletion that protocol tester sends appointment and be connected, and can carries out the concentrated of pressure test, performance test and call.In addition, testing tool also comprises the time management module, mainly carries out time scheduling and tissue that instruction of various use-cases and instrument are controlled, can allow all test execution are ruly carries out; Simultaneously can specified pressure test period and dynamics, and the order called of use-case.
Pressure test described here is meant and sends a lot of instruction (instruction number when quantity surpasses normal the use) within a certain period of time, with the stability of test measurand.
In addition, in step S104, can monitor the linking number in the measurand, judge the deleted connection that whether continues to delete measurand after zero of linking number in the measurand according to Test Strategy, if the judgment is Yes, then in measurand, connect.
When actual test case is carried out, can be by the state and the resource of control module monitoring connection, the connection that tested UNI-C initiated is deleted when falling specified quantity, promptly, the quantity of deleted connection is more when causing remaining number of connection seldom, and control module can trigger Executive Module, rebulids connection, assurance has connection can do the operation deletion, so just can carry out continuous test and guarantee enough loads.
And this method may further include: the instruction transmission rate to test case is measured.In this case, can be set measuring period to the measurement of the instruction transmission rate of test case.
Alternatively, this method can further include: collect the response results of measurand, and whether what judge response results different with expected results in the response results is because the designated parameter change produces.Here, designated parameter is according to the rank appointment of test purpose and test case, and when reality is implemented, the message as a result of response results message and expectation can be compared, and judges and cause different reasons.
To the embodiment of the invention be described in detail with UNI-C as measurand below.
Fig. 3 shows the flow chart according to the UNI-C software function automatic test approach of the embodiment of the invention.As shown in Figure 3, it specifically comprises following processing:
At first, formulate the exchange that will create and/or delete connection and connect database (also can be called the SC link library) and Test Strategy comprising polytype connection and connection script:
Secondly, the communication of setting up between tested software UNI-C, protocol tester, the testing tool connects, and prepares to carry out test automatically;
Then, implementation of test cases, testing tool keeps a record, the response results of measurand is inquired about and compared the designated order change in information, and trigger new instruction according to the result and issue, testing tool drives protocol tester and carries out corresponding actions according to Test Strategy and time management modules configured:
At last, testing tool is handled and is analyzed information after receiving state change information about all connections, and test case is finished, and outputs test result:
In sum,, can realize automatic test, effectively reduce tester's repeated workload user network FTP client FTP in the ASON network by means of technical scheme of the present invention; And can guarantee to test and interruptedly not carry out, therefore improve the efficient and the quality of test, thereby can accelerate the research and development progress of product, save manpower and device resource.
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. the method for testing of an ASON is characterized in that, comprising:
Step S102 is provided with exchange and connects database and Test Strategy, and wherein, described exchange connects in the database and comprises link information and be connected script;
Step S104 according to described Test Strategy implementation of test cases, is sent to measurand with the instruction in the described test case, and receives the response results of described measurand output; And
Step S106 judges whether corresponding expected results is consistent in described response results and the described connection script, if consistent, represents that then described test case carries out correctly; Otherwise, represent that there is mistake in described test case.
2. the method for testing of ASON according to claim 1, it is characterized in that described Test Strategy comprises: create and/or delete the connection in the described measurand and create and/or delete order, time and the mode that connects in the described measurand.
3. the method for testing of ASON according to claim 1 is characterized in that, before described step S104, further comprises: be provided with according to the execution sequence and the executive mode of described Test Strategy to described test case.
4. the method for testing of ASON according to claim 2 is characterized in that, in described step S104, the time interval of creating and/or deleting between the operation that connects in the described measurand is carried out record.
5. the method for testing of ASON according to claim 2, it is characterized in that, in described step S104, linking number in the described measurand is monitored, judge the deleted connection that whether continues to delete described measurand after zero of linking number in the described measurand according to described Test Strategy, if the judgment is Yes, then in described measurand, connect.
6. according to the method for testing of each described ASON in the claim 1 to 5, it is characterized in that described measurand is the User Network Interface client.
7. according to the method for testing of each described ASON in the claim 1 to 5, it is characterized in that, further comprise: the instruction transmission rate to described test case is measured.
8. the method for testing of ASON according to claim 7 is characterized in that, further comprises: the measurement to the instruction transmission rate of described test case is provided with measuring period.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2007101376534A CN101150454B (en) | 2007-07-31 | 2007-07-31 | Testing method for automatic switching optical network |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2007101376534A CN101150454B (en) | 2007-07-31 | 2007-07-31 | Testing method for automatic switching optical network |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101150454A CN101150454A (en) | 2008-03-26 |
CN101150454B true CN101150454B (en) | 2010-12-29 |
Family
ID=39250805
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2007101376534A Expired - Fee Related CN101150454B (en) | 2007-07-31 | 2007-07-31 | Testing method for automatic switching optical network |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101150454B (en) |
Families Citing this family (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101262379B (en) * | 2008-04-24 | 2011-04-20 | 中兴通讯股份有限公司 | A real time validation system and method for interface packets |
CN101330329B (en) * | 2008-07-29 | 2012-03-28 | 中兴通讯股份有限公司 | Self-adapting testing method and system |
CN102082605B (en) | 2009-12-01 | 2014-03-12 | 华为技术有限公司 | Optical network testing method, deice and system |
CN102130799B (en) * | 2011-03-25 | 2014-01-15 | 中国电子科技集团公司第三十研究所 | System and method for testing network services |
CN102185734A (en) * | 2011-04-18 | 2011-09-14 | 华为软件技术有限公司 | Automatic interface testing method and server |
CN102394797B (en) * | 2011-11-16 | 2013-09-11 | 深圳市赛格导航科技股份有限公司 | Embedded automatic network communication device test method and system |
CN103152216B (en) * | 2011-12-07 | 2016-08-10 | 北京新媒传信科技有限公司 | The method of testing of system and device in a kind of the Internet |
CN103269296B (en) * | 2013-05-23 | 2019-06-07 | 上海斐讯数据通信技术有限公司 | A kind of user side of passive optical network system detection system and detection method |
CN103560829B (en) * | 2013-10-31 | 2017-05-24 | 上海斐讯数据通信技术有限公司 | Method and system for automatic testing of UNI ports |
CN103812726B (en) * | 2014-01-26 | 2017-02-01 | 烽火通信科技股份有限公司 | Automated testing method and device for data communication equipment |
CN104270289A (en) * | 2014-10-17 | 2015-01-07 | 上海斐讯数据通信技术有限公司 | ONU automatic testing method based on TCL script |
CN108667548B (en) * | 2018-05-14 | 2019-11-19 | 烽火通信科技股份有限公司 | A kind of automated testing method and system based on ASON signaling network |
CN108667510B (en) * | 2018-05-14 | 2019-09-17 | 烽火通信科技股份有限公司 | The preset routing automated testing method of multipath based on ASON and system |
CN110572295B (en) * | 2018-06-06 | 2021-04-09 | 中国信息通信研究院 | Test method for verifying SSM response rule |
CN108833214B (en) * | 2018-08-29 | 2020-09-08 | 杭州安恒信息技术股份有限公司 | Industrial control network detection method, device and system |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1777127A (en) * | 2005-12-08 | 2006-05-24 | 中国移动通信集团公司 | Protocol conformance measuring device and method |
CN1838617A (en) * | 2005-03-21 | 2006-09-27 | 中兴通讯股份有限公司 | Automatic test method for network protection system of optical SDH |
CN1996899A (en) * | 2005-12-29 | 2007-07-11 | 中兴通讯股份有限公司 | Testing method of the mobile terminal protocol and its system |
-
2007
- 2007-07-31 CN CN2007101376534A patent/CN101150454B/en not_active Expired - Fee Related
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1838617A (en) * | 2005-03-21 | 2006-09-27 | 中兴通讯股份有限公司 | Automatic test method for network protection system of optical SDH |
CN1777127A (en) * | 2005-12-08 | 2006-05-24 | 中国移动通信集团公司 | Protocol conformance measuring device and method |
CN1996899A (en) * | 2005-12-29 | 2007-07-11 | 中兴通讯股份有限公司 | Testing method of the mobile terminal protocol and its system |
Non-Patent Citations (2)
Title |
---|
张国颖.自动交换光网络(ASON)测试技术.电信网技术 3.2005,(3),第5-8页. |
张国颖.自动交换光网络(ASON)测试技术.电信网技术 3.2005,(3),第5-8页. * |
Also Published As
Publication number | Publication date |
---|---|
CN101150454A (en) | 2008-03-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101150454B (en) | Testing method for automatic switching optical network | |
US8737980B2 (en) | End to end application automatic testing | |
US7117411B2 (en) | Methods and systems for testing communications network components | |
CN100353714C (en) | Method for realizing Web service automatic test | |
CN100384162C (en) | Automatization testing device and method for service system | |
CN102075384A (en) | Performance test system and method | |
CN102457390B (en) | A kind of Fault Locating Method based on QOE and system | |
CN101145977B (en) | A QoS monitoring system and its measuring method of IP data network | |
US20220052923A1 (en) | Data processing method and device, storage medium and electronic device | |
CN100375451C (en) | Automatic test method for network protection system of optical SDH | |
CN109547240B (en) | Intelligent device based on edge calculation and access and device analysis method | |
CN105490876A (en) | Method for automatic testing of server performance through packet sending linkage and concurrent monitoring | |
CN102214140A (en) | Method and system for automatic software testing | |
CN107634871B (en) | Connectivity test method, device and system | |
CN112134754A (en) | Pressure testing method and device, network equipment and storage medium | |
CN114422386B (en) | Monitoring method and device for micro-service gateway | |
CN101227324A (en) | Fault information gathering method of communication equipment as well as communication equipment and system thereof | |
EP2908498B1 (en) | Integrated application generating system and method for internet of things terminal | |
CN101645983A (en) | Network management system and method using same for testing network equipment | |
CN101197714B (en) | Method for centrally capturing mobile data service condition | |
CN108650021B (en) | Automatic dynamic rerouting testing method and system based on ASON | |
CN115242697B (en) | Test system, method, equipment and medium for switch | |
CN103441955B (en) | A kind of test system and method for testing for being used to test dynamic bandwidth allocation device | |
CN114443488A (en) | ARINC664 network configuration testing framework construction method | |
CN111683142B (en) | Metering apparatus, metering method, and computer-readable storage medium |
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 | ||
C41 | Transfer of patent application or patent right or utility model | ||
TR01 | Transfer of patent right |
Effective date of registration: 20160107 Address after: Yuhuatai District of Nanjing City, Jiangsu province 210012 Bauhinia Road No. 68 Patentee after: Nanjing Zhongxing New Software Co., Ltd. Address before: 518057 Nanshan District science and Technology Industrial Park, Guangdong high tech Industrial Park, ZTE building Patentee before: ZTE Corporation |
|
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: 20101229 Termination date: 20160731 |