Nothing Special   »   [go: up one dir, main page]

CN1155212C - Automatic protocol test system and its test method - Google Patents

Automatic protocol test system and its test method Download PDF

Info

Publication number
CN1155212C
CN1155212C CNB991277066A CN99127706A CN1155212C CN 1155212 C CN1155212 C CN 1155212C CN B991277066 A CNB991277066 A CN B991277066A CN 99127706 A CN99127706 A CN 99127706A CN 1155212 C CN1155212 C CN 1155212C
Authority
CN
China
Prior art keywords
test
module
automatic
testing
automatic protocol
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
CNB991277066A
Other languages
Chinese (zh)
Other versions
CN1290101A (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.)
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 CNB991277066A priority Critical patent/CN1155212C/en
Publication of CN1290101A publication Critical patent/CN1290101A/en
Application granted granted Critical
Publication of CN1155212C publication Critical patent/CN1155212C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Monitoring And Testing Of Exchanges (AREA)
  • Maintenance And Management Of Digital Transmission (AREA)

Abstract

The present invention relates to an automatic regulation testing system and a testing method. The automatic regulation testing system comprises a computer workstation, an automatic regulation testing management module, a main processor of a program control exchanger, an automatic regulation testing control module, an auxiliary processor of a program control exchanger and an automatic regulation testing execution module. The automatic regulation testing system can automatically test telephone calls and inner signaling, audit the correctness of test results, and generate test reports. A plurality of test cases can be tested in a batch processing mode. The present invention can be used for automatic testing of various version exchangers in different manufacturing units. The problems existing in the manual test work of missed measure, missed examination, etc. are avoided, and the hardware cost is greatly reduced.

Description

