CN101217332A - Alarming test method and test control platform of synchronous digital system device - Google Patents

Alarming test method and test control platform of synchronous digital system device Download PDF

Info

Publication number
CN101217332A
CN101217332A CN 200810001011 CN200810001011A CN101217332A CN 101217332 A CN101217332 A CN 101217332A CN 200810001011 CN200810001011 CN 200810001011 CN 200810001011 A CN200810001011 A CN 200810001011A CN 101217332 A CN101217332 A CN 101217332A
Authority
CN
China
Prior art keywords
test
digital hierarchy
alarm
synchronizing digital
warning message
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.)
Pending
Application number
CN 200810001011
Other languages
Chinese (zh)
Inventor
徐畅平
程兵旺
吕建平
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by ZTE Corp filed Critical ZTE Corp
Priority to CN 200810001011 priority Critical patent/CN101217332A/en
Publication of CN101217332A publication Critical patent/CN101217332A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Testing And Monitoring For Control Systems (AREA)

Abstract

The invention discloses an alarm testing method of equipment in a synchronous digital hierarchy and comprises the following steps: a test controlling platform is respectively connected with a network element management system, equipment in the synchronous digital hierarchy and a testing meter; the test controlling platform controls the testing meter to send an alarming instruction to the equipment in the synchronous digital hierarchy, collects a sample alarming message from the network element management system and generates a test input case and a testing template according to the sample alarming message; the test controlling platform controls the network element management system, the equipment in the synchronous digital hierarchy and the testing meter to execute the test input case. The invention further discloses a test controlling platform which is used for implementing the alarm testing of the equipment in the synchronous digital hierarchy. The invention successfully solves the problems that manual testing in a testing process of an SDH equipment alarming system consumes both time and efforts and has low testing efficiency, and the invention can implement the quick traversal of the alarm testing cases and the automatic alarm testing of the equipment under the real network environment of the systematic testing.

Description

