CN1756200A - Integrated tester and integrated testing method for media server - Google Patents

Integrated tester and integrated testing method for media server Download PDF

Info

Publication number
CN1756200A
CN1756200A CN 200410064892 CN200410064892A CN1756200A CN 1756200 A CN1756200 A CN 1756200A CN 200410064892 CN200410064892 CN 200410064892 CN 200410064892 A CN200410064892 A CN 200410064892A CN 1756200 A CN1756200 A CN 1756200A
Authority
CN
China
Prior art keywords
test
media server
module
instruction
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.)
Granted
Application number
CN 200410064892
Other languages
Chinese (zh)
Other versions
CN100369422C (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 CNB2004100648928A priority Critical patent/CN100369422C/en
Publication of CN1756200A publication Critical patent/CN1756200A/en
Application granted granted Critical
Publication of CN100369422C publication Critical patent/CN100369422C/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

Disclosed a integrated tester of media server and its relative integrated testing method belong to the telecommunication testing field. The inventive integrated tester comprises a software system and a hardware system, wherein, the software system comprises the following modules: a testing instruction generation module; a testing control module; a application module; a protocol inn module and a terminal module. The inventive method comprises: the media server testing system is connected to the tested media server and arranged the relative protocol inn used by said media server; after compiling the test script according to the test criterion in the test instruction group generation module, executing the compiling of test script; loading the test script on the software system to generate the test instruction group; the software system emits different test protocol information via the protocol inn module and receives the feed back information to be decoded by the protocol inn module, and automatically judges if it is consistent with the criterion of test script, and via the terminal module judges that the media flow output by the media server is correct, with which judges if said test can pass.

Description

A kind of comprehensive tester of media server and integrated test facility
Technical field
The present invention relates to the telecommunications field tests, particularly a kind of comprehensive tester of media server and integrated test facility.
Background technology
Media server is the autonomous device that the specialized media resource function is provided in the soft exchanging system, it also is the visual plant in the packet network, provide the medium processing capacity in the fundamental sum enhancing business, conversion, the transmitting-receiving of fax paper and the various media resource functions such as transmitting-receiving of vision signal between the transmission of the collection that comprises the Dual Tone Multifrequency signal and the generation of decoding, signal tone and transmission, recorded announcement, meeting, different code decode algorithm.
At present, along with the continuous commercialization of Softswitch technology, use based on the value-added service of Softswitch technology and to emerge in an endless stream.Media server is also more and more as the application of visual plant in the soft switch.Though the telecommunication apparatus chamber of commerce of exploitation media server tests before product export, just provides test result, and the method and the step of test are not but mentioned.And media server tends to occur the problem of function, performance and interoperability in commercialization, and traditional method of testing needs the support of whole soft-switch platform again, and the ancillary equipment that needs is many, complexity.
Therefore, the third-party method of testing of necessary introducing is with a kind of easy, effectively, objectively method of testing comes media server is tested.
Still find no disclosed document at present and introduce media server tester and integrated test facility thereof.
Summary of the invention
The objective of the invention is to solve the problem of present existence: 1) come the performance of test media server apparatus under high load capacity by the simulation real running environment; 2) solve the different test requests of media server device by flexible definition test script; 3) statistics of pass test data and record reflect test result, so that tested media server is carried out Performance Evaluation.
In order to achieve the above object, the invention provides a kind of comprehensive tester of media server, its software systems comprise with lower module:
Test instruction collection generation module: what be used for test script writes, preserves, opens, compiles and generate the test instruction collection;
Testing control module: finish the execution of test instruction collection, the intellectual analysis of test instruction collection, request standard protocol stack module produces the protocol message of standard, and judges whether the protocol message of the output of the tested media server that receives from the standard protocol stack module meets the regulation of test script;
Application module: demonstration, the test data record of finishing man-machine interface, detecting information;
Standard protocol stack module: receive and the protocol message of the standard of transmission, and the message that receives is decoded as inner definition message, sends to tested equipment after the protocol message of standard is encoded, formed to inside definition message simultaneously.
The hardware system of described media server comprehensive tester is common computer, and it is to the influence of performance demands tested person scale.
The present invention also provides a kind of integrated test facility of media server device, may further comprise the steps:
1) the media server test macro is connected by local area network (LAN) or wide area network with tested media server, and the configuration respective protocol stack that media server adopted;
2) start tested media server;
3) in test instruction collection generation module, finish the writing of test script after, carry out the compiling of test script, wrong as compiling report script, then revise script, till correct;
4) testing control module loads the test instruction collection that is generated by test instruction collection generation module, if appointment is the intelligence test pattern, then the analytical test instruction set is inserted and the corresponding instruction of designated order collection automatically, form the final command collection, and begin to carry out test instruction; If appointment is the common test pattern, then directly begin to carry out test instruction;
5) testing control module is sent different test protocol message by the standard protocol stack module, and the loopback information of collecting tested media server, after the decoding of standard protocol stack module, automatically judge consistency with the test instruction collection, judge by terminal module whether the Media Stream of media server output is correct simultaneously, and judge whether passing through of this test with this.
Because tester of the present invention and method of testing can be simulated the input of system under test (SUT) equipment when reality is runed fully, and can receive the output of system under test (SUT).So described method and system is objective, believable to system under test (SUT), solved the problem that present media server device lacks objective examination's means, fully can be by equipment manufacturers and operator instrument as functional test, performance test and interoperability test.After adopting described method of testing, greatly reduce the complexity of test, improved testing efficiency simultaneously greatly; The needed ancillary equipment of test media server is reduced to zero, simultaneously without any need for specific physical testing platform; Improved objectivity, the correctness of test result, be more convenient for media server device test and examination.
Description of drawings
Fig. 1 schematic diagram that to be tester of the present invention be connected with tested media server;
Fig. 2 is the internal module structure chart of method of testing of the present invention;
Fig. 3 is a test flow chart of the present invention.
Embodiment
Fig. 1 is the schematic diagram that utilization described tester of the present invention is connected with tested media server device, and tested media server can be a plurality of, and test macro can be connected by local area network (LAN) with tested media server, also can connect by wide area network.
Fig. 2 is tester software internal system modular structure figure of the present invention.
Test instruction collection generation module: finish test script input, revise, open and function such as preservation, and after the judgement of finishing scanning to test script, mistake, be compiled into the function of built-in command.Test instruction in the test script is predefined test instruction, and it has contained the function of present all tested media servers, for example: playback, collect the digits, fax sending and receiving or the like.The tester can use these test instructions to write out test script.The input of this module is the test script write of tester or the test script file of opening, and output is the test instruction collection that the compiling back forms;
Testing control module: finish instruction set that loading generates by test script compiling, to the intellectual analysis of test instruction collection and insert corresponding test instruction function (when the nominative testing pattern is the intelligence test pattern), carry out the test instruction collection and to the initiation of the specified action of test instruction collection, collect system under test (SUT) output, judge whether the output of system under test (SUT) meets the regulation of test instruction, judge this test whether pass through to reach functions such as the statistics of testing overall performance, analysis; It is a nucleus module of the present invention.The input of this module is the instruction set that generates of test instruction collection generation module and sends through the protocol message of the decoded tested media server output of standard protocol stack module and application module and to start/to cease and desist order etc. that its output is test result and the test data that sends to the instruction message to be encoded of protocol stack module and be sent to the command messages of terminal module and send to application module;
Application module: finish man-machine interface, the demonstration of detecting information, record, preservation test data and open historical test data and to the functions such as analysis of historical test data; The input of this module is order such as the test starting that sends of tester/stop to wait, and the test result message and the data of testing control module transmission, its output is the demonstration that sends to the control command of testing control module and test post, the record of test data etc.;
Standard protocol stack module: finish receiving and the protocol message of the standard of transmission, and the message that receives is decoded as inner definition message, simultaneously the function that sends to tested equipment behind the protocol message of standard is encoded, formed to inside definition message.This module be input as response or the command messages that instruction message to be encoded that testing control module sends and tested media server send, the decoded protocol message that it is output as the protocol message behind the coding that sends to tested media server and sends to testing control module;
Under intelligent mode, also comprise terminal module: mainly produce or receive various Media Streams, support the control protocol that tested media server adopts, be used for the Media Stream of receiving media server or send Media Stream to media server, and can be according to the Media Stream or the recording file of instruction analysis reception.It is input as the instruction that Media Stream that tested media server sends and testing control module send, and it is output as the Media Stream that sends to tested media server and the execution result of instruction that testing control module is sent.
Fig. 3 is a test process of the present invention, idiographic flow is as follows: when needs are tested, the tester is according to test specification, choose test pattern, in test instruction collection generation module, finish the work of writing of test script with test instruction provided by the invention, write the compiling of carrying out test script after finishing.After test instruction collection generation module carries out morphology, syntactic analysis to test script,, then point out the reason and the position of makeing mistakes if test script is wrong, otherwise, then generate the test instruction collection according to test pattern.If be appointed as the intelligence test pattern, then instruction set is carried out intellectual analysis, and insert corresponding test instruction, form final test instruction; If the nominative testing pattern is the common test pattern, then can analyze and handle the test instruction collection.After testing control module loads this test instruction collection, just can begin to test.After the test beginning, testing control module read test instruction set, analyze the concrete testing procedure of this test and the criterion whether test is passed through, instruction set decomposed and correspond to single test action, and produce protocol message and send to tested media server with this standard protocol stack module, receive response message or command information that tested media server sends simultaneously.Receive the response or order of tested media server when the standard protocol stack module after, it is decoded as inner definition message, and send a message to testing control module, judge response or the order that is received according to the test instruction collection by testing control module, (if general mode, also need the output media stream testing result of terminal module to tested media server) judge the regulation that whether meets test script, as meet, then carry out next step test, as do not meet, then the record information such as position, reason of makeing mistakes are carried out the next round test then.After the standard protocol stack module is given an order, can concentrate designated parameter that timer is set according to test instruction, if timer expiry, do not receive the response message of tested media server yet, to judge that also this pacing tries not pass through, and write down the position and the cause information of makeing mistakes, carry out the next round test then.Whole testing process goes on forever, till tester's interrupt test or arriving the appointment end condition.
In test process, show the real-time testing result, and statistical test number of pass times, the frequency of failure and ratio thereof are provided, to being judged as test crash, show the position and the reason thereof of makeing mistakes by application module, write down various test datas, used in order to off-line analysis.
Integrated test facility of the present invention comprises intelligence test and two kinds of test patterns of common test, is described below respectively:
Described intelligence test pattern is meant that testing control module has the analytical test instruction set, is corresponding test instruction of test instruction generation of required execution, and this test instruction is added the function that test instruction is concentrated.Specifically describe as follows: because media server provides function that respective operations is generally all arranged, that is to say, the respective operations (or being called inverse process) of pronunciation operation is recording operation, and the inverse process that sends dtmf signal is to receive dtmf signal, and the inverse process that sends fax is to receive faxes; And for meeting, also can pass through the conferencing function that playback, recording come the test media server is carried out in meeting.So intelligent test method of the present invention is meant test instruction collection specified action is carried out intellectual analysis, produce a corresponding action according to these different actions.For example when the player function of test media server, when adopting the intelligence test pattern, the present invention can specify the test instruction of inserting a recording before the test playback, and automatically connects: at first set up a connection (hereinafter referred to as connecting 1) to the media server request; After media server was set up successfully, connection of loopback test system was replied, and test macro is replied according to this and obtained far-end IP address and the port numbers that media server distributes for this connection; Set up a connection (hereinafter referred to as connecting 2) to the media server request again with this far-end address information then, media server loopback this moment is for connecting 2 local ip address and the port numbers of distributing; Connect the 2 modification bind commands that corresponding local address information is sent the far-end address information of revising connection 1 to media server on media server with this then; After media server was replied successfully, at this moment, test macro of the present invention was set up two unidirectional connections at media server; In the inverse process-recording that connects request playback process on 1, after the wait media server was beamed back response, the presentation medium server had begun recording in connection 1 then; Connecting request pronunciation on 2 then, after waiting for that pronunciation is finished, deletion connects 2, and deletion connects 1 then, to stop recording.Like this, can just can draw the correctness of playback by the recording file of terminal module analysis generation.These connection and corresponding instructions of setting up for inverse process all are to add test instruction automatically by testing control module to concentrate, the tester only need pay close attention to the media manipulation of actual needs test, and connect and be that the inverse operation of test media operation is produced automatically by testing control module, so the tester does not need to write complicated test script for this reason.When adopting the intelligence test pattern, because connecting in fact all is based upon on the media server, so intelligent test method of the present invention can not need under any other ancillary equipment such as soft-switch platform, just can be to testing on the media server, and efficient is very high.
General mode of the present invention is meant that the instruction set that test script compiling back that test macro is write according to the tester generates carries out, and compares with intelligent mode, and it does not need the analysis instruction collection, does not need to insert automatically corresponding instruction yet.It can not set up on media server corresponding the connection automatically, and it needs terminal module support of the present invention.Simultaneously, it also supports directly to send to media server the protocol message of tester's appointment, and it is suitable for the interoperability and the fault-tolerance of test media server.
The present invention is at the instantiation of the basic function of test media server: the function of understanding tested media server, the nominative testing pattern is the intelligence test pattern, write out the test script of containing its function, write the back that finishes and carry out compilation facility, and compile errorless after, beginning is carried out loop test according to the step of test script regulation.Behind the EOT, the test data that obtains being correlated with.

