CN102201877A - Method and apparatus for testing air interface of TTCN (Testing and Test Control Notation)-3-based digital interphone - Google Patents

Method and apparatus for testing air interface of TTCN (Testing and Test Control Notation)-3-based digital interphone Download PDF

Info

Publication number
CN102201877A
CN102201877A CN2011101256596A CN201110125659A CN102201877A CN 102201877 A CN102201877 A CN 102201877A CN 2011101256596 A CN2011101256596 A CN 2011101256596A CN 201110125659 A CN201110125659 A CN 201110125659A CN 102201877 A CN102201877 A CN 102201877A
Authority
CN
China
Prior art keywords
test
module
ttcn
testing
control module
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
CN2011101256596A
Other languages
Chinese (zh)
Other versions
CN102201877B (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.)
CRSC Communication and Information Group Shanghai Co Ltd
Original Assignee
CRSC Shanghai Rail Transportation 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 CRSC Shanghai Rail Transportation Technologies Co Ltd filed Critical CRSC Shanghai Rail Transportation Technologies Co Ltd
Priority to CN2011101256596A priority Critical patent/CN102201877B/en
Publication of CN102201877A publication Critical patent/CN102201877A/en
Application granted granted Critical
Publication of CN102201877B publication Critical patent/CN102201877B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The invention relates to a method and apparatus for testing an air interface of a TTCN (Testing and Test Control Notation)-3-based digital interphone. The method comprises the steps of: (1) initializing: starting a main control module and creating two parallel testing modules, i.e., a terminal simulating module and a tested terminal setting module; (2) respectively operating the two parallel testing modules: firstly, conducting handshake communication with the main control module to enable the main control module to master the operating modes of the two parallel testing modules in time, judging whether the two parallel testing modules have abnormality or not, and executing step (3) if both of the two parallel testing modules are normal, ending the test if the two parallel testing modules are abnormal; and (3) controlling a tested terminal through the tested terminal setting module to set parameters or conducting the step of setting the parameters and the like directly on the tested terminal. The apparatus comprises a universal PC (Personal Computer), a radio frequency module and the tested terminal, wherein the universal PC comprises a TTCN-3 testing script and a system interface. Compared with the prior art, the invention has the advantages of comprehensive test, good universal performance, low cost, simplicity in deployment and the like.

Description

