CN101808356B - Protocol simulation system for TD-SCDMA terminal protocol conformance tests - Google Patents

Protocol simulation system for TD-SCDMA terminal protocol conformance tests Download PDF

Info

Publication number
CN101808356B
CN101808356B CN 201010154113 CN201010154113A CN101808356B CN 101808356 B CN101808356 B CN 101808356B CN 201010154113 CN201010154113 CN 201010154113 CN 201010154113 A CN201010154113 A CN 201010154113A CN 101808356 B CN101808356 B CN 101808356B
Authority
CN
China
Prior art keywords
test
testing
protocol
script
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.)
Active
Application number
CN 201010154113
Other languages
Chinese (zh)
Other versions
CN101808356A (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.)
China Academy of Information and Communications Technology CAICT
Original Assignee
Research Institute of Telecommunications Transmission Ministry of Industry and Information Technology
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 Research Institute of Telecommunications Transmission Ministry of Industry and Information Technology filed Critical Research Institute of Telecommunications Transmission Ministry of Industry and Information Technology
Priority to CN 201010154113 priority Critical patent/CN101808356B/en
Publication of CN101808356A publication Critical patent/CN101808356A/en
Application granted granted Critical
Publication of CN101808356B publication Critical patent/CN101808356B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)
  • Monitoring And Testing Of Transmission In General (AREA)

Abstract

The invention relates to a protocol simulation system for TD-SCDMA terminal protocol conformance tests, which comprises a test control module and a test execution module, wherein the test control module operates on a PC machine provided with an operating system and is used for managing, controlling and executing test scripts and obtaining test results, and realizing CN and RRC functions in a TD-SCDMA system, and the test execution module operates on an industrial control machine provided with an embedded operating system and realizes the RLC and MAC functions in the TD-SCDMA system. The protocol simulation system and real base station equipment can be used to set up a terminal protocol conformance test system. The invention can complete protocol conformance test requirements, and can build test environments according actual test objects so as to complete various tests.

Description

