CN101174899B - Automatic testing method for service protection and recovery in ASON network - Google Patents

Automatic testing method for service protection and recovery in ASON network Download PDF

Info

Publication number
CN101174899B
CN101174899B CN2007101938245A CN200710193824A CN101174899B CN 101174899 B CN101174899 B CN 101174899B CN 2007101938245 A CN2007101938245 A CN 2007101938245A CN 200710193824 A CN200710193824 A CN 200710193824A CN 101174899 B CN101174899 B CN 101174899B
Authority
CN
China
Prior art keywords
case
alarm
test
test use
node
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
CN2007101938245A
Other languages
Chinese (zh)
Other versions
CN101174899A (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.)
Nanjing Zhongxing Software Co Ltd
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 CN2007101938245A priority Critical patent/CN101174899B/en
Publication of CN101174899A publication Critical patent/CN101174899A/en
Application granted granted Critical
Publication of CN101174899B publication Critical patent/CN101174899B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The present invention discloses an automatic test method which is used for the business protection and the resumption of the ASON network; the method comprises the following steps that: S102. a failure strategy is arranged for obtaining the route information of tested business; S104. the route information of tested business is analyzed and the failure position is classified according to the analysis; S106. the failure strategy is matched with the failure position to form alarm test example; S108. an alarm test example is implemented, when the example is over, the automatic return test is carried out on the example. By adopting the method of the present invention, the automatic test of business failure in the ASON network and the automatic return test can be realized and a large amount of manual test time can be saved.

Description