A kind of digital handset air interface method of testing and device based on TTCN-3
Technical field
The present invention relates to a kind of digital handset air interface field tests, especially relate to a kind of digital handset air interface method of testing and device based on TTCN-3.
Background technology
Digital handset has many advantages, at first is efficiently to utilize frequency spectrum resource better, and digital handset can load more users on a channel appointed, improves the availability of frequency spectrum, is a kind of scheme that solves frequency congestion, has long-range meaning.Next is to improve speech quality, because digital communication technology has system's behave function, compares with the simulation intercom, can realize better voice quality in a wider general signal environment, and the audio-frequency noise that receives can be still less, and sound is also more clear.Be that raising and improvement voice-and-data are integrated then, change control signal and increase the weakness that reduces with distance, compare with the voice and the data system of similar integrated simulation, digital handset can provide better data processing and interface function, can be integrated in the same two-way wireless communication architecture of base station thereby more data is used.Based on above-mentioned three big characteristics, No. 666 gists of a document of Ministry of Industry and Information emphasize that China's simulation intercom will be progressively to digital handset development evolution, and the cry that is standardized in each expert and the enterprise of formulating the industry digital handset is also more and more higher.
At present, generally only limit to the test of radio-frequency (RF) index, if accomplish the full functionality test that communication system is required at the method for testing of digital handset, then need to customize the intercom comprehensive tester, the comprehensive tester device fabrication cycle is long, and the expense costliness, does not also have versatility.
Summary of the invention
Purpose of the present invention be exactly provide a kind of in order to overcome the defective that above-mentioned prior art exists and test comprehensively, versatility is good, cost is low, dispose simply digital handset air interface method of testing and device based on TTCN-3.
Purpose of the present invention can be achieved through the following technical solutions:
A kind of digital handset air interface method of testing based on TTCN-3 is characterized in that, comprises following step:
1) carry out initialization, comprise the startup of master control module and create two concurrent testing assemblies, one is the terminal emulation module, the 2nd, and dut terminal is provided with module;
2) two concurrent testing assemblies move respectively, at first carry out handshake communication with the master control module, allow the master control module in time grasp the running status of two concurrent testing assemblies, and judge whether two concurrent testing assemblies have unusually, and if the both is normal, execution in step 3), if, do not finish test;
3) dut terminal is provided with the module controls dut terminal and carries out the parameter setting, or directly in the enterprising line parameter setting of dut terminal;
4) terminal emulation module sends call request information;
5) call request information is sent to radio-frequency module through system interface, launches;
6) dut terminal is made correct response message according to the radiofrequency signal that receives this moment;
7) two concurrent testing assemblies carry out synchronism detection with the master control module respectively;
8) terminal emulation module is received after the message that system interface is returned judge whether return results meets expection, and if yes, test is passed through, if not, is tested and do not pass through;
9) terminal emulation module sends to the master control module with test result information, and the master control module stops all concurrent testing assemblies, stops the execution of this test case, the information that outputs test result and test process journal file.
Described radio-frequency module requires to launch call request information with the frequency of appointment according to frame structure.
Described synchronism detection is that terminal emulation module and dut terminal are provided with module respectively to master control module transmission synchronization request, and master control module responds synchronization request then is that this is subsynchronous effectively.
A kind of digital handset air interface testing apparatus based on TTCN-3 is characterized in that, comprises the general purpose PC, radio-frequency module, the dut terminal that contain TTCN-3 test script, system interface; PC carries out transfer of data by system interface and radio-frequency module, passes through the transmission of wireless signals data between dut terminal and the radio-frequency module.
The judge criterion that described TTCN-3 test script comprises the test condition explanation, test parameter configuration, test case data of test case, whether the definition and the test of test interface are passed through.
Described system interface is an adapter.
Compared with prior art, the present invention has the following advantages:
1) the whole test system build process is simple and easy to dispose, and saves testing cost, shortens the product development life cycle.
2) be complete digital handset functional test scheme.
3) test script is realized easily, can customize according to demand.
4) versatility is good, supports the digital handset functional test of all protocol types.
5) can guarantee the consistency of product function, improve the digital handset product quality.
6) can realize automatic test, save human resources, improve tester's operating efficiency.
7), also be a kind of means that the product conformity certification is identified for the digital handset standardization of products lays a good foundation.
Description of drawings
Fig. 1 is a flow chart of the present invention;
Fig. 2 is a hardware configuration schematic diagram of the present invention;
Fig. 3 is the structural representation of PC.
Embodiment
Embodiment
The present invention is made up of three parts: the one, comprise TTCN-3 test script, system interface at interior software runtime environment, and this running environment can be in the general purpose PC deploy; The 2nd, system emulation equipment is used for the instruction that the acceptance test script sends, and analyzes the reception data and finishes the radio-frequency transmissions function, and common radio frequency testing equipment all can dispose realization; The 3rd, tested digital handset terminal equipment.
The integrated testability system configuration comprises the general purpose PC 1, radio-frequency module 3, the dut terminal 2 that contain TTCN-3 test script 13, system interface 14, master control module 11, coding/decoding module 12 as shown in Figure 2; PC carries out transfer of data by system interface and radio-frequency module, passes through the transmission of wireless signals data between dut terminal and the radio-frequency module.TTCN (Testing and Test Control Notation) is a standard testing language that the whole world of being safeguarded by ETSI (EuropeanTelecommunications Standards Institute) is suitable for.In its nearest approved third generation standard, TTCN-3 be modern times and language flexibly, be used to describe the system testing of many types by interface widely.
Each several part realizes that function roughly is described below:
One: TTCN-3 operation translation and compiling environment is installed on the ordinary PC 1, the judge criterion that importing digital intercom test script, test script have comprised the test condition explanation, test parameter configuration, test case data of all test cases, whether the definition and the test of test interface are passed through.
Two: radio-frequency apparatus gets access to the data that need from the test adaptable interface, requires to launch with the frequency of appointment from radio-frequency module according to frame structure.
Three: measured number intercom terminal receives the wireless signal from this frequency, carries out correct response according to the call instruction in the wireless signal on frequency points corresponding.The result of response finally can be forwarded to the master control module by the interface of radio-frequency module, judges according to passing judgment on criterion whether this test function point passes through.Test case if test case is carried out failure, then needs the reason according to the failure of test process log tracks by thinking that then this function point realizes.
Fig. 1 is an example with the test case that is numbered TC_1403_02, and the digital handset call number is described " 1234567 " functional test.
Step 1: initialization
The master control module is created two concurrent testing assemblies after starting, and one is terminal emulation module 131, two, and dut terminal is provided with module 132; After establishment is finished, need to carry out between the port bindings.In case after port binding was finished, all test datas and configuration data all must be according to the port transmitting-receivings of appointment.
2: two concurrent testing assemblies of Step move respectively, at first need to carry out handshake communication with the master control module, allow the master control module in time grasp the running status of two parallel components, in case one of them state is undesired, then stop the follow-up test flow process.
Step 3: dut terminal is provided with the parameter setting of module 132 control dut terminals 2, allows early stage that dut terminal 2 is in the implementation of test cases appointment under the condition, and this step also can directly be provided with on dut terminal 2.
Step 4: terminal emulation module 131 sends call request, and call number is 1234567.
Step 5: call request information is sent to radio-frequency module 3 through system interface, launches.
Step 6: dut terminal can be made correct response according to the radiofrequency signal that receives 3 this moments.
Step 7: aforesaid operations does not have operation once, and two concurrent testing assemblies all need to carry out synchronously with the master control module, and master control module responds synchronization request thinks that this is subsynchronous effectively.
Step 8: terminal emulation module 131 is received after the message that system interface is returned, and judges that return results meets expection, thinks to test and passes through.
Step 9: terminal emulation module 131 sends to the master control module with test result information, and the master control module stops all concurrent testing modules, stops the execution of this test case, report that outputs test result and test process journal file.

