CN100568994C - A kind of protocol software testing system and method - Google Patents

A kind of protocol software testing system and method Download PDF

Info

Publication number
CN100568994C
CN100568994C CNB2006100575038A CN200610057503A CN100568994C CN 100568994 C CN100568994 C CN 100568994C CN B2006100575038 A CNB2006100575038 A CN B2006100575038A CN 200610057503 A CN200610057503 A CN 200610057503A CN 100568994 C CN100568994 C CN 100568994C
Authority
CN
China
Prior art keywords
subsystem
base station
protocol software
protocol
encoding
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.)
Expired - Fee Related
Application number
CNB2006100575038A
Other languages
Chinese (zh)
Other versions
CN101035348A (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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CNB2006100575038A priority Critical patent/CN100568994C/en
Publication of CN101035348A publication Critical patent/CN101035348A/en
Application granted granted Critical
Publication of CN100568994C publication Critical patent/CN100568994C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The invention provides a kind of protocol software testing system and method.System comprises emulation subscriber equipment end and simulation base station; Wherein, emulation subscriber equipment end comprises: fixed telephone, encoding and decoding subsystem and protocol function subsystem; Simulation base station comprises: BTS service subsystem and physical layer analog subsystem.Method comprises: in protocol software test with fixed telephone terminal equipment as an alternative; Use agreement functional subsystem and simulation base station realize based on interaction of physical layer in protocol software test; In protocol software test, use the repertoire of BTS service subsystem realization complete base station except that the wireless signal transmitting-receiving of simulation base station.Use system and method for the present invention, the protocol software can not be subjected to the restriction of user's equipment end hardware platform and operating system to verify and test; Complete and the real network peer layer of the L2 of agreement and L3 carries out alternately, and is the most approaching with test under complete true environment; System building is succinctly convenient.

Description

A kind of protocol software testing system and method
Technical field
The present invention relates to the mobile communication technology field, particularly a kind of test macro and method that is not subjected to the subscriber equipment end protocol software of hardware platform and operating system restriction.
Background technology
In 3G (Third Generation) Moblie (3G) field, the protocol software is partly with respect to huger and complicated in the past, and the protocol software is the core place of whole system, and its quality is huge to function, the performance impact of whole system.Therefore be not only important very necessaryly especially no matter in development or test phase, the protocol software is carried out strict test, only in this way could guarantee agreement software reach good protocol conformance, interconnection and interflow, reliability and stability etc.
For the test macro and the method for subscriber equipment (UE, User Equipment) the end protocol software, at present main has following two kinds:
As shown in Figure 1, be the model schematic diagram of common protocol software testing system and method one, comprising: test case 101, adaptation layer 102, the protocol software 103.The tested protocol software 103 operates on PC or the work station, but the protocol software directly is not rooted in and is to use operational subsystems to keep apart the protocol software and operating system on the operating system, and the protocol software operates on the operational subsystems.The surrounding environment and the tested protocol software that use special-purpose software testing tool structure test case to simulate the tested protocol software operate on PC or the work station simultaneously, and allow tested entity and test case be undertaken alternately by adaptation layer, again measured value and desired value are compared, thereby estimate tested entity.
As shown in Figure 2, model schematic diagram for common protocol software testing system and method two comprises: UE end hardware platform 201, NodeB (Node B, base station) 202, RNC (Radio NetworkController, radio network controller) 403 and CN (Core Network, core net) 402.Wherein the UE end protocol software operates on the real UE end hardware platform 201, and UE end hardware platform 201 provides fully real hardware environment for the protocol software.The tester is undertaken alternately by man-machine interface (as keyboard) and UE, and it is mutual by computer and UE perhaps to write auto test flow on computers the tester, thereby control UE makes UE communicate by letter with real network environment or network test environment by eating dishes without rice or wine.Carry out signaling tracing and analysis at network side or UE side, comprise simultaneously other project that need test is tested.The purpose that arrival is tested the whole UE end protocol software.
For first kind of system and method, this test mode is simple and easy to do, do not need complicated external environment condition, only need a PC and can constitute the most basic test macro once cover special-purpose software testing tool, but the method is not to test in real network environment after all, can not test completely and verifies the protocol software.
For second kind of system and method, this is the test mode under a kind of complete true environment, but need ask very high to test institute environment, except real network environment of needs or network test environment, also need real UE end hardware environment and with the real time operating system of the supporting supporting protocol running software of hardware environment.For at protocol software research and development or test phase because under a variety of causes is soft, hardware is temporarily mismatched and real-time oss the is unified temporary transient ill-matched situation of the protocol software, the protocol software verified and tests just be difficult to finish.
Summary of the invention
Technical problem to be solved by this invention is, a kind of protocol software testing system and method are provided, use system and method for the present invention, can not be subjected to the restriction of user's equipment end hardware platform and operating system the protocol software is verified and to be tested, and system building is succinctly convenient.
For solving the problems of the technologies described above, the present invention proposes a kind of protocol software testing system and method.System comprises: emulation subscriber equipment end and simulation base station; Wherein,
Described emulation subscriber equipment end comprises:
Fixed telephone is used for testing terminal equipment as an alternative at the protocol software;
The encoding and decoding subsystem is used for receiving the signal that fixed telephone sends in protocol software test, returns the signal that simulation base station sends to fixed telephone, and realizes the encoding and decoding of signal;
The protocol function subsystem links to each other with described simulation base station, be used for being implemented in protocol software test and simulation base station based on interaction of physical layer;
Described simulation base station comprises:
The BTS service subsystem is used for the repertoire in protocol software test realization complete base station except that the wireless signal transmitting-receiving;
The physical layer analog subsystem links to each other with described emulation subscriber equipment end, be used for being implemented in protocol software test and emulation subscriber equipment end based on interaction of physical layer.
Described encoding and decoding subsystem can be realized with public switched telephone network with being connected of fixed telephone.
Described encoding and decoding subsystem can be realized by core net.
Described protocol function subsystem can be further used for realizing processing, system support and the application layer simulation of protocol stack in protocol software test.
Described fixed telephone can be connected with the E1 interface with the encoding and decoding subsystem.
Described coding subsystem can be connected with fastethernet interface (FE) with the protocol function subsystem.
Described emulation subscriber equipment end can be connected by the Ethernet mode with the physical layer analog subsystem of simulation base station, and simulation base station provides real Iub interface, is used for being connected with radio network controller.
Protocol software method of testing comprises:
Be used in protocol software test the step of fixed telephone as the replacement terminal equipment of emulation subscriber equipment end;
Be used for using the encoding and decoding subsystem of emulation subscriber equipment end to realize the step of the encoding and decoding of signal in protocol software test;
Be used for being implemented in protocol software test and use the protocol function subsystem and the step of simulation base station realization of emulation subscriber equipment end based on interaction of physical layer;
Be used for using the BTS service subsystem of simulation base station to realize the step of the repertoire of complete base station except that the wireless signal transmitting-receiving in protocol software test;
Be used for being implemented in protocol software test and use the physical layer analog subsystem and the step of emulation subscriber equipment end realization of simulation base station based on interaction of physical layer.
Described method may further include: be used to use public switched telephone network to realize the step of connecting of encoding and decoding subsystem and landline telephone switch.
Described method may further include: be used to use core net to realize the step of encoding and decoding subsystem.
Described method may further include: be used for the use agreement functional subsystem realizes processing, system support and the application layer simulation of protocol stack in protocol software test step.
Described method may further include: be used to use the E1 interface to be connected and fixed the step of telephone set and encoding and decoding subsystem.
Described method may further include: be used to use the FE interface to connect the step of encoding and decoding subsystem and protocol function subsystem.
Described method may further include: be used to use the Ethernet mode to connect the physical layer analog subsystem of emulation subscriber equipment end and simulation base station, simulation base station provides real Iub interface, is used for and the radio network controller step of connecting.
Use protocol software testing system of the present invention and method, the protocol software can not be subjected to the restriction of user's equipment end hardware platform and operating system to verify and test; L2 of agreement (Layer2, data link later, the second layer, data link layer) and the complete and real network peer layer of L3 (Layer3, network Layer, the 3rd layer, network layer) carry out alternately, and be the most approaching with test under complete true environment; Interface communicates because emulation subscriber equipment end and simulation base station do not need aloft, and system building is succinctly convenient.
Description of drawings
Fig. 1 is the model schematic diagram of common protocol software testing system and method one;
Fig. 2 is the model schematic diagram of common protocol software testing system and method two;
Fig. 3 is the structural representation according to the described protocol software testing system emulation of embodiment of the invention subscriber equipment end;
Fig. 4 is the structural representation according to the described protocol software testing system simulation base station of the embodiment of the invention;
Fig. 5 is the structural representation according to the described protocol software testing system of the embodiment of the invention;
Fig. 6 is the test flow chart according to the described protocol software method of testing of the embodiment of the invention.
Embodiment
As shown in Figure 3, be structural representation according to the described protocol software testing system emulation of embodiment of the invention subscriber equipment end, comprising: telephone set 301, link to each other with the encoding and decoding subsystem by PSTN (Public SwitchingTelephone Network, public switched telephone network) 302; The encoding and decoding subsystem comprises AMR (Adaptive Multi Rate, adaptive multi-rate) encoding and decoding part, realizes with CN402; Protocol function subsystem 304: comprise L2/L3 protocol stack and standard interface 305, support system, physical layer simulation, application layer simulation.
In the emulation UE end, telephone set 301 is connected with the E1 interface with the encoding and decoding subsystem, the encoding and decoding subsystem is connected with the FE interface with protocol function subsystem 304, answer the call machine 302 and then receive core net 402 of PSTN302, core net 402 parts realize the encoding-decoding process of AMR, communicate by letter with the protocol software again.The protocol software operates on the PC by supporting layer.
Emulation UE can realize real speech, and the processing of protocol stack is identical with true UE.
As shown in Figure 4, be structural representation according to the described protocol software testing system simulation base station of the embodiment of the invention, comprising: emulation NodeB401, CN402 and RNC403.
Comprise complete NodeB among the emulation NodeB401 but do not need wireless portion, and replace real physical layer software with the physical layer simulation softward.The physical layer simulation of emulation NodeB and the physical layer simulation of emulation UE couple together the two by the Ethernet mode, emulation NodeB provides real Iub interface to be connected with real RNC, Iub interface is the interface between RNC and the Node-B, is used for transmitting the signaling between RNC and the Node-B and the data of wave point.Later network element RNC, the CN etc. of emulation NodeB are real.
Emulation NodeB mainly comprises: physical layer simulation, data transaction layer, CFP/DFP (CFP, UTRANIub interface user plane protocol for CCH data streams, the user plane protocol of Universal Terrestrial Radio Access Network network Iub interface CCH data flow; DFP, UTRAN Iub/Iur interface user planeprotocol for DCH data streams, the user plane protocol of Universal Terrestrial Radio Access Network network Iub/Iur interface DCH data flow), AAL2 (ATM Adaptation Layer 2, asynchronous transfer mode adapting layer types 2), ALCAP (Access Link Control Application Protocol, Access Link Control ApplicationProtocol), NBAP (Node B Application Part, node B application part), SSCF-UNI (service specific coordination function user network interface, the service specific coordination function User Network Interface, it is a kind of functional network interface of definition in the ITU-T suggestion Q.2130, support the user-network interface signaling), SSCOP (service specific connection orientedprotocol, professional specific connection oriented protocol, a kind of adaptation layer protocol that is applied to signaling of definition in the ITU-T suggestion Q.2110), AAL5 (ATM Adaptation Layer 5, step transfer mode adapting layer types 5).
As shown in Figure 5, be structural representation according to the described protocol software testing system of the embodiment of the invention, comprising: emulation UE501, emulation NodeB401, CN402 and RNC403.
Connection emulation UE501 and emulation NodeB401 connect to form protocol software testing system by the physical layer simulation of equity in wired mode.
Wireless simulation is gone up the FP agreement (Frame Protocol, Frame Protocol, CFP or DFP agreement) of message by being converted into Iub interface that analog physical layer is sent with emulation UE, is delivered to RNC by the Iub interface of standard.By increasing various corresponding tests and analysis tool can be analyzed, test whole checking and test process in emulation UE side or in emulation NodeB side.Can realize comprising comparison, test by various tool to signaling process and data flow.
As shown in Figure 6, be the test flow chart according to the described protocol software method of testing of the embodiment of the invention, concrete steps are as follows:
(step 601) disposes emulation UE according to composition, the structure of protocol software testing system.
Form emulation UE part as requested, this part comprises: microphone (PSTN realization); AMR encoding and decoding (core net realization); Protocol function (true protocol stack, true standard interface, support system, physical layer simulation, application layer simulation).PSTN connects a telephone set, carries out semi-fixing continuing certain time slot to E1 by PSTN, and this E1 is connected to the MDT (relay plate) of core net.The T net of core net is done semi-fixing continuing the particular time-slot on the MDT (corresponding to the particular time-slot that goes out E1 on the PSTN) is a certain road AMR of semi-fixing continuing to the core net MTC (many rate code code converter).The last AMR of MTC is with the processor of data passes to the MTC, realize the AMR controlled function by this processor, and communicate by letter with the L2/L3 protocol stack sofeware on the PC that realizes protocol function, the voice messaging of encoding is delivered to RLC (wireless chain control layer) module of protocol stack.Emulation UE can realize real speech, and the processing of protocol stack is identical with true UE.
(step 602) disposes emulation NodeB according to composition, the structure of protocol software testing system.
Form emulation NodeB part as requested, this part comprises: do not comprise the other parts of the true NodeB of wireless portion, and replace real physical layer with the physical layer simulation softward.The physical layer simulation realizes in the Ethernet mode.The data transaction that the data transaction layer module of emulation NodeB sent the physical layer analog module goes up L2/L3 protocol stack data by CFP/DFP with UE again and is delivered to RNC by AAL2 to CFP/DFP.Iub interface on the emulation NodeB is real, the NBAP module is related with AAL2 with the Radio Link of Iub mouth with the ALCAP module, realize the correspondence of the physics/transmission channel of data transaction layer different UEs simultaneously to the specific CID of AAL2 (Channel Identifier, channel recognition sign indicating number).Simulation NodeB connects real RNC, and the network element of back such as while CN all is real, and like this, the NAS of the last L2/L3 protocol stack of UE (Non-Access Stadium, Non-Access Stratum) part is delivered to core net by RNC.
(step 603) connects emulation UE and emulation NodeB.
Connect emulation UE and emulation NodeB and form complete test macro, both connect in wired mode by the physical layer simulation of equity.Wireless simulation is gone up the FP agreement (CFP or DFP agreement) of message by being converted into Iub interface that analog physical layer is sent with emulation UE, is delivered to RNC by the Iub interface of standard.L2/L3 protocol stack on the emulation UE has passed through the checking of real RNC and CN, is not subjected to the restriction of UE end hardware platform (comprising physical layer) and operating system.
(step 604) application layer simulation or network terminal by emulation UE initiated checking and test to every function of the UE end protocol software, by increasing various corresponding tests and analysis tool can be analyzed, test whole checking and test process in emulation UE side or in emulation NodeB side.

Claims (14)

1, a kind of protocol software testing system is characterized in that, comprises emulation subscriber equipment end and simulation base station; Wherein,
Described emulation subscriber equipment end comprises:
Fixed telephone is used for testing terminal equipment as an alternative at the protocol software;
The encoding and decoding subsystem is used for receiving the signal that fixed telephone sends in protocol software test, returns the signal that simulation base station sends to fixed telephone, and realizes the encoding and decoding of signal;
The protocol function subsystem links to each other with described simulation base station, be used for being implemented in protocol software test and simulation base station based on interaction of physical layer;
Described simulation base station comprises:
The BTS service subsystem is used for the repertoire in protocol software test realization complete base station except that wireless signal receives;
The physical layer analog subsystem links to each other with described emulation subscriber equipment end, be used for being implemented in protocol software test and emulation subscriber equipment end based on interaction of physical layer.
According to the described system of claim 1, it is characterized in that 2, described encoding and decoding subsystem was realized with being connected with public switched telephone network of fixed telephone.
According to the described system of claim 1, it is characterized in that 3, described encoding and decoding subsystem is realized by core net.
According to the described system of claim 1, it is characterized in that 4, described protocol function subsystem is further used for realizing processing, system support and the application layer simulation of protocol stack in protocol software test.
According to the described system of claim 1, it is characterized in that 5, described fixed telephone is connected with the E1 interface with the encoding and decoding subsystem.
According to the described system of claim 1, it is characterized in that 6, described encoding and decoding subsystem is connected with fastethernet interface (FE) with the protocol function subsystem.
According to the described system of claim 1, it is characterized in that 7, described emulation subscriber equipment end is connected by the Ethernet mode with the physical layer analog subsystem of simulation base station, simulation base station provides real Iub interface, is used for being connected with radio network controller.
8, a kind of protocol software method of testing is characterized in that, comprising:
Be used in protocol software test the step of fixed telephone as the replacement terminal equipment of emulation subscriber equipment end;
Be used for using the encoding and decoding subsystem of emulation subscriber equipment end to realize the step of the encoding and decoding of signal in protocol software test;
Be used for being implemented in protocol software test and use the protocol function subsystem and the step of simulation base station realization of emulation subscriber equipment end based on interaction of physical layer;
Be used for using the BTS service subsystem of simulation base station to realize the step of the repertoire of complete base station except that wireless signal receives in protocol software test;
Be used for being implemented in protocol software test and use the physical layer analog subsystem and the step of emulation subscriber equipment end realization of simulation base station based on interaction of physical layer.
9, described according to Claim 8 method is characterized in that, further comprises: be used to use public switched telephone network to realize the step of connecting of encoding and decoding subsystem and landline telephone switch.
10, described according to Claim 8 method is characterized in that, further comprises: be used to use core net to realize the step of encoding and decoding subsystem.
11, described according to Claim 8 method is characterized in that, further comprises: be used for the use agreement functional subsystem realizes processing, system support and the application layer simulation of protocol stack in protocol software test step.
12, described according to Claim 8 method is characterized in that, further comprises: be used to use the E1 interface to be connected and fixed the step of telephone set and encoding and decoding subsystem.
13, described according to Claim 8 method is characterized in that, further comprises: be used to use the FE interface to connect the step of encoding and decoding subsystem and protocol function subsystem.
14, described according to Claim 8 method, it is characterized in that, further comprise: be used to use the Ethernet mode to connect the physical layer analog subsystem of emulation subscriber equipment end and simulation base station, simulation base station provides real Iub interface, is used for and the radio network controller step of connecting.
CNB2006100575038A 2006-03-09 2006-03-09 A kind of protocol software testing system and method Expired - Fee Related CN100568994C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2006100575038A CN100568994C (en) 2006-03-09 2006-03-09 A kind of protocol software testing system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2006100575038A CN100568994C (en) 2006-03-09 2006-03-09 A kind of protocol software testing system and method

Publications (2)

Publication Number Publication Date
CN101035348A CN101035348A (en) 2007-09-12
CN100568994C true CN100568994C (en) 2009-12-09

Family

ID=38731589

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2006100575038A Expired - Fee Related CN100568994C (en) 2006-03-09 2006-03-09 A kind of protocol software testing system and method

Country Status (1)

Country Link
CN (1) CN100568994C (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101420341B (en) * 2008-12-08 2011-01-05 福建星网锐捷网络有限公司 Processor performance test method and device for embedded system
CN101552997B (en) * 2009-05-15 2010-11-10 北京威讯紫晶科技有限公司 Analogy method of single channel wireless data exchanging space in a wireless network
CN101800910B (en) * 2010-01-25 2014-04-09 中兴通讯股份有限公司 Simulation system, PC side simulator and mobile phone side agent client
CN102281567A (en) * 2011-07-25 2011-12-14 中兴通讯股份有限公司 Terminal simulation method and system
CN102420891B (en) * 2011-09-23 2014-05-28 展讯通信(上海)有限公司 Mobile terminal and test method, equipment and system thereof
CN102421112B (en) * 2011-11-18 2015-05-20 展讯通信(上海)有限公司 Testing method of mobile terminal, mobile terminal simulator, testing equipment and testing system
CN103237321A (en) * 2013-05-08 2013-08-07 重庆金美通信有限责任公司 Physical layer channel analog method for testing network protocol stacks
CN105142159B (en) * 2015-08-20 2018-08-21 武汉邮电科学研究院 The test system of L2 in a kind of LTE base station
CN107819645B (en) * 2017-10-16 2021-02-09 南京网元通信技术有限公司 Internet of things testing method based on software simulation
CN116112943A (en) * 2023-02-20 2023-05-12 中国科学院计算技术研究所 Analog communication system, deployment method thereof and analog communication test method

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
ISDN的协议测试(一). 赵慧玲.现代电信科技,第8期. 1994
ISDN的协议测试(一). 赵慧玲.现代电信科技,第8期. 1994 *
新型BSC系统软件测试平台. 罗红.北京邮电大学学报,第25卷第3期. 2002
新型BSC系统软件测试平台. 罗红.北京邮电大学学报,第25卷第3期. 2002 *

Also Published As

Publication number Publication date
CN101035348A (en) 2007-09-12

Similar Documents

Publication Publication Date Title
CN100568994C (en) A kind of protocol software testing system and method
CN100431372C (en) Device and method for terminal consistency test in mobile communication system
CN1100421C (en) Protocol interface gateway
AU759215B2 (en) Cellular network traffic simulator
US8019333B2 (en) Apparatus and methods for product acceptance testing on a wireless device
AU2003205799A1 (en) Device for testing packet-switched cellular radio network
CN100466795C (en) Statistic method for communication service quality and its system terminal
CN101232410A (en) System and method for testing WAP gateway performance
JP2000508848A (en) Testing UNIX Open Systems Interconnection Layer
CN102075988A (en) System and method for locating end-to-end voice quality fault in mobile communication network
CN101247276A (en) large traffic simulation test tool and method for WiMAX system
CN101237657B (en) Method and system for testing base station time delay
CN101442767B (en) Method and apparatus for controlling multiple user terminals to implement business automatically
CN100405767C (en) System and method of testing performance of soft switch device
CN1135027C (en) Communications system and method for testing of communications apparatus
CN100558123C (en) A kind of system and method for realizing large-traffic speech test
CN100359970C (en) Apparatus and method for tandem-free vocoder operation between non-compatible communication systems by extracting inter- or intrasystem TFO-information
CN201035821Y (en) Mobile communication experiment system
CN100401693C (en) Performance detecting device and its method for radio network controller
CN101141753A (en) Big traffic automatization testing device and method
CN101351014B (en) Test system for anolog base station controller and test method
CN101500253B (en) Test system and method for base station uplink transmission channel performance
CN101009606A (en) A test method and system for L2TP tunnel specification
CN102075962B (en) Method for acquiring test office data and office data test device
CN102546306A (en) DSL transmission range test method and device adopting same

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
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20091209

Termination date: 20150309

EXPY Termination of patent right or utility model