Be used for the service protection of ASON network and the automatic test approach of recovery
Technical field
The present invention relates to IN service protection and the automatic test approach that recovers in a kind of ASON network, and IN service protection and the automatic regression test method of recovering in the ASON network.
Background technology
ASON is also referred to as ASON, ASON compares with conventional optical network, increased control plane transmitting between plane and the management plane, control plane mainly is responsible for the resource of network is managed, and initiates to set up IN service and to the maintenance of IN service etc.
When setting up IN service by the control plane of ASON, the protocol stack of control plane, at first according to the present topological structure and the available time slot bandwidth of network, calculate the route of professional process, link control module is initiated to set up professional according to this route then.Therefore, have only when professional when setting up successfully, just can learn business the detailed routing iinformation of process.Like this in the protection of test service when recovering, the tester need inquire about the routing iinformation of IN service, could finally determine to produce fault on that position of network topology, this has determined professional protection and has recovered can't to realize automation when the test.Equally, when the test case of accumulation is tested before later release continues to use, because the situation of network topology may change, as: the structure of network changes, the current present situation of network changes etc., the route of same business just might be with test for the first time the time selected route inequality fully.Therefore professional protection and the regression test of recovery can't automations, after each version is submitted to, in order to guarantee the stable of version, all require a great deal of time and manpower carries out manual test.
Therefore, need a kind of solution of the automatic test that is used for the protection of ASON network IN service and recovers, can solve the problem in the above-mentioned correlation technique.
Summary of the invention
The automatic test approach that the purpose of this invention is to provide service protection and recovery in a kind of ASON network, and the automatic regression test method of service protection and recovery.By adopting method of the present invention, before test, set in advance the strategy that traffic failure produces, in measuring executing process; automatically collect professional routing iinformation; according to the strategy that traffic failure produces, can finish the protection and recovery test of traffic failure automatically to alarm generated by service.The test case that runs succeeded is added the automatic regression test scheme, make the dependence test of traffic failure can realize automatic regression test.
According to the present invention, a kind of automatic test approach is provided, be used for the service protection and the recovery of ASON network, may further comprise the steps: step S102 is provided with failure strategy, and obtains the routing iinformation of tested business; Step S104 analyzes the routing iinformation of tested business, and sorts out the position of being out of order according to analysis result; Step S106 mates failure strategy and abort situation, to generate the alarm test use-case; And step S108, carry out the alarm test use-case, and when the alarm test use-case is carried out end, the alarm test use-case is carried out automatic regression test.
Failure strategy comprises: the order of the type of location of fault, fault and fault generation/disappearance.
Location of fault comprises following a kind of or its combination: the first node of service aisle, intermediate node, end-node, and first node, intermediate node, the end-node of protection passage.
The step of obtaining the routing iinformation of tested business may further comprise the steps: from database or obtain the routing iinformation of tested business from the information that tested business is returned; And the abort situation of tested business is carried out refinement according to routing iinformation, analyze node, port and the gap information of each abort situation, go forward side by side line position mark and storage.
Step S106 may further comprise the steps: according to fault generation/disappearance order, generate the concrete execution in step in the alarm test use-case; According to node, port, the gap information of abort situation, and the fault type in the failure strategy, each concrete execution in step is generated the alarm excitation; And, analyze and generate the desired output result of concrete execution in step according to the attribute of tested business and alarm excitation information.
The step of carrying out the alarm test use-case may further comprise the steps: the concrete execution in step according to the alarm test use-case is carried out the alarm test use-case; Write down and preserve implementation, data and the result of each concrete execution in step; The result and the desired output result of each concrete execution in step are compared, if the comparative result of concrete execution in step is all consistent, then the alarm test use-case runs succeeded, otherwise the execution of alarm test use-case is unsuccessful; And with the alarm test use-case adding automatic regression test scheme that runs succeeded.
The step of the alarm test use-case being carried out automatic regression test may further comprise the steps: specify automatic regression test scheme to be returned; Carry out the automatic regression test scheme, the result of each concrete execution in step of alarm test use-case and the desired output result of alarm test use-case are compared, if the comparative result of concrete execution in step is all consistent, then the alarm test use-case runs succeeded, otherwise the execution of alarm test use-case is unsuccessful; And after automatic regression test finishes, generate the automatic regression test report.
The attribute of tested business for the protection attribute, recover a kind of in attribute and the reply-attribute.
Concrete execution in step is included on the tested business and produces, alarm disappears; Recovering to connect the alarm that produces, disappears; And the combination of above-mentioned steps.
The work that concrete execution in step is included in the protection group connects upward the alarm that produces, disappears; Alarm produces, disappears on protection connects; And the combination of above-mentioned steps.
Adopt the inventive method, can realize the automatic test and the automatic regression test of traffic failure aspect in the ASON network, saved the time of a large amount of manual tests, and the test automatically perform and regression tested automatically performs, improved testing efficiency greatly, guarantee product quality, accelerated the research and development progress of product.
Other features and advantages of the present invention will be set forth in the following description, and, partly from specification, become apparent, perhaps understand by implementing the present invention.Purpose of the present invention and other advantages can realize and obtain by specifically noted structure in the specification of being write, claims and accompanying drawing.
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 shows the flow chart according to the automatic test approach of the ASON of being used for network service protection of the present invention and recovery;
Fig. 2 shows the flow chart according to the automatic test approach that is used for ASON network service protection and recovery of the embodiment of the invention;
Fig. 3 shows the flow chart of the automatic test approach that is used for ASON network service protection and recovery according to another embodiment of the present invention;
Fig. 4 shows the flow chart according to the automatic regression test method that is used for ASON network service protection and recovery of the embodiment of the invention;
Fig. 5 is the networking schematic diagram according to the embodiment of the invention;
Fig. 6 shows the schematic diagram that the automatic test that recovers professional is arranged according to one embodiment of present invention; And
Fig. 7 shows the schematic diagram of forever protecting professional automatic test according to the 1+1 of a specific embodiment of the present invention.
Embodiment
Describe embodiments of the invention in detail below in conjunction with accompanying drawing.
Fig. 1 shows the flow chart according to the automatic test approach of the ASON of being used for network service protection of the present invention and recovery.With reference to Fig. 1, may further comprise the steps according to the automatic test approach of the ASON of being used for network service protection of the present invention and recovery:
Step S102 is provided with failure strategy, and obtains the routing iinformation of tested business;
Step S104 analyzes the routing iinformation of tested business, and sorts out the position of being out of order according to analysis result;
Step S106 mates failure strategy and abort situation, to generate the alarm test use-case; And
Step S108 carries out the alarm test use-case, and when the alarm test use-case is carried out end, the alarm test use-case is carried out automatic regression test.
Failure strategy comprises: the order of the type of location of fault, fault and fault generation/disappearance.
Location of fault comprises following a kind of or its combination: the first node of service aisle, intermediate node, end-node, and first node, intermediate node, the end-node of protection passage.
The step of obtaining the routing iinformation of tested business may further comprise the steps: from database or obtain the routing iinformation of tested business from the information that tested business is returned; And the abort situation of tested business is carried out refinement according to routing iinformation, analyze node, port and the gap information of each abort situation, go forward side by side line position mark and storage.
Step S106 may further comprise the steps: according to fault generation/disappearance order, generate the concrete execution in step in the alarm test use-case; According to node, port, the gap information of abort situation, and the fault type in the failure strategy, each concrete execution in step is generated the alarm excitation; And, analyze and generate the desired output result of concrete execution in step according to the attribute of tested business and alarm excitation information.
The step of carrying out the alarm test use-case may further comprise the steps: the concrete execution in step according to the alarm test use-case is carried out the alarm test use-case; Write down and preserve implementation, data and the result of each concrete execution in step; The result and the desired output result of each concrete execution in step are compared, if the comparative result of concrete execution in step is all consistent, then the alarm test use-case runs succeeded, otherwise the execution of alarm test use-case is unsuccessful; And with the alarm test use-case adding automatic regression test scheme that runs succeeded.
The step of the alarm test use-case being carried out automatic regression test may further comprise the steps: specify automatic regression test scheme to be returned; Carry out the automatic regression test scheme, the result of each concrete execution in step of alarm test use-case and the desired output result of alarm test use-case are compared, if the comparative result of concrete execution in step is all consistent, then the alarm test use-case runs succeeded, otherwise the execution of alarm test use-case is unsuccessful; And after automatic regression test finishes, generate the automatic regression test report.
The attribute of tested business for the protection attribute, recover a kind of in attribute and the reply-attribute.
Concrete execution in step is included on the tested business and produces, alarm disappears; Recovering to connect the alarm that produces, disappears; And the combination of above-mentioned steps.
The work that concrete execution in step is included in the protection group connects upward the alarm that produces, disappears; Alarm produces, disappears on protection connects; And the combination of above-mentioned steps.
Fig. 2 shows the flow chart according to the automatic test approach that is used for ASON network service protection and recovery of the embodiment of the invention.With reference to Fig. 2, in this embodiment, the automatic test approach that is used for ASON network service protection and recovery may further comprise the steps:
Step S202 is provided with the traffic failure strategy;
Step S204, professional routing iinformation is built in search;
Step S206 in tested business, generates the alarm test use-case with the traffic failure application of policies;
Step S208, implementation of test cases; And
Step S210 carries out automatic regression test to test case.
Wherein, step S202 may further comprise the steps:
Step S202-2 is provided with the abort situation of tested business, and wherein abort situation may be first node, intermediate node, the end-node of service aisle; First node, intermediate node, the end-node of protection passage; Or the combination of above-mentioned position;
Step S202-4 is provided with the fault type of tested business; On different abort situation, fault type can be identical or different; And
Step S202-6 is provided with the fault generation/disappearance order of abort situation; Fault generation/disappearance order on the different abort situation can make up.
The sequencing of above-mentioned steps is adjustable.
Step S204 comprises the following steps:
Step S204-2 for newly-established business, catches professional detailed routing iinformation from database or the professional information of returning, and professional attribute information, i.e. Ye Wu protection attribute, recovery attribute; For the current business that has existed in the networking, then directly the business information of preserving on the equipment is analyzed, obtain professional detailed routing iinformation, and professional attribute information, i.e. Ye Wu protection attribute, recovery attribute;
Step S204-4 sorts out out of order position from the routing iinformation of business, and the abort situation that is about to tested business is carried out refinement according to routing iinformation, and each abort situation analyzes node, port, gap information, go forward side by side line position mark and storage.
Step S206 comprises the following steps:
Step S206-2 according to alarm generation/disappearance order in the traffic failure strategy, generates the concrete execution in step in the alarm test use-case;
Step S206-4, according to node, port, the gap information of traffic failure position, and the fault type in the failure strategy, to each concrete execution in step, generate the alarm excitation;
Step S206-6 according to the attribute (comprising: protection attribute, recovery attribute etc.) and the alarm excitation information of business, analyzes and generates the desired output result of this concrete execution in step.
Step S206-8, the concrete execution in step in the alarm test use-case that step S206-2, step S206-4, step S206-6 mention, alarm excitation, desired output result both can generate automatically, also can adopt manual mode to generate.
Step S208 comprises the following steps:
Step S208-2 is according to the concrete execution in step implementation of test cases of alarm test use-case; Test case both can automatically perform, and also can manual mode carry out;
Step S208-4 writes down and preserves implementation, data and the result of each step;
Step S208-6 compares the execution result of each concrete execution in step and the desired output result of alarm test use-case.If the comparative result of all concrete execution in step is all consistent, then test case runs succeeded; Otherwise test case is carried out unsuccessful; And
Step S208-8 adds the automatic regression test scheme with the test case that runs succeeded.
Step S210 comprises the following steps:
Step S210-2 specifies automatic regression test scheme to be returned;
Step S210-4 carries out the automatic regression test scheme, and the execution result of each concrete execution in step of test case is compared with the desired output result of alarm test use-case, if the equal unanimity of the comparative result of each step, then test case runs succeeded; Otherwise test case is carried out unsuccessful; And
Step S210-6 after automatic regression test is finished, generates the automatic regression test report.
Fig. 3 shows the flow chart of the automatic test approach that is used for ASON network service protection and recovery according to another embodiment of the present invention.With reference to Fig. 3, in this embodiment, specifically may further comprise the steps:
Step S302, test case begins, from test case, finish to test case, during process all import the step of this test case;
Step S304, the failure strategy of incoming traffic, the i.e. order of the position of input fault, fault type, fault generation/disappearance; Abort situation comprises first node, intermediate node, the end-node of service aisle; First node, intermediate node, the end-node of protection passage, and combination; The type of fault comprises types such as multiplex section inefficacy, multiplex section deterioration, higher order path inefficacy, higher order path deterioration, for M:N trail protection etc., also comprises corresponding webmaster control command; The order of fault generation/disappearance, after location of fault promptly being set and fault type combining, the order that the order that fault produces, fault disappear; Above-mentioned failure strategy promptly can be imported by the interface, after also can in script, editting in advance, and by the invoke script input, if manual input, need after setting up to preserve;
Step S306 obtains business information,
Wherein, for newly-established business, the tester is manual execute the professional test case of setting up after, the details that report of the business of catching therefrom obtain professional routing iinformation and professional attribute information automatically.Professional routing iinformation mainly is professional detailed routing iinformation through each node on the path, and professional attribute information mainly is professional protection attribute, professional recovery attribute; For newly-established business, also can from database, inquire about the above-mentioned information that obtains;
For the business that has existed in the networking, obtain above-mentioned information in the database of slave unit or the database of test platform;
Step S308 analyzes professional routing iinformation,
Wherein, the routing iinformation opsition dependent of business is divided into first node, intermediate node, the end-node of professional service aisle, first node, intermediate node, the end-node of professional protection passage, this had both corresponded to the abort situation in the failure strategy, for existing only in two business between the point, there is not the position of intermediate node; There are a plurality of intermediate nodes in business for crossing over multi-hop;
The details of each professional position comprise, node, port, time slot for intermediate node, comprise upstream, the port of downstream both direction, gap information; For first node, comprise port, the gap information of upstream both direction, up and down the port of traffic direction, gap information; For end-node, comprise port, the gap information of downstream both direction, up and down the port of traffic direction, gap information; The node details that analyze are carried out mark with the position attribution of node, and be saved in the test case;
Step S310 analyzes business attribute information, and professional attribute comprises recovery attribute, protection attribute, reply-attribute.For the business of recovering attribute, after corresponding alarm excitation produces, need to detect the reporting events that recovers relevant in the desired output; The business of M:N protection attribute after corresponding alarm excitation produces, needs to detect protection and switches relevant reporting events in the desired output; Forever protect the business of attribute for 1+1, need to detect the reporting events that recovers relevant in the desired output; For business with reply-attribute, need the relevant reporting events of test returns in the desired output, above-mentioned various types of business can increase the desired output that needs monitoring as required;
Step S312 with failure strategy and abort situation coupling, generates each step of alarm test use-case.In professional routing iinformation is analyzed, the detailed routing iinformation of business is sorted out according to location of fault, first node, intermediate node, the end-node of service aisle have been divided into, first node, intermediate node, the end-node of protection passage, the strategy of fault is provided with according to these positions; At first find in the locational details of business, read professional details according to abort situation; Judge the test point that alarm encourages according to the type of location of fault and fault, the test point of alarm excitation might be a certain side of professional position; Secondly generate the alarm details according to fault type, the professional details of taking out by the test point of alarm,
According to the strategy of fault generation/disappearance, as input, the output that the result of professional corresponding attended operation detects as needs generates the alarm test use-case with the details of alarm.The alarm test use-case that generates may be included in this business and go up the alarm that produces, disappears, and is recovering to connect the alarm that produces, disappears, and above-mentioned combination; The work that perhaps is included in the protection group connects goes up generation, disappearance alarm, generation on protection connects, disappearance alarm, and above-mentioned combination, and the step of alarm test use-case is not limited to above-mentioned explanation, can be according to tester's increase in demand;
Above-mentioned alarm test use-case promptly can generate automatically according to above-mentioned steps, and the tester also can and detect content for better control test process, thus manual the generation.Automatically the test case that generates is saved in user's designated directory, and manually created test case needs the tester to preserve by hand;
Step S314 carries out the alarm test use-case,
Wherein, control according to testing procedure, behind the input warning information, detect desired output, if desired output was received in the time of expection, then continue to carry out next procedure, if desired output was not received in the time of expection, information and the expected result perhaps received are inconsistent, and then test case is carried out failure.After all steps were all passed through, this test case ran succeeded.
Step S316, test case finishes,
After test case finishes, increase the mark that test case finishes.When returning automatically, be used to judge whether to carry out next test case;
Step S318 adds the automatic regression test scheme,
After the alarm test use-case ran succeeded, professional test case, the alarm test use-case of setting up was associated in the automatic regression test scheme that adds tester's appointment.This step can be finished by hand by the user, after the user also can specify the path and title of recurrence scheme in advance, adds automatically; Repeat next test case then.
Fig. 4 shows the flow chart according to the automatic regression test method that is used for ASON network service protection and recovery of the embodiment of the invention.With reference to Fig. 4, this automatic regression test method may further comprise the steps:
Step S402 is provided with the automatic regression test scheme, calls in the scheme that needs recurrence;
Step S404~S408, start automatic regression test, according to named order in the automatic regression test scheme, implementation of test cases, send input to system under test (SUT), and etc. the output of system under test (SUT) to be detected, if output is consistent with desired output, then carry out next procedure, if carry out the test case end mark, then order is carried out next test case, otherwise when the output of a certain step and desired output are inconsistent, leaps to the test case end mark; And
Step S410 preserves and gathers automatic test result, after test case executes, preserves the execution result of this test case, after regression test is finished, gathers and puts this regression tested test result report of output in order.
The embodiment of the automatic test approach that recovers professional is described below in conjunction with Fig. 5 and Fig. 6.Numeral among Fig. 5 is a port numbers, and supposes that each business all is based upon on the 1#VC4.With reference to Fig. 6, set up an IN service that recovery is arranged at the A-Z point-to-point transmission shown in the figure, will disappear in the generation that A holds the generation of test reuse segment fault alarm to disappear, alarm in Z end test reuse section deterioration.
Test case begins, and failure strategy is set, and it is that the first node of service aisle, fault type disappear for the multiplex section failure produces the back that abort situation is set; It is that service aisle end-node, fault type are that multiplex section deterioration, fault produce the back disappearance that abort situation is set.
Set up professional, obtain details, business attribute information, the professional routing iinformation of analysis A, Z end of professional route from the return information of business, professional first node is the A point, and service port is No. 1 port about it, network side is No. 5 ports, and timeslot number is No. 1 time slot; Professional end-node is the Z point, and service port is No. 1 port up and down, and network side is No. 10 ports, and timeslot number is No. 1 time slot; Analyzing professional attribute is that business that need to recover heavy-route is arranged.
The failure strategy that is provided with is applied on the business, generates the alarm test use-case that comprises following testing procedure:
No. 5 ports of ordering at A produce the multiplex section fault alarm, and expectation is output as the message of recovering successful;
At No. 5 port disappearance multiplex section fault alarms that A is ordered, expectation is output as the message that recovery is returned;
No. 10 ports of ordering at Z produce the alarm of multiplex section deterioration, and expectation is output as the message of recovering successful;
In No. 10 port disappearance multiplex section deterioration alarms that Z is ordered, expectation is output as the message that recovery is returned; And
Test case finishes;
According to above-mentioned step, carry out the alarm test use-case, have only the desired output in each step to receive, and be provided with consistent, just continue to carry out next step, after carrying out test case and finishing, in the adding automatic regression test scheme.
The embodiment of the automatic test approach that recovers professional is described below in conjunction with Fig. 5 and Fig. 7.With reference to Fig. 7, set up the IN service of the permanent protection of a 1+1 shown in the figure at the A-Z point-to-point transmission, will the test job path on continuous several times break down.
Test case begins, and failure strategy is set, and it is that the first node of service aisle, fault type produce 2 times for the multiplex section failure that abort situation is set;
Set up professional, obtain details, business attribute information, the professional routing iinformation of analysis A, Z end of professional route from the return information of business, professional first node is the A point, and service port is No. 1 port about it, network side is No. 2 ports, and timeslot number is No. 1 time slot; Professional intermediate node is the C point, and a side is No. 2 ports, and timeslot number is No. 1 time slot, and opposite side is No. 6 ports, and timeslot number is No. 1 time slot; Professional end-node is the Z point, and service port is No. 1 port up and down, and network side is No. 2 ports, and timeslot number is No. 1 time slot; Analyze the business that professional attribute is the permanent protection of 1+1.
The failure strategy that is provided with is applied on the business, generates the alarm test use-case that comprises following testing procedure:
No. 2 ports of ordering at A produce the multiplex section fault alarms, and expectation is output as the message of recovering successful, the business information that reports after recovering successfully,
The route of analyzing the connection process that makes new advances in the business information that reports is the A point at first node, and network side is No. 5 ports, and end-node is the Z point, and network side is No. 10 ports, and timeslot number is No. 2;
No. 5 ports of ordering at A produce the multiplex section fault alarm, and expectation is output as the message of recovering successful.
Test case finishes;
According to above-mentioned step, carry out the alarm test use-case, have only the desired output in each step to receive, and be provided with consistent, just continue the execution next step.After carrying out the test case end, add in the automatic regression test scheme.
Adopt the inventive method, can realize the automatic test and the automatic regression test of traffic failure aspect in the ASON network, saved the time of a large amount of manual tests, and the test automatically perform and regression tested automatically performs, improved testing efficiency greatly, guarantee product quality, accelerated the research and development progress of product.
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 (9)

