Summary of the invention
The objective of the invention is to overcome the above-mentioned shortcoming of prior art, a kind of method of testing and device of mobile communication system service are provided, to carry out the test job of RRM (RRM) algorithm of TD-SCDMA conveniently, accurately and efficiently, reduce the influence of human factor, improve the efficient and the accuracy of test test result.
The objective of the invention is to be achieved through the following technical solutions:
A kind of method of testing of mobile communication system service comprises:
A, obtain the measurement data of system's distinct interface respectively;
B, the measurement data of the described system's distinct interface that obtains is classified according to different function informations;
C, sorted data are pressed predetermined way generate view;
D, judge the validity of wireless resource management algorithm according to described measurement data and/or view.
Described steps A comprises:
A1, obtain the message of wave point, from described message, obtain transmitting power, open loop power and the Timing Advance of base station when inserting at random;
A2, obtain the message between the inner module of base station, from described message, obtain object synchronization, user's synchronizing signal peak value, target signal to noise ratio, user's signal to noise ratio;
A3, obtain the message of described base station and base station controller interface and base station controller and core net interface, from described message, obtain the measurement data of base station and terminal and Measuring Time, use time slot.
Described different function information comprises: power control information, synchronizing information, handover information and dynamic channel allocation information.
Described view comprises: power control information view, synchronizing information view, actual adjacent cell list.
Described step D comprises:
D1, judge downlink power control algorithm, inner-loop power control algorithm and outer shroud uplink power control algorithm validity according to described power control information view;
D2, judge the correctness of open loop synchronized algorithm and closed loop synchronized algorithm according to described terminal measurement data and described synchronizing information view;
D3, judge that according to the measurement data of described dynamic channel allocation information channel selects and the correctness of distributing;
D4, judge whether to satisfy switching condition according to different switching types according to described actual adjacent cell list.
Described step D3 comprises:
From described measurement data, obtain the priority of each time slot of carrier wave;
Calculate the priority of time slot grouping, judge the carrier wave that participates in grouping;
Calculate carrier wave associating priority;
Determine that according to the priority of described each time slot of carrier wave the traffic branch is on the time slot of limit priority.
The present invention also provides a kind of testing apparatus of mobile communication system service, comprising:
Message is obtained port, is used to obtain the measurement data of system's distinct interface;
Sorter is used for the measurement data of the described system's distinct interface that obtains is classified according to different function informations;
The view generating apparatus is used for the information view according to described measurement data generation difference in functionality;
Analytical equipment is used for the validity according to described measurement data and/or information view judgement wireless resource management algorithm.
Described message is obtained port and is comprised:
Air interface messages is obtained port, is used to obtain the measurement data of wave point;
Message between the inner module of base station is obtained port, is used to obtain the measurement data between the inner module of base station;
The protocol analyzer interface is used to obtain the measurement data that comprises base station and terminal of protocol analyzer output.
Described view generating apparatus comprises:
Power control information view generating apparatus is used for generating the power control information view according to the measurement data of reflection power control information;
Synchronizing information view generating apparatus is used for generating the synchronizing information view according to the measurement data of reflection synchronizing information;
Actual adjacent cell list generating apparatus is used for generating actual adjacent cell list according to the measurement data of handover information.
Described analytical equipment comprises:
The synchronized algorithm analytical equipment is used for the correctness according to the measurement data judgement open loop synchronized algorithm of described reflection synchronizing information;
The handoff algorithms analytical equipment is used for judging whether to satisfy switching condition according to described actual adjacent cell list according to different switching types;
The dynamic channel allocation algorithm analytical equipment is used for judging that according to the measurement data of the dynamic channel allocation information of described measurement data channel selects the correctness with allocation algorithm.
By above technical scheme provided by the invention as can be seen, the present invention transfers automatic inquiry to by the data that will need artificial enquiry, has reduced human error, has improved operating efficiency.By being carried out comprehensive statistics, each port data finds out Changing Pattern, with the form output of test result data with form and view, make the tester can judge test result rapidly, guarantee comprehensive consideration, improved the accuracy of testing efficiency and judgement related data.In addition, in the present invention, a large amount of relevance of during for some algorithm of checking result data being carried out is calculated and is also finished automatically by apparatus of the present invention, has got rid of the issuable mistake of artificial calculating, has further guaranteed the accuracy of test result analysis.
Embodiment
Core of the present invention is to find out Changing Pattern by the measurement data of each port of system is carried out comprehensive statistics, with the form output of test result data with form and view, make the tester can judge test result rapidly, and will calculate a large amount of relevance that result data carries out and also finish automatically by apparatus of the present invention, with the shortcut calculation analytic process, guarantee correctness to test result analysis.
In the 3G system based on CDMA technology, the delay requirement different according to all kinds of business is four classes with delineation of activities: 1) conversational service, as speech business; 2) flow-type business is as the streamed multimedia business; 3) interactive service is as databank retrieval business; 4) backstage business is as the file transfer business.In such system, Radio Resource no longer is limited to frequency spectrum resource, also comprises code source (in order to distinguishing cell channel and user), power resource (suitable transmitting power helps farthest to reduce between the user or the interference of minizone), time interval resource (in the Radio Resource can for distributing the minimum time unit that uses), base station resource (base station is the essential resource that the mobile subscriber is connected the system of entering) etc.The present invention adopts networking mode shown in Figure 3 that the algorithm of the Radio Resource in these business is carried out test analysis, for the exploitation of communication system provides the necessary performance parameter, further guarantees systematic function.
Apparatus of the present invention detailed structure as shown in Figure 4, this device obtains port 40, sorter 41, view generating apparatus 42 and analytical equipment 43 by message and forms.Wherein,
Message is obtained the measurement data that port 40 is used to obtain system's distinct interface, is obtained by air interface messages that message between port 401, base station inner module is obtained port 402 and protocol analyzer interface 403 is formed.Wherein, air interface messages is obtained port 401 and be responsible for obtaining wireless mouthful message from the test port of test terminal, obtains following measurement data then from these message: the transmitting power of base station, open loop power and Timing Advance when inserting at random; Message between the inner module of base station is obtained data between the base station inner modules that port 402 is responsible for drawing and is obtained following measurement data in transmitting from the test interface of base station side circuit board: object synchronization (SS_Target), user's synchronizing signal peak value (Peak_Target_User) is used for judging synchronously; Target signal to noise ratio (SIR_Target), user's signal to noise ratio (SIR_Peak) is used for judging power control; Protocol analyzer interface 403, be used to obtain the measurement data that comprises base station and terminal of protocol analyzer output, promptly the text of conclude a bargain analyzer has a hexadecimal form in the text file, seek this form keyword (such as: HEX), just can find this form.The bit that gets in the hexadecimal according to regular CWTS TSM04.08 and 3GPP 25.331 decodes then.After decoding was finished, the function informations different according to measurement data generated corresponding form, then, whether program inquiring carries out parameter curve is described, if carry out curve description, then the parameter and the assignment of curve plotting wanted in inquiry, the history curve of these parameters of drawing then, its flow process as shown in Figure 5.For example, 2 phones resulting data form of conversing simultaneously is as follows:
Table 1:
SIR1 |
11 11 13 25 25 23 22 20 13 13 |
SIR2 |
16 17 17 30 31 28 25 25 20 20 |
Fig. 6 is its corresponding signal to noise ratio curve chart, and we can clearly find out the difference and the historical variations of the signal to noise ratio of these 2 phones by this figure.
From then on the useful data that obtains in the interface comprises:
The data of base station measurement: signal to noise ratio (SIR), receiving code power (RSCP), the quality of reception (RxQuality), scrambler power (ISCP), path attenuation (Pathloss), base station transmitting power (BS Power), Serving cell receiving code power (Servingr Cell RSCP);
The data that terminal is measured: the number (neighbourCell number) of down link signal to noise ratio (SIR), terminal transmission power (UETrPwr), terminal scrambler power (ISCP), terminal synchronizes (SS), adjacent sub-district receiving code power (Neighbour Cell RSCP), basic training sequences sign indicating number (Basic midamble Number), adjacent sub-district;
Other measurement data: Measuring Time (Time), electrical chain number (Circuit Switch con.No.), the signaling transmission direction (Abis Link name) using time slot (TimeSlot), use.
Apparatus of the present invention obtain real-time or non real-time test data from these three interfaces, this is the Data Source that mobile communication system service is tested.
Sorter 41 is used for the measurement data of the system's distinct interface that will obtain and classifies according to different function informations, such as, according to power control information, synchronizing information, handover information and dynamic channel allocation information these measurement data are classified respectively, so that verify the correctness of power control algorithm, synchronized algorithm, dynamic channel allocation algorithm respectively.
View generating apparatus 42 is used for generating according to measurement data the information view of difference in functionality, comprising: power control information view generating apparatus is used for generating the power control information view according to the measurement data of reflection power control information; Synchronizing information view generating apparatus is used for generating the synchronizing information view according to the measurement data of reflection synchronizing information; Actual adjacent cell list generating apparatus is used for generating actual adjacent cell list according to described measurement data.
Analytical equipment 43 is used for judging according to measurement data the validity of wireless resource management algorithm.Form by synchronized algorithm analytical equipment 431, handoff algorithms analytical equipment 432 and dynamic channel allocation algorithm analytical equipment 433.Wherein, synchronized algorithm analytical equipment 431 is used for judging according to measurement data the correctness of open loop synchronized algorithm; Handoff algorithms analytical equipment 432 is used for judging whether to satisfy switching condition according to actual adjacent cell list according to different switching types; Dynamic channel allocation algorithm analytical equipment 433 is used for judging that according to measurement data channel is selected and the correctness of allocation algorithm.
In order to make those skilled in the art person understand the present invention better, the present invention is described in further detail below in conjunction with the flow process of the inventive method shown in Figure 7.
Fig. 7 has described the detailed process of the inventive method, may further comprise the steps:
Step 701: obtain the measurement data of system's distinct interface respectively, comprising:
(1) from the message of wave point, obtains transmitting power, open loop power and the Timing Advance of base station when inserting at random;
(2) obtain object synchronization (SS_Target), user's synchronizing signal peak value (Peak_Target_Use), target signal to noise ratio (SIR_Target), user's signal to noise ratio the message between the inner module of base station;
(3) from the message of base station and base station controller interface and base station controller and core net interface, obtain measurement data and other measurement data of base station and terminal, be respectively:
Base station measurement data: signal to noise ratio (SIR), receiving code power (RSCP), the quality of reception (RxQuality), scrambler power (ISCP), path attenuation (Pathloss), base station transmitting power (BS Power), Serving cell receiving code power (Servingr Cell RSCP);
Terminal measurement data: the number (neighbourCell number) of down link signal to noise ratio (SIR), terminal transmission power (UETrPwr), terminal scrambler power (ISCP), terminal synchronizes (SS), adjacent sub-district receiving code power (Neighbour Cell RSCP), basic training sequences sign indicating number (Basic midamble Number), adjacent sub-district;
Other measurement data: Measuring Time (Time), electrical chain number (Circuit Switch con.No.), the signaling transmission direction (Abis Link name) using time slot (TimeSlot), use.
Step 702: the measurement data of system's distinct interface of obtaining is classified according to different function informations, such as these measurement data being classified, to make things convenient for searching and the generation of view of data according to power control information, synchronizing information, handover information and dynamic channel allocation information.
Step 703: sorted data are pressed predetermined way generate view,, can generate the view of the different information of reflection corresponding to different tests, such as, power control information view, synchronizing information view, actual adjacent cell list.
Step 704:, specifically can carry out the following judgement according to the validity of measurement data and view judgement wireless resource management algorithm:
(1) judges downlink power control algorithm, inner-loop power control algorithm and outer shroud uplink power control algorithm validity according to the power control information view;
(2) judge the correctness of open loop synchronized algorithm and closed loop synchronized algorithm according to terminal measurement data and synchronizing information view;
(3) judge the correctness that channel is selected and distributed according to measurement data;
(4) judge whether to satisfy switching condition according to actual adjacent cell list according to different switching types.
In actual applications, can carry out the test of algorithms of different selectively according to the needs of actual measurement task, generate corresponding view, and according to the correctness of the view of test result and generation checking respective algorithms, its flow process can be finished the test of the following algorithm as shown in Figure 8:
1, to the test of power control algorithm
By searching the limiting value among the BS Power (base station transmitting power) in the measurement report, the difference of limiting value is that tatic range, this time slot maximum power user and the minimum power user's of downlink power control the difference of descending power is the relative dynamic scope.The history graphs of drawing BS Power can be found out the variation of base station transmitting power significantly, and last value should be stablized within limits, this variation tendency as can be seen from history curve.
The value of in measurement report, search SIR (signal to noise ratio), in TPC (message between the inner module of base station is obtained port), searching SIR_Target (target signal to noise ratio), generate the changes in contrast view of the two, if the variation tendency unanimity shows that then up inner-loop power control algorithm is correct.Manually import BLER (BLER (block error rate)) bound, this bound is provided with on the operational administrative platform, and its span is relevant with different types of service.In TPC, search BLER and form history graphs,,, then show the uplink external ring power control algorithmic error if BLER exceeds bound measuring value and the mark of searching the up BLER target zone that exceeds the bound permission on the BLER history curve.
For example: the checking uplink external ring power control:
From protocol analyzer, obtain BTSC_SIR (base station signal to noise ratio), UE_TrPwr (terminal transmission power), from intermodule message output port, obtain BTSC_BLER (base station transceiver BLER (block error rate)), add up interference, form data form:
Table 2:
BTSC_BLER | BTSC_SIR |
UE_TrPwr | |
0 |
11 |
-95 |
1 |
12 |
-90 |
Increase if disturb, the BLER of BTSC can increase suddenly, slowly reduces then, is stabilized within some scopes; Reduce if disturb, the BLER of BTSC can reduce suddenly, slowly increases then, is stabilized at last within some scopes.Same BTSC_SIR, UE_TrPwr also have same variation tendency, have so just proved that the uplink external ring power control algorithm is effective.
The curve chart that forms according to tables of data as shown in Figure 9.By this figure, the outer shroud uplink power control is effective as can be seen.
2, to the test of synchronized algorithm
In measurement report, search Start, Peak, the End of SS (terminal synchronizes) in CHNRD (channel request) message, calculate adjusting values and with the contrast of actual adjusted value.The result of contrast is no more than 1, shows that then open loop is correct synchronously.Actual adjusted value provides in CHNAK (channel activates response) message, and theoretical adjusted value calculates by following rule:
1) if Peak_RACH-SS_Target_TS (DPCH)>0, then
SS_update_DPCH=Min{Start_RACH,(Peak_RACH-SS_Target_TS
DPCH)}
2) if Peak_RACH-SS_Target_TS (DPCH)<0, then
Above in 2 formulas, the implication of each parametric representation is as follows:
SS_update_DPCH: synchronous adjusted value;
Start_RACH: the starting point of pulse signal RACH in the detection window;
Peak_RACH: the peak value of pulse signal RACH in the detection window;
End_RACH: the terminal point of pulse signal RACH in the detection window;
SS_Target_TS
DPCH: the synchronous desired value of pulse signal in the detection window;
WL_End_Position
DPCH: the final position that is detection window.
In measurement report, search SS_Target (object synchronization) value of SS in the CHNRD message, in TPC, search Peak_Target_Use (user's synchronizing signal peak value) value, the history curve of the SS_Target that draws, Peak_Target_Use.If the value of Peak_Target_Use surpasses 1 than SS_Target, show that then closed loop is incorrect synchronously.
3, the dynamic channel time slot is selected and is distributed
(i represents time slot to find the priority P i of each time slot of carrier wave in the RFTSP of TXT (indication of Radio Link time slot priority update) message, its value from 0 to 7), calculate the priority of time slot grouping, judge the carrier wave that participates in grouping, calculate carrier wave associating priority, determine that according to Pi the traffic branch is on the time slot of limit priority.
Be exemplified below: the channel in the checking dynamic channel allocation selects then algorithm (under the situation that 3 phones insert, judging whether the distribution of last phone meets rule).
Seek the 3rd MOC (moving to the calling of fixed network) according to the data that protocol analyzer obtains, and extract the carrier wave distributed and the information of time slot, obtain last MOC institute distributed time slot, obtain some other necessary information, obtain following information by the OM database:
BCCHIDLETHRESHOLD=100 (bcch carrier is not participated in the distribution);
It is 0.7 that OM parameter setting carrier wave is selected parameter value;
All time slots all are in normal operating conditions;
Have two phones to be distributed on the carrier wave 2, the 3rd phone is distributed on the carrier wave 1;
The time slot priority of two non-BCCH (Broadcast Control Channel) carrier wave is as shown in the table:
Table 3:
|
TS1 |
TS2 |
TS3 |
TS4 |
TS5 |
TS6 |
Carrier wave 1 (C1) |
1 |
0.84 |
0.84 |
1 |
0.84 |
0.84 |
Carrier wave 2 (C2) |
0.89 |
0.89 |
0.89 |
0.89 |
0.89 |
0.89 |
Corresponding voice service is carried out time slot and is grouped as follows shown in the table:
Table 4:
|
TS1/ TS4 |
TS1/ TS5 |
TS1/ TS6 |
TS2/ TS4 |
TS2/ TS5 |
TS2/ TS6 |
TS3/ TS5 |
TS3/ TS6 |
C1 time slot associating priority |
1 |
0.84 |
0.84 |
0.84 |
0.71 |
0.71 |
0.71 |
0.71 |
C2 time slot associating priority |
0.79 |
0.79 |
0.79 |
0.79 |
0.79 |
0.79 |
0.79 |
0.79 |
Maximum: C1=1, C2=0.79,0.79/1>0.70, so two carrier waves are all participated in the distribution.
Calculate two carrier wave associating priority:
C1=0.84*0.84*0.84*0.84*1*1=0.50
C2=0.89*0.89*0.89*0.89*0.89*0.89=0.50
So, also need to carry out minimum of resources and select (being about to new user is distributed on the less carrier wave of idling-resource).Find that by idle BRU is calculated last user should be distributed on the C2, actual test result is to be distributed on the C1, so these algorithm existing problems, it is wrong that the data of above-mentioned analytic process are shown the explanation algorithm.
4, to the test of handoff algorithms
Calculate the priority of adjacent sub-district, computing formula is as follows:
PRO_NCell(n)={RSCP_DWPTS_NCELL(n)-(BTSC_TSCP_DWPTS-(BTSC_TSCP_DCH-UE_RSCP_DCH))
+min(UE_TSCP_MAX_SCELL,P)-min(UE_TSCP_MAX_NCELL(n),P)}-hoMargin(n)
Wherein,
RSCP_DWPTS_NCELL (n): the receiving code power of adjacent cell downlink pilot time slot;
BTSC_TSCP_DWPTS: the delivering power of base station down pilot time slot;
BTSC_TSCP_DCH: the delivering power of base station dedicated channel;
UE_RSCP_DCH: the receiving code power of terminal-specific channel;
UE_TSCP_MAX_SCELL: the maximum transmission power of terminal in this sub-district;
P: terminal maximum transmission power;
HoMargin (n): be to stop the threshold value that switches to adjacent sub-district, on the operational administrative platform, be provided with.
Read the adjacent cell list that switches in the indication, list prioritization and actual adjacent cell list, the switching type according to switching in the indication reads the correlation in the measurement report, judges whether to satisfy switching condition according to formula.According to different switching types, different switching formula is arranged, be expressed as follows respectively:
1.Quality Intercell Handover (switching of minizone quality):
BTSC_BER>hoLowerThresholdQualUL
BTSC_RSCP≤hoThresholdRSCPULintra
Wherein:
HoLowerThresholdQualUL is that the up quality that OM is provided with is switched minimum threshold;
HoThresholdRSCPULintra switches the RSCP thresholding between the uplink cells that is provided with of OM.
2.Quality Intracell Handover (quality is switched in the sub-district):
BTSC_BER>hoLowerThresholdQualUL
BTSC_RSCP>hoThresholdRSCPULintra
Wherein:
HoLowerThresholdQualUL is that the up quality that OM is provided with is switched minimum threshold;
HoThresholdRSCPULintra switches the RSCP thresholding between the uplink cells that is provided with of OM.
3.Receive Level Handover (incoming level switching):
BTSC_RSCP<hoLowerThresholdRSCPUL
4.Distance Handover (distance is switched):
UE_BTSC_DIST>hoThresholdMsRangeMax
HoThresholdMsRangeMax is the ultimate range that allows between terminal and the base station, is provided with by OM.
5.Power Budget Handover (switching) to better sub-district:
PRIO_PBGT=PRO_NCell(n)-hoMargin(n)>0
RSCP_DWPTS_NCELL>rSCPMinCell+max(0,Pa);Pa=(UE_TSCP_MAX_NCELL(n)-P)
Wherein:
RSCP_DWPTS_NCELL is the receiving code power of the adjacent cell downlink pilot time slot measured in measurement report;
RSCPMinCell is the minimum receiving code power in this sub-district.
For example, judge Quality Intercell Handover (quality of minizone is switched) algorithm success or not, the form that obtains is as follows:
Table 5:
Project |
BTSC_BER |
BTSC_RSCP |
hoLowerThresholdQualUL |
hoThresholdRSCPULintra |
Data |
10 |
-105 |
1 |
-80 |
Switching formula according to the quality of above-mentioned minizone judges:
BTSC_BER>HANDTD::hoLowerThresholdQualUL
BTSC_RSCP≤HANDTD::hoThresholdRSCPULintra
Can judge that Quality Intercell Handover algorithm successfully realizes, thereby provide correct conclusion.If switching has taken place BTSC_BER<hoLowerThresholdQualUL, then the HandOver algorithm has problem.
Though described the present invention by embodiment, those of ordinary skills know, the present invention has many distortion and variation and do not break away from spirit of the present invention, wish that appended claim comprises these distortion and variation and do not break away from spirit of the present invention.