CN103781086B - TTCN-3-based method and apparatus for testing a TETRA terminal - Google Patents

TTCN-3-based method and apparatus for testing a TETRA terminal Download PDF

Info

Publication number
CN103781086B
CN103781086B CN201310676143.XA CN201310676143A CN103781086B CN 103781086 B CN103781086 B CN 103781086B CN 201310676143 A CN201310676143 A CN 201310676143A CN 103781086 B CN103781086 B CN 103781086B
Authority
CN
China
Prior art keywords
tetra
instructions
terminals
ttcn
tetra terminals
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
CN201310676143.XA
Other languages
Chinese (zh)
Other versions
CN103781086A (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.)
RADIOSKY (BEIJING) TECHNOLOGY Co.,Ltd.
THE STATE RADIO MONITORING CENTER TESTING CENTER
Beijing Institute of Technology BIT
Original Assignee
RADIOSKY RADIO EQUIPMENT TESTING (BEIJING) CO Ltd
STATE RADIO MONITORING CENTER TESTING CENTER
Beijing Institute of Technology BIT
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 RADIOSKY RADIO EQUIPMENT TESTING (BEIJING) CO Ltd, STATE RADIO MONITORING CENTER TESTING CENTER, Beijing Institute of Technology BIT filed Critical RADIOSKY RADIO EQUIPMENT TESTING (BEIJING) CO Ltd
Priority to CN201310676143.XA priority Critical patent/CN103781086B/en
Publication of CN103781086A publication Critical patent/CN103781086A/en
Application granted granted Critical
Publication of CN103781086B publication Critical patent/CN103781086B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The embodiments of the invention provide a TTCN-3-based method and apparatus for testing a TETRA terminal. The method mainly comprises the following steps: arranging a port filtering unit in a TRI in a TTCN-3 test system, storing AT instruction sets respectively supported by TETRA terminals of various types in the port filtering unit, the port filtering unit monitoring AT instructions interacted between the TETRA terminals and the TTCN-3 test system, and according to the types of the TETRA terminals for sending or receiving AT instructions and the stored AT instruction sets respectively supported by the TETRA terminals of the various types, modifying the AT instructions. According to the embodiments of the invention, the TTCN-3 test system can interact with different TETRA terminals through standard AT instructions without taking into consideration the differences of the AT instruction sets supported by the TETRA terminals produced by different manufacturers, and the complexity and difficulty of testing the TETRA terminals by the TTCN-3 test system are reduced.

Description

