Specific embodiment
The application in order to facilitate understanding is described more fully the application below with reference to relevant drawings.In attached drawing
Give the preferred embodiment of the application.But the application can realize in many different forms, however it is not limited to this paper institute
The embodiment of description.On the contrary, purpose of providing these embodiments is make it is more thorough and comprehensive to disclosure of this application.
It should be noted that it can be directly to separately when an element is considered as " connection " another element
One element and it is in combination be integrated, or may be simultaneously present centering elements.
Unless otherwise defined, all technical and scientific terms used herein and the technical field for belonging to the application
The normally understood meaning of technical staff is identical.The term used in the description of the present application is intended merely to description tool herein
The purpose of the embodiment of body, it is not intended that in limitation the application.Term as used herein "and/or" includes one or more phases
Any and all combinations of the listed item of pass.
Currently, eat dishes without rice or wine the test of throughput performance for base station, people usually is carried out by the way of instrument and base station using operating
Work test, for example, test macro may include testing the base station to be measured of host and connecting test host.Specifically, host is tested
The host computer, work station or server of test macro service requirement can be able to satisfy for one.
Optionally, test macro may also include test terminal, application server and core net.Test terminal is separately connected survey
Try host and base station to be measured;It tests host and connects application server;Application server connects base station to be measured by core net.Using
Application server software of the operation for throughput performance test on server, and interaction can be carried out telecommunication with test host.
Under traditional test condition, test execution operation is repeated, time-consuming, is consumed tester's energy and concentration, is led
It causes test tired out, increases risk of error, also, there are randomnesss and blindness for manual test, redundancy and omission easily occur.Due to
Testing base station needs to be traversed for various configurations, such as: frequency bandwidth has the configuration such as 1.4M/3M/5M/10M/15M/20M;TDD(Time
Division Duplexing, time division duplex) subframe has 0/1/2/3/4/5/6 equal configuration under standard;Special subframe has 0/1/2/
3/4/5/6/7/8 equal configuration.Test job amount under various parameters combination traversal is huge, and manual test is caused to be unable to satisfy product
Therefore the progress of exploitation and test is badly in need of one kind and eats dishes without rice or wine throughput performance automated testing method and system.
To solve defect and deficiency existing for above-mentioned traditional technology, provide a kind of base station eat dishes without rice or wine throughput performance test method,
Device and system can significantly reduce the workload of tester, instead of being accomplished manually instrumentation, base station configuration and handling up property
The test process that can be traversed, improves testing efficiency, saves manpower.
In one embodiment, it provides a kind of base station to eat dishes without rice or wine throughput performance test method, as shown in FIG. 1, FIG. 1 is one
In embodiment base station eat dishes without rice or wine throughput performance test method test host computer side the first schematic flow chart, comprising:
Step S110 obtains current contextual data to be sent from preset scene library, and will be raw according to contextual data
At base station configuration-direct be sent to base station to be measured;Base station configuration-direct is used to indicate base station to be measured and configures base according to contextual data
The system parameter stood.
Step S120 starts test assignment based on contextual data, obtains with the base station to be measured postponed under contextual data
Throughput performance test result.
Step S130 traverses scene library, until obtaining throughput performance test result of the base station to be measured under each contextual data
Until.
Specifically, test host traverses scene library, the test under various configuration conditions to complete base station to be measured.Specifically
Ground tests host during traversing scene library, often obtains a contextual data, i.e., matched accordingly to base station to be measured
It sets, and starts test assignment.It completes the contextual data in traversal scene library in test host and obtains corresponding throughput performance to survey
After test result, the test of base station to be measured is completed in confirmation.
Contextual data includes the system parameter that base station need to meet under the communication scenes.Preset scene library includes at least two
Contextual data;It tests host and traverses scene library, an obtained wherein contextual data generates base station according to the contextual data and matches
It sets and instructs and be sent to base station to be measured.Base station to be measured configures system parameter according to base station configuration-direct, is wanted with meeting contextual data
The base station configuration asked.After completing corresponding system parameter configuration, base station to be measured is based on test assignment and is tested, and produces and handles up
The performance test results.In addition, test host can also obtain the handling up property of base station to be measured during base station to be measured is tested
It can test result.
It should be noted that preset scene library can need to be configured according to the test of base station to be measured comprising base station
Throughput performance of eating dishes without rice or wine tests the scene composition that needs to be traversed for, i.e. contextual data.The corresponding test scene of every contextual data, no
Same test scene requires base station to be measured to have different systematic parameter configurations.It, can to realize the complete test to base station to be measured
Pre-set scene library;The each configuration parameter for covering base station to be measured in the scene library, is combined each configuration parameter,
A plurality of contextual data can be obtained.
Specifically, scene library can be the parameter configuration table of scene composition that is ready in advance, needing to be traversed for test.Scene
All parameter values of the contextual data comprising throughput performance test scene of eating dishes without rice or wine in library, such as system bandwidth, time slot configuration.Test
Host reads a contextual data from scene library, and configures base station to be measured based on contextual data, starts test assignment, and obtaining should
The throughput performance test result of base station to be measured, is confirmed as test scene data for the contextual data under contextual data;From scene
Library reads another contextual data and is configured, tested and obtained test result, in all scene numbers of traversal scene library
According to rear, the throughput performance test of eating dishes without rice or wine of the confirmation completion base station to be measured.
Wherein, traversal can refer to along certain search pattern, successively does to node each in tree and once and only does primary visit
It asks.For the traversal of scene library, primary reading can once and be only done successively to do to each contextual data in scene library.
Contextual data may include the parameter for testing base station throughput performance, such as bandwidth, subframe and frequency point.Match base station
It sets instruction and indicates base station configuration system parameter to be measured, the system parameter of base station to be measured is made to meet the test request of contextual data, with
Just the test of this contextual data is completed.There are many modes for starting test assignment, appoints for example, can start test by test host
Business makes base station to be measured execute test assignment, to test the throughput performance of eating dishes without rice or wine of base station to be measured.Herein not to initiation test assignment
Mode is limited.
Base station to be measured can produce a series of performance parameter during executing test assignment;Test host passes through prison
It surveys, record the performance parameter that base station to be measured generates, the throughput performance test result of base station to be measured can be obtained.Test host can be used for
Operating rate test automation control system traversal scene library, generates base station configuration-direct, initiates test assignment and obtain to gulp down
Spit the performance test results etc..
In one example, scene library includes contextual data 1, contextual data 2, contextual data 3 and contextual data 4.It surveys
It tries host and traverses scene library, obtain contextual data 2, then carry out the systematic parameter configuration of base station to be measured based on contextual data 2, initiate
Operational trials simultaneously obtains the throughput performance test result under contextual data 2, completes the test of the contextual data.Complete scene number
After 2 test, test host continues to traverse scene library, obtains contextual data 3, then executes similar survey based on contextual data 3
Try process;After the test for completing contextual data 3, contextual data 1 and contextual data 4, confirmation completion base station to be measured eats dishes without rice or wine to gulp down
Spit performance test.
The embodiment of the present application realizes the test process automation of base station to be measured, and test host can traverse each seed ginseng in base station to be measured
The test scene of number configuration.Compared to traditional technology, the embodiment of the present application can sufficiently test base station to be measured, improve base station
The testing efficiency and test quality of product, avoid the problem that testing being easy error, reduce going out for the test process of traversal scene library
Error rate.Meanwhile test process automation, testing efficiency are significantly improved, based on each contextual data in scene library, test master
Machine can execute repeatedly test on multiple software versions of the base station products repeatedly, save big measure after executing primary test
Try human cost.
In one embodiment, in traversal scene library, until obtaining throughput performance of the base station to be measured under each contextual data
In the step of until test result:
It detects whether to have traversed scene library, if so, the test of base station to be measured is completed in confirmation;If it is not, then traversing scene
Library, until obtaining base station to be measured until the throughput performance test result under each contextual data.
Alternatively, currently whether the contextual data that has sent is the last item contextual data in scene library for judgement, if so,
Then confirm the traversal for completing scene library;If it is not, scene library is then traversed, until obtaining base station to be measured handling up under each contextual data
Until the performance test results.
In one embodiment, as shown in Fig. 2, Fig. 2 is that base station is eated dishes without rice or wine throughput performance test method in one embodiment
Test host computer side the second schematic flow chart, based on contextual data starting test assignment the step of comprising steps of
Step S122 sends test instruction to application server;Test instruction is used to indicate application server to base to be measured
It stands and carries out operational trials.
Specifically, test host to application server send test instruction so that application server to base station to be measured into
Row operational trials.
It should be noted that application server can run the application server software for throughput performance test, and can be with
Test host carries out telecommunication interaction.Test assignment can be executed by application server.
Specifically, test host can be interacted with distal end application server, initiated data service test to base station to be measured, that is, surveyed
Trial business.According to the needs of contextual data, test assignment may include having transmitting uplink data, downlink data transmission, transport-type
It can be UDP (User Datagram Protocol, User Datagram Protocol) or TCP (Transmission Control
Protocol, transmission control protocol) mode etc..
The embodiment of the present application may be implemented between test host and application server and initiate business data transmission, and acquire to be measured
The throughput performance test result of base station;Further, upstream or downstream data service can be also initiated, carries out rate test, and adopt
Collection and storage test data.Connected applications server initiates test assignment, can enrich test pattern, improves the authenticity of test
And reliability.Also, test host can be automatically controled application server, compared to traditional test mode, can reduce traversal
The error rate of the test process of scene library.
In one embodiment, as shown in figure 3, Fig. 3 is that base station is eated dishes without rice or wine throughput performance test method in one embodiment
The third schematic flow chart for testing host computer side further comprises the steps of: before the step of based on contextual data starting test assignment
Step S112 sends activation instruction to base station to be measured;Activation instruction is used to indicate base station to be measured and establishes cell.
Step S116 sends incoming instruction and gives test terminal;Incoming instruction is used to indicate test terminal access cell.
Specifically, test host sends activation instruction to base station to be measured, so that configuration system ginseng is completed in base station to be measured
After number, cell is established.After cell is established in base station to be measured, test host can be transmitted incoming instruction and give test terminal, so that test
Terminal accesses the cell of the base station to be measured.Wherein, test terminal can be testing mobile phone, drive test terminal or LTE terminal emulating instrument etc..
Specifically, test host can configure the parameter of base station to be measured, control base station to be measured according to the content of contextual data
State tests required preposition requirement condition to meet, until cell establishes activation;Test host control test terminal access
Base station cell to be measured, and adhere to;Test host initiates test assignment together with application server, tests base station to be measured.
It should be noted that introducing test terminal to carry out throughput performance test of eating dishes without rice or wine to base station to be measured, tested in starting
After task, base station to be measured can carry out data interaction, output performance data based on test assignment and test terminal, and test host obtains
It takes, record performance data, the throughput performance test result of base station to be measured can be obtained.Specifically, the transmittable test of test host refers to
It enables to application server, so that application server, which completes downlink business with core net, base station to be measured and test terminal, interacts survey
Examination;It tests the also transmittable test data of host and gives test terminal, so that test terminal and base station to be measured, core net and application take
Business device completes uplink service interactive testing.
The embodiment of the present application introduces test terminal, can further improve the authenticity and reliability of test;Also, test master
Machine can be automatically controled the cell that test terminal accesses base station to be measured, can be improved the efficiency and the degree of automation of test.Compared to
Traditional test mode, the embodiment of the present application can reduce the error rate of the test process of traversal scene library.
In one embodiment, as shown in figure 4, Fig. 4 is that base station is eated dishes without rice or wine throughput performance test method in one embodiment
The 4th schematic flow chart for testing host computer side, further comprises the steps of:
Step S114 sends terminal configuration-direct and gives test terminal;Terminal configuration-direct is used to indicate test terminal configuration
The frequency point and/or Physical Cell Identifier of this terminal.
Specifically, test host sends terminal configuration-direct to test terminal, so that test terminal configures this terminal
Frequency point, Physical Cell Identifier access the cell of base station to be measured convenient for test terminal, and cooperate execution test assignment.Test host
It can be achieved that the configuration of test terminal is improved the efficiency and the degree of automation of test, compared to traditional test mode, can dropped
The error rate of the test process of low traversal scene library.
In one embodiment, as shown in figure 4, further comprising the steps of:
Step S124, transmission terminal control, which instructs, gives test terminal;Terminal control instruction refers to for attachment instruction, attachment removal
It enables, status query instruction of eating dishes without rice or wine, eat dishes without rice or wine mode set command or instruction of restarting.
Specifically, test host can to test terminal send terminal control instruction, with control test terminal execute attachment,
Attachment removal, status inquiry of eating dishes without rice or wine, state of eating dishes without rice or wine setting such as restart at the movement.
It should be noted that test host can realize the control to test terminal;Specifically, the achievable control of host is tested
System operation mainly has attachment, attachment removal, eat dishes without rice or wine status inquiry and setting, restarts.Based on this, the embodiment of the present application can be further
The efficiency and the degree of automation for improving test can reduce the test process of traversal scene library compared to traditional test mode
Error rate.
In one embodiment, as shown in figure 4, further comprising the steps of:
Step S126 sends base station control instruction to base station to be measured;Base station control instruction is instruction of restarting or acquisition log
Instruction.
Specifically, test host sends base station control instruction to base station to be measured, to obtain the log of base station to be measured or refer to
Show that base station to be measured is restarted.
It should be noted that test host can also control base station to be measured, the movement for restarting or obtaining log is completed.
Based on this, the embodiment of the present application can realize the parameter configuration to base station to be measured, inquiry and control;In throughput performance test, field
Scape traverses related parameter, such as the configuration of system bandwidth, uplink and downlink timeslot, special subframe configuration, cipher mode configuration of eating dishes without rice or wine
Parameter;It can also be achieved the control operation to base station equipment, such as activate, restart, obtain log;Compared to traditional test side
Formula, greatly improves the efficiency and the degree of automation of test, further, it is possible to reduce the error rate of the test process of traversal scene library.
In one embodiment, as shown in figure 5, Fig. 5 is that base station is eated dishes without rice or wine throughput performance test method in one embodiment
The 5th schematic flow chart of host computer side is tested, contextual data includes any one or any combination in following parameter: system
Bandwidth, time slot configuration, cipher mode of eating dishes without rice or wine, frequency point and Physical Cell Identifier.
Specifically, contextual data includes system bandwidth, time slot configuration, cipher mode of eating dishes without rice or wine, frequency point and physical area
At least one of mark etc..Contextual data can be based on by testing host, configured the system bandwidth of base station to be measured, time slot, eated dishes without rice or wine to add
Close mode, frequency point and Physical Cell Identifier etc., so that base station to be measured meets the needs of test scene, and then achievable all surveys
The test of examination hall scape.Further, contextual data includes but is not limited to above-mentioned parameter.
In one embodiment, throughput performance test result includes any one or any combination in following result: real
When rate, Mean Speed and peak rate.
Specifically, throughput performance test result includes at least one of real time rate, Mean Speed and peak rate.
After initiating test assignment, test host can record the throughput performance situation of business transmission and be saved in external test result file
Or database;Specifically, test host can record current real time rate of the base station to be measured under the contextual data, Mean Speed and
Peak rate;After recording a period of time, business, release test terminal connection can be stopped.
In one embodiment, test assignment is that uplink fills packet business, downlink fills packet business or uplink and downlink fills packet business.
Specifically, test assignment may include transmitting uplink data and/or downlink data transmission.Specifically, test assignment
Packet business can be filled for uplink, downlink fills packet business or uplink and downlink fills packet business.According to contextual data needs, test assignment can be upper
Row fills packet, downlink fills packet, can also fill simultaneously packet for uplink and downlink.
The embodiment of the present application can automatically initiate a variety of test assignments, can effectively improve testing efficiency, meet a variety of test need
Seek and reduce the error rate of the test process of traversal scene library.
In one embodiment, it is UDP message or TCP data that uplink, which fills the data of packet business,;The number of downlink filling packet business
According to for UDP message or TCP data;The data that uplink and downlink fills packet business are UDP message or TCP data.
Specifically, the filling Packet type of test assignment can be UDP, it is also possible to TCP mode, it is right in scene library to meet
The demand of test data type further increases the series and the degree of automation of test, reduces the test process of traversal scene library
Error rate.
In one embodiment, Robot Frame Work test frame (hereinafter referred RFW) can be used and Python is compiled
The implementation method in Cheng Shixian testing and control library writes the realization of the script binding test library RFW and traverses all configurations in base station to be measured automatically
Throughput performance test process, that is, realize that base station is eated dishes without rice or wine throughput performance test method.It is further possible to use other conjunctions
Suitable program language realization, herein with no restrictions.
1) control to test terminal: writing test terminal communication control library using Python, by operation test terminal
Order is encapsulated as test library, and library file is called to realize the configuration to test terminal, operate and look into the scripted code of RFW thereafter
It askes.The test terminal that the embodiment of the present application uses is LTE Commercial data terminal.It is further possible to be drive test terminal or end
Simulation instrument etc. is held, different test terminals will likely use different physical connection modes (such as USB, network interface etc.) to be connected
It connects.
2) configuration, inquiry and operation to base station to be measured: base station can be realized by various ways such as WEB, SNMP, Telnet
Library is controlled, sets base station parameter to facilitate to look into.
3) it realizes that UDP and TCP data uplink and downlink fill packet control: introducing network and beat stream tool such as iperf;Write Python journey
Sequence calls iperf tool to carry out playing stream operation, and encapsulates the data for being embodied as testing host side and beat stream library and run on using clothes
The Remote Procedure being engaged on device.Host side can be interacted with distal end.Python library file is called to realize data service hair in RFW script
It rises, rate monitoring and record, business stop.
Needs are tested according to base station products, a following test scene parameter configuration table (that is, scene library) can be worked out, listed
All scene compositions needed to be traversed for, form record set using the mode of enumerating.It is as follows:
Specifically, RFW test script mainly realizes step:
1, read parameter value from scenario parameters allocation list, by base station control library configure base station to be measured system bandwidth,
Time slot configuration, frequency point and PCI, reactivation cell.
2, the frequency point and PCI of test terminal, initiating terminal access are configured by terminal communication control library.
3, stream library is beaten using data and initiate test assignment, record current real time rate, Mean Speed and peak rate.Record
Stop business, release test terminal connection after a period of time.Wherein, test assignment can fill packet, downlink filling packet for uplink, can also
Packet is filled simultaneously for uplink and downlink, the specific Packet type that fills can be UDP mode or TCP mode.
4, after completing a scrnario testing, step 1 is repeated to 4, is completed until all scenes traverse test.
By above step 1 to 4, it can be achieved that the test automation of the throughput performance of eating dishes without rice or wine of base station to be measured, is tested every time
Cheng Hou can check record result.
In one embodiment, as shown in fig. 6, Fig. 6 is that base station is eated dishes without rice or wine throughput performance test method in one embodiment
First schematic flow chart of base station side to be measured provides a kind of base station and eats dishes without rice or wine throughput performance test method, comprising:
Step S210 configures corresponding system parameter respectively according to each base station configuration-direct of test host transmission;Base station
Configuration-direct is that test host is generated according to corresponding contextual data;Contextual data is that the preset scene library of test host traversal obtains
It arrives.
Step S220 generates the throughput performance for respectively corresponding each contextual data according to the test assignment of test host-initiated
Test result.
Specifically, test host traverses scene library, a wherein contextual data is obtained, according to contextual data generation pair
The base station configuration-direct answered, and base station configuration-direct is sent to base station to be measured.Base station to be measured is configured according to the base station received
Instruction configuration system parameter, to meet the needs of contextual data.Base station to be measured is based on test assignment and is tested, and producible pair
Should contextual data throughput performance test result.Test host based on base station to be measured execute test assignment process, obtain to
Survey throughput performance test result of the base station under the contextual data.
It should be noted that in entire test process, to need to receive each contextual data respectively corresponding for base station to be measured
Base station configuration-direct simultaneously configures corresponding system parameter, and the test times of test host-initiated is completed after configuring system parameter
Business, obtains the throughput performance test result under the contextual data.The throughput performance of each contextual data is surveyed in obtaining scene library
After test result, can exact p-value host complete scene library traversal, complete the base station to be measured throughput performance test.
In one embodiment, as shown in fig. 7, Fig. 7 is that base station is eated dishes without rice or wine throughput performance test method in one embodiment
Second schematic flow chart of base station side to be measured, in the test assignment according to test host-initiated, generation respectively corresponds each scene
Before the step of throughput performance test result of data, further comprise the steps of:
Step S212 receives the activation instruction of test host transmission, and establishes cell based on activation instruction.
Specifically, activation instruction of the base station to be measured based on test host transmission, establishes cell, to test terminal access
The cell executes testing process.
It should be noted that base station configuration system parameter to be measured, tests required preposition requirement condition to meet, and hold
The foundation of row cell activates.
It should be understood that although each step in the flow chart of Fig. 1 to 7 is successively shown according to the instruction of arrow,
It is these steps is not that the inevitable sequence according to arrow instruction successively executes.Unless expressly stating otherwise herein, these steps
There is no stringent sequences to limit for rapid execution, these steps can execute in other order.Moreover, in Fig. 1 to 7 at least
A part of step may include that perhaps these sub-steps of multiple stages or stage are not necessarily in same a period of time to multiple sub-steps
Quarter executes completion, but can execute at different times, the execution in these sub-steps or stage be sequentially also not necessarily according to
Secondary progress, but in turn or can replace at least part of the sub-step or stage of other steps or other steps
Ground executes.
In one embodiment, it provides a kind of base station to eat dishes without rice or wine throughput performance test device, as shown in figure 8, Fig. 8 is a reality
Apply base station in example eat dishes without rice or wine throughput performance test device test host computer side structural schematic diagram, comprising:
Scene library spider module 110, for obtaining current contextual data to be sent from preset scene library, and by root
Base station to be measured is sent to according to the base station configuration-direct that contextual data generates;Base station configuration-direct is used to indicate base station to be measured according to field
The system parameter of scape data configuration base station.
Base station configuration-direct sending module 120 obtains to be measured with postponing for starting test assignment based on contextual data
Throughput performance test result of the base station under contextual data.
Test result obtains module 130, for traversing scene library, until obtaining base station to be measured gulping down under each contextual data
Until spitting the performance test results.
In one embodiment, test result acquisition module includes:
Detection unit is traversed, for detecting whether scene library has been traversed, if so, the survey of base station to be measured is completed in confirmation
Examination;Alternatively,
Contextual data judging unit, for judging whether the current contextual data that has sent is last in scene library
Contextual data, if so, the traversal of scene library is completed in confirmation.
In one embodiment, further includes:
Instruction sending module is tested, for sending test instruction to application server;Test instruction is used to indicate using clothes
Device be engaged in base station to be measured progress operational trials.
In one embodiment, further includes:
Activation instruction sending module, for sending activation instruction to base station to be measured;Activation instruction is used to indicate base station to be measured
Establish cell.
Incoming instruction sending module gives test terminal for sending incoming instruction;Incoming instruction is used to indicate test terminal
Access cell.
In one embodiment, further includes:
Terminal configuration-direct sending module gives test terminal for sending terminal configuration-direct;Terminal configuration-direct is used for
Indicate that test terminal configures the frequency point and/or Physical Cell Identifier of this terminal.
And/or terminal control instruction sending module, for send terminal control instruct terminal to test;Terminal control refers to
It enables as attachment instruction, attachment removal instruction, status query instruction of eating dishes without rice or wine, eat dishes without rice or wine mode set command or instruction of restarting.
And/or base station control instruction sending module, for sending base station control instruction to base station to be measured;Base station control refers to
Enable is instruction of restarting or acquisition log instruction.
In one embodiment, contextual data includes any one in following parameter or any combination: system bandwidth, when
Gap configuration, cipher mode of eating dishes without rice or wine, frequency point and Physical Cell Identifier etc..Throughput performance test result includes appointing in following result
Meaning one or any combination: real time rate, Mean Speed and peak rate.Test assignment is that uplink fills packet business, downlink fills packet
Business or uplink and downlink fill packet business.
In one embodiment, it is UDP message or TCP data that uplink, which fills the data of packet business,;The number of downlink filling packet business
According to for UDP message or TCP data;The data that uplink and downlink fills packet business are UDP message or TCP data.
In one embodiment, it provides a kind of base station to eat dishes without rice or wine throughput performance test device, as shown in figure 9, Fig. 9 is a reality
Apply base station in example eat dishes without rice or wine throughput performance test device base station side to be measured structural schematic diagram, comprising:
Base station configuration-direct receiving module 210, for respectively according to each base station configuration-direct of test host transmission, configuration
Corresponding system parameter;Base station configuration-direct is that test host is generated according to corresponding contextual data;Contextual data is test master
Machine traverses preset scene library and obtains.
BTS service test module 220, for the test assignment according to test host-initiated, generation respectively corresponds each scene
The throughput performance test result of data.
In one embodiment, further includes:
Activation instruction receiving module, for receive test host transmission activation instruction, and based on activation instruction establish it is small
Area.
About base station eat dishes without rice or wine throughput performance test device it is specific restriction may refer to eat dishes without rice or wine to handle up above for base station
The restriction of performance test methods, details are not described herein.The modules in throughput performance test device are eated dishes without rice or wine in above-mentioned base station can be complete
Portion or part are realized by software, hardware and combinations thereof.Above-mentioned each module can be embedded in the form of hardware or independently of calculating
In processor in machine equipment, it can also be stored in a software form in the memory in computer equipment, in order to processor
It calls and executes the corresponding operation of the above modules.
In one embodiment, it provides a kind of base station to eat dishes without rice or wine throughput performance test macro, as shown in Figure 10, Figure 10 is one
Base station is eated dishes without rice or wine the first schematic diagram of throughput performance test macro in embodiment, comprising: is executed as above-mentioned base station is eated dishes without rice or wine
The test host of throughput performance test method, and execute as above-mentioned base station is eated dishes without rice or wine the base to be measured of throughput performance test method
It stands.
It tests host and connects base station to be measured.
Specifically, test host is the host computer, work station or service for being able to satisfy test macro service requirement
Device, test host can be used for operating rate test automation control system.
In one embodiment, as shown in figure 11, Figure 11 is that base station is eated dishes without rice or wine throughput performance test macro in one embodiment
The second schematic diagram, further include test terminal, application server and core net.Test terminal is separately connected test host
With base station to be measured;It tests host and connects application server;Application server connects base station to be measured by core net.
Specifically, application server software of the operation for throughput performance test on application server, and can be with test
Host carries out telecommunication interaction.
In one embodiment, as shown in figure 12, Figure 12 is that base station is eated dishes without rice or wine throughput performance test macro in one embodiment
Third schematic diagram, further include shielded box and signal attenuator.
Test terminal is placed in shielded box;It tests host and base station to be measured is connected by LAN, pass through network interface connection application service
Device is connect by cable or USB line with test terminal;Base station to be measured is connected by radio frequency line connection signal attenuator by WAN
Core net;Application server connects core net by WAN;Signal attenuator passes through radio frequency line connecting test terminal.
Testing terminal can be testing mobile phone, drive test terminal or LTE terminal emulating instrument etc..
Specifically, test host is connected using USB/ cable mode with test terminal, connected by LAN and base station to be measured
It connects, is connected using network interface with application server.Base station to be measured and test terminal between can be connected by signal attenuator, three it
Between using radio frequency line be connected.It is connected between base station to be measured and core net for Ethernet (cable or optical fiber);Core net and application service
It is connected between device for Ethernet (cable or optical fiber).
To guarantee test effect, in radio open side, base station to be measured radio frequency line can be used to connect to subtract with test terminal room
Few external interference signals, centre goes back available signal attenuator and is suitably decayed.Preferably, test terminal can be put into shielded box
In, it is connected with base station signal.Can be used between cable network side, base station to be measured and core net it is direct-connected, centre do not have to other nets
Network transmission device impacts test result to avoid the test inessential apparatus factor of environment.
In one embodiment, test host execute base station eat dishes without rice or wine throughput performance test method when, perform the steps of
Current contextual data to be sent is obtained from preset scene library, and the base station generated according to contextual data is matched
It sets instruction and is sent to base station to be measured;Base station configuration-direct is used to indicate base station to be measured joins according to the system that contextual data configures base station
Number.
Start test assignment based on contextual data, obtains the throughput performance with the base station to be measured postponed under contextual data and survey
Test result.
Scene library is traversed, until obtaining base station to be measured until the throughput performance test result under each contextual data.
In one embodiment, test host executes traversal scene library, until obtaining base station to be measured under each contextual data
Throughput performance test result until when, also perform the steps of
It detects whether to have traversed scene library, if so, the test of base station to be measured is completed in confirmation.
Alternatively, currently whether the contextual data that has sent is the last item contextual data in scene library for judgement, if so,
Then confirm the traversal for completing scene library.
In one embodiment, it when test host is executed based on contextual data starting test assignment, also performs the steps of
Test instruction is sent to application server;Test instruction is used to indicate application server and initiates to test to base station to be measured
Task.
In one embodiment, test host is executed based on before contextual data starting test assignment, also realizes following step
It is rapid:
Activation instruction is sent to base station to be measured;Activation instruction is used to indicate base station to be measured and establishes cell.
It sends incoming instruction and gives test terminal;Incoming instruction is used to indicate test terminal access cell.
In one embodiment, it is also performed the steps of when test host executes
It sends terminal configuration-direct and gives test terminal;Terminal configuration-direct is used to indicate the frequency that test terminal configures this terminal
Point and/or Physical Cell Identifier.
And/or transmission terminal control instructs and gives test terminal;Terminal control instruction instructs for attachment instruction, attachment removal, is empty
Mouth status query instruction, eat dishes without rice or wine mode set command or instruction of restarting.
And/or base station control instruction is sent to base station to be measured;Base station control instruction is that instruction of restarting or acquisition log refer to
It enables.
In one embodiment, contextual data includes any one in following parameter or any combination: system bandwidth, when
Gap configuration, cipher mode of eating dishes without rice or wine, frequency point and Physical Cell Identifier etc..Throughput performance test result includes appointing in following result
Meaning one or any combination: real time rate, Mean Speed and peak rate.Test assignment is that uplink fills packet business, downlink fills packet
Business or uplink and downlink fill packet business.
In one embodiment, it is UDP message or TCP data that uplink, which fills the data of packet business,.The number of downlink filling packet business
According to for UDP message or TCP data.The data that uplink and downlink fills packet business are UDP message or TCP data.
In one embodiment, base station to be measured execute base station eat dishes without rice or wine throughput performance test method when, perform the steps of
Respectively according to each base station configuration-direct of test host transmission, corresponding system parameter is configured;Base station configuration-direct
It is generated for test host according to corresponding contextual data;Contextual data is that the preset scene library of test host traversal obtains.
According to the test assignment of test host-initiated, the throughput performance test result for respectively corresponding each contextual data is generated.
In one embodiment, it before base station to be measured executes test assignment, also performs the steps of
The activation instruction of test host transmission is received, and cell is established based on activation instruction.
In one embodiment, it is based on the above test macro, can realize automatic test course by programming:
1) it realizes to the parameter configuration of base station to be measured, inquiry and control: when throughput performance is tested, involved in scene traversal
Parameter, such as the configuration of system bandwidth, uplink and downlink timeslot, special subframe configuration and the configuration for cipher mode of eating dishes without rice or wine are looked into and are set;Meanwhile
Further include base station equipment to be measured control operation such as activate, restart, obtaining log.
2) realize the control to test terminal: the control operation for needing to realize mainly has attachment, attachment removal, the state of eating dishes without rice or wine to look into
It askes and is arranged, restarts.
3) it realizes and initiates business data transmission, and collection result between test host and application server: running on test
On host, the upstream or downstream data service for initiating rate test, and acquisition and storage test result data are realized.
4) scene library of test is needed to be traversed for by pre-setting: in scene library, all numbers comprising test scene feature
According to, such as above-mentioned system bandwidth, time slot configuration, each record are a scene.
Specifically, as shown in figure 13, Figure 13 is that the eat dishes without rice or wine process of throughput performance test macro of base station is shown in one embodiment
Be intended to, automatic test program implement is as follows: (base station cell to be measured can be established and activate, needed for preparatory Planning preparation is good
The scene library of test is traversed, automatic test is started)
(1) test program reads a contextual data from scene library.
(2) according to the content of contextual data, the parameter of base station to be measured is configured, controls base station state to be measured to meet test institute
The preposition requirement condition needed, until cell establishes activation.
(3) test program control test terminal accesses the cell of base station to be measured, and adheres to.
(4) test program is initiated from the data service test process between test host and distal end application server;According to field
The needs of scape may include having transmitting uplink data, downlink data transmission, and transport-type can be UDP or TCP mode.
(5) test program record traffic transmission throughput performance situation and be saved in external test result file or data
Library
(6) judge whether scene library traverses completion, terminate whole tests if completing, otherwise jump back to (1) step and continue to survey
Examination.
In one embodiment, a kind of computer storage medium is provided, computer program is stored thereon with, which is located
Reason device is realized when executing as above-mentioned base station is eated dishes without rice or wine throughput performance test method.
Specifically, it when computer program is executed by processor, performs the steps of
Current contextual data to be sent is obtained from preset scene library, and the base station generated according to contextual data is matched
It sets instruction and is sent to base station to be measured;Base station configuration-direct is used to indicate base station to be measured joins according to the system that contextual data configures base station
Number.
Start test assignment based on contextual data, obtains the throughput performance with the base station to be measured postponed under contextual data and survey
Test result.
Scene library is traversed, until obtaining base station to be measured until the throughput performance test result under each contextual data.
In one embodiment, computer program is executed by processor traversal scene library, until obtaining base station to be measured each
When until the throughput performance test result under contextual data, also perform the steps of
It detects whether to have traversed scene library, if so, the test of base station to be measured is completed in confirmation.
Alternatively, currently whether the contextual data that has sent is the last item contextual data in scene library for judgement, if so,
Then confirm the traversal for completing scene library.
In one embodiment, it is also real when computer program is executed by processor based on contextual data starting test assignment
Existing following steps:
Test instruction is sent to application server;Test instruction is used to indicate application server and initiates to test to base station to be measured
Task.
In one embodiment, computer program is executed by processor based on before contextual data starting test assignment, is gone back
It performs the steps of
Activation instruction is sent to base station to be measured;Activation instruction is used to indicate base station to be measured and establishes cell.
It sends incoming instruction and gives test terminal;Incoming instruction is used to indicate test terminal access cell.
In one embodiment, it is also performed the steps of when computer program is executed by processor
It sends terminal configuration-direct and gives test terminal;Terminal configuration-direct is used to indicate the frequency that test terminal configures this terminal
Point and/or Physical Cell Identifier.
And/or transmission terminal control instructs and gives test terminal;Terminal control instruction instructs for attachment instruction, attachment removal, is empty
Mouth status query instruction, eat dishes without rice or wine mode set command or instruction of restarting.
And/or base station control instruction is sent to base station to be measured;Base station control instruction is that instruction of restarting or acquisition log refer to
It enables.
In one embodiment, contextual data includes any one in following parameter or any combination: system bandwidth, when
Gap configuration, cipher mode of eating dishes without rice or wine, frequency point and Physical Cell Identifier etc..Throughput performance test result includes appointing in following result
Meaning one or any combination: real time rate, Mean Speed and peak rate.Test assignment is that uplink fills packet business, downlink fills packet
Business or uplink and downlink fill packet business.
In one embodiment, it is UDP message or TCP data that uplink, which fills the data of packet business,.The number of downlink filling packet business
According to for UDP message or TCP data.The data that uplink and downlink fills packet business are UDP message or TCP data.
In one embodiment, it when computer program is executed by processor, performs the steps of
Respectively according to each base station configuration-direct of test host transmission, corresponding system parameter is configured;Base station configuration-direct
It is generated for test host according to corresponding contextual data;Contextual data is that the preset scene library of test host traversal obtains.
According to the test assignment of test host-initiated, the throughput performance test result for respectively corresponding each contextual data is generated.
In one embodiment, computer program is executed by processor the test assignment according to test host-initiated, generates
Before the throughput performance test result for respectively corresponding each contextual data, also perform the steps of
The activation instruction of test host transmission is received, and cell is established based on activation instruction.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with
Relevant hardware is instructed to complete by computer program, the computer program can be stored in a non-volatile computer
In read/write memory medium, the computer program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein,
To any reference of memory, storage, database or other media used in each embodiment provided herein,
Including non-volatile and/or volatile memory.Nonvolatile memory may include read-only memory (ROM), programming ROM
(PROM), electrically programmable ROM (EPROM), electrically erasable ROM (EEPROM) or flash memory.Volatile memory may include
Random access memory (RAM) or external cache.By way of illustration and not limitation, RAM is available in many forms,
Such as static state RAM (SRAM), dynamic ram (DRAM), synchronous dram (SDRAM), double data rate sdram (DDRSDRAM), enhancing
Type SDRAM (ESDRAM), synchronization link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM
(RDRAM), direct memory bus dynamic ram (DRDRAM) and memory bus dynamic ram (RDRAM) etc..
Each technical characteristic of embodiment described above can be combined arbitrarily, for simplicity of description, not to above-mentioned reality
It applies all possible combination of each technical characteristic in example to be all described, as long as however, the combination of these technical characteristics is not deposited
In contradiction, all should be considered as described in this specification.
The several embodiments of the application above described embodiment only expresses, the description thereof is more specific and detailed, but simultaneously
The limitation to the application range therefore cannot be interpreted as.It should be pointed out that for those of ordinary skill in the art,
Without departing from the concept of this application, various modifications and improvements can be made, these belong to the protection model of the application
It encloses.Therefore, the scope of protection shall be subject to the appended claims by the application.