The alarm test method of synchronizing digital hierarchy equipment and test controlling platform
Technical field
The present invention relates to the field tests of equipment in the optical communication field, relate to SDH equipment alarm method of testing and test controlling platform particularly.
Background technology
In test job, manual test work has accounted for very big proportion, because manual test work can't be reused, causes the tester often to carry out repetitive work.Especially under the situation of beta version frequent updating, the tester need pay a large amount of duplication of labour, causes the anxiety of human resources and instrument resource, has reduced operating efficiency.In order to improve testing efficiency and test mass, need in test, introduce automated testing method, be used for substituting the part manual test or finishing the test job that manual test can't carry out.
In the SDH testing of equipment, board alarm is one of tester's test contents, and one of effective means of board alarm being carried out automatic test is to carry out regression test.
At present, board alarm is carried out the automation regression test, one of scheme provides an external interface by veneer exactly, and testing equipment is connected with equipment by this interface, and the input test use-case carries out regression test then.The advantage of this method has been to solve the problem of manual test, has improved testing efficiency.This method also has weak point, is promptly doing regression tested simultaneously, disengaging network management system and real network environment, particularly system testing environment, be suitable for unit testing or integration testing, there is certain limitation in the help of system testing.
Summary of the invention
Make the present invention according to the problems referred to above, the object of the present invention is to provide a kind of alarm test method and test controlling platform of synchronizing digital hierarchy equipment.
Alarm test method according to synchronizing digital hierarchy equipment of the present invention may further comprise the steps: step S102, and the test controlling platform is connected with Element management system, synchronizing digital hierarchy equipment and test instrumentation respectively; Step S104, the test controlling platform is controlled test instrumentation and is sent the alarm indication to synchronizing digital hierarchy equipment, from Element management system collecting and sampling warning message, and according to sampling warning message generation test input use-case and test template; And step S106, test controlling platform control Element management system, synchronizing digital hierarchy equipment and test instrumentation are carried out test input use-case, the control test instrumentation sends the alarm indication to synchronizing digital hierarchy equipment, collect warning message from Element management system, utilize test template that warning message is compared, and the record comparative result.
In addition, in the method, it is by the test operation control module in the test controlling platform synchronizing digital hierarchy equipment to be sent the alarm indication to realize that test controlling platform control test instrumentation sends the alarm indication to synchronizing digital hierarchy equipment.
In addition, the step S104 in this method also comprises: the configuration module configuration of test controlling platform is also preserved test environment parameter.
In addition, in the step S104 of this method, the test controlling platform comprises from Element management system collecting and sampling warning message and according to sampling warning message generation test input use-case and test template: the data transmit-receive module collecting and sampling warning message the test controlling platform; And the data processing module in the test controlling platform obtains corresponding data from sampling the warning message according to test environment parameter, and generates test input use-case and test template according to the data of being obtained.
In addition, in the step S106 of this method, test controlling platform control Element management system, synchronizing digital hierarchy equipment and test instrumentation are carried out test input use-case and comprised: the test operation control module will be tested the input use-case and be called in Element management system, synchronizing digital hierarchy equipment and test instrumentation; And configuration module configuration testing environmental parameter, and Element management system, synchronizing digital hierarchy equipment and test instrumentation are carried out test input use-case.
In addition, in the step S106 of this method, the test controlling platform is collected warning message from Element management system and comprised: data transmit-receive module is collected warning message; And data processing module obtains corresponding data according to test environment parameter from warning message.
In addition, in the step S106 of this method, utilize test template that warning message is compared and comprise: data processing module is called in test template, and corresponding data and test template are compared.
In addition, in the method, synchronizing digital hierarchy equipment directly is connected with test instrumentation, and Element management system is connected by the test controlling platform with synchronizing digital hierarchy equipment.
According to the test controlling platform that is used for synchronizing digital hierarchy equipment is carried out alarm test of the present invention, comprising: the test operation control module is used to control test instrumentation and sends the alarm indication to synchronizing digital hierarchy equipment; Configuration module is used for configuration and preserves test environment parameter; Data transmit-receive module is from Element management system collecting and sampling warning message and warning message; And data processing module, from the sampling warning message, obtain corresponding data and generate test input use-case and test template according to test environment parameter according to the data of being obtained, and from warning message, obtain corresponding data according to test environment parameter, call in test template so that corresponding data and test template are compared, and the record comparative result.
In addition, in this test controlling platform, synchronizing digital hierarchy equipment directly is connected with test instrumentation, and Element management system is connected by the test controlling platform with synchronizing digital hierarchy equipment.
By above-mentioned aspect of the present invention, successfully solved the problem that manual test takes time and effort, testing efficiency is slow in the SDH equipment alarm system testing process, can under real system testing network environment, travel through the alarm test use-case fast, realize the equipment alarm automatic test.
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 is used to provide further understanding of the present invention, and constitutes the part of specification, is used from explanation the present invention with embodiments of the invention one, is not construed as limiting the invention.In the accompanying drawings:
Fig. 1 shows the flow chart according to the alarm test method of the synchronizing digital hierarchy equipment of the embodiment of the invention;
Fig. 2 shows the structural representation that is used for synchronizing digital hierarchy equipment is carried out the test controlling platform of alarm test according to the embodiment of the invention;
Fig. 3 shows the flow chart according to the automated testing method of the embodiment of the invention; And
Fig. 4 shows the process chart according to the automated testing method of the embodiment of the invention.
Embodiment
Below in conjunction with accompanying drawing the preferred embodiments of the present invention are described, should be appreciated that preferred embodiment described herein only is used for description and interpretation the present invention, and be not used in qualification the present invention.
Fig. 1 shows the flow chart according to the alarm test method of the synchronizing digital hierarchy equipment of the embodiment of the invention.
As shown in Figure 1, may further comprise the steps: step S102, the test controlling platform is connected with Element management system, synchronizing digital hierarchy equipment and test instrumentation respectively; Step S104, the test controlling platform is controlled test instrumentation and is sent the alarm indication to synchronizing digital hierarchy equipment, from Element management system collecting and sampling warning message, and according to sampling warning message generation test input use-case and test template; And step S106, test controlling platform control Element management system, synchronizing digital hierarchy equipment and test instrumentation are carried out test input use-case, the control test instrumentation sends the alarm indication to synchronizing digital hierarchy equipment, collect warning message from Element management system, utilize test template that warning message is compared, and the record comparative result.
In addition, in the method, it is by the test operation control module in the test controlling platform synchronizing digital hierarchy equipment to be sent the alarm indication to realize that test controlling platform control test instrumentation sends the alarm indication to synchronizing digital hierarchy equipment.
In addition, the step S104 in this method also comprises: the configuration module configuration of test controlling platform is also preserved test environment parameter.
In addition, in the step S104 of this method, the test controlling platform comprises from Element management system collecting and sampling warning message and according to sampling warning message generation test input use-case and test template: the data transmit-receive module collecting and sampling warning message the test controlling platform; And the data processing module in the test controlling platform obtains corresponding data from sampling the warning message according to test environment parameter, and generates test input use-case and test template according to the data of being obtained.
In addition, in the step S106 of this method, test controlling platform control Element management system, synchronizing digital hierarchy equipment and test instrumentation are carried out test input use-case and comprised: the test operation control module will be tested the input use-case and be called in Element management system, synchronizing digital hierarchy equipment and test instrumentation; And configuration module configuration testing environmental parameter, and Element management system, synchronizing digital hierarchy equipment and test instrumentation are carried out test input use-case.
In addition, in the step S106 of this method, the test controlling platform is collected warning message from Element management system and comprised: data transmit-receive module is collected warning message; And data processing module obtains corresponding data according to test environment parameter from warning message.
In addition, in the step S106 of this method, utilize test template that warning message is compared and comprise: data processing module is called in test template, and corresponding data and test template are compared.
In addition, in the method, synchronizing digital hierarchy equipment directly is connected with test instrumentation, and Element management system is connected by the test controlling platform with synchronizing digital hierarchy equipment.
In addition, in the method, test control center is with between online mode access to network management system and the equipment under test, and wherein, online mode is meant with intervening mode and is linked between the communication two party that the interactive information of communication two party is all transmitted by test control center; And test instrumentation inserts between test control center and the equipment under test with online mode.
Fig. 2 shows the structural representation that is used for synchronizing digital hierarchy equipment is carried out the test controlling platform of alarm test according to the embodiment of the invention.
As shown in Figure 2, comprising: test operation control module 202 is used to control test instrumentation and sends the alarm indication to synchronizing digital hierarchy equipment; Configuration module 204 is used for configuration and preserves test environment parameter; Data transmit-receive module 206 is from Element management system collecting and sampling warning message and warning message; And data processing module 208, from the sampling warning message, obtain corresponding data and generate test input use-case and test template according to test environment parameter according to the data of being obtained, and from warning message, obtain corresponding data according to test environment parameter, call in test template so that corresponding data and test template are compared, and the record comparative result.
In addition, in this test controlling platform, synchronizing digital hierarchy equipment directly is connected with test instrumentation, and Element management system is connected by the test controlling platform with synchronizing digital hierarchy equipment.
Fig. 3 shows the flow chart according to the automated testing method of the embodiment of the invention.And Fig. 4 shows the process chart according to the automated testing method of the embodiment of the invention.
Describe embodiments of the invention in detail below in conjunction with Fig. 3, Fig. 4.
As shown in Figure 4, utilize test platform, promptly described test control center is in conjunction with SDH Element management system and SDH tester group road alarm the carrying out automatic test to SDH equipment.Element management system carries out communication by the network interface and the SDH equipment of computer, to realize various operations and the management to network element device.
Below introduce in detail the process of using the present invention to realize SDH device cluster road alarm automatic test:
1, build test environment, with test platform with between online mode access to network management system and the equipment; Test instrumentation normally is connected with equipment; Set up being connected of test platform and equipment; Setting up test platform is connected with the normal of instrument.
2, start test platform, configuration testing environmental parameter in the configuration module of test platform.Wherein, test environment parameter is meant that the various configurations of test environment are as equipment under test IP, device type, board type etc. in Pretesting.
3, the test platform mode of operation is set.Platform is switched under the Regression Model.
4, test platform is provided with the test case opening flag, the test of a use-case of beginning.
5, test platform carries out initialization to instrument.
6, test platform is operated webmaster, the configuration device time slot, and confirm that the appliance services accent is logical.
7, test platform obtains current data from instrument and webmaster, confirm that equipment under test is with nowhere to turn to the police in the professional normal and webmaster after, from instrument, insert alarm to equipment under test.If current business is undesired or webmaster has alarm report, directly finish this test, output returns the test result of failure.
8, the current alarm on test platform inquiry webmaster and the instrument.Alarm directly do not stop this use-case test if instrument is expected, output returns the test result of failure.If there is the expection alarm in instrument, behind the test platform inquiry network management alarm, preserves all and meet the message of setting filtercondition.
9, test platform resets on webmaster and has inserted the veneer of alarm in the equipment under test, and waits for board resetting.
10, test platform is inquired about the alarm of equipment under test on the webmaster, and qualified message is preserved.
11, test platform is provided with the alarm shield of equipment under test on webmaster.
12, test platform is inquired about the alarm of equipment under test on the webmaster, and qualified message is preserved.
13, test platform resets on webmaster and is provided with the veneer of alarm shield in the equipment under test, and waits for board resetting.
14, test platform is inquired about the alarm of equipment under test on the webmaster, and qualified message is preserved.
15, test platform is cancelled the alarm shield of equipment under test in webmaster.
16, test platform is inquired about the alarm of equipment under test on the webmaster, and qualified message is preserved.
17, test platform control instrument, cancellation alarm insertion state in instrument.
18, test platform is inquired about the equipment under test alarm in webmaster, and preserves the message that all meet filtercondition.
19, test platform is provided with the test case end mark, finishes the test of a use-case.
20, test platform log-on data processing module is finished the recurrence comparison task, and output returns comparative result.
21, test finishes, and test platform recovers the initial testing environment, continues the test of follow-up use-case.
In sum, by the present invention, successfully solved the problem that manual test takes time and effort, testing efficiency is slow in the SDH equipment alarm system testing process, can be under real system testing network environment, traversal alarm test use-case has been realized the equipment alarm automatic test fast.
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 (10)