1. an automatic test approach is used for the service protection and the recovery of ASON network, it is characterized in that, may further comprise the steps:
Step S102 is provided with failure strategy, and obtains the routing iinformation of tested business; Described failure strategy comprises: the order of the type of location of fault, fault and fault generation/disappearance;
Step S104 analyzes the routing iinformation of described tested business, and sorts out the position of being out of order according to analysis result;
Step S106 mates described failure strategy and described abort situation, to generate the alarm test use-case; And
Step S108, carry out described alarm test use-case, and when described alarm test use-case is carried out end, the described alarm test use-case that runs succeeded is added the automatic regression test scheme, the alarm test use-case in the described automatic regression test scheme is carried out automatic regression test.
2. method according to claim 1 is characterized in that, described location of fault comprises following a kind of or its combination: the first node of service aisle, intermediate node, end-node, and first node, intermediate node, the end-node of protection passage.
3. method according to claim 2 is characterized in that, the described step of obtaining the routing iinformation of tested business may further comprise the steps:
From database or from the information that described tested business is returned, obtain the routing iinformation of described tested business; And
According to described routing iinformation the abort situation of described tested business is carried out refinement, analyze node, port and the gap information of each described abort situation, go forward side by side line position mark and storage.
4. method according to claim 3 is characterized in that, described step S106 may further comprise the steps:
According to described fault generation/disappearance order, generate the concrete execution in step in the described alarm test use-case;
According to node, port, the gap information of described abort situation, and the fault type in the described failure strategy, each described concrete execution in step is generated the alarm excitation; And
According to the attribute and the alarm excitation information of described tested business, analyze and generate the desired output result of described concrete execution in step.
5. method according to claim 4 is characterized in that, the step of the described alarm test use-case of described execution may further comprise the steps:
Carry out described alarm test use-case according to the described concrete execution in step of described alarm test use-case;
Write down and preserve implementation, data and the result of each described concrete execution in step;
The described result and the described desired output result of each described concrete execution in step are compared, if the comparative result of described concrete execution in step is all consistent, then described alarm test use-case runs succeeded, otherwise the execution of described alarm test use-case is unsuccessful; And
The described alarm test use-case that runs succeeded is added the automatic regression test scheme.
6. method according to claim 5 is characterized in that, the described step that described alarm test use-case is carried out automatic regression test may further comprise the steps:
The described automatic regression test scheme that appointment is to be returned;
Carry out described automatic regression test scheme, the described result of each described concrete execution in step of described alarm test use-case and the desired output result of alarm test use-case are compared, if the comparative result of described concrete execution in step is all consistent, then described alarm test use-case runs succeeded, otherwise the execution of described alarm test use-case is unsuccessful; And
After automatic regression test is finished, generate the automatic regression test report.
7. method according to claim 6 is characterized in that, the attribute of described tested business for the protection attribute, recover a kind of in attribute and the reply-attribute.
8. method according to claim 7 is characterized in that, described concrete execution in step is included on the described tested business and produces, disappears and alarm; Recovering to connect the alarm that produces, disappears; And the combination of above-mentioned steps.
9. method according to claim 7 is characterized in that, the work that described concrete execution in step is included in the protection group connects upward the alarm that produces, disappears; Alarm produces, disappears on protection connects; And the combination of above-mentioned steps.
CN2007101938245A 2007-11-26 2007-11-26 Automatic testing method for service protection and recovery in ASON network Expired - Fee Related CN101174899B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2007101938245A CN101174899B (en) 2007-11-26 2007-11-26 Automatic testing method for service protection and recovery in ASON network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2007101938245A CN101174899B (en) 2007-11-26 2007-11-26 Automatic testing method for service protection and recovery in ASON network