Claims (8)

1. the integrated test facility of a media server device is characterized in that, may further comprise the steps:
(1) the media server test macro is connected by local area network (LAN) or wide area network with tested media server, and the configuration respective protocol stack that media server adopted;
(2) start tested media server;
(3) in test instruction collection generation module, finish the writing of test script after, carry out the compiling of test script, wrong as compiling report script, then revise script, till correct;
(4) testing control module loads the test instruction collection that is generated by test instruction collection generation module, if appointment is the intelligence test pattern, then the analytical test instruction set is inserted and the corresponding instruction of designated order collection automatically, form the final command collection, and begin to carry out test instruction; If appointment is the common test pattern, then directly begin to carry out test instruction;
(5) testing control module is sent different test protocol message by the standard protocol stack module, and the loopback information of collecting tested media server, after the decoding of standard protocol stack module, automatically judge consistency with the test instruction collection, judge by terminal module whether the Media Stream of media server output is correct simultaneously, and judge whether passing through of this test with this.
2. method according to claim 1, it is characterized in that: further comprise showing the real-time testing result, and provide statistical test number of pass times, the frequency of failure and ratio thereof, to being judged as test crash, show the position and the reason thereof of makeing mistakes by application module, and preserve test data in order to off-line analysis.
3. method according to claim 1 and 2, it is characterized in that: also be included in after the standard protocol stack module gives an order, can concentrate designated parameter that timer is set according to test instruction, if timer expiry, do not receive the response message of tested media server yet, to judge that also this pacing tries not pass through, and write down the position and the cause information of makeing mistakes.
4. method according to claim 1, it is characterized in that, step (5) specifically comprises following process: testing control module read test instruction set, analyze the concrete testing procedure of this test and the criterion whether test is passed through, instruction set decomposed and correspond to single test action, and produce protocol message and send to tested media server with this standard protocol stack module, receive response message or command information that tested media server sends simultaneously.
5. the comprehensive tester of a media server is characterized in that, its software systems comprise with lower module:
Test instruction collection generation module: what be used for test script writes, preserves, opens, compiles and generate the test instruction collection;
Testing control module: finish the execution of test instruction collection, the intellectual analysis of test instruction collection, request standard protocol stack module produces the protocol message of standard, and judges whether the protocol message of the output of the tested media server that receives from the standard protocol stack module meets the regulation of test script;
Application module: demonstration, the test data record of finishing man-machine interface, detecting information;
Standard protocol stack module: receive and the protocol message of the standard of transmission, and the message that receives is decoded as inner definition message, sends to tested equipment after the protocol message of standard is encoded, formed to inside definition message simultaneously.
6. tester according to claim 5, it is characterized in that: under the intelligence test pattern, also comprise terminal module: produce or receive various Media Streams, support the control protocol that tested media server adopts, be used for the Media Stream of receiving media server or send Media Stream to media server, and can be according to the Media Stream or the recording file of instruction analysis reception.
7. tester according to claim 6 is characterized in that: the input of test instruction collection generation module is the test script write of tester or the test script file of opening, and output is the test instruction collection that the compiling back forms;
The input of testing control module is the instruction set that generates of test instruction collection generation module and sends through the protocol message of the decoded tested media server output of standard protocol stack module and application module and to start/to cease and desist order that its output is test result and the test data that sends to the instruction message to be encoded of protocol stack module and be sent to the command messages of terminal module and send to application module;
The input of application module is the test starting that sends of tester/cease and desist order, and testing control module the test result message and the data that send, and its output is to send to the demonstration of the control command of testing control module and test post, the record of test data;
Protocol stack module be input as response or the command messages that instruction message to be encoded that testing control module sends and tested media server send, the decoded protocol message that it is output as the protocol message behind the coding that sends to tested media server and sends to testing control module;
Terminal module be input as the instruction that Media Stream that tested media server sends and testing control module send, it is output as the Media Stream that sends to tested media server and the execution result of instruction that testing control module is sent.
8. tester according to claim 5 is characterized in that: testing control module can also be preserved test data and be opened historical test data and historical test data is analyzed.
CNB2004100648928A 2004-09-28 2004-09-28 Integrated tester and integrated testing method for media server Active CN100369422C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2004100648928A CN100369422C (en) 2004-09-28 2004-09-28 Integrated tester and integrated testing method for media server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2004100648928A CN100369422C (en) 2004-09-28 2004-09-28 Integrated tester and integrated testing method for media server

