Base station simulator and base station test method
Technical field
The present invention relates to wireless communication technology, particularly the method for testing of base station and the equipment relevant with test.
Background technology
Since the eighties, analog mobile communication system was born, mobile communication obtained develop rapidly in the whole world in the short more than ten years, developed into 3-G (Generation Three mobile communication system) (TheThird Generation is called for short " 3G ") from first generation analogue system.At present, second generation digital system mainly comprises global system for mobile communications (Global System for mobile Communication, be called for short " GSM ") and code division multiple access (Code Division Multiple Access, be called for short " CDMA ") etc., wherein, CDMA occupies critical role in mobile communication, in 3G, comparatively Cheng Shu three big standards all belong to the category of CDMA especially.
In the CMDA communication system, subscriber equipment (User Equipment, be called for short " UE ") communicate via a wireless access network (Radio Access Network is called for short " RAN ") and one or more core net (Core Network is called for short " CN ").Wherein, UE can be mobile phone, also can be to have the notebook computer of portable terminal or be installed in mobile communication equipment on the vehicle, these equipment can carry out voice and/or data communication service with wireless access network, for example: make a phone call, fax, online browsing, and send and receive e-mail or the like.
Wherein, RAN covers the geographic area be divided into cell area, and each cell area provides service by a base station (Base Station is called for short " BS "), promptly provides wireless coverage in the one's respective area by this BS.BS communicates by letter with UE in the sub-district by BS equipment, carries out various control functions such as network resource management, channel switch by control appliance.The control appliance of BS is called base station controller (BaseStation Controller is called for short " BSC ").BSC is connected with BS equipment by the asynchronous transfer mode internetworking agreement of (AsynchronousTransfer Mode is called for short " ATM ") (IP OVER ATM is called for short " IPOA ") interface.
BSC is by the Network Management Equipment centralized control, and it is again a very important function of Network Management Equipment that many BS parallel work-flow is safeguarded.In order to verify whether BSC or Network Management Equipment possess commercial standard (CS), can to support the Operation and Maintenance function that many BS are parallel, must adopt environment near the online practical operation situation of product that it is carried out high traffic and test, this also be product issue must be through link.
At present, for many BS Operation and Maintenance function of Network Management Equipment or BSC being carried out the high traffic test, generally be to use a plurality of real BS to participate in test.
Use a plurality of real BS equipment to be connected with the BSC or the Network Management Equipment of system under test (SUT), the operational maintenance command of the many BS of operation judges according to the response message of many BS operational maintenance command whether this function obtains correct realization on Network Management Equipment.
In actual applications, there is following problem in such scheme: testing cost height, network environment complexity, BS limited amount.
Cause the main cause of this situation to be, this test participates in finishing by using real BS equipment.And the general zone that distributes of real BS equipment is wider, can't finish the test to BSC in a machine room.
Summary of the invention
In view of this, main purpose of the present invention is to provide a kind of wireless communication technology, utilizes less Material Cost just can realize the simulation that a large amount of base station operations are safeguarded as long as make.
For achieving the above object, the invention provides a kind of base station simulator, comprise:
At least one interface module is connected with base station controller, is used to provide the physical layer interface access function;
Command interpretation and respond module are used for handling according to the script that sets in advance, and returning corresponding response command by described interface module to described base station controller by the base station operation maintenance command of described interface module reception from base station controller.
Wherein, described command interpretation and respond module have two at least;
Described base station simulator also comprises Switching Module, is used for transmitting various command between each described interface module and command interpretation and respond module.
In addition, described Switching Module is an Ethernet switch.
In addition, also comprise control module, be used to provide one of following function or its combination in any:
The monitoring that the parameter of operation interface, configuration described interface module and command interpretation and respond module or script, control test process is provided, obtains information in test result and the test process to the user.
In addition, described interface module also is used to provide the function of file transfer protocol (FTP) client, so that download the file of appointment from described base station controller according to the indication of described command interpretation and respond module.
In addition, described command interpretation and respond module are based on the explanation actuator of appointed language, and described script uses this appointed language to describe.
In addition, described appointed language comprises:
Tool Command Language or Python.
In addition, be connected by IP interface or all-IP interface between described interface module and the described base station controller based on asynchronous transfer mode.
The present invention also provides a kind of base station test method, comprises following steps:
Network Management Equipment sends the base station operation maintenance command by base station controller to base station simulator;
The interface module of described base station simulator is transmitted to command interpretation and respond module after receiving described base station operation maintenance command;
Described command interpretation and respond module are handled according to the script that sets in advance, and return corresponding response command by described interface module to described base station controller;
Described base station controller is transmitted to described Network Management Equipment with the response command of receiving.
Wherein, pass through Switching Module repeating base station operational maintenance command and response command thereof between described interface module and command interpretation and the respond module.
By relatively finding that the main distinction of technical scheme of the present invention and prior art is, dock with BSC by simulator, a simulator is simulated the Operation and Maintenance function of a plurality of BS equipment.Simulator comprises interface module, command interpretation and respond module, Switching Module and control module.
In simulator, use the TCL resolver according to TCL script parse operation maintenance command and give corresponding response.
Difference on this technical scheme, brought comparatively significantly beneficial effect, promptly test because use simulator to replace real BS, just can realize the simulation that a large amount of base station operations are safeguarded so only need less Material Cost, satisfy base station controller or Network Management Equipment and safeguard the requirement that high traffic is tested for many base station operations, cost is low, Test Networking is simple.
Because in simulator, used the TCL resolver according to TCL script parse operation maintenance command and give corresponding response, and the TCL script can be revised easily according to test request, so strengthened the extensibility that operational maintenance command is supported, for example can support the unsupported newer command of present BS like a cork.
Description of drawings
Fig. 1 uses many base station operations to safeguard that simulator finishes the systematic schematic diagram of test among the present invention;
Fig. 2 is a structure chart of safeguarding simulator according to many base station operations of first embodiment of the invention;
Fig. 3 safeguards the flow chart of simulator to the operational maintenance command response according to many base station operations of second embodiment of the invention.
Embodiment
For making the purpose, technical solutions and advantages of the present invention clearer, the present invention is described in further detail below in conjunction with accompanying drawing.
The invention provides a kind of many BS Operation and Maintenance simulator and replace real BS equipment to finish the method for BSC or Network Management Equipment test, its design principle as shown in Figure 1.
This many BS Operation and Maintenance simulator comprises one or more interface modules, command interpretation and respond module, Switching Module, control module.
Wherein, be connected with BSC, and the function of physical layer interface path and file transfer protocol (FTP) client is provided by interface module.This connection is based on the IPOA interface and connects, and as shown in Figure 2, also can be the all-IP interface.Like this, by a plurality of interface modules and IPOA interface, can be connected with a plurality of BSC.
Receive the BS operational maintenance command of BSC by command interpretation and respond module, and handle, return corresponding response command then according to the script that sets in advance.In simulation system, command interpretation and respond module can be one or more, and it is based on the explanation actuator of appointed language, and script uses the language description of appointment, for example, and TCL or Python.If have only a command interpretation and respond module, then simulator can further be simplified, and promptly no longer needs Switching Module, is directly linked to each other with each interface module by command interpretation and respond module.
Command interpretation and respond module are to be connected with BSC by interface module, thereby realize the reception and the response of order.And interface module also is to finish the download of BSC specified file according to the indication of command interpretation and respond module.
Order forwarding work between each interface module and command interpretation and respond module is then finished by Switching Module.This Switching Module can be that Ethernet switch also can be other switching equipment.
At last, by control module to the user of this analogue system provide operation interface, configuration interface module and command interpretation and respond module parameter or script, control test process, obtain test result and to test process in the monitoring of information.
According to above-mentioned principle, the system configuration of many BS Operation and Maintenance simulator of first embodiment of the invention as shown in Figure 2.In this embodiment, each interface module is a hardware interface plate, is connected simulation BS equipment with BSC by the IPOA interface; Pass through ethernet communication between each module, so used Ethernet switch module in return; Realize command interpretation and respond module with the TCL actuator, this TCL actuator is used to carry out the TCL script.Because in the method for testing of prior art, operational maintenance command can send to BS equipment by the IPOA passage by BSC or Network Management Equipment, and this operational maintenance command is to follow the printable character string of consolidation form.Can correctly identify the operational maintenance command that to carry out the high traffic test by the TCL script, the response that the operational maintenance command response message format is produced this operational maintenance command by the TCL script according to BS equipment then, thereby the response of alternative real BS equipment of the prior art.Therefore, only need realize simulation, and not need to adopt special BS equipment, simplify the Test Networking environment, reduce testing cost by the TCL script to true BS operation of equipment maintenance function.And,, also strengthened the extensibility that operational maintenance command is supported by method in conjunction with TCL resolver and TCL script.
The system configuration of many BS Operation and Maintenance simulator of first execution mode of the present invention as shown in Figure 2.
The method of work of many BS Operation and Maintenance simulator of second embodiment of the invention as shown in Figure 3.
In step 301, Network Management Equipment sends the order of BS Operation and Maintenance to BSC.
In step 302, BSC is transmitted to order the interface module of simulator.
In step 303, interface module passes to Switching Module with order.
In step 304, order is transmitted to command interpretation and respond module by Switching Module.
In step 305, command interpretation and respond module are handled the order of receiving, and are provided corresponding response command according to the script that sets in advance.
Step 306 is transmission to the Operation and Maintenance response command to step 308, is corresponding with step 301 to the transmission of step 303 pair operational maintenance command.Last response command is returned to the Network Management Equipment that sends the BS operational maintenance command.
Though pass through with reference to some of the preferred embodiment of the invention, the present invention is illustrated and describes, but those of ordinary skill in the art should be understood that and can do various changes to it in the form and details, and without departing from the spirit and scope of the present invention.