[go: up one dir, main page]

CN102201877B - 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
CN102201877B
CN102201877B CN2011101256596A CN201110125659A CN102201877B CN 102201877 B CN102201877 B CN 102201877B CN 2011101256596 A CN2011101256596 A CN 2011101256596A CN 201110125659 A CN201110125659 A CN 201110125659A CN 102201877 B CN102201877 B CN 102201877B
Authority
CN
China
Prior art keywords
test
module
ttcn
control module
terminal
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.)
Active
Application number
CN2011101256596A
Other languages
Chinese (zh)
Other versions
CN102201877A (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

本发明涉及一种基于TTCN-3的数字对讲机空中接口测试方法及装置,其中方法包括1)进行初始化,包括主控制模块启动并创建两个并行测试组件,一为终端仿真模块,二是被测终端设置模块;2)两个并行测试组件分别运行,首先同主控制模块进行握手通信,让主控制模块及时掌握两个并行测试组件的运行状态,并判断两个并行测试组件是否有异常,若两者都正常,执行步骤3),若为否,结束测试;3)被测终端设置模块控制被测终端进行参数设置,或直接在被测终端上进行参数设置等步骤;其中装置包括含有TTCN-3测试脚本、系统接口在内的通用PC机、射频模块、被测终端。与现有技术相比,本发明具有测试全面、通用性好、成本低、部署简单等优点。

Figure 201110125659

The invention relates to a TTCN-3-based digital walkie-talkie air interface testing method and device, wherein the method includes 1) initializing, including starting a main control module and creating two parallel test components, one is a terminal emulation module, and the other is a tested component Terminal setting module; 2) two parallel test components run respectively, at first carry out handshake communication with the main control module, let the main control module grasp the operation status of the two parallel test components in time, and judge whether the two parallel test components are abnormal, if Both are normal, execute step 3), if no, end the test; 3) The terminal under test setting module controls the terminal under test to set parameters, or directly performs steps such as parameter setting on the terminal under test; wherein the device includes TTCN -3 Test scripts, general-purpose PCs including system interfaces, radio frequency modules, and terminals under test. Compared with the prior art, the invention has the advantages of comprehensive testing, good versatility, low cost, simple deployment and the like.