The protocol emulation system that is used for TD-SCDMA terminal protocol uniformity test
Technical field
The present invention relates to the field tests of mobile communication, particularly relate to a kind of for the TD-SCDMA mobile communcations system about the conforming test macro of terminal protocol.
Background technology
Testing protocol consistency is exactly the requirement according to agreement, formulates the dependence test use-case interface protocol of system under test (SUT) is tested, and checks the interface protocol of system under test (SUT) whether to satisfy the requirement of standard.Essence is utilized one group of test case exactly, and measurand is carried out Black-box Testing, by comparing the similarities and differences of actual result and expection, judges whether measurand is consistent with agreement.Testing protocol consistency is a kind of basic test, can carry out place mat for protocol-compliant property testing and performance test, so that faster easier discovery and dealing with problems.
For the protocol test instrument in the existing communication system, generally by the special system of manufacturers exploitation of specialty, at the communication standard research and development initial stage, alternative test instrumentation is also fewer.As utilize existing instrument, there is following some shortcoming:
1, newly the functional development cycle is long, upgrades slow.
2, in the development﹠ testing process, repetitive work is too many, and the each time upgrading of version all needs the work of repeater's power, and tester's level is had relatively high expectations.
3, autgmentability is relatively poor.The key technology of outer its core of instrument development company general tree generally can only be done a little simple expansions and application in platform and function that instrument provides, and scalability is too poor.
4, third party's instrument is expensive, uses it to carry out testing cost higher.
Above these problems will directly have influence on the evaluation of communication system performance test, also must affect the development speed of whole 3G (Third Generation) Moblie.Therefore in test process, be starved of automatic test and the performance test framework that can provide general, all testing tools carry out secondary development at this platform later on, greatly improve too development efficient and development quality.
Summary of the invention
For the defective that exists in the prior art and deficiency, the objective of the invention is to propose a kind of for the protocol emulation system about the terminal protocol uniformity test in the TD-SCDMA communication system, by editable testing control module and testing execution module are provided, can make the tester construct quickly and easily test case, the structure test environment is finished test request.
In order to achieve the above object, the present invention proposes a kind of protocol emulation system, can use its set up a kind of in the TD-SCDMA mobile communication system about the system of terminal protocol uniformity test, this protocol emulation system comprises:
Operate in the testing control module on the PC that operating system is installed, be used for manage, controlling, carry out test script and to draw test result, and the function of CN and RRC in the realization TD-SCDMA mobile communcations system.
Operate in the testing execution module on the industrial computer that embedded OS is installed, be used for the function of simulation TD-SCDMA mobile communcations system RLC and MAC.
Described protocol emulation system connects true base station and constructs analog communication system so that the TD-SCDMA mobile communication terminal is carried out testing protocol consistency.
Preferred as technique scheme, described testing control module also comprises:
Development and testing script unit is used for User Exploitation test case, test script;
Carry out the test script unit, be used for carrying out test script
The unit that outputs test result outputs test result after being used for receiving the feedback message of tested module.
Preferred as technique scheme, described testing control module also comprises:
The test and management unit is used for the execution of control test case/stop management of test cases and test script;
Communication unit is used for the test case that described execution test script unit execution test script extracts is encapsulated and sends.
Preferred as technique scheme, described communication unit adopts message or TCP/UDP mode to send test case.
Preferred as technique scheme, described testing execution module also comprises:
The RLC analogue unit is for the repertoire of the RLC module of simulating the TD-SCDMA mobile communcations system;
The MAC analogue unit is for the repertoire of the MAC module of simulating the TD-SCDMA mobile communcations system;
Communication unit is used for carrying out communication with high level test administration module and base station equipment.
Preferred as technique scheme, described test case, test script adopt the TCL script.
Protocol emulation of the present invention system can be according to the tested object structure test environment of reality, completion system test, integration testing, various types of tests such as unit testing.The system for terminal protocol consistency structure that implements among the present invention is simple and practical, can satisfy evaluation and judgement to terminal fully.
Below in conjunction with accompanying drawing, the specific embodiment of the present invention is described in further detail.For the person of ordinary skill in the field, from detailed description of the invention, above and other purpose of the present invention, feature and advantage will be apparent.
Description of drawings
Fig. 1 is the composition frame chart of the Protocol Conformance Test System of application protocol emulation system buildup of the present invention;
Fig. 2 is the schematic diagram of the test environment of the testing protocol consistency of application protocol emulation system buildup of the present invention;
Fig. 3 is the submodule schematic diagram in the testing control module that proposes of the present invention;
Fig. 4 is the submodule schematic diagram in the testing execution module that proposes of the present invention;
Fig. 5 is the schematic flow sheet of the testing protocol consistency using protocol emulation of the present invention system and carry out.
Embodiment
As shown in Figure 1, a kind of protocol emulation system for TD-SCDMA terminal protocol uniformity test comprises:
Testing control module 101, this testing control module operate on the PC that operating system is installed, and are used for managing, controlling, carry out test script and draw test result; The function of CN (Core Network, core net) and RRC (Radio Resource Control, radio resource control layer) in the realization TD-SCDMA mobile communication system;
Testing execution module 102, this testing execution module operates in according on the industrial computer that embedded OS is arranged, be used for realizing TD-SCDMA mobile communcations system RLC (Radio Link Control, the radio link control layer) and the repertoire of MAC (Medium Access Control, media access control layer).
Wherein, 101 of testing control module comprise:
Development and testing script unit is used for User Exploitation test case and test script;
Carry out the test script unit, be used for carrying out test script;
The unit that outputs test result outputs test result after being used for receiving the feedback message of tested module.
Testing control module 101 can also comprise:
The test and management unit is used for the execution of control test case/stop management of test cases and test script;
Communication unit is used for the test case that described execution test script unit execution test script extracts is encapsulated and sends.
Communication unit can adopt message or TCP/UDP mode to send test case.
Described test case, test script adopt the TCL script.
Wherein, 102 of testing execution module comprise:
The RLC analogue unit is used for simulating all functions of TD-SCDMA mobile communcations system rlc layer;
The MAC analogue unit is used for simulating all functions of TD-SCDMA mobile communcations system MAC layer;
Communication unit be used for and testing control module and true base station, and measurand is carried out communication.
In order to reach the purpose of terminal protocol uniformity test, use above-mentioned these unit according to test function and to require the various scenes of design, development and testing use-case, structure protocol message.And the test case that constructs and protocol message can reuse.The tester only needs to carry out test script in test process, the cell by terminal feedback can output test result automatically, judges that whether measurand has reached test request, saves tester's repetitive operation.
Therefore, adopt the Protocol Conformance Test System of protocol emulation system constructing of the present invention to have the following advantages:
1. and protocol-independent: construct any code stream, the convenient parameter of revising in the code stream.Application technology: probe file, XML file storing message structure and value.
2. powerful structuring script: can realize assignment, branch, circulatory function.Use Structured Design and modularized design to realize the hierarchical system structure of script.
3. there be not " hard coded " of data in script and data separating in the script, be conducive to script and reuse (adaptive under the multiple environment) and data reusing.
4. the support automatic test can output test result automatically according to feedback.
In the above-described embodiments, realize CN and RRC function in the TD-SCDMA mobile communication system, and RLC and MAC function be that those skilled in the art can realize, and of the present invention focusing on, and utilizes protocol emulation system of unit structure of above-mentioned these functions of simulation.
Conformance Testing Environment is comprised of protocol emulation system and true base station, and its implementation as shown in Figure 2.
Form on the industrial computer of protocol emulation system by the PC that moves the high level test control module and operation bottom testing execution module.On the backstage that PC moves, realize the function in TD-SCDMA mobile communcations system middle level 3, adopt the TCL script to carry out the exploitation of test case; Configuration variety of protocol message; And carry out alternately with the foreground industrial computer.The foreground industrial computer is realized the function in TD-SCDMA communication system middle level 2.
With optical fiber the protocol emulation system is linked to each other with true base station in addition, the complete simulation TD mobile communcations system of structure one cover is so can use this system to carry out testing protocol consistency for terminal.
Wherein, the testing control module 101 in the protocol emulation system referring to shown in Figure 3, can be divided into following each submodule according to the function that realizes:
01 interface:
The interface of consistency testing system is finished the management of test case engineering and is carried out control.Each engineering can have a plurality of modules, all test cases and configuration data, and the execution of test case is all organized by module and is safeguarded.
02 resource management:
All resources that administrative institute needs.
03 database:
Consistency testing system usage data type of drive makes data separate with flow process, has simplified the workload of script.System is saved in data in the database according to name and index, data can be made up by script command, makes identical control flow can use different data at every turn, and these all to be system finish automatically.
04 test and management:
The execution of test and management control test case, manage the multiple test pattern of a plurality of test cases and large traffic, simultaneously test case needs the maintenance of management testing data, the judgement of test correctness, the beginning that test case is carried out with stop etc. the relevant operation of test control.
When beginning to test, test and management is carried out corresponding test by message control simulation device, and application and the release of control resource, carries out the work such as script and resource binding.
05 communication module:
The message transmission interface that the communication module encapsulation is external.
The 06TCL module:
The TCL module realizes the execution of TCL script, the setting of TCL parameter, and the definition of TCL explosion command.The TCL module provides the interface of control and execution TCL script for test and management and simulator.
07 encoding and decoding:
Standard interface message in the mobile communication system is carried out encoding and decoding.
Testing execution module 102 in the protocol emulation system referring to shown in Figure 4, can be divided into following each submodule according to the function that realizes:
102 of testing execution module comprise:
The RLC analogue unit is used for simulating all functions of TD-SCDMA mobile communcations system rlc layer;
The MAC analogue unit is used for simulating all functions of TD-SCDMA mobile communcations system MAC layer;
Communication unit be used for and testing control module and true base station, and measurand is carried out communication.
As shown in Figure 5, be the flow chart of an embodiment using the protocol conformance test method that protocol simulator of the present invention carries out.May further comprise the steps:
Step 501: for test purpose, in testing control module 101, construct test case, the structure protocol message; And send to testing execution module 102;
Step 502: after testing execution module 102 is received protocol message, configure relevant parameter, and be configured to the standard interface message in the mobile communication system, send to base station and measurand;
Step 503: testing execution module 101 receives the corresponding message that measurand is returned, and feeds back to testing control module 101;
Step 504: after testing control module 101 is received the feedback message of measurand, compare with desired value in the test case, judge whether to meet agreement;
Step 505: testing control module 101 outputs test result automatically according to the judged result of step 104.
In the such scheme, the measurand in the step 502 can be specially the TD-SCDMA mobile communication terminal, but the inventive method is not limited to the TD-SCMDA communication terminal, and other portable terminals scheme provided by the invention all is suitable for.
Although; the present invention clearly demonstrates by above embodiment and accompanying drawing thereof; yet in the situation that do not deviate from spirit of the present invention and essence thereof; the person of ordinary skill in the field works as can make according to the present invention various corresponding variations and correction, but these corresponding variations and correction all should belong to the protection range of claim of the present invention.