Claims (6)

1. the digital handset air interface method of testing based on TTCN-3 is characterized in that, comprises following step:
1) carry out initialization, comprise the startup of master control module and create two concurrent testing assemblies, one is the terminal emulation module, the 2nd, and dut terminal is provided with module;
2) two concurrent testing assemblies move respectively, at first carry out handshake communication with the master control module, allow the master control module in time grasp the running status of two concurrent testing assemblies, and judge whether two concurrent testing assemblies have unusually, and if the both is normal, execution in step 3), if, do not finish test;
3) dut terminal is provided with the module controls dut terminal and carries out the parameter setting, or directly in the enterprising line parameter setting of dut terminal;
4) terminal emulation module sends call request information;
5) call request information is sent to radio-frequency module through system interface, launches;
6) dut terminal is made correct response message according to the radiofrequency signal that receives this moment;
7) two concurrent testing assemblies carry out synchronism detection with the master control module respectively;
8) terminal emulation module is received after the message that system interface is returned judge whether return results meets expection, and if yes, test is passed through, if not, is tested and do not pass through;
9) terminal emulation module sends to the master control module with test result information, and the master control module stops all concurrent testing assemblies, stops the execution of this test case, the information that outputs test result and test process journal file.
2. require described a kind of digital handset air interface method of testing based on TTCN-3 according to right 1, it is characterized in that, described radio-frequency module requires to launch call request information with the frequency of appointment according to frame structure.
3. require described a kind of digital handset air interface method of testing according to right 1 based on TTCN-3, it is characterized in that, described synchronism detection is that terminal emulation module and dut terminal are provided with module respectively to master control module transmission synchronization request, master control module responds synchronization request then is that this is subsynchronous effectively.
4. a device of implementing the described digital handset air interface method of testing based on TTCN-3 of claim 1 is characterized in that, comprises the general purpose PC, radio-frequency module, the dut terminal that contain TTCN-3 test script, system interface; PC carries out transfer of data by system interface and radio-frequency module, passes through the transmission of wireless signals data between dut terminal and the radio-frequency module.
5. require the device of described a kind of digital handset air interface method of testing based on TTCN-3 according to right 4, it is characterized in that the judge criterion that described TTCN-3 test script comprises the test condition explanation, test parameter configuration, test case data of test case, whether the definition and the test of test interface are passed through.
6. require the device of described a kind of digital handset air interface method of testing based on TTCN-3 according to right 4, it is characterized in that described system interface is an adapter.
CN2011101256596A 2011-05-16 2011-05-16 Method and apparatus for testing air interface of TTCN (Testing and Test Control Notation)-3-based digital interphone Active CN102201877B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2011101256596A CN102201877B (en) 2011-05-16 2011-05-16 Method and apparatus for testing air interface of TTCN (Testing and Test Control Notation)-3-based digital interphone

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011101256596A CN102201877B (en) 2011-05-16 2011-05-16 Method and apparatus for testing air interface of TTCN (Testing and Test Control Notation)-3-based digital interphone

Publications (2)

Publication Number Publication Date
CN102201877A true CN102201877A (en) 2011-09-28
CN102201877B CN102201877B (en) 2013-08-21

Family

ID=44662287

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011101256596A Active CN102201877B (en) 2011-05-16 2011-05-16 Method and apparatus for testing air interface of TTCN (Testing and Test Control Notation)-3-based digital interphone

Country Status (1)