1. the alarm test method of a synchronizing digital hierarchy equipment is characterized in that, may further comprise the steps:
Step S102, the test controlling platform is connected with Element management system, described synchronizing digital hierarchy equipment and test instrumentation respectively;
Step S104, described test controlling platform is controlled described test instrumentation and is sent the alarm indication to described synchronizing digital hierarchy equipment, from described Element management system collecting and sampling warning message, and according to described sampling warning message generation test input use-case and test template; And
Step S106, described test controlling platform is controlled described Element management system, described synchronizing digital hierarchy equipment and described test instrumentation and is carried out described test input use-case, control described test instrumentation described synchronizing digital hierarchy equipment is sent the alarm indication, collect warning message from described Element management system, utilize described test template that described warning message is compared, and the record comparative result.
2. the alarm test method of synchronizing digital hierarchy equipment according to claim 1, it is characterized in that it is by the test operation control module in the described test controlling platform described synchronizing digital hierarchy equipment to be sent to alarm to indicate to realize to described synchronizing digital hierarchy equipment transmission alarm indication that described test controlling platform is controlled described test instrumentation.
3. the alarm test method of synchronizing digital hierarchy equipment according to claim 2 is characterized in that, described step S104 also comprises:
The configuration module configuration of described test controlling platform is also preserved test environment parameter.
4. the alarm test method of synchronizing digital hierarchy equipment according to claim 3, it is characterized in that, in described step S104, described test controlling platform comprises from described Element management system collecting and sampling warning message and according to described sampling warning message generation test input use-case and test template:
Data transmit-receive module in the described test controlling platform is collected described sampling warning message; And
Data processing module in the described test controlling platform obtains corresponding data according to described test environment parameter from described sampling warning message, and generates described test input use-case and described test template according to the data of being obtained.
5. the alarm test method of synchronizing digital hierarchy equipment according to claim 4, it is characterized in that, in described step S106, described test controlling platform is controlled described Element management system, described synchronizing digital hierarchy equipment and described test instrumentation and is carried out described test input use-case and comprise:
Described test operation control module is called in described Element management system, described synchronizing digital hierarchy equipment and described test instrumentation with described test input use-case; And
Described configuration module disposes described test environment parameter, and described Element management system, described synchronizing digital hierarchy equipment and described test instrumentation are carried out described test input use-case.
6. the alarm test method of synchronizing digital hierarchy equipment according to claim 4 is characterized in that, in described step S106, described test controlling platform is collected warning message from described Element management system and comprised:
Described data transmit-receive module is collected described warning message; And
Described data processing module obtains corresponding data according to described test environment parameter from described warning message.
7. the alarm test method of synchronizing digital hierarchy equipment according to claim 6 is characterized in that, in described step S106, utilizes described test template that described warning message is compared and comprises:
Described data processing module is called in described test template, and corresponding data and described test template are compared.
8. the alarm test method of each described synchronizing digital hierarchy equipment in requiring according to aforesaid right, it is characterized in that, described synchronizing digital hierarchy equipment directly is connected with described test instrumentation, and described Element management system is connected by described test controlling platform with described synchronizing digital hierarchy equipment.
9. a test controlling platform that is used for synchronizing digital hierarchy equipment is carried out alarm test is characterized in that, comprising:
The test operation control module is used to control test instrumentation and sends the alarm indication to described synchronizing digital hierarchy equipment;
Configuration module is used for configuration and preserves test environment parameter;
Data transmit-receive module is from Element management system collecting and sampling warning message and warning message; And
Data processing module, from described sampling warning message, obtain corresponding data and generate test input use-case and test template according to described test environment parameter according to the data of being obtained, and from described warning message, obtain corresponding data according to described test environment parameter, call in described test template so that corresponding data and described test template are compared, and the record comparative result.
10. test controlling platform according to claim 9 is characterized in that, described synchronizing digital hierarchy equipment directly is connected with described test instrumentation, and described Element management system is connected by described test controlling platform with described synchronizing digital hierarchy equipment.
CN 200810001011 2008-01-10 2008-01-10 Alarming test method and test control platform of synchronous digital system device Pending CN101217332A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200810001011 CN101217332A (en) 2008-01-10 2008-01-10 Alarming test method and test control platform of synchronous digital system device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200810001011 CN101217332A (en) 2008-01-10 2008-01-10 Alarming test method and test control platform of synchronous digital system device