Based on the method and apparatus that TTCN-3 is tested TETRA terminals
Technical field
The present invention relates to terminal test technical field, more particularly to one kind is tested TETRA terminals based on TTCN-3 Method and apparatus.
Background technology
TTCN(Testing and Test Control Notation, test and testing and control representation)Be one by ETSI(European Telecommunications Standards Institute, ETSI)Safeguard Globally applicable standard testing script.Its third generation standard TTCN-3 is a modern times and flexible language, is passed through Extensive interface can describe perhaps eurypalynous system testing.The typical applications of TTCN-3 are system testing, interactivity survey Examination, protocol test, operational trials, module testing etc., the platform independence of TTCN-3 and its special power of test cause its quilt It is widely used in defining the official testing collection of communication system.
At present, a kind of overall structure diagram of TTCN-3 test systems as shown in figure 1, in FIG, TM(Test Management, test and management)The holistic management of responsible test system, after test system initialization, TM entities are responsible for calling Other modules are being tested.
TL(Test Logging, test log)The daily record produced in responsible maintenance test, for recording the TE of TTCN-3 (TTCN-3 Executable, TTCN-3 can perform entity)The test event of middle generation.It has one unidirectional to connect and between TE Mouthful, TE can send log request by the interface to TL.
CD(Coding and Decoding, encoding and decoding)It is responsible for carrying out coding-decoding operation to data in outside, TE can also Built-in codec functions, but the CD of outside has standardized interface so as to can easily transplant in different TTCN-3 systems System and instrument, improve durability.
CH(Component Handling, component process)It is responsible for the parallel test suite of distribution, for distributed survey Test system.SA(System Under Test Adapter, system under test (SUT) adapter)It is responsible for produce TTCN-3 test systems Message and the instruction morphing form to be recognized by system under test (SUT), as the medium communicated between test system and system under test (SUT).
PA(Platform Adapter, platform adapter)TE is adapted to specifically to perform platform.
TRI(Interface when TTCN-3 Runtime Interface, TTCN-3 run)Define the friendship between TE, SA and PA Mutually, it provides the method for sending data, the data that reception is sent from system under test (SUT) and management timer to system under test (SUT) for TE.
In actual test, TTCN-3 test systems are required to be communicated with system under test (SUT), control system under test (SUT) Behavior, execution testing procedure, and the state of system under test (SUT) is read, whether expection is met with the result of validation test.Can by Fig. 1 See, system under test (SUT) is joined directly together with the SA in TTCN-3 test systems, SA realizes that data are passed between test system and system under test (SUT) Defeated adaptation, by from the data is activation of TE to system under test (SUT), and system under test (SUT) return respond when notify TE be read out.SA Interacting between TE is carried out by TRI, and the data between SA and TE all can be transmitted via TRI.
TETRA(Terrestrial Trunked Radio, TErrestrial TRunked Radio, old Trans European Trunked Radio, pan-European trunked radio)Digital packet terminal should possess PEI(Peripheral Equipment Interface, external data interface), to provide TETRA terminals to data terminal(Such as PC)Connection, make external number The business of TETRA networks offer can be accessed according to equipment.Entered by a set of special instruction set between TETRA terminals and data terminal Row interaction, i.e. AT instructions.AT instructions are a set of instruction set defined between terminal device and terminal adapter, are generally used for terminal Communication between equipment and data terminal.
TETRA terminals are realized and test system by being connected with the serial ports of the computer of operation TTCN-3 test systems Connection, enables TTCN-3 test systems to instruct the behavior of control TETRA terminals by AT, and obtains the state of TETRA terminals. When TTCN-3 test systems are wished to TETRA terminals transmission data, data are produced according to the TTCN-3 scripts for being run by TE, led to The serial ports for crossing SA Jing computers is sent to TETRA terminals;TETRA terminals to test system send data when, terminal is by data Jing Serial ports is sent to SA, and SA is received after data, notifies TE data readies.
A kind of use TTCN-3 test systems of the prior art are to the method that TETRA terminals are tested:Using When TTCN-3 test systems are tested TETRA terminals, test system is connected using serial ports with the PEI of tested TETRA terminals Connect, interacted with tested TETRA terminals using AT command set.TTCN-3 test systems can pass through to run TTCN-3 scripts, AT instructions are sent from serial ports to the PEI of tested TETRA terminals, to be controlled to the behavior of terminal so that test can be according to The testing process designed in TTCN-3 scripts is carried out automatically.TTCN-3 scripts can also pass through serial ports to tested TETRA terminals The AT instructions for sending over are analyzed, and obtain the state of tested TETRA terminals, verify what each test action and step were performed As a result expectation whether is met.
The shortcoming of the method that above-mentioned use TTCN-3 test systems of the prior art are tested TETRA terminals is: Find in actual test, although ETSI is it has been specified that the specification of the AT command set of TETRA terminals, but actually distinct manufacture The AT command set that the TETRA terminals of business's production are supported often has differences, therefore it is same to control different TETRA terminals execution Item operation, it may be necessary to just can be completed using different instructions.Operating personnel are it should be understood that the AT that supported of difference TETRA terminals Various TETRA terminals could correctly be operated by the various difference conditions of instruction set by different AT instructions, be increased The complexity tested TETRA terminals, the method depends on the artificial operation of operator.
The content of the invention
The embodiment provides a kind of TETRA terminals are tested method and apparatus based on TTCN-3, with Reduce the complexity that TTCN-3 test systems are tested TETRA terminals.
A kind of TETRA terminals are tested method based on TTCN-3, including:
Ports filter unit is set in the TRI in TTCN-3 test systems, stores each in the ports filter unit The AT command set that the TETRA terminals of type are supported respectively;
AT instruction of the ports filter unit to interaction between TETRA terminals and TTCN-3 test systems is monitored, According to the type and various types of TETRA terminals institutes of the storage that send or receive the TETRA terminals that the AT is instructed The AT command set supported respectively, modifies to AT instructions.
Ports filter unit is set in the described TRI in TTCN-3 test systems, in the ports filter unit The AT command set that various types of TETRA terminals are supported respectively is stored, including:
Port is set in the TRI between system under test (SUT) adapter SA and executable entity TE in TTCN-3 test systems Filter element, the ports filter unit includes that subelement, AT instruction modification subelements, TETRA terminal types are monitored in AT instructions Identification subelement and memory, store in which memory the AT command set that various types of TETRA terminals are supported respectively, And the difference letter between the standard AT command set supported of the AT command set supported respectively of various TETRA terminals and the TE Breath.
Described different information includes:The difference of AT order parameter forms, the difference of AT instruction numbers, AT instruction types Difference.
AT instruction of the described ports filter unit to interaction between TETRA terminals and TTCN-3 test systems is supervised Listen, according to the type and various types of TETRA terminals of the storage that send or receive the TETRA terminals that the AT is instructed The AT command set supported respectively, modifies to AT instructions, including:
The AT that subelement is sent to TE to the TETRA terminals by SA is monitored in AT instructions in the ports filter unit Instruction is monitored, and the AT for listening to instructions are sent to into TETRA terminal types identification subelement, the TETRA terminal types Identification subelement obtains the source port information of the AT instructions, and according to the source port acquisition of information AT instructions are sent The type information of TETRA terminals, by the type information the AT instruction modifications subelement is sent to;
The AT instruction modifications subelement is stored according to the type information of the TETRA terminals, and in the memory The AT command set supported of the TETRA terminals and the standard AT command sets supported of the TE between different information, it is right The AT instructions for listening to are modified, and make amended AT instructions meet the standard AT command set that the TE is supported.
AT instruction of the described ports filter unit to interaction between TETRA terminals and TTCN-3 test systems is supervised Listen, according to the type and various types of TETRA terminals of the storage that send or receive the TETRA terminals that the AT is instructed The AT command set supported respectively, modifies to AT instructions, including:
AT instructions in the ports filter unit are monitored subelement and are sent to the TETRA terminals by SA to the TE AT instruction monitored, by the AT for listening to instruction be sent to TETRA terminal types identification subelement, the TETRA terminals Type identification subelement obtains the destination interface information of the AT instructions, receives the AT according to the destination interface acquisition of information and refers to The type information of the TETRA terminals of order, by the type information the AT instruction modifications subelement is sent to;
The AT instruction modifications subelement is stored according to the type information of the TETRA terminals, and in the memory The AT command set supported of the TETRA terminals and the standard AT command sets supported of the TE between different information, it is right The AT instructions for listening to are modified, and make amended AT instructions meet the AT command set that the TETRA terminals are supported.
A kind of device tested TETRA terminals based on TTCN-3, the device is arranged in TTCN-3 test systems TRI in, the AT command set that various types of TETRA terminals are supported respectively is stored in described device;
AT instruction of the described device to interaction between TETRA terminals and TTCN-3 test systems is monitored, according to transmission Or the type of TETRA terminals and various types of TETRA terminals of the storage of the reception AT instructions are supported respectively AT command set, to the AT instruction modify.
Described device is arranged between the system under test (SUT) adapter SA in TTCN-3 test systems and executable entity TE TRI in, including:Subelement, TETRA terminal types identification subelement, AT instruction modifications subelement and storage are monitored in AT instructions Device,
Described memory is for storing the AT command set that various types of TETRA terminals are supported respectively and various Different information between the standard AT command set that the AT command set and the TE that TETRA terminals are supported respectively is supported.
Subelement is monitored in described AT instructions, for being carried out by the AT instructions that SA is sent to TE to the TETRA terminals Monitor, the AT for listening to instructions are sent to into TETRA terminal types identification subelement;
Described TETRA terminal types identification subelement, for obtaining the source port information of the AT instructions, according to this Source port acquisition of information sends the type information of the TETRA terminals of the AT instructions, and the type information is sent to into the AT Instruction modification subelement;
Described AT instruction modification subelements, for according to the type information of the TETRA terminals, and the memory Difference letter between the standard AT command set that the AT command set and the TE that the TETRA terminals of middle storage are supported is supported Breath, modifies to the AT instructions for listening to, and makes amended AT instructions meet the standard AT instruction that the TE is supported Collection.
Subelement is monitored in described AT instructions, for being sent to the AT instructions of the TETRA terminals by SA to the TE Monitored, the AT for listening to instructions are sent to into TETRA terminal types identification subelement;
Described TETRA terminal types identification subelement, for obtaining the destination interface information of the AT instructions, according to this Destination interface acquisition of information receives the type information of the TETRA terminals of the AT instructions, and the type information is sent to into the AT Instruction modification subelement;
Described AT instruction modification subelements, for according to the type information of the TETRA terminals, and the memory Difference letter between the standard AT command set that the AT command set and the TE that the TETRA terminals of middle storage are supported is supported Breath, the AT instructions listened to described are modified, and are made amended AT instructions meet the AT that the TETRA terminals are supported and are referred to Order collection.
The technical scheme provided by embodiments of the invention described above can be seen that the embodiment of the present invention by surveying in TTCN-3 Ports filter unit is set in the TRI in test system, and the ports filter unit is distinguished according to the various TETRA terminals of storage Different information between the standard AT command set that the AT command set of support and the TE are supported, to the data transmitted between SA and TE Monitored and changed, so as to reach the purpose for eliminating TETRA terminal differences.TTCN-3 test systems are enable to pass through standard AT The behavior to different TETRA terminals is instructed to be controlled, without considering that the TETRA terminals of different manufacturer's productions support AT The difference of instruction set, reduces complexity and difficulty that TTCN-3 test systems are tested TETRA terminals.
Description of the drawings
In order to be illustrated more clearly that the technical scheme of the embodiment of the present invention, below will be to use needed for embodiment description Accompanying drawing be briefly described, it should be apparent that, drawings in the following description are only some embodiments of the present invention, for this For the those of ordinary skill of field, without having to pay creative labor, can be obtaining other according to these accompanying drawings Accompanying drawing.
Fig. 1 is a kind of overall structure diagram of TTCN-3 test systems of the prior art;
Fig. 2 is a kind of place of method tested TETRA terminals based on TTCN-3 that the embodiment of the present invention one is provided Reason flow chart;
Fig. 3 is that the TE in a kind of test system to TTCN-3 that the embodiment of the present invention two is provided is sent to TETRA terminals The process chart of the method that AT instructions are processed;
Fig. 4 is a kind of TE's being sent to TETRA terminals in TTCN-3 test systems that the embodiment of the present invention three is provided The process chart of the method that AT instructions are processed;
Fig. 5 is a kind of tool of device tested TETRA terminals based on TTCN-3 that the embodiment of the present invention four is provided Body realizes structure chart.
Specific embodiment
For ease of the understanding to the embodiment of the present invention, do by taking several specific embodiments as an example further below in conjunction with accompanying drawing Explanation, and each embodiment does not constitute the restriction to the embodiment of the present invention.
Embodiment one
The embodiment of the present invention by the TRI in TTCN-3 test systems arrange ports filter unit, in the port Store in filter element standard AT command set that the AT command set that various TETRA terminals support respectively supported with the TE it Between different information, the ports filter unit monitored and changed to the data transmitted between SA and TE, reaches elimination TETRA The purpose of terminal difference.
Embodiment provides a kind of handling process such as Fig. 2 institutes of method tested TETRA terminals based on TTCN-3 Show, including following process step:
Ports filter unit is set in step 21, the TRI in TTCN-3 test systems, is stored in ports filter unit The AT command set that various types of TETRA terminals are supported respectively.
The TETRA terminals of different manufacturer's productions support that the otherness between AT command set mainly has following several feelings Condition:
(1)The difference of AT order parameter forms
In the AT command set that the TETRA terminals of different manufacturer's productions are supported, same instruction is deposited on parameter format In difference.Such as in order to carry out identical configuration to TETRA terminals, the number of parameters of the AT instructions required by different TETRA terminals May be not quite similar with meaning.For example, when short data service is tested, need to be instructed come to TETRA using " AT+CTSP " Terminal carries out the Initialize installation of short data service, required for the TETRA terminals of MOTOROLA and SEPURA Liang Ge manufacturers The order parameter for using is " AT+CTSP=1,3,130 ";And identical configuration is carried out, the TETRA demanding terminals of EADS productions Instruct as " AT+CTSP=1,2 ".
(2)The difference of AT instruction numbers
In the AT command set that the TETRA terminals of different manufacturer's productions are supported, realize that identical function is instructed using AT Quantity have differences.Such as after short data is sent, TETRA terminals can send "+CMGS " and refer to TTCN-3 test systems Show the state that short data sends, for the TETRA terminals of MOTOROLA productions, instructed using two "+CMGS " altogether;For The TETRA terminals of SEPURA productions, are instructed altogether using three "+CMGS ";And for the TETRA terminals of EADS productions, only use One "+CMGS " is instructed.
(3)The difference of AT instruction types
In the AT command set that the TETRA terminals of different manufacturer's productions are supported, there are some exclusive instructions.Such as EADS Terminal exclusive " AT+CMGF " is instructed, when the dependence test of short data is carried out using its TETRA terminal, in addition it is also necessary to extra to send Instruction " AT+CMGF=7 " arranges mobile station for PEI patterns, the testing procedure after being just smoothed out.
And it is the AT command set of standard that TE in TTCN-3 test systems is supported, if the TE in TTCN-3 test systems To identical testing procedure for all of TETRA terminals only using the instruction of unique standard AT, then for not supporting the standard The TETRA terminals of AT instructions, test just cannot go on.
Ports filter unit, institute are set in the TRI between TE and SA of the embodiment of the present invention in TTCN-3 test systems State ports filter unit including AT instruction monitor subelement, AT instruction modification subelements, TETRA terminal types identification subelement and Memory, stores in which memory the AT command set that various types of TETRA terminals are supported respectively, and various Different information between the standard AT command set that the AT command set and the TE that TETRA terminals are supported respectively is supported.
The AT instructions of step 22, ports filter unit to interaction between TETRA terminals and TTCN-3 test systems are supervised Listen, according to the type and various types of TETRA terminals of the storage that send or receive the TETRA terminals that the AT is instructed The AT command set supported respectively, modifies to AT instructions.
The AT that subelement is sent to TE to the TETRA terminals by SA is monitored in AT instructions in the ports filter unit Instruction is monitored, and the AT for listening to instructions are sent to into TETRA terminal types identification subelement, the TETRA terminal types Identification subelement obtains the source port information of the AT instructions, and according to the source port acquisition of information AT instructions are sent The type information of TETRA terminals, by the type information the AT instruction modifications subelement is sent to.AT instruction modifications is single Unit is according to the type information of the TETRA terminals, and the AT that the TETRA terminals stored in the memory are supported refers to Different information between the standard AT command set that order collection and the TE are supported, modifies to the AT instructions for listening to, Amended AT instructions are made to meet the standard AT command set that the TE is supported.
AT instructions in the ports filter unit are monitored subelement and are sent to the TETRA terminals by SA to the TE AT instruction monitored, by the AT for listening to instruction be sent to TETRA terminal types identification subelement, the TETRA terminals Type identification subelement obtains the destination interface information of the AT instructions, receives the AT according to the destination interface acquisition of information and refers to The type information of the TETRA terminals of order, by the type information the AT instruction modifications subelement is sent to.The AT instruction modifications Subelement is according to the type information for receiving the TETRA terminals that the AT is instructed, and the TETRA stored in the memory Different information between the standard AT command set that the AT command set and the TE that terminal is supported is supported, listens to described AT instructions are modified, and make amended AT instructions meet the AT command set that the TETRA terminals are supported.
In actual applications, above-mentioned ports filter unit can also be arranged on the other positions in TTCN-3 test systems, Such as, it is arranged on inside SA or TE.The embodiment of the present invention does not limit to above-mentioned port mistake
The concrete placement location of filter unit, any modes of emplacement of the above-mentioned ports filter unit in TTCN-3 test systems All in the protection domain of the embodiment of the present invention.
Embodiment two
TE in a kind of test system to TTCN-3 that the embodiment is provided is sent at the AT of TETRA terminals instructions The handling process of the method for reason is as shown in figure 3, including following processing procedure:
Ports filter unit, the ports filter list are set in the TRI between TE and SA in TTCN-3 test systems Unit includes that subelement, AT instruction modification subelements, TETRA terminal types identification subelement and memory are monitored in AT instructions, in institute State and the AT command set that various types of TETRA terminals are supported respectively is stored in memory, and various TETRA terminals are distinguished Different information between the standard AT command set that the AT command set of support and the TE are supported.
When TE sends data by SA to TETRA terminals, above-mentioned AT instructions are monitored subelement and first determine whether that the data are It is no to instruct for AT, if the data are not AT instructions, make no modifications and be transmitted directly to SA;If the data are AT referred to Order, by the AT instructions TETRA terminal types identification subelement is sent to.
Above-mentioned TETRA terminal types identification subelement inquires about the destination interface that the AT instructions send, and refers to so as to inquire about the AT The type information of the purpose TETRA terminal that order is sent to, by the type information AT instruction modification subelements are sent to.Then, AT refers to Type information of the subelement according to the purpose TETRA terminal is changed in order, and the purpose stored in the memory Different information between the standard AT command set that the AT command set and the TE that TETRA terminals are supported is supported, to the AT Instruction is modified, and makes amended AT instructions meet the AT command set that the purpose TETRA terminal is supported.
Afterwards, amended AT instructions are sent to SA by ports filter unit, and the AT for receiving instructions are sent to mesh by SA TETRA terminals.
Applicating example
TTCN-3 test systems send the specific transactions of the short data of AT+CTSP instruction configuration TETRA terminals, TTCN-3 pin All the time according to the instruction transmission of standard AT in this, i.e., " AT+CTSP=1,3,130 ", the TETRA terminals of EADS productions are equally matched somebody with somebody Put the instruction for using different.In order to compatible EADS production TETRA terminals, present example TE send " AT+CTSP=1, 3,130 " instruction modification is " AT+CTSP=1,2 ", and is referred to the TETRA terminals transmission of EADS productions extra " AT+CMGF=7 " Order.
Embodiment three
At a kind of AT instructions of TE being sent in TTCN-3 test systems to TETRA terminals that the embodiment is provided The handling process of the method for reason is as shown in figure 4, including following processing procedure:
Ports filter unit, the ports filter list are set in the TRI between TE and SA in TTCN-3 test systems Unit includes that subelement, AT instruction modification subelements, TETRA terminal types identification subelement and memory are monitored in AT instructions, in institute State and the AT command set that various types of TETRA terminals are supported respectively is stored in memory, and various TETRA terminals are distinguished Different information between the standard AT command set that the AT command set of support and the TE are supported.
When TETRA terminals send data by SA to TE, above-mentioned AT instructions are monitored subelement and first determine whether that the data are It is no to instruct for AT, if the data are not AT instructions, make no modifications and be transmitted directly to TE;If the data are AT referred to Order, by the AT instructions TETRA terminal types identification subelement is sent to.
Above-mentioned TETRA terminal types identification subelement inquires about the source port of AT instructions, sends the AT and refers to so as to inquire about The type information of the TETRA terminals of order, by the type information AT instruction modification subelements are sent to.Then, AT instruction modifications Unit is according to the type information for sending the TETRA terminals that the AT is instructed, and the transmission stored in the memory Difference letter between the standard AT command set that the AT command set and the TE that the TETRA terminals of the AT instructions are supported is supported Breath, modifies to AT instructions, makes amended AT instructions meet the standard AT command set that the TE is supported.
Afterwards, amended AT instructions are sent to TE by ports filter unit.
Applicating example
TTCN-3 test system and test TETRA terminals receive short data, in TTCN-3 scripts all the time according to tag splice receive two Or three+CMGS instruction is processed, and the TETRA terminals of EADS productions only can to TTCN-3 test systems send one+ CMGS is instructed, and for the TETRA terminals of compatible EADS productions, the embodiment of the present invention can be that the TETRA terminals of EADS productions send Extra+CMGS the instructions of AT instruction supplements, be sent to TE.
Example IV
A kind of device tested TETRA terminals based on TTCN-3 is this embodiment offers, the device is arranged on In the TRI between SA and TE in TTCN-3 test systems, it implements structure as shown in figure 5, specifically can include:AT refers to Subelement 51, TETRA terminal types identification subelement 52, AT instruction modifications subelement 53 and memory 54 are monitored in order,
Described memory 54, for storing the AT command set that various types of TETRA terminals are supported respectively, and respectively Different information between the standard AT command set that the AT command set and the TE that kind TETRA terminals are supported respectively is supported.
Specifically, the AT instructions of TE are sent to by SA for the TETRA terminals:
Subelement 51 is monitored in described AT instructions, for the TETRA terminals by the AT that SA is sent to TE instruct into Row is monitored, and the AT for listening to instructions are sent to into TETRA terminal types identification subelement;
Described TETRA terminal types identification subelement 52, for obtaining the source port information of the AT instructions, according to The source port acquisition of information sends the type information of the TETRA terminals of the AT instructions, the type information is sent to described AT instruction modification subelements;
Described AT instruction modifications subelement 53, for according to the type information of the TETRA terminals, and the storage Difference between the standard AT command set that the AT command set and the TE that the TETRA terminals stored in device are supported is supported Information, the AT instructions listened to described are modified, and are made amended AT instructions meet standard AT that the TE supported and are referred to Order collection.
Specifically, the AT instructions of TETRA terminals are sent to by SA for the TE:
Subelement 51 is monitored in described AT instructions, for being referred to by the AT that SA is sent to the TETRA terminals the TE Order is monitored, and the AT for listening to instructions are sent to into TETRA terminal types identification subelement;
Described TETRA terminal types identification subelement 52, for obtaining the destination interface information of the AT instructions, according to The destination interface acquisition of information receives the type information of the TETRA terminals of the AT instructions, the type information is sent to described AT instruction modification subelements;
Described AT instruction modifications subelement 53, for according to the type information of the TETRA terminals, and the storage Difference between the standard AT command set that the AT command set and the TE that the TETRA terminals stored in device are supported is supported Information, modifies to the AT instructions for listening to, and makes amended AT instructions meet the AT that the TETRA terminals are supported Instruction set.
Carried out with the device of the embodiment of the present invention detailed process TETRA terminals tested based on TTCN-3 with it is aforementioned Embodiment of the method is similar to, and here is omitted.
One of ordinary skill in the art will appreciate that:Accompanying drawing is the schematic diagram of one embodiment, module in accompanying drawing or Flow process is not necessarily implemented necessary to the present invention.
One of ordinary skill in the art will appreciate that:The module in equipment in embodiment can be according to embodiment description point In being distributed in the equipment of embodiment, it is also possible to carry out respective change and be disposed other than in one or more equipment of the present embodiment.On Stating the module of embodiment can merge into a module, it is also possible to be further split into multiple submodule.
In sum, the embodiment of the present invention is by arranging ports filter unit, institute in the TRI in TTCN-3 test systems State the standard that ports filter unit is supported according to the AT command set that the various TETRA terminals of storage are supported respectively with the TE Different information between AT command set, the data to transmitting between SA and TE are monitored and changed, and so as to reach TETRA ends are eliminated The purpose of end difference.TTCN-3 test systems are enable to interact from different TETRA terminals by the instruction of standard AT, the interaction The control to TETRA terminal behaviors can be included(Test system sends to terminal and instructs)With the reading to the TETRA SOT states of termination (Terminal is to test system replying instruction).Without considering that the TETRA terminals of different manufacturer's productions support AT command set Difference, reduces complexity and difficulty that TTCN-3 test systems are tested TETRA terminals.
The embodiment of the present invention enables TTCN-3 test systems to instruct the state to different TETRA terminals to read by AT Take and analyze, without considering that the TETRA terminals of different manufacturer's productions support the difference of AT command set.Tested TETRA ends The AT instructions that TE is sent to by SA are held, is first processed via present example, instruction morphing will can be matched for TE and divide Analysis reference format, is then forwarded to TE, enables TE correctly to match and analyze the state of current tested TETRA terminals.
The embodiment of the present invention is identified and is changed by the communication to AT instructions between TE and SA, makes the TTCN-3 scripts need not Extra judgement and process is carried out for different tested TETRA terminals, the exploitation of TTCN-3 scripts is simplified, it is ensured that The standard and accuracy of TTCN-3 test systems.
The above, the only present invention preferably specific embodiment, but protection scope of the present invention is not limited thereto, Any those familiar with the art the invention discloses technical scope in, the change or replacement that can be readily occurred in, All should be included within the scope of the present invention.Therefore, protection scope of the present invention should be with scope of the claims It is defined.