Claims (3)

1. a protocol emulation system that is used for TD-SCDMA terminal protocol uniformity test is characterized in that, comprising:
Testing control module, this testing control module operate on the PC that operating system is installed, and are used for managing, controlling, carry out test script and draw test result; And the function that realizes CN and RRC in the TD-SCDMA system;
Testing execution module, this testing execution module operate on the industrial computer that embedded OS is installed, the function of RLC and MAC in the realization TD-SCDMA system;
For test purpose, in testing control module, construct test case, the structure protocol message; And send to testing execution module; After testing execution module is received protocol message, configure relevant parameter, and be configured to the standard interface message in the mobile communication system, send to base station and measurand; Testing execution module receives the corresponding message that measurand is returned, and feeds back to testing control module; After testing control module is received the feedback message of measurand, compare with desired value in the test case, judge whether to meet agreement; Testing control module outputs test result automatically according to judged result;
Wherein, described testing control module comprises:
Development and testing script unit is used for User Exploitation test case and test script;
Carry out the test script unit, be used for carrying out test script;
The unit that outputs test result outputs test result after being used for receiving the feedback message of tested module;
The test and management unit is used for the execution of control test case/stop, and manages the multiple test pattern of a plurality of test cases and large traffic, and test case needs the maintenance of management testing data simultaneously, the judgement of test correctness;
Communication unit is used for the test case that described execution test script unit execution test script extracts is encapsulated and sends;
Described testing execution module comprises:
The RLC analogue unit is used for simulating the function of TD-SCDMA mobile communcations system rlc layer;
The MAC analogue unit is used for simulating the function of TD-SCDMA mobile communcations system MAC layer;
Communication unit be used for and testing control module, base station, and measurand is carried out communication.
2. protocol emulation according to claim 1 system is characterized in that, described communication unit adopts message or TCP/UDP mode to send test case.
3. according to the described protocol emulation of above-mentioned any one claim system, it is characterized in that, described test case, test script adopt the TCL script.
CN 201010154113 2010-04-20 2010-04-20 Protocol simulation system for TD-SCDMA terminal protocol conformance tests Active CN101808356B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201010154113 CN101808356B (en) 2010-04-20 2010-04-20 Protocol simulation system for TD-SCDMA terminal protocol conformance tests

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201010154113 CN101808356B (en) 2010-04-20 2010-04-20 Protocol simulation system for TD-SCDMA terminal protocol conformance tests

