CN1984171A - System and method for realizing speech apparatus function test - Google Patents

System and method for realizing speech apparatus function test Download PDF

Info

Publication number
CN1984171A
CN1984171A CN 200610072729 CN200610072729A CN1984171A CN 1984171 A CN1984171 A CN 1984171A CN 200610072729 CN200610072729 CN 200610072729 CN 200610072729 A CN200610072729 A CN 200610072729A CN 1984171 A CN1984171 A CN 1984171A
Authority
CN
China
Prior art keywords
ciphering equipment
speech ciphering
test
tested speech
ttcn2
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 200610072729
Other languages
Chinese (zh)
Other versions
CN1984171B (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN2006100727295A priority Critical patent/CN1984171B/en
Publication of CN1984171A publication Critical patent/CN1984171A/en
Application granted granted Critical
Publication of CN1984171B publication Critical patent/CN1984171B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Telephonic Communication Services (AREA)

Abstract

This invention discloses the system and method of realizing voice equipment test function. The system of realizing voice equipment test function includes: the tested voice equipment, TTCN2 module and tested voice simulation module. TTCN2 module connects with tested voice equipment and tested voice simulation module, it is used to test the tested voice equipment; the tested voice simulation module is used to send test voice to tested voice equipment. The method includes: send the control information written in accordance with TTCN2 which tested voice equipment requires; send test voice to tested voice equipment, it has a response to test voice; compare the tested voice equipment's response and the predetermined outcome of test, determine whether the test is correct. The system and the method of this invention introduce protocol testing tools TTCN2 at the stage of voice equipment test, it realizes voice equipment functional test's automation, and it simplifies the testing environment and saves the equipment investment.

Description

Realize the system and method for speech apparatus function test
Technical field
The present invention relates to the measuring technology of functions of the equipments, relate in particular to the system and method for realizing speech apparatus function test.
Background technology
At present, test automation has become the common recognition of industry numerous enterprises, particularly in the high industry of this class reliability requirement of telecommunications, the strictness test of telecommunication apparatus, spreadability test is more needed to improve the degree of test automation.In telecommunications network and intelligent network, there are a lot of speech ciphering equipments, for example call center, ip intelligent peripherals (IP, Intelligent Peripheral) or the like.Test for this kind equipment, except needs pay close attention to signaling message whether correct alternately, need also that checking comprises playback, collects the digits, record, the literary composition language is changed and phonetic functions such as the automatic recognition of speech whether correct, that is to say, except needs carry out protocol test to speech ciphering equipment, also need the phonetic function of speech ciphering equipment is carried out functional test.But in present speech ciphering equipment test, automatic test only is confined on the protocol test aspect, promptly only pay close attention to the test of the mutual aspect of signaling message, and almost do not realizing automation aspect the phonetic function test or only realizing very limited automation.
Till now, when the phonetic function test of carrying out speech ciphering equipment, often need to build a cover by public switched telephone network (PSTN) (PSTN, Public Switched Telephone Network), Service Switching Point (SSP, Service Switching Point), integrated (the CTI of computer telecommunication, Computer TelecomIntegration) the authentic testing environment of forming such as, the phone of tested speech ciphering equipment and transmission test tone is connected in the real test environment, the tester adopts manual operations, pass through one-stage dialing, two-stage dialings etc. are tested, and need listen receipts in person, whether playback is correct, judge that speech ciphering equipment collects the digits and whether correctly wait to finish test.This method of testing causes expending the substantive test resource owing to need all to adopt true environment, and building with maintenance cost of environment is all very high.In addition, in test process, need the tester to carry out manual operations, and the regression test cost of repeated multiple times is also very high, influences tester's work incentive.
In view of the shortcoming of above-mentioned whole employing manual tests, some countries and enterprise have developed dedicated voice testing of equipment instrument, for example a series of speech ciphering equipment testing tools of U.S. Ameritec company Development and Production.This class testing instrument is mainly used in to be tested the performance of speech ciphering equipment, can partly simulate PSTN tested speech ciphering equipment is carried out message-driven.
Yet, use this class testing instrument need build real test environment equally, the cost height of building and safeguarding of environment; Write the test script of speech ciphering equipment except needs, also need to write the service scenario of this class testing instrument with the adaptive testing needs; Because development of telecom technology is maked rapid progress, this class dedicated voice testing of equipment instrument often lags behind the technical development of tested speech ciphering equipment, is difficult to satisfy test request.In addition, this class dedicated voice testing of equipment too development cost height, because the pressure of testing progress, often the construction cycle also lacks, instrument itself is often just stable inadequately, influences test execution.
In sum, can see no matter being to adopt manual phonetic function test or the application specific speech ciphering equipment testing tool of finishing speech ciphering equipment called to test, all exist and to build the authentic testing environment, expend the substantive test resource, testing efficiency is low, is difficult to satisfy the shortcoming of test request.As seen, the phonetic function difficulty of test of speech ciphering equipment is big, is difficult to realize the phonetic function test automation.
Summary of the invention
In view of this, main purpose of the present invention is to provide a kind of system that realizes speech apparatus function test, reduces the phonetic function test to the taking of environment, and is low-cost, realize the phonetic function test automation expeditiously.
Another object of the present invention is to provide a kind of method that realizes speech apparatus function test, the test of minimizing phonetic function takies test environment, realizes low-cost, high efficiency phonetic function test automation.
To achieve these goals, the invention provides a kind of system that realizes speech apparatus function test, comprise tested speech ciphering equipment, be used for the acceptance test sound, generate the response results to test tone, this system also comprises the combination representation-2TTCN2 module and the test tone analog module of tree and table, wherein
The TTCN2 module links to each other with the test tone analog module with tested speech ciphering equipment, be used for the tested speech ciphering equipment of simulation test required signaling message and service message, and control test tone analog module sends test tone to tested speech ciphering equipment, by judging that whether tested speech ciphering equipment is consistent with predefined result to the response results of test tone, determines whether the phonetic function of tested speech ciphering equipment is normal;
The test tone analog module links to each other with tested speech ciphering equipment by the speech interface of tested speech ciphering equipment, is used for sending test tone to tested speech ciphering equipment under the control of TTCN2 module.
Described TTCN2 module comprises signaling message analogue unit, service message analogue unit and comparison judgment unit, wherein, the signaling message analogue unit is used for the required signaling message of writing according to TTCN2 of the tested speech ciphering equipment of simulation test, carries out the mutual of signaling message with tested speech ciphering equipment; The service message analogue unit is used for the required service message of writing according to TTCN2 of the tested speech ciphering equipment of simulation test, carries out the mutual of service message with tested speech ciphering equipment, and control test tone analog module sends test tone to tested speech ciphering equipment; Comparison judgment unit is used to judge whether tested speech ciphering equipment is consistent with predefined result to the response results of test tone, determines whether the phonetic function of tested speech ciphering equipment is normal.Described TTCN2 module may further include: the output unit that is used to export the judged result of comparison judge module.
Described service message analogue unit comprises tested speech ciphering equipment service message analog submodule unit and test tone analog module control sub unit, wherein, tested speech ciphering equipment service message analog submodule unit, be used for the required service message of writing according to TTCN2 of the tested speech ciphering equipment of simulation test, carry out the mutual of service message with tested speech ciphering equipment; Test tone analog module control sub unit, control test tone analog module sends test tone to tested speech ciphering equipment.
Described test tone analog module comprises telephone set and test adapter, wherein, telephone set links to each other with tested speech ciphering equipment by test adapter, described TTCN2 module links to each other with test adapter, is used to control telephone set that test adapter dynamically will send test tone and is connected to time slot with the speech interface coupling of tested speech ciphering equipment.Described test adapter can be a telecommunications switch.
Described test tone analog module is a dedicated voice testing of equipment instrument, and dedicated voice testing of equipment instrument links to each other with the TTCN2 module, is used under the control of TTCN2 module analog telephone and sends test tone to tested speech ciphering equipment.
Described test tone analog module is the speech ciphering equipment identical with tested speech ciphering equipment, and speech ciphering equipment links to each other with the TTCN2 module, is used under the control of TTCN2 module analog telephone and sends test tone to tested speech ciphering equipment.
Described TTCN2 module is arranged in the computer, carry out by computer, this system further comprises adapter, be connected between the computer and tested speech ciphering equipment that the TTCN2 module is set, the transmission control protocol TCP/ Internet protocol IP that is used for computer is supported converts the Signaling System Number 7 that tested speech ciphering equipment is supported to.
The present invention also provides a kind of system that realizes speech apparatus function test, comprises tested speech ciphering equipment, is used for the acceptance test sound, generates the response results to test tone, and this system also comprises TTCN2 module and test tone analog module, wherein,
The TTCN2 module links to each other with the test tone analog module with tested speech ciphering equipment, be used for the tested speech ciphering equipment of simulation test required signaling message and service message, control test tone analog module dynamically is connected on the tested speech ciphering equipment, receives and export the response results of tested speech ciphering equipment to test tone;
The test tone analog module links to each other with tested speech ciphering equipment by the speech interface of tested speech ciphering equipment, is used for sending test tone to tested speech ciphering equipment.
Described test tone analog module comprises telephone set and test adapter, wherein, telephone set links to each other with tested speech ciphering equipment by test adapter, described TTCN2 module links to each other with test adapter, is used to control telephone set that test adapter dynamically will send test tone and is connected to time slot with the speech interface coupling of tested speech ciphering equipment.Described test adapter is a telecommunications switch.
Described TTCN2 module comprises signaling message analogue unit, service message analogue unit and output unit, wherein, the signaling message analogue unit is used for the required signaling message of writing according to TTCN2 of the tested speech ciphering equipment of simulation test, carries out the mutual of signaling message with tested speech ciphering equipment; The service message analogue unit is used for the required service message of writing according to TTCN2 of the tested speech ciphering equipment of simulation test, carries out the mutual of service message with tested speech ciphering equipment; Output unit links to each other with the service message analogue unit, is used to export the response results to test tone that tested speech ciphering equipment reports.
Described service message analogue unit comprises tested speech ciphering equipment service message analog submodule unit and test tone analog module control sub unit, wherein, tested speech ciphering equipment service message analog submodule unit, be used for the required service message of writing according to TTCN2 of the tested speech ciphering equipment of simulation test, carry out the mutual of service message with tested speech ciphering equipment; Test tone analog module control sub unit is used to control the test tone analog module and dynamically is connected to tested speech ciphering equipment.
The present invention provides a kind of method that realizes speech apparatus function test in addition, and this method comprises:
A, send the required control messages of writing according to TTCN2 of the tested speech ciphering equipment of test, drive tested speech ciphering equipment and enter acceptance test sound state;
B, send test tone to tested speech ciphering equipment, tested speech ciphering equipment is made response to test tone;
C, judge whether the response results of tested speech ciphering equipment is consistent with predefined result, determine whether the phonetic function of tested speech ciphering equipment is normal.
Send test tone to tested speech ciphering equipment described in the step B, comprising: send the message of writing according to TTCN2, the dedicated voice testing of equipment instrument that control is connected on the tested speech ciphering equipment sends test tone to tested speech ciphering equipment.
Send test tone to tested speech ciphering equipment described in the step B, comprising: send the message of writing according to TTCN2, the speech ciphering equipment identical with tested speech ciphering equipment that control is connected on the tested speech ciphering equipment sends test tone to tested speech ciphering equipment.
Send test tone to tested speech ciphering equipment described in the step B, comprising: send test tone via test adapter to tested speech ciphering equipment by telephone set.
Can see from above technical scheme, the system and method for realization speech apparatus function test provided by the invention has following beneficial effect: introduce protocol test instrument TTCN2 in speech apparatus function test, signaling message that the tested speech ciphering equipment of simulation test is required and service message, in conjunction with means of testing such as speech ciphering equipment testing tools, realize the semi-automatic and full-automatic of speech apparatus function test; In addition, owing to adopt the networking of TTCN2 module simulation authentic testing environment, so simplified test environment greatly, saved equipment investment, saved building and preventive maintenance time of test environment, and can all adopt the TTCN2 module in protocol test, functional test stage, reuse so can realize testing tool normalization, test script.
Description of drawings
Fig. 1 is the environment networking diagram according to the semi-automatic test of speech apparatus function of the embodiment of the invention one;
Fig. 2 is the composition structural representation according to the TTCN2 module of the embodiment of the invention one;
Fig. 3 is the interacting message figure of the semi-automatic test of function of collecting the digits in the speech apparatus function test according to the embodiment of the invention one;
Fig. 4 is the composition structural representation according to the TTCN2 module of the embodiment of the invention two;
Fig. 5 is the environment networking diagram according to the full-automatic test of speech apparatus function of the embodiment of the invention three;
Fig. 6 is the interacting message figure of the full-automatic test of function of collecting the digits in the speech apparatus function test according to the embodiment of the invention three.
Embodiment
In order to make advantages and features of the invention clearer, in conjunction with specific embodiments the present invention is described in further detail again below with reference to accompanying drawing.
The purpose of telecommunication voice equipment is for voice resource being provided to telecommunications network, realizing value-added service and intelligent network business.The external interface of this kind equipment generally comprises three parts:
Signaling interface: telecommunication voice equipment carries out the mutual of signaling message by signaling interface and external equipment, and signaling generally adopts Signaling System Number 7, as the basic messae driving of telecommunication voice equipment;
Speech interface: telecommunication voice equipment generally adopts the E1 trunk line to link to each other with external equipment, receives and provide voice resource;
Business interface: telecommunication voice equipment carries out the mutual of service message by business interface and external equipment, realize various business in order to control telecommunication voice equipment, the general message interface that adopts based on transmission control protocol (TCP, Transmission Control Protocol).
For signaling interface, the present invention considers it is the operation of the mutual aspect of signaling message, the protocol test instrument tree that can adopt international standards to stipulate and the combination representation-2 (TTCN2 of table, Tree andTabular Combined Notation-2) simulates signaling message, realize protocol test and the required message-driven of speech apparatus function test by telecommunication voice equipment signaling interface; For business interface, the TTCN2 that also can adopt international standards simulates service message by telecommunication voice appliance services interface, for fear of in test process, constantly revising service scenario according to content measurement, can also write the required service message of all tests according to TTCN2, in order to telecommunication voice equipment is carried out business control; And for speech interface, the present invention adopts two kinds of schemes, and a kind of scheme is that telephone set is connected on the speech interface by test adapter, manually sends test tone by the telephone set dialing, and then judge whether retractable sound etc. is correct, with this phonetic function that realizes semi-automation test; Another kind of scheme is that dedicated voice testing of equipment instrument is connected on the speech interface of tested speech ciphering equipment, and the test tone that simulation manually sends by telephone set to carry out the test of functions such as retractable sound, is realized full-automatic phonetic function test.
Main thought of the present invention is: utilize the TTCN2 module simulation to test required signaling message of tested speech ciphering equipment and service message, mask the true environment of the tested speech ciphering equipment of test, send test tone by control test tone analog module to tested speech ciphering equipment, tested speech ciphering equipment is tested.
Below, in conjunction with the embodiments one, embodiment two and embodiment three describe semi-automatic and full-automatic these two kinds of phonetic function testing schemes respectively.Wherein, embodiment one is semi-automatic testing scheme, need judge by system whether test is correct by the tester by telephone set input test sound; Whether embodiment two also is the automatic test scheme, correct by telephone set input test sound and judgement test by the tester; Embodiment three is full-automatic testing schemes, is controlled the input test sound automatically and is judged whether test is correct by system.
Embodiment one
At first, referring to Fig. 1, Fig. 2 and Fig. 3, the semi-automatic scheme of speech apparatus function test is described.
Referring to Fig. 1, Fig. 1 shows the environment networking diagram according to the semi-automatic test of speech apparatus function of the embodiment of the invention one.As can see from Figure 1, realize that the semi-automatic system that tests of speech apparatus function comprises TTCN2 module, tested speech ciphering equipment and test tone analog module.
The TTCN2 module links to each other with the test tone analog module with tested speech ciphering equipment, is used for the tested speech ciphering equipment of simulation test required signaling message and service message, and tested speech ciphering equipment is tested; Referring to Fig. 2, the TTCN2 module comprises signaling message analogue unit, service message analogue unit and comparison judgment unit.
The signaling message analogue unit links to each other with the signaling interface of tested speech ciphering equipment, be used for sending the required signaling message of writing according to TTCN2 of test to tested speech ciphering equipment, carry out the mutual of signaling message with tested speech ciphering equipment, for the test of tested speech ciphering equipment is prepared.
The service message analogue unit links to each other with the test tone analog module with the business interface of tested speech ciphering equipment, be used for sending the required service message of test to tested speech ciphering equipment, carry out the mutual of service message with tested speech ciphering equipment, and control test tone analog module sends test tone to tested speech ciphering equipment.The difference of the service message of being simulated according to the service message analogue unit, the service message analogue unit can comprise tested speech ciphering equipment service message analog submodule unit and test tone analog module control sub unit, tested speech ciphering equipment service message analog submodule unit is used for carrying out the mutual of service message with tested speech ciphering equipment, and test tone analog module control sub unit is used to control the test tone analog module to tested speech ciphering equipment transmission test tone.
Comparison judgment unit, link to each other with the service message analogue unit, particularly, can be connected to the tested speech ciphering equipment service message analog submodule unit in the service message analogue unit, be used to receive the response results of the tested speech ciphering equipment of tested speech ciphering equipment service message analog submodule unit transmission, and judge whether this response results is consistent with predefined result test tone.Generally, preserve the correct result of tested speech ciphering equipment test case in the comparison judgment unit in advance, test tone is responded and response results is sent to the service message analogue unit at tested speech ciphering equipment, the service message analogue unit is after being sent to comparison judgment unit with response results, comparison judgment unit compares the response results that predefined result and tested speech ciphering equipment send, judge that whether the two is consistent, determines whether the phonetic function of tested speech ciphering equipment is normal.
The TTCN2 module can further include output unit, and output unit links to each other with comparison judgment unit, is used to export the judged result of comparison judgment unit.
The TTCN2 module can be arranged in the computer, is carried out by computer.At this moment, can communicate in order to make based on the computer of TCP/IP host-host protocol and tested speech ciphering equipment based on Signaling System Number 7, also need between the computer at TTCN2 module place and tested speech ciphering equipment, adapter be set, this adapter can be the signaling adapter, the ICP/IP protocol that its effect is supported computer exactly converts the Signaling System Number 7 that tested speech ciphering equipment is supported to, so that the two communicates.
In the present embodiment, the test tone analog module comprises test adapter and telephone set, owing to do not build real test environment, the speech interface of tested speech ciphering equipment and the interface of telephone set are not complementary, so between telephone set and tested speech ciphering equipment, test adapter is set, telephone set links to each other with the speech interface of tested speech ciphering equipment by test adapter, be used for sending test tone to tested speech ciphering equipment, in addition, tested speech ciphering equipment also may link to each other with many telephone sets, for example in Fig. 1, tested speech ciphering equipment links to each other with three telephone sets, in the test process of this situation, telephone set sends the circuit time slot of audio signal and the time slot of tested speech ciphering equipment reception must mate, so the effect of test adapter also is included under the control of the test tone analog module control sub unit in the service message analogue unit dynamically the telephone set that sends audio signal is snapped on the E1 time slot that tested speech ciphering equipment matches, general telecommunications switch can both be realized this function, and for example the CC08 switch of Huawei just can adopt semipermanent ways of connecting to realize this function.
Utilize the process of the tested speech ciphering equipment of TTCN2 module testing as follows: the signaling message analogue unit of TTCN2 module sends the required signaling message of writing according to TTCN2 of test to tested speech ciphering equipment, carry out the mutual of signaling message with tested speech ciphering equipment, needs according to test case, tested speech ciphering equipment service message analog submodule unit in the service message analogue unit sends the service message of writing according to TTCN2 to tested speech ciphering equipment, carry out the mutual of service message with tested speech ciphering equipment, drive the state that tested speech ciphering equipment enters the acceptance test sound, and the test tone analog module control sub unit in service message analogue unit control test adapter dynamically snaps into telephone set on the E1 time slot that tested speech ciphering equipment matches, the tester sends test tone by dialing on telephone set, tested speech ciphering equipment is made to answering according to the test tone of receiving, and response results is reported tested speech ciphering equipment service message analog submodule unit in the service message analogue unit of TTCN2 module, tested speech ciphering equipment service message analog submodule unit sends to comparison judgment unit with the result again, whether response of making and the actual response that should make of preserving in advance compare comparison judgment unit to tested speech ciphering equipment, correct to judge test.
Below, referring to Fig. 3, be the message interaction process that example is described semi-automatic testing scheme with the function that collects the digits of testing tested speech ciphering equipment.Fig. 3 illustrates the message interaction process according to the semi-automatic test of function that collects the digits of the embodiment of the invention one.In Fig. 3, link to each other with tested speech ciphering equipment and simulate by the signaling message analogue unit of TTCN2 module by signaling interface, link to each other with tested speech ciphering equipment and simulate to the service message analogue unit that tested speech ciphering equipment sends the business device employing TTCN2 module of service message by business interface to the PSTN that tested speech ciphering equipment sends signaling message.The signaling message analogue unit of TTCN2 module and service message analogue unit drive tested speech ciphering equipment and enter conversation, Number Receiving Status.The tester only produces audio analog signals at speech phase according to manual several numbers of dialing of the needs of test case, audio analog signals carries out analog/digital conversion through test adapter, convert digital signal to, tested speech ciphering equipment receiving digital signals, and it is reduced into the comparison judgment unit that telephone number reports the TTCN2 module, the comparison judgment unit of TTCN2 module judge collect the digits whether correct, thereby finish the collect the digits test of function of speech ciphering equipment.The semi-automatic test process and the step of the function that collects the digits are as follows:
Step 301-step 305: set up and call out.The signaling message analogue unit simulation PSTN of TTCN2 module sends initial address message (IAM) to tested speech ciphering equipment, after tested speech ciphering equipment is received this message, message SP_Setup is sent to the service message analogue unit of TTCN2 module, the service message analogue unit is handled this message, acknowledge message SP_SetupAck of tested speech ciphering equipment and called terminal ringing message SP_Alerting are given in loopback then, tested speech ciphering equipment sends Address Complete Message (ACM) to the signaling message analogue unit of TTCN2 module, and to the service message analogue unit of the TTCN2 module SP_Notify that sends a notification message.The service message analogue unit of TTCN2 module issues response message SP_Answer to tested speech ciphering equipment then, after tested speech ciphering equipment is received response message, return acknowledge message SP_AnswerAck, and send response message (ANC) to the signaling message analogue unit of TTCN2 module, more than whole process all come by in the TTCN2 module, writing the TTCN2 script that PSTN and business platform handle under the simulates real actual measurement test ring border.Mutual by top these message, tested speech ciphering equipment is ready can to have collected the digits.
Step 306-step 307: conversation.After step 301-step 305, tested speech ciphering equipment has entered normal speech phase.In the comparison judgment unit of TTCN2 module, can preserve the content measurement of needs test, correct test result in advance according to the needs of test case.The service message analogue unit of TTCN2 module issues to tested speech ciphering equipment and begins to collect the digits message SP_DigitCollect, tested speech ciphering equipment enters Number Receiving Status, at this moment the tester dials on telephone set according to test case is manual, for example, test case need dial 1, the tester is by the 1 transmission test tone of dialling the number on telephone set so, the audio analog signals that dialing 1 produces converts digital signal to by test adapter, speech interface by tested speech ciphering equipment is sent in the tested speech ciphering equipment then, tested speech ciphering equipment is reduced into telephone number with the digital signal that receives, report the comparison judgment unit of TTCN2 module by message SP_DigitResult, whether the telephone number that comparison judgment unit should be received telephone number that comprises among the message SP_DigitResult and the tested speech ciphering equipment of preserving in advance compares, correct to confirm test.
In general, the TTCN2 module can be arranged in the computer, and at this moment, test result can perhaps be exported by other audio output device by the screen output of computer.
Step 308: terminated call.After the functional test that collects the digits finishes, the TTCN2 module professional control messages analogue unit issue the message SP_Release that discharges conversation, tested speech ciphering equipment is removed conversation, EOT.
Can see from above step, because it itself is exactly the protocol test instrument TTCN2 of international standard regulation that the TTCN2 module has adopted, so can be from equipment such as signaling and professional simulation PSTN, SSP, CTI, do not need to build real test environment, thereby simplified test environment greatly, saved equipment investment, reduced building the time of test environment, improved testing efficiency, only need just can realize in the test process that the collect the digits semi-automation of function is tested to tested speech ciphering equipment by tester's simple dialing.In addition, can also in the TTCN2 module, write the TTCN2 script of other phonetic function of test, test other phonetic function once, for example function such as playback, recording.
Embodiment two
Referring to Fig. 4, another composition structural representation of the TTCN2 module in the semi-automatic speech apparatus function test scheme is described.Fig. 4 illustrates the composition structural representation according to the TTCN2 module of present embodiment.In the present embodiment, the environment networking of the semi-automatic test of speech apparatus function and test process and embodiment one are similar, difference is not to be to judge test result by the comparison judge module of TTCN2 module, but judge by tester oneself whether test is correct, at this moment, referring to Fig. 4, the TTCN2 module can not comprise comparison judgment unit, output unit directly links to each other with the service message analogue unit of TTCN2 module, particularly, can be connected to the tested speech ciphering equipment service message analog submodule unit in the service message analogue unit, be used for receiving response results that tested speech ciphering equipment reports and with its output from tested speech ciphering equipment service message analog submodule unit, whether the response results of being judged output by the tester is consistent with own test tone by the telephone set input, thereby can finish test.TTCN2 generally can carry out by computer, and at this moment, the test result that tested speech ciphering equipment reports can be by computer screen or audio output device output, so the tester just can judge by seeing screen or listening whether test is correct.
Embodiment three
Below, referring to Fig. 5 and Fig. 6, the full-automatic scheme of speech apparatus function test is described.
Referring to Fig. 5, Fig. 5 shows the environment networking diagram according to the full-automatic test of speech apparatus function of the embodiment of the invention three.As can see from Figure 5, described similar to embodiment one, realize that the system of the full-automatic test of speech apparatus function also comprises TTCN2 module, tested speech ciphering equipment and test tone analog module, different is, in the present embodiment, the test tone analog module is the speech ciphering equipment testing tool.
Similar with embodiment one, the TTCN2 module links to each other with test tone analog module speech ciphering equipment testing tool with tested speech ciphering equipment, is used for tested speech ciphering equipment is tested.Similarly, the TTCN2 module also comprises signaling message analogue unit, service message analogue unit and comparison judgment unit.The service message analogue unit can comprise tested speech ciphering equipment service message analog submodule unit and test tone analog module control sub unit, different with embodiment one is, test tone analog module control sub unit is used for transmitting control message to the speech ciphering equipment testing tool in the present embodiment, and control speech ciphering equipment testing tool sends test tone to tested speech ciphering equipment.Other unit of TTCN2 module and to utilize the TTCN2 module to carry out testing principle identical with embodiment one with process repeats no more here.
The speech ciphering equipment testing tool links to each other with tested speech ciphering equipment by the speech interface of tested speech ciphering equipment, is used for sending to tested speech ciphering equipment under the control of TTCN2 module the test tone of tested speech functions of the equipments.The effect of speech ciphering equipment testing tool is similar to the telephone set among the embodiment one, only produce test tone, but the broadcast voice functions that is had by speech ciphering equipment testing tool itself realizes under the control of test tone analog module control sub unit without the manual dial.The speech ciphering equipment testing tool can adopt special-purpose instrument, for example the dedicated voice testing of equipment instrument of U.S. Ameritec company production.In addition, also can directly adopt the speech ciphering equipment identical, because tested speech ciphering equipment itself has phonetic function with tested speech ciphering equipment, can play voice, thus only need utilize the broadcast voice functions, by the TTCN2 module controls, play voice, produce test tone.
Below, referring to Fig. 6, be example with the functional test that collects the digits of tested speech ciphering equipment, the message interaction process of full-automatic testing scheme is described.Fig. 6 is the interacting message figure of the full-automatic test of function of collecting the digits in the speech apparatus function test according to the embodiment of the invention three.In Fig. 6, the signaling message analogue unit of TTCN2 module simulation PSTN, service message analogue unit simulation related service apparatus drives tested speech ciphering equipment and enters conversation, Number Receiving Status.The speech ciphering equipment testing tool is only play dual-tone multifrequency (DTMF under the control of the service message analogue unit of TTCN2 module after entering speech phase, Dual ToneMulti-Frequency) voice, the number that the simulation test personnel produce by the telephone set dialing, particularly, the collect the digits full-automatic test process and the step of function is as follows:
Step 601-step 605: set up and call out.The signaling message analogue unit simulation PSTN of TTCN2 module sends initial address message (IAM) to tested speech ciphering equipment, after tested speech ciphering equipment is received this message, send the service message analogue unit of message SP_Setup to the TTCN2 module, the service message analogue unit is handled this message, and acknowledge message SP_SetupAck of tested speech ciphering equipment and called terminal ringing message SP_Altering are given in loopback.Tested then speech ciphering equipment sends Address Complete Message (ACM) to the signaling message analogue unit of TTCN2 module, and to the service message analogue unit module of the TTCN2 SP_Notify that sends a notification message.Subsequently, the service message analogue unit of TTCN2 module issues response message SP_Answer to tested speech ciphering equipment, after tested speech ciphering equipment is received response message, to the service message analogue unit loopback acknowledge message SP_AnswerAck of TTCN2 module, and to the signaling message analogue unit return response message (ANC) of TTCN2 module.More than be call establishment stage, be for the test that realizes collecting the digits the signaling message that must do and the preparation of service message.
Step 606-step 610: conversation.At this moment tested speech ciphering equipment has entered normal speech phase, and the service message analogue unit of TTCN2 module issues to tested speech ciphering equipment and begins to collect the digits message SP_DigitCollect, and tested speech ciphering equipment enters Number Receiving Status.At this moment, the test tone analog module control sub unit of TTCN2 module issues the message PlayDTMF that plays the DTMF voice to the speech ciphering equipment testing tool, the speech ciphering equipment testing tool sends to test tone analog module control sub unit and plays acknowledge message PlayDTMFAck, tested speech ciphering equipment receives the voice that the speech ciphering equipment testing tool is play by speech interface, signal through the test adapter conversion among these voice and the embodiment one is the signal of same kind, after tested speech ciphering equipment is received this signal, can convert it into telephone number, the speech ciphering equipment testing tool sends message Play_End to the test tone analog module control sub unit of TTCN2 module, play and receive, tested speech ciphering equipment reports the telephone number of reduction by message SP_DigitResult the comparison judgment unit of TTCN2 module.
The comparison judgment unit of TTCN2 module is preserved content measurement and test result in advance according to test case, that is to say, the comparison judgment unit of TTCN2 module is preserved the telephone number of the concrete audio signal correspondence of playing of speech ciphering equipment testing tool in advance, so the comparison judgment unit of TTCN2 module is as long as the telephone number that telephone number that will be preserved and tested speech ciphering equipment report compares, if both unanimities, illustrate to collect the digits correctly mistake otherwise explanation collects the digits.So just realized the collect the digits test of function of tested speech ciphering equipment.For example, the comparison judgment unit of TTCN2 module is preserved telephone number 1 in advance, treat that tested speech ciphering equipment collects the digits and finish and after the result that will collect the digits reports comparison judgment unit, whether 1 compare that result that comparison judgment unit reports tested speech ciphering equipment and comparison judgment unit are preserved in advance, it is consistent to determine to collect the digits.
In addition, in test process, should be noted that the cooperation of tested speech ciphering equipment and speech ciphering equipment testing tool both sides circuit time slot, i.e. both sides playback, the necessary unanimity of the time slot that collects the digits.Because both sides all are subjected to the control of TTCN2 module, so the signaling message analogue unit that only needs the TTCN2 module is with cic circuit identification code (CIC in IAM message when making a call, Circuit Identification Code), notify test tone analog module control sub unit then, test tone analog module control sub unit notice speech ciphering equipment testing tool has broadcast DTMF voice on the circuit of this CIC, can guarantee the time slot unanimity on both sides.
Step 611: terminated call.After the functional test that collects the digits finished, comparison judgment unit triggered the service message analogue unit and issues the message SP_Release that discharges conversation, and tested speech ciphering equipment is removed conversation, EOT.
Can see from above step, the present invention does not need real test environment, signaling message analogue unit that only need be by the TTCN2 module and service message analogue unit be collect the digits function required signaling message and service message of the tested speech ciphering equipment of simulation test respectively, and the comparison judgment unit by the TTCN2 module compares and judges and just can realize that the collect the digits full-automation of function is tested to tested speech ciphering equipment.In addition, can also in the TTCN2 module, write the TTCN2 script of other phonetic function of test, test other phonetic function once, for example function such as playback, recording.
More than three embodiment be example only with the functional test that collects the digits of tested speech ciphering equipment, the process and the step of phonetic function test have been described, yet, method provided by the present invention all is suitable for for other phonetic function test of speech ciphering equipment, and use the TTCN2 agreement can disposablely write all signaling messages and business, on the tested speech ciphering equipment of a cover, test multiple business and multiple phonetic function simultaneously, thereby reach the purpose that test script is reused, constantly change the problem of service scenario when also having avoided the manual testing according to the needs of test case.
Can see from the description of top three embodiment, the present invention is exactly by adopting the TTCN2 module simulation by the signaling interface of telecommunication voice equipment, the control messages of business interface, shield real test environment, not only realize test automation but also save test resource and cost.
The above is preferred embodiment of the present invention only, is not in order to limit protection scope of the present invention.

Claims (18)

1, a kind of system that realizes speech apparatus function test comprises tested speech ciphering equipment, is used for the acceptance test sound, generation is characterized in that to the response results of test tone this system also comprises the combination representation-2 TTCN2 module and the test tone analog module of tree and table, wherein
The TTCN2 module links to each other with the test tone analog module with tested speech ciphering equipment, be used for the tested speech ciphering equipment of simulation test required signaling message and service message, and control test tone analog module sends test tone to tested speech ciphering equipment, by judging that whether tested speech ciphering equipment is consistent with predefined result to the response results of test tone, determines whether the phonetic function of tested speech ciphering equipment is normal;
The test tone analog module links to each other with tested speech ciphering equipment by the speech interface of tested speech ciphering equipment, is used for sending test tone to tested speech ciphering equipment under the control of TTCN2 module.
2, system according to claim 1 is characterized in that, described TTCN2 module comprises signaling message analogue unit, service message analogue unit and comparison judgment unit, wherein,
The signaling message analogue unit is used for the required signaling message of writing according to TTCN2 of the tested speech ciphering equipment of simulation test, carries out the mutual of signaling message with tested speech ciphering equipment;
The service message analogue unit is used for the required service message of writing according to TTCN2 of the tested speech ciphering equipment of simulation test, carries out the mutual of service message with tested speech ciphering equipment, and control test tone analog module sends test tone to tested speech ciphering equipment;
Comparison judgment unit is used to judge whether tested speech ciphering equipment is consistent with predefined result to the response results of test tone, determines whether the phonetic function of tested speech ciphering equipment is normal.
3, system according to claim 2 is characterized in that, described TTCN2 module further comprises:
Output unit is used to export the judged result of comparison judgment unit.
4, system according to claim 2 is characterized in that, described service message analogue unit comprises tested speech ciphering equipment service message analog submodule unit and test tone analog module control sub unit, wherein,
Tested speech ciphering equipment service message analog submodule unit is used for the required service message of writing according to TTCN2 of the tested speech ciphering equipment of simulation test, carries out the mutual of service message with tested speech ciphering equipment;
Test tone analog module control sub unit is used to control the test tone analog module and sends test tone to tested speech ciphering equipment.
According to claim 1,2,3 or 4 described systems, it is characterized in that 5, described test tone analog module comprises telephone set and test adapter, wherein,
Telephone set links to each other with tested speech ciphering equipment by test adapter, and described TTCN2 module links to each other with test adapter, is used to control telephone set that test adapter dynamically will send test tone and is connected to time slot with the speech interface coupling of tested speech ciphering equipment.
6, system according to claim 5 is characterized in that, described test adapter is a telecommunications switch.
According to claim 1,2,3 or 4 described systems, it is characterized in that 7, described test tone analog module is a dedicated voice testing of equipment instrument, wherein,
Dedicated voice testing of equipment instrument links to each other with the TTCN2 module, is used under the control of TTCN2 module analog telephone and sends test tone to tested speech ciphering equipment.
According to claim 1,2,3 or 4 described systems, it is characterized in that 8, described test tone analog module is the speech ciphering equipment identical with tested speech ciphering equipment, wherein,
Speech ciphering equipment links to each other with the TTCN2 module, is used under the control of TTCN2 module analog telephone and sends test tone to tested speech ciphering equipment.
9, according to claim 1,2,3 or 4 described systems, it is characterized in that, described TTCN2 module is arranged in the computer, carry out by computer, this system further comprises adapter, be connected between the computer and tested speech ciphering equipment that the TTCN2 module is set, the transmission control protocol TCP/ Internet protocol IP that is used for computer is supported converts the Signaling System Number 7 that tested speech ciphering equipment is supported to.
10, a kind of system that realizes speech apparatus function test comprises tested speech ciphering equipment, is used for the acceptance test sound, generates the response results to test tone, it is characterized in that this system also comprises TTCN2 module and test tone analog module, wherein,
The TTCN2 module links to each other with the test tone analog module with tested speech ciphering equipment, be used for the tested speech ciphering equipment of simulation test required signaling message and service message, control test tone analog module dynamically is connected on the tested speech ciphering equipment, receives and export the response results of tested speech ciphering equipment to test tone;
The test tone analog module links to each other with tested speech ciphering equipment by the speech interface of tested speech ciphering equipment, is used for sending test tone to tested speech ciphering equipment.
11, system according to claim 10 is characterized in that, described test tone analog module comprises telephone set and test adapter, wherein,
Telephone set links to each other with tested speech ciphering equipment by test adapter, and described TTCN2 module links to each other with test adapter, is used to control telephone set that test adapter dynamically will send test tone and is connected to time slot with the speech interface coupling of tested speech ciphering equipment.
12, system according to claim 11 is characterized in that, described test adapter is a telecommunications switch.
According to claim 10 or 11 described systems, it is characterized in that 13, described TTCN2 module comprises signaling message analogue unit, service message analogue unit and output unit, wherein,
The signaling message analogue unit is used for the required signaling message of writing according to TTCN2 of the tested speech ciphering equipment of simulation test, carries out the mutual of signaling message with tested speech ciphering equipment;
The service message analogue unit is used for the required service message of writing according to TTCN2 of the tested speech ciphering equipment of simulation test, carries out the mutual of service message with tested speech ciphering equipment;
Output unit links to each other with the service message analogue unit, is used to export the response results to test tone that tested speech ciphering equipment reports.
14, system according to claim 13 is characterized in that, described service message analogue unit comprises tested speech ciphering equipment service message analog submodule unit and test tone analog module control sub unit, wherein,
Tested speech ciphering equipment service message analog submodule unit is used for the required service message of writing according to TTCN2 of the tested speech ciphering equipment of simulation test, carries out the mutual of service message with tested speech ciphering equipment;
Test tone analog module control sub unit is used to control the test tone analog module and dynamically is connected to tested speech ciphering equipment.
15, a kind of method that realizes speech apparatus function test is characterized in that, this method comprises the steps:
A, send the required control messages of writing according to TTCN2 of the tested speech ciphering equipment of test, drive tested speech ciphering equipment and enter acceptance test sound state;
B, send test tone to tested speech ciphering equipment, test tone is made response during tested speech ciphering equipment;
C, judge whether the response results of tested speech ciphering equipment is consistent with predefined result, determine whether the phonetic function of tested speech ciphering equipment is normal.
16, method according to claim 15 is characterized in that, sends test tone to tested speech ciphering equipment described in the step B, comprising:
The dedicated voice testing of equipment instrument that the message that transmission is write according to TTCN2, control are connected on the tested speech ciphering equipment sends test tone to tested speech ciphering equipment.
17, method according to claim 15 is characterized in that, sends test tone to tested speech ciphering equipment described in the step B, comprising:
The speech ciphering equipment identical with tested speech ciphering equipment that the message that transmission is write according to TTCN2, control are connected on the tested speech ciphering equipment sends test tone to tested speech ciphering equipment.
18, method according to claim 15 is characterized in that, sends test tone to tested speech ciphering equipment described in the step B, comprising:
Send test tone via test adapter to tested speech ciphering equipment by telephone set.
CN2006100727295A 2006-04-06 2006-04-06 System and method for realizing speech apparatus function test Expired - Fee Related CN1984171B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2006100727295A CN1984171B (en) 2006-04-06 2006-04-06 System and method for realizing speech apparatus function test

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2006100727295A CN1984171B (en) 2006-04-06 2006-04-06 System and method for realizing speech apparatus function test

Publications (2)

Publication Number Publication Date
CN1984171A true CN1984171A (en) 2007-06-20
CN1984171B CN1984171B (en) 2011-04-13

Family

ID=38166390

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2006100727295A Expired - Fee Related CN1984171B (en) 2006-04-06 2006-04-06 System and method for realizing speech apparatus function test

Country Status (1)

Country Link
CN (1) CN1984171B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102790705A (en) * 2012-07-24 2012-11-21 大唐移动通信设备有限公司 Service test system and method, signaling analysis system and method
CN107680613A (en) * 2017-08-13 2018-02-09 惠州市德赛西威汽车电子股份有限公司 A kind of voice-operated device speech recognition capabilities method of testing and equipment
CN110401577A (en) * 2019-04-18 2019-11-01 广州市高科通信技术股份有限公司 A kind of voice exchange automatic test approach, electronic equipment, storage medium and system
CN110871909A (en) * 2018-08-29 2020-03-10 空中客车德国运营有限责任公司 Test module, system and method for aircraft and aircraft
CN111175601A (en) * 2020-01-03 2020-05-19 云南电网有限责任公司电力科学研究院 Modular functional test system

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102665012B (en) * 2012-05-02 2015-07-08 江苏南大数码科技有限公司 Device for automatically inspecting remote call voice inquiry platform failure
CN107809546B (en) * 2017-11-08 2019-11-22 上海移远通信技术股份有限公司 The audio test system and method for communication module

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100403264C (en) * 2001-11-07 2008-07-16 华为技术有限公司 TTCN test example executing method
CN1306755C (en) * 2003-01-16 2007-03-21 华为技术有限公司 Service testing device and method
CN100464538C (en) * 2003-05-21 2009-02-25 华为技术有限公司 Method and apparatus for automatic testing media gateway
CN100499513C (en) * 2003-09-07 2009-06-10 中兴通讯股份有限公司 Telecommunication value-added service integrated measuring system and measuring method thereof
WO2005125037A1 (en) * 2004-06-14 2005-12-29 Tollgrade Communications, Inc. Voice over internet protocol (voip) quality testing over hybrid fiber/coax (hfc) network
US20060034185A1 (en) * 2004-07-08 2006-02-16 Patzschke Till I Systems and methods for monitoring and evaluating a connectivity device

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102790705A (en) * 2012-07-24 2012-11-21 大唐移动通信设备有限公司 Service test system and method, signaling analysis system and method
CN107680613A (en) * 2017-08-13 2018-02-09 惠州市德赛西威汽车电子股份有限公司 A kind of voice-operated device speech recognition capabilities method of testing and equipment
CN110871909A (en) * 2018-08-29 2020-03-10 空中客车德国运营有限责任公司 Test module, system and method for aircraft and aircraft
US11601688B2 (en) 2018-08-29 2023-03-07 Airbus Operations Gmbh Automated self-test of cabin loudspeakers
CN110871909B (en) * 2018-08-29 2023-04-07 空中客车德国运营有限责任公司 Test module, system and method for aircraft and aircraft
CN110401577A (en) * 2019-04-18 2019-11-01 广州市高科通信技术股份有限公司 A kind of voice exchange automatic test approach, electronic equipment, storage medium and system
CN111175601A (en) * 2020-01-03 2020-05-19 云南电网有限责任公司电力科学研究院 Modular functional test system

Also Published As

Publication number Publication date
CN1984171B (en) 2011-04-13

Similar Documents

Publication Publication Date Title
CN1984171B (en) System and method for realizing speech apparatus function test
US5940472A (en) Intelligent services network test system
JP2630070B2 (en) Subscriber pseudo call device
US6914962B2 (en) Call-flow verification method and apparatus
US5463670A (en) Testing of communication services and circuits
CN102333163B (en) External auxiliary testing apparatus, and testing system thereof and method thereof
CN102571196B (en) Emulation module, ONU equipment and communication failure diagnostic method
US5875397A (en) Communications system and method for testing of a communications apparatus
CN101610428B (en) Digital exchange test system, digital exchange and computer
CN106878570A (en) A kind of speech business method of testing and system
WO2005055574A1 (en) Simulate usercalling's test system and method which built-in digital spc-exchange
CN1135027C (en) Communications system and method for testing of communications apparatus
CN101159773A (en) A auto-dial testing system, device and method thereof
CN109275051B (en) ONU voice function detection method and system
CN113595826A (en) Method for single-voice-port PON gateway equipment to carry out single-equipment voice production test
CN101521864A (en) Method and device for realizing calling intelligent forwarding
CN100542196C (en) The method and system that a kind of toll operator of realization inserts
CN105812589B (en) Home gateway voice hardware diagnostic system and method
CN101163267B (en) Service tone audition method and system
CN106331384A (en) Media channel test method and device
JP2007027953A (en) Method for testing connection of ip telephone
CN100461680C (en) Display system and method for incoming telephone number for digital program controlled user exchanger
CN101022368A (en) Telecommunication network test method and system
US20020091508A1 (en) Emulating exchange for multiple servers
JP3142040B2 (en) ISDN terminal equipment

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
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20110413

Termination date: 20150406

EXPY Termination of patent right or utility model