Claims (5)

1. a kind of TETRA terminals are tested method based on TTCN-3, it is characterised in that include:
Ports filter unit is set in the TRI in TTCN-3 test systems, stores various types of in the ports filter unit The AT command set that the TETRA terminals of type are supported respectively;
AT instruction of the ports filter unit to interaction between TETRA terminals and TTCN-3 test systems is monitored, according to The type of TETRA terminals and various types of TETRA terminals of the storage for sending or receiving the AT instructions is distinguished The AT command set of support, modifies to AT instructions, including:
The AT instructions that subelement is sent to TE to the TETRA terminals by SA are monitored in AT instructions in the ports filter unit Monitored, the AT for listening to instructions are sent to into TETRA terminal types identification subelement, the TETRA terminal types identification Subelement obtains the source port information of the AT instructions, and according to the source port acquisition of information AT instructions are sent The type information of TETRA terminals, by the type information the AT instruction modifications subelement is sent to;Or, the ports filter AT instructions in unit are monitored subelement and TE are monitored by the AT instructions that SA is sent to the TETRA terminals, will be monitored To AT instructions be sent to TETRA terminal types identification subelement, TETRA terminal types identification subelement obtains the AT The destination interface information of instruction, the type information of the TETRA terminals of the AT instructions is received according to the destination interface acquisition of information, The type information is sent to into the AT instruction modifications subelement;
The AT instruction modifications subelement is according to the type information of the TETRA terminals, and the institute stored in the memory The different information between the AT command set that TETRA terminals are supported and the standard AT command set that the TE is supported is stated, to described The AT instructions for listening to are modified, and make amended AT instructions meet the AT command set that the TETRA terminals are supported.
2. TETRA terminals are tested method based on TTCN-3 according to claim 1, it is characterised in that described The TRI in TTCN-3 test systems in arrange ports filter unit, store all kinds in the ports filter unit The AT command set supported respectively of TETRA terminals, including:
Ports filter is set in the TRI between system under test (SUT) adapter SA and executable entity TE in TTCN-3 test systems Unit, the ports filter unit includes that subelement, AT instruction modification subelements, the identification of TETRA terminal types are monitored in AT instructions Subelement and memory, store in which memory the AT command set that various types of TETRA terminals are supported respectively, and Different information between the standard AT command set that the AT command set and the TE that various TETRA terminals are supported respectively is supported.
3. TETRA terminals are tested method based on TTCN-3 according to claim 2, it is characterised in that described Different information include:The difference of AT order parameter forms, the difference of AT instruction numbers, the difference of AT instruction types.
4. a kind of TETRA terminals are tested device based on TTCN-3, it is characterised in that the device is arranged on TTCN-3 surveys In TRI in test system, the AT command set that various types of TETRA terminals are supported respectively is stored in described device;
Described device between TETRA terminals and TTCN-3 test systems interaction AT instruction monitor, according to send or Receive the AT that the type of TETRA terminals and various types of TETRA terminals of the storage of the AT instructions are supported respectively Instruction set, modifies to AT instructions, including:
Subelement is monitored in described AT instructions, for being monitored by the AT instructions that SA is sent to TE the TETRA terminals, The AT for listening to instructions are sent to into TETRA terminal types identification subelement, described TETRA terminal types recognize subelement, For obtaining the source port information of the AT instructions, the TETRA of the AT instructions is sent according to the source port acquisition of information The type information of terminal, by the type information the AT instruction modifications subelement is sent to;Or, son is monitored in described AT instructions Unit, for being monitored by the AT instructions that SA is sent to the TETRA terminals the TE, the AT for listening to instructions is sent out Give TETRA terminal types identification subelement, described TETRA terminal types identification subelement, for obtaining the AT instructions Destination interface information, the type information of the TETRA terminals of the AT instructions is received according to the destination interface acquisition of information, by this Type information is sent to the AT instruction modifications subelement;
Described AT instruction modification subelements, for according to the type information of the TETRA terminals, and deposit in the memory Different information between the standard AT command set that the AT command set and the TE that the TETRA terminals of storage are supported is supported, The AT instructions for listening to are modified, makes amended AT instructions meet the AT instructions that the TETRA terminals are supported Collection.
5. TETRA terminals are tested device based on TTCN-3 according to claim 4, it is characterised in that described Device be arranged in the TRI between the system under test (SUT) adapter SA in TTCN-3 test systems and executable entity TE, including: Subelement, TETRA terminal types identification subelement, AT instruction modifications subelement and memory are monitored in AT instructions,
Described memory is for storing the AT command set that various types of TETRA terminals are supported respectively and various Different information between the standard AT command set that the AT command set and the TE that TETRA terminals are supported respectively is supported.
CN201310676143.XA 2013-12-11 2013-12-11 TTCN-3-based method and apparatus for testing a TETRA terminal Active CN103781086B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310676143.XA CN103781086B (en) 2013-12-11 2013-12-11 TTCN-3-based method and apparatus for testing a TETRA terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310676143.XA CN103781086B (en) 2013-12-11 2013-12-11 TTCN-3-based method and apparatus for testing a TETRA terminal