A kind of automatic protocol test macro and method of testing
Technical field
The present invention relates to a kind of automatic protocol test macro and the method for testing of communication field, be specifically related to a kind of automatic protocol test macro and method of testing at telecommunication service.
Background technology
According to " the total technical specification book of programme-controlled exchange " of The Ministry of Information Industry of the People's Republic of China, MOII promulgation, when call is tested, promptly to the off-hook that repeats, on-hook, dialing, RT register traffic, according to various situations record respectively, it is complicated and uninteresting to work.Adopt manual testing's method, in test process, not only expend in a large number manually, take a large amount of testing equipments, but also be easy to take place the situation of omission, test leakage.
The analog caller of current commercialization need be connected with switch by analog line, then, by its interface editing call flow, after the call flow editor, can begin test, and the result of test can add up.For example: the AM2 call signal generator of American Communications observation and control technology company (Ameritec Corporation) promptly is this analoglike calling set, and there is following problem in it:
Necessarily require the standard interface of hardware, and the standard of docking port and reliability requirement are higher;
For the test of miscellaneous service, need program, and the process of programming is more loaded down with trivial details, support that the ability of programming is also more weak, can not adapt to the situation of multiple business;
The process of the various flow processs of switch inside, various resource status and analog call can not be write down in the test process, therefore the information of dealing with problems fully can't be provided;
In addition, the hardware cost of commercial analog caller is very high, is not suitable for researching and developing the needs of switching equipment.
Summary of the invention
The objective of the invention is provides a kind of automatic protocol test macro and method of testing in order to overcome the defective of prior art.Test macro of the present invention, the manual testing of call or interior signaling business can be changed into the automatic protocol test, replace expensive analog caller, finish the test of various telecommunication services automatically with the automatic protocol tester, to reduce the input of test manpower, reduce testing cost.Method of testing of the present invention not only can be tested automatically to indivedual test cases, and for a plurality of test cases, can also carry out the batch processing test, saves the testing time.
The automatic protocol testing execution module comprises:
Test process analog module: be used for the various operations of analog subscriber, carry out test procedure and handle.
Test signaling detection module: be used to check the implementation status of various signalings, by communication module, to automatically
The result of rules testing control module circular test.
When a certain use-case was tested, the testing procedure of automatic protocol method of testing of the present invention was as follows:
1 test procedure with the dependence test standard is input to automatic tester.
2 automatic testers are converted into rules the digital coding that can automatically perform.
3 automatic testers generate the test result data of standard according to digitized test procedure.
4 automatic tester start-up control module and Executive Modules are carried out the test (comprising test process analog module and test signaling detection module) of corresponding rules, and the actual result and the standard of record test.Detect the operating position of various resources simultaneously, carry out record.
5 after control module and Executive Module execution EOT, and the result that automatic tester will be tested generates test log, carries out corresponding record.
6 automatic testers generate relevant report after the result with standard compares.
Description of drawings
Fig. 1 is an overall construction drawing of the present invention
Fig. 2 is the call type code call flow diagram
Fig. 3 is the translation coding of typical rules
Fig. 4 is the test process of automatic protocol tester
Fig. 5 is the batch processing test process of automatic protocol tester
Below in conjunction with accompanying drawing and by specific embodiment the present invention is described in further detail.
Embodiment
Be call typical case test procedure below, from importing automatic tester to a standard procedure finishing whole test job.
As shown in Figure 1, three parts of the present invention are by the information such as control, test result of transmitting alternately of communication module.
Automatic protocol test macro of the present invention, form by following three parts: the primary processor of computer workstation and automatic protocol test and management module, stored-program control exchange and automatic protocol testing control module, stored-program control exchange from processor and automatic protocol testing execution module.
Wherein, automatic protocol test and management module comprises:
The test case generation module: the interface of man-machine interaction is provided, test procedure is converted into the digital coding that the automatic protocol tester can be discerned, and, with the code storage finished in test procedure and testing standard database.
Test procedure standard processing module: by the test procedure of existing digitalization, generate the test result of standard, be stored in test procedure and the testing standard database, for later test result provides canonical reference.
Test procedure and testing standard database: be used for digitized test procedure of storage and testing standard.
Automatic test and management module: be used to initiate and manage the process of automatic test, comprise the process of batch processing test, and the result that will test store in test log and the test result data storehouse into.
Test log and test result data storehouse: the result and the test log that are used to store automatic test.
Communication module: the information interaction that is used for automatic protocol test and management module and automatic protocol testing control module (200) and automatic protocol testing execution module.
Batch processing test module: be used to handle the test service that can carry out batch processing, comprise the editor of batch processing test file, the summary and the record that carry out process control and batch processing test result of batch processing test.It is by initiating and sum up test job in batches alternately with automatic test and management module.
The automatic protocol testing control module comprises:
The system resource detection module: be used for detecting the process of testing automatically, the operating position of system resource, if note abnormalities, the system resource detection module will send a warning message to the automatic protocol testing control module.
Test result collection module: collect the result of every test operation from the testing execution module that the automatic protocol testing control module is transmitted, and carry out interim record.
Automatic protocol testing control module: be used for controlling, undertaken alternately by communication module and automatic protocol test and management module and automatic protocol testing execution module for the rules of whole test.
Communication module: the information interaction that is used for this module and automatic protocol test and management module, automatic protocol testing execution module.
As shown in Figure 2, be a typical call flow,, convert thereof into and be following test procedure as a test case at this:
Test coding: XXXX
Purpose: the correctness of test telephone call
Project: standard telephone is called out
Sub-project: user A dials user B
Pretest condition: user A, user B free time
Configuration: standard configuration
Test-types: functional test
The time sequential routine sequence:
1) off-hook
2) listen dialing tone
3) dialing TN
4) TN ring contains and just shakes five times
5) ring-back tone is listened in caller
6) The Calling Party Hooks On
This test procedure is imported by the test case generation module and encoded, its coding situation as shown in Figure 3.As shown in Figure 4, through the later test procedure of coding, be stored in test procedure and the testing standard database, for later test is prepared.After the input of finishing use-case, by test procedure standard processing module, generate the standard results of this test case, also deposit in test procedure and the testing standard database.At this moment, test preparation is ready, can carry out the test of standard.
By automatic test and management module, digitized test procedure sends to the automatic protocol testing control module, starts test specifically.
The automatic protocol testing control module is at first carried out initialization to system resource detection module, test result collection module, automatic protocol testing execution module; Start-up system resource detection module and test result collection module are started working then; Send digitized test procedure simultaneously to the test process analog module; After preparation was ready, notice test process analog module began test.
In the process of test, the test signaling detection module detects the various signalings on the processor of switch, and the result that will test preserves temporarily.And the system resource detection module is responsible for checking the operating position of the various call resources on the switch primary processor, and carries out corresponding record.
After EOT, automatic protocol testing control module notice test result collection module begins to collect the result.The result that test signaling detection module and system resource detection module will be tested reports to the test result collection module, carries out the collection and the arrangement of test result.The test result collection module sends the baseline results of test to test log and test result data storehouse by the automatic protocol testing control module, and notifies automatic test and management module, and this test assignment is finished.
So far, the tester just can carry out corresponding process operations by browsing test log and the problem of finding in the test operation is checked in the test result data storehouse.
As a plurality of test cases, in the time of need testing, can carry out the batch processing test to these test cases.
Be the batch processing test process of a standard that gathers from batch processing test file input, batch processing test, to the batch processing test result below.
As shown in Figure 5, at first,, carry out the editor of batch processing test file by the batch processing test module.File format is as follows:
Autoexec XXXX
1?1?1
1?2?1
1?2?2
1?3?1
1?3?4
The beginning of file is a note, and with this mark as autoexec, the numeral of back is the chapters and sections item of each individual event test.
Secondly, start the batch processing test, batch processing test processes module is initiated the batch processing test, needs first of test to send to automatic test and management module with drafting.Carry out as the test of standard by automatic test and management module.By test log and test result data storehouse, with the test outcome record in test log.
In the 3rd step,, proceed test so if also have untreated test case.
At last,, then put test result in order, generate the report of batch processing test if finished last test.
Adopt automatic protocol test macro of the present invention and method of testing, can use the automatic protocol tester that call and interior signaling are tested, and interior signaling is directly analyzed, produce report; Can use graphical interfaces easily, test procedure is edited, produce the test case code automatically, finish relevant test job immediately; Automatically audit test result's correctness produces test report automatically; For a plurality of test cases, can also carry out the batch processing test;
Automatic protocol tester among the present invention can be installed in the switch easily, for the test job at dispatch from the factory machine and the scene of opening, can carry out comprehensive, careful test by the automatic protocol tester, and can produce detailed report.Various version switch for different manufacturers can be tested automatically, saves manpower, and can avoid the work problems such as test leakage, omission of problem of a large amount of manual testings, and greatly reduces hardware cost.