Publications (2)

Publication Number Publication Date
CN1756200A true CN1756200A (en) 2006-04-05
CN100369422C CN100369422C (en) 2008-02-13

Family

ID=36689158

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2004100648928A Active CN100369422C (en) 2004-09-28 2004-09-28 Integrated tester and integrated testing method for media server

Country Status (1)

Country Link
CN (1) CN100369422C (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100442729C (en) * 2006-12-06 2008-12-10 中国科学院计算技术研究所 Configuration method of tested system in conformance test of network protocol
CN101005502B (en) * 2007-01-25 2010-12-01 华为技术有限公司 Service scenario obtaining, control method and its control system and medium resource server
CN101291263B (en) * 2008-06-13 2011-03-16 中兴通讯股份有限公司 Performance test system and method for content distributing network node
CN102280148A (en) * 2011-04-29 2011-12-14 清华大学 Integration testing method and system for digital protection system of high temperature gas cooled reactor
CN101534221B (en) * 2008-03-11 2012-01-04 朗讯科技公司 Method and device for testing communication protocol in test equipment
CN103002318A (en) * 2012-12-05 2013-03-27 深圳创维数字技术股份有限公司 Automatic test method and automatic test system of digital television receiving terminal
CN103098417A (en) * 2010-06-08 2013-05-08 工业和信息化部电信研究院 Comprehensive evaluation system for soft-switch usability
CN104202208A (en) * 2014-08-04 2014-12-10 上海斐讯数据通信技术有限公司 A test fixture for a loopback function of a communication terminal
CN112365902A (en) * 2020-10-16 2021-02-12 科大讯飞股份有限公司 Test method of voice processing system, related equipment and storage device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5983001A (en) * 1995-08-30 1999-11-09 Sun Microsystems, Inc. Method and system for facilitating the automatic creation of test scripts
CN1231032C (en) * 2002-07-22 2005-12-07 华为技术有限公司 Network protocol measuring method and measuring system thereof
CN1529466A (en) * 2003-09-29 2004-09-15 港湾网络有限公司 Network device automatic measuring method

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100442729C (en) * 2006-12-06 2008-12-10 中国科学院计算技术研究所 Configuration method of tested system in conformance test of network protocol
CN101005502B (en) * 2007-01-25 2010-12-01 华为技术有限公司 Service scenario obtaining, control method and its control system and medium resource server
CN101534221B (en) * 2008-03-11 2012-01-04 朗讯科技公司 Method and device for testing communication protocol in test equipment
CN101291263B (en) * 2008-06-13 2011-03-16 中兴通讯股份有限公司 Performance test system and method for content distributing network node
CN103098417A (en) * 2010-06-08 2013-05-08 工业和信息化部电信研究院 Comprehensive evaluation system for soft-switch usability
CN103098417B (en) * 2010-06-08 2016-04-06 工业和信息化部电信研究院 A kind of comprehensive evaluation system for soft-switch usability
CN102280148A (en) * 2011-04-29 2011-12-14 清华大学 Integration testing method and system for digital protection system of high temperature gas cooled reactor
CN103002318A (en) * 2012-12-05 2013-03-27 深圳创维数字技术股份有限公司 Automatic test method and automatic test system of digital television receiving terminal
CN103002318B (en) * 2012-12-05 2015-02-04 深圳创维数字技术股份有限公司 Automatic test method and automatic test system of digital television receiving terminal
CN104202208A (en) * 2014-08-04 2014-12-10 上海斐讯数据通信技术有限公司 A test fixture for a loopback function of a communication terminal
CN104202208B (en) * 2014-08-04 2018-04-06 上海斐讯数据通信技术有限公司 A kind of measurement jig of communication terminal winding function
CN112365902A (en) * 2020-10-16 2021-02-12 科大讯飞股份有限公司 Test method of voice processing system, related equipment and storage device

Also Published As

Publication number Publication date
CN100369422C (en) 2008-02-13

Similar Documents

Publication Publication Date Title
US6188975B1 (en) Programmatic use of software debugging to redirect hardware related operations to a hardware simulator
Zage et al. Evaluating design metrics on large-scale software
CN100562033C (en) A kind of automated test tool of stored-program control exchange and method
Bochmann et al. Trace analysis for conformance and arbitration testing
CN107229542A (en) A kind of method of testing and device
CN107357724A (en) Automatic software test method and device in Android system
CN112612699B (en) General automatic test equipment for HID (human interface device) human-computer interaction scene use case
CN102075789A (en) Method and system for quickly testing set top box
CN100369422C (en) Integrated tester and integrated testing method for media server
CN1425819A (en) Technology support system and method for embroidery machine and storage medium for storaging said method
CN101170785A (en) Device and method for TCL to test base station software
CN109542794A (en) A kind of Software Automatic Testing Method applied to embedded system
CN108491323A (en) A kind of embedded software automatization test system and method based on Lua scripts
CN109710513B (en) Engine for automatic test of CBTC (communication based train control) system
CN108335724B (en) Automatic generation system for customer service management, laboratory process, quality control and report
US20050203717A1 (en) Automated testing system, method and program product using testing map
CN112416715A (en) Computer interlocking performance test system based on operation scene
CN100499513C (en) Telecommunication value-added service integrated measuring system and measuring method thereof
CN109460310A (en) Information Collection System, method, equipment and storage medium based on WEB interface
CN113900953A (en) Software automation testing architecture method based on reflection mechanism
KR20020012254A (en) Protocol acknowledgment between homogeneous systems
CN101800680A (en) Test device and test method of telecommunication system
CN1312587C (en) An embedded real time operating system fault analysis positioning system and method
CN110674036A (en) Cross-platform cooperative function interface test system based on CSG II system
CN112579431A (en) Cross-platform script recording and playback method based on image recognition

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