Publications (2)

Publication Number Publication Date
CN103781086A CN103781086A (en) 2014-05-07
CN103781086B true CN103781086B (en) 2017-05-03

Family

ID=50572802

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310676143.XA Active CN103781086B (en) 2013-12-11 2013-12-11 TTCN-3-based method and apparatus for testing a TETRA terminal

Country Status (1)

Country Link
CN (1) CN103781086B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111193562B (en) * 2018-11-15 2022-04-19 中国电信股份有限公司 Internet of things signal measurement method and equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102004233A (en) * 2010-10-27 2011-04-06 广东电网公司电力科学研究院 Portable plant electric energy acquisition terminal test system
CN102201877A (en) * 2011-05-16 2011-09-28 上海通号轨道交通工程技术研究中心有限公司 Method and apparatus for testing air interface of TTCN (Testing and Test Control Notation)-3-based digital interphone
WO2012016443A1 (en) * 2010-08-06 2012-02-09 中国科学院软件研究所 Integration method for testing and test control notation (ttcn) language and data description language (ddl)
CN102487345A (en) * 2010-12-06 2012-06-06 普天信息技术研究院有限公司 Apparatus for testing network performance parameter, system thereof, and method thereof
CN103391291A (en) * 2013-07-18 2013-11-13 工业和信息化部电信传输研究所 Codec based on terminal consistency testing system and coding and decoding method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012016443A1 (en) * 2010-08-06 2012-02-09 中国科学院软件研究所 Integration method for testing and test control notation (ttcn) language and data description language (ddl)
CN102004233A (en) * 2010-10-27 2011-04-06 广东电网公司电力科学研究院 Portable plant electric energy acquisition terminal test system
CN102487345A (en) * 2010-12-06 2012-06-06 普天信息技术研究院有限公司 Apparatus for testing network performance parameter, system thereof, and method thereof
CN102201877A (en) * 2011-05-16 2011-09-28 上海通号轨道交通工程技术研究中心有限公司 Method and apparatus for testing air interface of TTCN (Testing and Test Control Notation)-3-based digital interphone
CN103391291A (en) * 2013-07-18 2013-11-13 工业和信息化部电信传输研究所 Codec based on terminal consistency testing system and coding and decoding method

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
Discovery of Invocation Model and Dynamic Test Configuration Model based on TTCN-3 Test Systems;Liu Yongpo,et.al.;《International Conference on E-Business and E-Government》;20110508;第1-4页 *
数字集群TETRA认证体制研究及思考;陈国成等;《数字通信世界》;20121001;第54-56页 *