Publications (2)

Publication Number Publication Date
CN101174899A CN101174899A (en) 2008-05-07
CN101174899B true CN101174899B (en) 2010-12-08

Family

ID=39423191

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2007101938245A Expired - Fee Related CN101174899B (en) 2007-11-26 2007-11-26 Automatic testing method for service protection and recovery in ASON network

Country Status (1)

Country Link
CN (1) CN101174899B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101330329B (en) * 2008-07-29 2012-03-28 中兴通讯股份有限公司 Self-adapting testing method and system
CN101854263B (en) * 2010-06-13 2013-03-13 北京星网锐捷网络技术有限公司 Method, system and management server for analysis processing of network topology
CN106161126A (en) * 2015-04-07 2016-11-23 中兴通讯股份有限公司 The test processing method of alarm and device
CN106953685A (en) * 2016-01-06 2017-07-14 中兴通讯股份有限公司 Method for processing business and device
CN106708699B (en) * 2016-12-09 2020-01-24 中国银行股份有限公司 Error information recording method and apparatus
CN108650021B (en) * 2018-05-14 2020-05-05 烽火通信科技股份有限公司 Automatic dynamic rerouting testing method and system based on ASON
CN109344355B (en) * 2018-09-26 2022-03-15 北京因特睿软件有限公司 Automatic regression detection and block matching self-adaption method and device for webpage change