Figure 201110125659

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 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 and lifts wrong 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 voice and the data system of similar integrated simulation, digital handset can provide better data to handle 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 at the method for testing of digital handset, if accomplish the full functionality test that communication system is required, 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 arranges 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 arranges 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 arrange 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 definition and the test of test interface are passed through.
Described system interface is 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) for the digital handset standardization of products lays a good foundation, also be a kind of means that the product conformity certification is identified.
Description of drawings
Fig. 1 is flow chart of the present invention;
Fig. 2 is 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 (European Telecommunications Standards Institute) is suitable for.In its nearest approved third generation standard, TTCN-3 be modern times and language flexibly, be used for describing 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 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 in 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 example with the test case that is numbered TC_1403_02, and the digital handset call number is described " 1234567 " functional test.
Step1: initialization
The master control module is created two concurrent testing assemblies after starting, and one is terminal emulation module 131, two, and dut terminal arranges 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.
Step2: two concurrent testing assemblies 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.
Step3: dut terminal arranges 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 arrange at dut terminal 2.
Step4: terminal emulation module 131 sends call request, and call number is 1234567.
Step5: call request information is sent to radio-frequency module 3 through system interface, launches.
Step6: dut terminal can be made correct response according to the radiofrequency signal that receives 3 this moments.
Step7: the every operation of aforesaid operations once, two concurrent testing assemblies all need to carry out synchronously with the master control module, master control module responds synchronization request thinks that this is subsynchronous effectively.
Step8: 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.
Step9: 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, the 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 arranges 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 arranges 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;
TTCN is a standard testing language that the whole world of being safeguarded by ETSI is suitable for.
2. a kind of digital handset air interface method of testing based on TTCN-3 according to claim 1 is characterized in that, described radio-frequency module requires to launch call request information with the frequency of appointment according to frame structure.
3. a kind of digital handset air interface method of testing based on TTCN-3 according to claim 1, it is characterized in that, described synchronism detection is that terminal emulation module and dut terminal arrange 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. the device of a kind of digital handset air interface method of testing based on TTCN-3 according to claim 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 definition and the test of test interface are passed through.
6. the device of a kind of digital handset air interface method of testing based on TTCN-3 according to claim 4 is characterized in that described system interface is 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 CN102201877A (en) 2011-09-28
CN102201877B true 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)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103778058B (en) * 2013-12-11 2017-02-15 国家无线电监测中心检测中心 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
CN103648110B (en) * 2013-12-11 2017-02-15 国家无线电监测中心检测中心 Method for testing TETRA digital trunked air interface protocol and system thereof
CN107222878B (en) * 2016-03-22 2020-12-22 中国移动通信集团终端有限公司 Terminal testing method and device
CN107948009B (en) * 2017-10-30 2020-12-25 中国电力科学研究院有限公司 Method and model for constructing data interaction channel for PLC protocol test

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101141205A (en) * 2007-07-04 2008-03-12 中兴通讯股份有限公司 A TD-SCDMA radio frequency index testing system and method
CN101854218A (en) * 2010-06-03 2010-10-06 北京天碁科技有限公司 A test system and test method for wireless terminal radio frequency performance
CN102035896A (en) * 2010-12-31 2011-04-27 北京航空航天大学 TTCN-3-based distributed testing framework applicable to software system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101017952B1 (en) * 2009-11-09 2011-03-02 재단법인대구경북과학기술원 TTN-3AATTOSAR Software Test Automation System & Test Method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101141205A (en) * 2007-07-04 2008-03-12 中兴通讯股份有限公司 A TD-SCDMA radio frequency index testing system and method
CN101854218A (en) * 2010-06-03 2010-10-06 北京天碁科技有限公司 A test system and test method for wireless terminal radio frequency performance
CN102035896A (en) * 2010-12-31 2011-04-27 北京航空航天大学 TTCN-3-based distributed testing framework applicable to software system

Also Published As

Publication number Publication date
CN102201877A (en) 2011-09-28

Similar Documents

Publication Publication Date Title
US10247773B2 (en) Systems and methods for wireless device testing
CN102201877B (en) Method and apparatus for testing air interface of TTCN (Testing and Test Control Notation)-3-based digital interphone
CN103825667B (en) A kind of method of concurrent testing WIFI module
CN102023922B (en) System and method for testing automotive electronic diagnostic software
CN104601771B (en) A kind of cell phone mainboard method of testing and its system
CN107562038B (en) A vehicle-mounted controller automatic test system
CN107733539A (en) A kind of spaceborne multichannel microwave receiver frequency converter test system
CN206698228U (en) Very high frequency(VHF) transceiver hardware of automatic test system
CN104333415A (en) Multi-channel automatic test method used for testing optical modules and system thereof
CN101009853A (en) Automatic test system for handset single-plate and its method
CN103200587B (en) The device and method of automation stability test in a kind of RF remote unit
JP2013542631A (en) Method for testing a wireless device using a predefined test segment initiated by wireless signal characteristics
CN107360584B (en) RRU (remote radio unit) testing system and method
CN112946404A (en) Comprehensive test method for mass production satellites
WO2011160415A1 (en) Multi-channel test means and method for radio remote unit
CN105553754A (en) Wireless communication equipment testability design method
CN101342946B (en) Airbus series aircraft audio management component automatic test device and method
CN102868464B (en) Consistency testing system and method of communication terminals
CN103778058B (en) TETRA digital trunked air interface test method and system based on TTCN-3
CN103368663B (en) A kind of commissioning method for testing for radio frequency remote base station and system
CN102448098A (en) Physical layer test system and method based on ARM and DSP multi-core structure
CN203457161U (en) Micropower wireless communication simulation system
CN101661552B (en) Non-contact IC card radio frequency protocol and application testing method
CN103064011B (en) Examining system and method in a kind of rfid interrogator chip
JP2010532118A (en) Method for generating a signal sequence reproducible by a tester inspecting a mobile radio

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