Publications (1)

Publication Number Publication Date
CN101217332A true CN101217332A (en) 2008-07-09

Family

ID=39623701

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200810001011 Pending CN101217332A (en) 2008-01-10 2008-01-10 Alarming test method and test control platform of synchronous digital system device

Country Status (1)

Country Link
CN (1) CN101217332A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101771466B (en) * 2008-12-31 2013-06-19 北京亿阳信通科技有限公司 Synchronous digital hierarchy (SDH) circuit fault diagnosing method and device
CN105141481A (en) * 2015-09-21 2015-12-09 烽火通信科技股份有限公司 Automatic test method of network element management unit and system
WO2017140084A1 (en) * 2016-02-15 2017-08-24 中兴通讯股份有限公司 Test method and device
CN110460478A (en) * 2019-08-28 2019-11-15 瑞斯康达科技发展股份有限公司 Alarm test method, alarm test system and alarm manufacturing equipment, network management system

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101771466B (en) * 2008-12-31 2013-06-19 北京亿阳信通科技有限公司 Synchronous digital hierarchy (SDH) circuit fault diagnosing method and device
CN105141481A (en) * 2015-09-21 2015-12-09 烽火通信科技股份有限公司 Automatic test method of network element management unit and system
CN105141481B (en) * 2015-09-21 2018-05-29 烽火通信科技股份有限公司 A kind of automated testing method and system of NE management unit
WO2017140084A1 (en) * 2016-02-15 2017-08-24 中兴通讯股份有限公司 Test method and device
CN110460478A (en) * 2019-08-28 2019-11-15 瑞斯康达科技发展股份有限公司 Alarm test method, alarm test system and alarm manufacturing equipment, network management system
CN110460478B (en) * 2019-08-28 2022-06-07 瑞斯康达科技发展股份有限公司 Alarm test method, alarm test system, alarm manufacturing equipment and network management system

