CN101808356A - Protocol simulation system for TD-SCDMA terminal protocol conformance tests - Google Patents
Protocol simulation system for TD-SCDMA terminal protocol conformance tests Download PDFInfo
- Publication number
- CN101808356A CN101808356A CN 201010154113 CN201010154113A CN101808356A CN 101808356 A CN101808356 A CN 101808356A CN 201010154113 CN201010154113 CN 201010154113 CN 201010154113 A CN201010154113 A CN 201010154113A CN 101808356 A CN101808356 A CN 101808356A
- Authority
- CN
- China
- Prior art keywords
- test
- testing
- protocol
- script
- unit
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
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
Technical field
The present invention relates to the field tests of mobile communication, particularly relate to a kind of TD-SCDMA of being used for 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 upgrading of version each time all needs the work of repeater's power, and tester's level is had relatively high expectations.
3, autgmentability is relatively poor.The general not external key technology of its core of instrument development company generally can only be done a little simple expansions and uses on platform that instrument provides and function, scalability is too poor.
4, third party's instrument costs an arm and a leg, and it is higher to use it to carry out testing cost.
More than these problems will directly have influence on test evaluation to the communication system performance, also must influence the development speed of whole 3G (Third Generation) Moblie.Therefore in test process, be starved of the automatic test and the performance test framework that can provide general, all later on testing tools carry out secondary development on this platform, improve too development efficient and development quality greatly.
Summary of the invention
At defective that exists in the prior art and deficiency, the objective of the invention is to propose a kind of at the protocol emulation system in the TD-SCDMA communication system about the terminal protocol uniformity test, by editable testing control module and testing execution module are provided, can make the tester construct test case quickly and easily, 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 managing, control, carry out test script and draw test result, and the function that realizes CN and RRC in the TD-SCDMA mobile communcations system.
Operate in the testing execution module on the industrial computer that embedded OS is installed, be used for simulating the function of 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's development and testing use-case, test script;
Carry out the test script unit, be used to carry out test script
The unit that outputs test result outputs test result after being used to receive the feedback message of tested module.
Preferred as technique scheme, described testing control module also comprises:
The test and management unit is used to control the execution of test case/stop management of test cases and test script;
Communication unit is used for that the test case that test script extracted is carried out in described execution test script unit and encapsulates and send.
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 used for simulating the repertoire of the RLC module of TD-SCDMA mobile communcations system;
The MAC analogue unit is used for simulating the repertoire of the MAC module of 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 finish system testing, integration testing, various types of tests such as unit testing according to the tested object structure test environment of reality.The system at terminal protocol consistency structure that is implemented 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-mentioned and other purposes 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 of the present invention's proposition;
Fig. 4 is the submodule schematic diagram in the testing execution module of the present invention's proposition;
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 that is used for TD-SCDMA terminal protocol uniformity test comprises:
Testing control module 101, this testing control module operates on the PC that operating system is installed, and is used for managing, controls, carries out test script and draws 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, medium access key-course).
Wherein, 101 of testing control module comprise:
Development and testing script unit is used for user's development and testing use-case and test script;
Carry out the test script unit, be used to carry out test script;
The unit that outputs test result outputs test result after being used to receive the feedback message of tested module.
Testing control module 101 can also comprise:
The test and management unit is used to control the execution of test case/stop management of test cases and test script;
Communication unit is used for that the test case that test script extracted is carried out in described execution test script unit and encapsulates and send.
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 test case that constructs and protocol message can reuse.The tester only needs to carry out test script in test process, the cell that feeds back by terminal 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 storage 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, help 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.
The uniformity test environment is made up 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 PC that moves the high level test control module and operation bottom testing execution module.The function in TD-SCDMA mobile communcations system middle level 3 is realized on the backstage of moving on PC, adopts 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 at 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 uses data-driven version, and data are separated 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 big 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 or the like the relevant operation of test control.
When beginning to test, test and management is carried out corresponding test by message control simulator, and the application and the release of control resource, carries out 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: at 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, dispose 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, judge whether protocol compliant with desired value in the test case;
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.
Though; the present invention clearly demonstrates by above embodiment and accompanying drawing thereof; yet under the situation that does not deviate from spirit of the present invention and essence thereof; the person of ordinary skill in the field works as can make various corresponding variations and correction according to the present invention, but these corresponding variations and correction all should belong to the protection range of claim of the present invention.
Claims (5)
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 operates on the PC that operating system is installed, and is used for managing, controls, carries out test script and draws 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.
2. protocol emulation according to claim 1 system is characterized in that described testing control module comprises:
Development and testing script unit is used for user's development and testing use-case and test script;
Carry out the test script unit, be used to carry out test script;
The unit that outputs test result outputs test result after being used to receive the feedback message of tested module.
3. protocol emulation according to claim 2 system is characterized in that described testing control module also comprises:
The test and management unit is used to control the execution of test case/stop management of test cases and test script;
Communication unit is used for that the test case that test script extracted is carried out in described execution test script unit and encapsulates and send.
4. protocol emulation according to claim 3 system is characterized in that, described communication unit adopts message or TCP/UDP mode to send test case.
5 protocol emulation according to claim 1 systems is characterized in that 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.
6. according to the above-mentioned any described protocol emulation of the claim system of claim, it is characterized in that described test case, test script adopt the TCL script.
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 true CN101808356A (en) | 2010-08-18 |
CN101808356B 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) |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102291757A (en) * | 2011-07-01 | 2011-12-21 | 大唐移动通信设备有限公司 | Method and equipment for testing conformance of terminal |
CN102421112A (en) * | 2011-11-18 | 2012-04-18 | 展讯通信(上海)有限公司 | Testing method of mobile terminal, mobile terminal simulator, testing equipment and testing system |
CN102438265A (en) * | 2012-01-17 | 2012-05-02 | 大唐移动通信设备有限公司 | Test method and device for RLC (Radio Link Control) layer |
CN104125116A (en) * | 2014-08-04 | 2014-10-29 | 上海斐讯数据通信技术有限公司 | Method and system for testing protocol conformance |
CN104363615A (en) * | 2014-05-12 | 2015-02-18 | 尹珏林 | Method and device for protocol inter-operability test of M2M business layer |
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 |
CN109688599A (en) * | 2019-01-11 | 2019-04-26 | 北京华力创通科技股份有限公司 | Terminal tester packet domain dispatching method and device |
CN110380939A (en) * | 2019-08-08 | 2019-10-25 | 重庆邮电大学 | The conformance test method and system of local communication protocol in a kind of power information acquisition system |
CN111431770A (en) * | 2020-04-03 | 2020-07-17 | 宁波艾欧迪互联科技有限公司 | Terminal protocol consistency test system and method for 5G communication |
Citations (1)
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 |
-
2010
- 2010-04-20 CN CN 201010154113 patent/CN101808356B/en active Active
Patent Citations (1)
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)
Title |
---|
《电信科学》 20060831 战松涛等 支持终端一致性测试的TD-SCDMA协议测试平台的构建 81-85 1-6 , 第08期 * |
《电子质量》 20040930 田兵等 TD-SCDMA移动终端协议一致性测试技术的研究 18-20 1-6 , 第09期 * |
Cited By (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102291757A (en) * | 2011-07-01 | 2011-12-21 | 大唐移动通信设备有限公司 | Method and equipment for testing conformance of terminal |
CN102291757B (en) * | 2011-07-01 | 2014-04-02 | 大唐移动通信设备有限公司 | Method and equipment for testing conformance of terminal |
CN102421112A (en) * | 2011-11-18 | 2012-04-18 | 展讯通信(上海)有限公司 | Testing method of mobile terminal, mobile terminal simulator, testing equipment and testing system |
CN102421112B (en) * | 2011-11-18 | 2015-05-20 | 展讯通信(上海)有限公司 | Testing method of mobile terminal, mobile terminal simulator, testing equipment and testing system |
CN102438265A (en) * | 2012-01-17 | 2012-05-02 | 大唐移动通信设备有限公司 | Test method and device for RLC (Radio Link Control) layer |
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 |
CN109688599A (en) * | 2019-01-11 | 2019-04-26 | 北京华力创通科技股份有限公司 | Terminal tester packet domain dispatching method and device |
CN110380939A (en) * | 2019-08-08 | 2019-10-25 | 重庆邮电大学 | The conformance test method and system of local communication protocol in a kind of power information acquisition system |
CN110380939B (en) * | 2019-08-08 | 2022-03-29 | 重庆邮电大学 | Consistency test method and system for local communication protocol in electricity consumption information acquisition system |
CN111431770A (en) * | 2020-04-03 | 2020-07-17 | 宁波艾欧迪互联科技有限公司 | Terminal protocol consistency test system and method for 5G communication |
CN111431770B (en) * | 2020-04-03 | 2021-12-07 | 宁波艾欧迪互联科技有限公司 | Terminal protocol consistency test system and method for 5G communication |
Also Published As
Publication number | Publication date |
---|---|
CN101808356B (en) | 2013-04-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101808356B (en) | Protocol simulation system for TD-SCDMA terminal protocol conformance tests | |
CN108023952B (en) | Cloud and mist combination-based modularized Internet of things application rapid construction platform | |
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 | |
CN101287266B (en) | Test system and method for mobile phone | |
CN106357457A (en) | Warning test method, warning test apparatus and warning test system | |
CN104090810B (en) | A kind of core frame integrated approach based on software communication architectural framework | |
CN105471982A (en) | Interaction method and system for internet-of-things gateway and cloud platform | |
US20140100837A1 (en) | Integration verification system | |
CN101145130A (en) | Simple network management protocol software test device and test method | |
CN103248440A (en) | Terminal test system and method | |
CN114338418B (en) | Virtual-real combined information network verification platform | |
CN116089281A (en) | Chip testing method, testing platform and device | |
CN103152756B (en) | Automation configuration method for wireless local area network access controller (WLAN AC) | |
CN101841840A (en) | System and method for testing multi-frequency point, multi-frequency range or multi-carrier protocol consistency | |
CN112804092A (en) | Modeling and simulation method and system for OTN optical transmission network for power communication | |
CN102025555B (en) | Method and device for testing IP multimedia sub-system performance | |
CN105760300A (en) | Automatic STK/UTK service testing method and system | |
CN106849349B (en) | A kind of sun square formation simulator developing Of Remote Control Power frame system | |
CN111984529A (en) | APP software compatibility automatic test method | |
CN101969442B (en) | Process running environment perception and migration based network analog framework implementation method | |
CN102541830B (en) | Method and device for generating simulation report in simulation platform | |
CN105447003A (en) | Parameter set generation method and device | |
CN104333486B (en) | A kind of network element device test system and method | |
CN102868461B (en) | Base band test method, device and system |
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 | ||
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 |