Publications (2)

Publication Number Publication Date
CN101808356A CN101808356A (en) 2010-08-18
CN101808356B true CN101808356B (en) 2013-04-17

Family

ID=42609926

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201010154113 Active CN101808356B (en) 2010-04-20 2010-04-20 Protocol simulation system for TD-SCDMA terminal protocol conformance tests

Country Status (1)

Country Link
CN (1) CN101808356B (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102291757B (en) * 2011-07-01 2014-04-02 大唐移动通信设备有限公司 Method and equipment for testing conformance of terminal
CN102421112B (en) * 2011-11-18 2015-05-20 展讯通信(上海)有限公司 Testing method of mobile terminal, mobile terminal simulator, testing equipment and testing system
CN102438265B (en) * 2012-01-17 2014-12-17 大唐移动通信设备有限公司 Test method and device for RLC (Radio Link Control) layer
CN104363615A (en) * 2014-05-12 2015-02-18 尹珏林 Method and device for protocol inter-operability test of M2M business layer
CN104125116A (en) * 2014-08-04 2014-10-29 上海斐讯数据通信技术有限公司 Method and system for testing protocol conformance
CN107027140A (en) * 2017-03-27 2017-08-08 武汉虹信通信技术有限责任公司 Protocal layers customer instance consistency maintaining method in a kind of LTE
CN108009088A (en) * 2017-11-30 2018-05-08 惠州市德赛西威汽车电子股份有限公司 A kind of automatization test system of underlying protocol
CN109688599B (en) * 2019-01-11 2022-04-22 北京华力创通科技股份有限公司 Terminal tester packet domain scheduling method and device
CN110380939B (en) * 2019-08-08 2022-03-29 重庆邮电大学 Consistency test method and system for local communication protocol in electricity consumption information acquisition system
CN111431770B (en) * 2020-04-03 2021-12-07 宁波艾欧迪互联科技有限公司 Terminal protocol consistency test system and method for 5G communication

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101232661A (en) * 2008-01-21 2008-07-30 中兴通讯股份有限公司 System and method for testing protocol consistency for base station

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101232661A (en) * 2008-01-21 2008-07-30 中兴通讯股份有限公司 System and method for testing protocol consistency for base station

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
战松涛等.支持终端一致性测试的TD-SCDMA协议测试平台的构建.《电信科学》.2006,(第08期),81-85. *
田兵等.TD-SCDMA移动终端协议一致性测试技术的研究.《电子质量》.2004,(第09期),18-20. *

Also Published As

Publication number Publication date
CN101808356A (en) 2010-08-18

Similar Documents

Publication Publication Date Title
CN101808356B (en) Protocol simulation system for TD-SCDMA terminal protocol conformance tests
CN103439612B (en) Based on the intelligent substation Auto-Test System of SCD
CN100544292C (en) A kind of method of BAS Broadband Access Server automatic test
CN102104504B (en) Platform and method for testing northbound interface
CN100356739C (en) Testing system and method
CN106154865B (en) A kind of vehicle bus simulation model self-generating method and system
CN103248440B (en) Terminal test system and method
CN101287266B (en) Test system and method for mobile phone
CN105471982A (en) Interaction method and system for internet-of-things gateway and cloud platform
CN105224753A (en) The multi-specialized design verification platform of non-active nuclear power plant
Foni et al. Evaluation methodologies for the NB-IOT system: Issues and ongoing efforts
CN101841840A (en) System and method for testing multi-frequency point, multi-frequency range or multi-carrier protocol consistency
CN103152756B (en) Automation configuration method for wireless local area network access controller (WLAN AC)
CN112804092A (en) Modeling and simulation method and system for OTN optical transmission network for power communication
CN111984529A (en) APP software compatibility automatic test method
CN102025555B (en) Method and device for testing IP multimedia sub-system performance
CN105187250A (en) Method and system for deploying nodes based on component template
CN104638767A (en) Intelligent substation test oriented spacer layer data source simulation method and device
CN106849349B (en) A kind of sun square formation simulator developing Of Remote Control Power frame system
CN104333486B (en) A kind of network element device test system and method
CN101969442B (en) Process running environment perception and migration based network analog framework implementation method
CN105447003A (en) Parameter set generation method and device
CN104578418B (en) Configuration method and system of automatic power distribution equipment based on 101 protocols, and equipment
CN102148729B (en) Automatic test method for private SNMP (simple network management protocol) management instruction of passive optical network equipment
CN101370231B (en) Mobile phone test system based on client/service mode

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: 20220112

Address after: 100191 No. 40, Haidian District, Beijing, Xueyuan Road

Patentee after: CHINA ACADEMY OF INFORMATION AND COMMUNICATIONS

Address before: 100045 Beijing city Xicheng District Yuetan Nan Street 11

Patentee before: The Research Institute of Telecommunications Transmission MIIT

TR01 Transfer of patent right