Also Published As

Publication number Publication date
CN103781086A (en) 2014-05-07

Similar Documents

Publication Publication Date Title
US11652918B2 (en) Using automatically collected device problem information to route and guide users' requests
US11169867B2 (en) System and method for identifying operational disruptions in mobile computing devices via a monitoring application that repetitively records multiple separate consecutive files listing launched or installed applications
CN104699616B (en) The method of a kind of application test, Apparatus and system
CN104349346B (en) A kind of mobile terminal WiFi handling capacity automated testing methods
US9069665B2 (en) System and method for definition, creation, management, transmission, and monitoring of errors in SOA environment
CN109768970B (en) Configurable universal protocol generation method
CN112929236B (en) Broadband micropower wireless protocol interoperability test system for electricity consumption information acquisition system
CN102739654B (en) Method for realizing application program to access database
CN105335277A (en) Fault information processing method and device as well as terminal
CN103780455A (en) TETRA digit cluster protocol test method and system based on TTCN-3
CN102809953A (en) Systems and methods for alert capture and transmission
CN110405759A (en) A kind of chip control system
CN108345449A (en) A kind of information processing method, device, storage medium and computer equipment
CN107566513B (en) Test equipment DOS environmental data acquisition method and system
CN106776346A (en) The method of testing and device of CCMTS equipment
CN103781086B (en) TTCN-3-based method and apparatus for testing a TETRA terminal
CN106407061A (en) Northbound interface testing device and northbound interface testing method
CN110928796A (en) Automatic change test platform
CN106331051B (en) Document transmission method and system and reception file device send file device
CN109274715B (en) Platform resource management system of vehicle-mounted multi-channel communication system
CN110780630A (en) Protocol library docking execution system suitable for Internet of things and working method
CN110687878A (en) Industrial equipment model component application cloud platform
CN103095513A (en) Simulation testing device and method of Encryption equipment
CN206149323U (en) Remote data terminal and system thereof
US20130165099A1 (en) Enhanced System and Method for Custom Programming of Large Groups of Phones Without Requiring Additional 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
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: 100041 China Radio inspection building, No. 30, Xing Xing street, Beijing, Shijingshan District

Co-patentee after: BEIJING INSTITUTE OF TECHNOLOGY

Patentee after: THE STATE RADIO MONITORING CENTER TESTING CENTER

Co-patentee after: RADIOSKY (BEIJING) TECHNOLOGY Co.,Ltd.

Address before: 100041 China Radio inspection building, No. 30, Xing Xing street, Beijing, Shijingshan District

Co-patentee before: BEIJING INSTITUTE OF TECHNOLOGY

Patentee before: THE STATE RADIO MONITORING CENTER TESTING CENTER

Co-patentee before: RADIOSKY TESTING SERVICES (BEIJING) Ltd.