Similar Documents

Publication Publication Date Title
CN109933522B (en) Test method, test system and storage medium for automatic case
KR102525502B1 (en) Method and apparatus for storing auto-drive test data, electronic device, storage medium and program
CN112783794B (en) Aviation communication radio station software testing system
CN109740222B (en) Testing device and system for automobile networking scene
US9442822B2 (en) Providing a visual representation of a sub-set of a visual program
CN107506303A (en) Method, apparatus and system for automatic test
CN100570580C (en) The proving installation of simple network management protocol software and method of testing thereof
CN104483959A (en) Fault simulation and test system
CN108536972B (en) Complex system reliability simulation method and system based on self-adaptive agent
CN102035896A (en) TTCN-3-based distributed testing framework applicable to software system
CN109977012B (en) Joint debugging test method, device, equipment and computer readable storage medium of system
CN111130922A (en) Airborne information safety automatic test method and test platform
CN104638767B (en) Spacer layer data source simulation method and device for intelligent substation test
CN113612654A (en) Vehicle-mounted gateway function testing method based on database
CN101217332A (en) Alarming test method and test control platform of synchronous digital system device
JP2011041455A (en) Apparatus and method of testing report communication in power transformation automation system
CN103488562A (en) Automated testing method and device
CN102291274A (en) System and method for realizing automatic adaptation of network testing instrument
CN112115044A (en) Automatic testing method and system for electric power information communication equipment
CN103095882B (en) A kind of intelligent mobile terminal automatic field method of testing and test macro
CN107577470A (en) One kind applies dispositions method and system
CN104836686B (en) A kind of method and device for the configuration file generating server
CN113742228A (en) Test, data playback and recording method, system, device, equipment and medium
US11960385B2 (en) Automatic generation of integrated test procedures using system test procedures
CN105335145A (en) Operation result processing method, device 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
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Open date: 20080709