Claims (3)

1 one kinds of automatic protocol test macros, comprise the primary processor of computer workstation, stored-program control exchange and from processor, it is characterized in that: this device also comprises: the automatic protocol test and management module (100) in the computer workstation, automatic protocol testing control module (200) in the primary processor and the automatic protocol testing execution module (300) from processor;
Wherein, automatic protocol test and management module (100) comprising:
Test case generation module (101): the interface of man-machine interaction mainly is provided, test procedure is converted into the digital coding that the automatic protocol tester can be discerned, and, the code storage of finishing is arrived in test procedure and the testing standard database (103);
Test procedure standard processing module (102): mainly be test procedure, generate the test result of standard, be stored in test procedure and the testing standard database (103), for later test result provides canonical reference by existing digitalization;
Test procedure and testing standard database (103): mainly be to be used for digitized test procedure of storage and testing standard;
Automatic test and management module (104): mainly be the process that is used for initiating and managing automatic test, comprise the process of batch processing test, and the result that will test store in test log and test result data storehouse (105) into;
Test log and test result data storehouse (105): mainly be result and the test log that is used for storing automatic test;
Communication module (106): the information interaction that is mainly used in automatic protocol test and management module (100) and automatic protocol testing control module (200) and automatic protocol testing execution module (300);
Batch processing test module (107): be mainly used to handle the test service that can carry out batch processing, comprise the editor of batch processing test file, the summary and the record that carry out process control and batch processing test result of batch processing test; It is mainly by initiating and sum up test job in batches alternately with automatic test and management module (104);
Automatic protocol testing control module (200) comprising:
System resource detection module (201): be mainly used in detection in the process of test automatically, the operating position of system resource, if note abnormalities, system resource detection module (201) will send a warning message to automatic protocol testing control module (203);
Test result collection module (202): the main result who collects every test operation from the testing execution module (300) that automatic protocol testing control module (203) is transmitted, and carry out interim record;
Automatic protocol testing control module (203): be mainly used in for the rules of whole test and control, undertaken alternately by communication module (204) and automatic protocol test and management module (100) and automatic protocol testing execution module (300);
Communication module (204): the information interaction that is mainly used in this module (200) and automatic protocol test and management module (100), automatic protocol testing execution module (300);
Automatic protocol testing execution module (300) comprising:
Test process analog module (301): be mainly used in the various operations of analog subscriber, carry out test procedure and handle;
Test signaling detection module (302): be mainly used in the implementation status of checking various signalings, by communication module (303), to the result of automatic protocol testing control module (200) circular test.
The method of testing of 2 automatic protocol test macros as claimed in claim 1 is characterized in that: when test case was tested, testing procedure was as follows:
(1) the dependence test rules is input to automatic tester;
(2) automatic tester is converted into rules the digital coding that can automatically perform;
(3) automatic tester generates the test result data of standard according to digitized test procedure;
(4) automatic tester start-up control module and Executive Module are carried out the test (comprising test process analog module and test signaling detection module) of corresponding rules, and the actual result and the standard of record test.Detect the operating position of various resources simultaneously, carry out record;
(5) after control module and Executive Module execution EOT, the result that automatic tester will be tested generates test log, carries out corresponding record;
(6) automatic tester generates relevant report after the result with standard compares.
3 automatic protocol method of testings as claimed in claim 2 is characterized in that: for a plurality of test cases, can carry out the batch processing test.
CNB991277066A 1999-12-22 1999-12-22 Automatic protocol test system and its test method Expired - Fee Related CN1155212C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB991277066A CN1155212C (en) 1999-12-22 1999-12-22 Automatic protocol test system and its test method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB991277066A CN1155212C (en) 1999-12-22 1999-12-22 Automatic protocol test system and its test method