Citations (3)

* Cited by examiner, † Cited by third party
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
CN1885789A (en) * 2005-06-23 2006-12-27 华为技术有限公司 Channel failure handling method in ASON

Patent Citations (3)

* Cited by examiner, † Cited by third party
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
CN1885789A (en) * 2005-06-23 2006-12-27 华为技术有限公司 Channel failure handling method in ASON
CN1777127A (en) * 2005-12-08 2006-05-24 中国移动通信集团公司 Protocol conformance measuring device and method

Also Published As

Publication number Publication date
CN101174899A (en) 2008-05-07

Similar Documents

Publication Publication Date Title
CN101174899B (en) Automatic testing method for service protection and recovery in ASON network
US20200106662A1 (en) Systems and methods for managing network health
EP1460801B1 (en) System and method for fault diagnosis using distributed alarm correlation
CN101536428B (en) Method for tracking network parameters
CN104301137A (en) Method and system for analyzing influences of electric power communication faults on services
CN112564964B (en) Fault link detection and recovery method based on software defined network
CN108650140B (en) Automatic auxiliary analysis method and system for service fault of optical transmission equipment
CN102035694A (en) Link detection device and method
CN101640818B (en) Protection device and protection method of optical network
CN104125087A (en) Alarm information processing method and device
CN106254199A (en) Unidirectional ring network fault point positioning method, concentrator, terminal unit and system
CN101309525B (en) Route recovery method according to failure positioning in automatic exchange optical network
CN101414933B (en) Method and apparatus for processing alarm correlation information
CN103312765A (en) Reachability validation of nodes of a network of an industrial automation and control system
CN107005440B (en) method, device and system for positioning link fault
CN101478775B (en) Detection method, system and equipment for multi-neighbor connection state
CN101515827A (en) Method for business wrong link resistance wrong in an automatic switched optical network and system thereof
CN102752128A (en) Multi-protocol label switching (MPLS) traffic engineering (TE) tunnel fault detection method and device thereof
CN102223179B (en) The collocation method of relay single plate and device
CN102045188B (en) Alarm filter method and system
CN103983286A (en) Multi-parameter large-capacity optical fiber passive sensing networking system
CN104244293A (en) Network node alarming method and system
US10432451B2 (en) Systems and methods for managing network health
CN102740390B (en) Machine-to-machine/man (M2M) system and communication method thereof, M2M platform and terminal
CN114466393A (en) Rail transit vehicle-ground communication potential risk monitoring 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
C41 Transfer of patent application or patent right or utility model
TR01 Transfer of patent right

Effective date of registration: 20151228

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: 20101208

Termination date: 20161126