Country Link
CN (1) CN102201877B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103648110A (en) * 2013-12-11 2014-03-19 国家无线电监测中心检测中心 Method for testing TETRA digital trunked air interface protocol and system thereof
CN103778058A (en) * 2013-12-11 2014-05-07 国家无线电监测中心检测中心 TETRA digital trunked air interface test method and system based on TTCN-3
CN103781086B (en) * 2013-12-11 2017-05-03 国家无线电监测中心检测中心 TTCN-3-based method and apparatus for testing a TETRA terminal
CN107222878A (en) * 2016-03-22 2017-09-29 ***通信集团终端有限公司 The method of testing and device of a kind of terminal
CN107948009A (en) * 2017-10-30 2018-04-20 中国电力科学研究院有限公司 The construction method and model of the data exchange channels of PLC protocol tests

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101141205A (en) * 2007-07-04 2008-03-12 中兴通讯股份有限公司 TD-SCDMA radio frequency index testing system and method
CN101854218A (en) * 2010-06-03 2010-10-06 北京天碁科技有限公司 System and method for testing radio-frequency performance of wireless terminal
KR101017952B1 (en) * 2009-11-09 2011-03-02 재단법인대구경북과학기술원 Automatizing system for testing autosar software based on ttcn-3 and tesing method using the same
CN102035896A (en) * 2010-12-31 2011-04-27 北京航空航天大学 TTCN-3-based distributed testing framework applicable to software system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101141205A (en) * 2007-07-04 2008-03-12 中兴通讯股份有限公司 TD-SCDMA radio frequency index testing system and method
KR101017952B1 (en) * 2009-11-09 2011-03-02 재단법인대구경북과학기술원 Automatizing system for testing autosar software based on ttcn-3 and tesing method using the same
CN101854218A (en) * 2010-06-03 2010-10-06 北京天碁科技有限公司 System and method for testing radio-frequency performance of wireless terminal
CN102035896A (en) * 2010-12-31 2011-04-27 北京航空航天大学 TTCN-3-based distributed testing framework applicable to software system

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103648110A (en) * 2013-12-11 2014-03-19 国家无线电监测中心检测中心 Method for testing TETRA digital trunked air interface protocol and system thereof
CN103778058A (en) * 2013-12-11 2014-05-07 国家无线电监测中心检测中心 TETRA digital trunked air interface test method and system based on TTCN-3
CN103648110B (en) * 2013-12-11 2017-02-15 国家无线电监测中心检测中心 Method for testing TETRA digital trunked air interface protocol and system thereof
CN103781086B (en) * 2013-12-11 2017-05-03 国家无线电监测中心检测中心 TTCN-3-based method and apparatus for testing a TETRA terminal
CN107222878A (en) * 2016-03-22 2017-09-29 ***通信集团终端有限公司 The method of testing and device of a kind of terminal
CN107948009A (en) * 2017-10-30 2018-04-20 中国电力科学研究院有限公司 The construction method and model of the data exchange channels of PLC protocol tests

Also Published As

Publication number Publication date
CN102201877B (en) 2013-08-21

Similar Documents

Publication Publication Date Title
CN102023922B (en) System and method for testing automotive electronic diagnostic software
CN101848042B (en) Method and system for testing radio frequency of mobile phones
CN102201877B (en) Method and apparatus for testing air interface of TTCN (Testing and Test Control Notation)-3-based digital interphone
CN109740222B (en) Testing device and system for automobile networking scene
CN107562038B (en) Automatic test system for vehicle-mounted controller
CN101847118B (en) Automatic test system
CN103825667B (en) A kind of method of concurrent testing WIFI module
CN104601771B (en) A kind of cell phone mainboard method of testing and its system
RU2009140981A (en) METHOD AND DEVICE FOR MAINTENANCE IN AIRCRAFT
CN103925853B (en) A kind of carrier rocket ground testing system device
CN105553754A (en) Wireless communication equipment testability design method
CN102479132A (en) Test system and test method for multiple chips
CN102868464B (en) Consistency testing system and method of communication terminals
CN103533572A (en) WIFI performance automation testing method and device
CN102448098A (en) Physical layer test system and method based on ARM (advanced RISC (reduced instruction set computer) machine) and DSP (digital signal processing) multi-core structure
CN101841840A (en) System and method for testing multi-frequency point, multi-frequency range or multi-carrier protocol consistency
CN212112225U (en) Vehicle electronic control unit test system
CN103778058A (en) TETRA digital trunked air interface test method and system based on TTCN-3
KR100758850B1 (en) Appaturus and method for test using test script in mobile communication system
CN206698228U (en) Very high frequency(VHF) transceiver hardware of automatic test system
CN106708688A (en) Module testing method and terminal
CN101661552B (en) Non-contact IC card radio frequency protocol and application testing method
CN203722647U (en) Testing system for high-frequency transceiver
CN105243015B (en) Method and system for automatically testing software
CN203722646U (en) Testing system of very high frequency (VHF) transceiver

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
TR01 Transfer of patent right

Effective date of registration: 20170413

Address after: 200071 Shanghai Zhabei District Tibet North Road, building 10, floor 1-3, No. 489

Patentee after: CRSC COMMUNICATION & INFORMATION GROUP SHANGHAI CO., LTD.

Address before: 200436 Shanghai, Zhabei District, West Road, room No. 508, room 179

Patentee before: Shanghai Tonghao Rail Transport Engineering Technology Research Center Co.,Ltd.

TR01 Transfer of patent right