Publications (2)

Publication Number Publication Date
CN1290101A CN1290101A (en) 2001-04-04
CN1155212C true CN1155212C (en) 2004-06-23

Family

ID=5284978

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB991277066A Expired - Fee Related CN1155212C (en) 1999-12-22 1999-12-22 Automatic protocol test system and its test method

Country Status (1)

Country Link
CN (1) CN1155212C (en)

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100407661C (en) * 2002-11-17 2008-07-30 华为技术有限公司 A method for testing intelligent service performance
CN100338913C (en) * 2002-11-18 2007-09-19 鸿富锦精密工业(深圳)有限公司 Switch with traffic generation function
CN1328689C (en) * 2002-11-22 2007-07-25 中兴通讯股份有限公司 Automatic test method for system products
CN100396134C (en) * 2003-08-15 2008-06-18 华为技术有限公司 Pseudo measuring report generating method
CN100356339C (en) * 2004-01-07 2007-12-19 北京北阳电子技术有限公司 Method and system for measuring functions of electronic product with keyboard
CN100403701C (en) * 2004-08-09 2008-07-16 华为技术有限公司 Goal device service realization testing method and system
CN100426762C (en) * 2006-03-20 2008-10-15 华为技术有限公司 Exchange data testing system and method
CN101098259B (en) * 2006-06-30 2010-08-18 中兴通讯股份有限公司 Automatized test method and system for implementing large data impact
CN101425064B (en) * 2007-10-29 2011-02-09 英业达股份有限公司 Processing method and system for testing log
CN102650984A (en) * 2011-02-24 2012-08-29 鸿富锦精密工业(深圳)有限公司 Test report generation system and method
CN103414811B (en) * 2013-08-09 2016-03-16 北京中创信测科技股份有限公司 The method and system of synchronism detection are carried out in multiple terminals
CN109507488B (en) * 2019-01-21 2021-10-01 武汉裕量信息科技有限公司 Electromagnetic anti-interference performance test system

Also Published As

Publication number Publication date
CN1290101A (en) 2001-04-04

Similar Documents

Publication Publication Date Title
CN1155212C (en) Automatic protocol test system and its test method
CN101043543A (en) Automatized test tool and method for program controlled exchanger
CN1518311A (en) Method and equipment for executing common calling management by common software platform
CN1047706C (en) Method for performing continuity check in electronic exchange system
CN100461926C (en) System and method for testing speech service
CN101052066A (en) Detecting method for prompting voice, voice server and prompting voice detector
CN101079920A (en) Narrow user board with testing function and automatic testing method of user line
CN1893483A (en) Method for providing virtual telephone exchange service by intelligent network
CN1984171B (en) System and method for realizing speech apparatus function test
CN1851805A (en) Method for automatic recognizing voice for limited range
CN1306755C (en) Service testing device and method
CN1929519A (en) Method and system for realizing busy prompting service
CN101835124B (en) Method and system for automatically diagnosing service faults in telecommunication network
CN101056426A (en) A device and method for processing external color ring data division and color ring system
CN103546651A (en) Intelligent dispatching system and dispatching method for mass individual voice calls
CN1602030A (en) Telephone auto externally dialing method for client service and its intelligent analysis and management
CN1889600A (en) Insertion gate testing device, testing system and testing method
CN105812589B (en) Home gateway voice hardware diagnostic system and method
CN100476754C (en) Method for analysing software testable need
CN1309238C (en) Method for providing virtual office equipment number service of group by virtual office equipment apparatus
CN101047898A (en) Fail call notice system and method capable of implementing fail call redial
CN202231767U (en) Crank call identification system
CN1297167C (en) Method and system for automatic searching phonetic addressbook
CN1123195C (en) Automatic subscriber line and phone set testing card connected to access phone channel
CN1186952C (en) Associating dial numbers with call origenation schemes

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
C56 Change in the name or address of the patentee

Owner name: ZTE CO., LTD.

Free format text: FORMER NAME OR ADDRESS: SHENZHENG CITY ZTE CO., LTD.

CP03 Change of name, title or address

Address after: 518057 Zhongxing building, science and technology south road, Nanshan District hi tech Industrial Park, Guangdong, Shenzhen

Patentee after: ZTE Corporation

Address before: 518057 Zhongxing building, science and technology south road, Nanshan District hi tech Industrial Park, Guangdong, Shenzhen

Patentee before: Zhongxing Communication Co., Ltd., Shenzhen City

C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20040623

Termination date: 20131222