Summary of the invention
In view of this, the purpose of this invention is to provide a kind of overload method of testing that can adapt to the above-mentioned this new business and the new network architecture, and can overcome the shortcoming of traditional test technology, and carry out the repeatedly system and method for overload shock-testing at MSC Server in the soft switchcall server and MGW.
A kind of test macro of testing performance of soft switch device comprises the emulation instrument; MSCServer, it be is characterized in that by this emulation instrument test this system also comprises:
At least one cover MGW, and wherein one the cover above-mentioned MGW by above-mentioned emulation instrument test;
Wherein, the emulation instrument is used to simulate all external equipments, and the total interface that is connected with MGW with above-mentioned MSC Server.
Further, according to traffic model and test needs,
The external equipment of emulation instrument simulation comprises: HLR, SMSC, the tradition mobile switch, fixed communication device (is a PSTN, The public switched telephonenetwork) (hereinafter to be referred as PSTN), Based Intelligent Control point (Service Control Point) (hereinafter to be referred as SCP) equipment, and the combination in any in the wireless access network system (UMTS terrestrial radio accessnetwork) (hereinafter to be referred as UTRAN); And
Emulation instrument simulation and dispose the interface that above-mentioned simulation external equipment and above-mentioned MSC Server are connected with MGW.
Further, said external equipment and the interface that above-mentioned MSC Server is connected with MGW comprise:
It between above-mentioned MSC Server and MGW and the UTRAN Iu CS interface protocol that adopts asynchronous transfer mode (Asynchronous Transfer Mode) (hereinafter to be referred as ATM) carrying according to third generation partner program (The 3rd Generation Partnership Project) (hereinafter to be referred as 3GPP) agreement;
Be MAP (MobileApplocation Part) (hereinafter to be referred as MAP) signaling interface between MSC Server and MGW and HLR, the MSC, and when adopting Internet protocol (Internet Protocal) (hereinafter to be referred as IP) and ATM carrying, support signaling transfer protocol (Signal Transport) (hereinafter to be referred as SIGTRAN);
Be intelligent network application part agreement (CAMEL Application part) (hereinafter to be referred as CAP) between MSC Server and MGW and the SCP equipment, and when adopting IP and ATM carrying, support SIGTRAN;
Adopt ISUP (ISDN User Part) (hereinafter to be referred as ISUP) agreement of time division multiplexing (Time Division Multiple) (hereinafter to be referred as TDM) carrying between MSC Server and MGW and traditional mobile switch, the PSTN.
Further, every kind of equipment quantity separately was according to the performance setting of traffic model, test needs and emulation instrument during above-mentioned simulation external equipment made up.
Further, above-mentioned MGW is two covers.
A kind of method of testing of testing performance of soft switch device is characterized in that this method is suitable for the anti-overload impact property of MSC Server or MGW is tested, and may further comprise the steps:
Step 1: select and the configuration traffic model according to the test needs, and the analog subscriber of above-mentioned traffic model is used in configuration;
Step 2: check that whether the simulation external equipment has enough disposal abilities, then adds the simulation external equipment by the emulation instrument if not, and carry out step 1, if then carry out step 3;
Step 3: the relevant parameter of configuration testing process, it comprises at least: the times N of load impact ', system loading initial value L
0, duration of load t
i, overload threshold value L
T
Step 4: make N=0, the test process relevant parameter loading traffic model according to configuration in the step 3 may further comprise the steps:
Step 401: the total load amount L ' of load impact is set, from system loading initial value L
0Beginning is through duration of load t
i
Step 402: make n=1, system loading L=L
0
Step 403:, the increment p of the professional and operation of each traffic is set in the traffic model according to the test needs
n, the incremental steps L of load impact
n,
According to incremental steps L
nIncrease load, i.e. L=L+L
n, and through duration of load t
n, write down the professional cutting off rate and the success rate of this process, make n=n+1;
Step 404: judge that whether system loading L is equal to or greater than total load amount L ', then carry out step 403, if not if then carry out step 405;
Step 405: reduce system loading to system loading initial value L
0, through duration of load t
e, write down the professional cutting off rate and the success rate of this process, make N=N+1;
Step 5: judge that N whether less than N ', then carry out step 402 if not, if then add up and output test result.
Further, before above-mentioned steps 1, also comprise step 0: start test macro; And
Also comprise step 6 after above-mentioned steps 5: the test macro state resets.
Further, the telephone traffic that the overload calculation of total of traffic model of using on the estimation in the step 2 and expectation will trigger, and check according to this telephone traffic whether external equipment possesses enough disposal abilities.
Further, above-mentioned impact load times N ' be 2-4 time;
Above-mentioned overload threshold value L
TRule of thumb be worth, or obtain by test macro test in advance;
Said system load initial value L
0Be overload threshold value L
T10%-100%;
Above-mentioned overload total amount L ' is overload threshold value L
T100-200%;
The incremental steps L of above-mentioned load impact
nIdentical or inequality, and L
n≤ load total amount L ';
Above-mentioned duration of load t
i, t
n, t
eIdentical or inequality, its scope is 0-60 minute;
The increment p of above-mentioned traffic business and operation
nProfessional and the operation for each traffic with respect to the increment of initial value separately, above-mentioned p
nIdentical or inequality, and all increment p professional and operation
nSummation equal incremental steps L
n
Further, above-mentioned traffic model comprises the professional and operation of traffic, and is at least professional and operation a kind of or its combination in any wherein of following traffic:
Contracted user's speech business, the speech business of intelligent subscriber, short message service, visual telephone business, the position is upgraded and is switched.
Adopting test macro of the present invention can avoid legacy test system is the defective that real equipment is brought owing to more external equipment is arranged.And adopt method of testing of the present invention, and can realize repeatedly overload shock-testing, can more fully test measurand.
For above-mentioned and other purposes, feature and advantage of the present invention can be become apparent, preferred embodiment cited below particularly, and conjunction with figs. are described in detail below.
Embodiment
Fig. 1 is the test macro connection layout in a preferred embodiment of the present invention, is made up of a cover MSCServer, two cover MGW.The interface of other external equipments and external equipment and MSC Server and MGW comprises HLR (being called for short a 3G HLR) cover, SMSC one cover, traditional mobile switch one cover, PSTN one cover, SCP equipment one cover, UTRAN system three covers of 3-G (Generation Three mobile communication system) by the simulation of emulation instrument.Mobile Softswitch simulated equipment and surrounds fully.The interface of equipment under test and analog machine can be according to the support situation flexible configuration to equipment under test.
At signaling plane, adopt the Iu CS interface protocol of ATM carrying between equipment under test and the simulation UTRAN according to the 3GPP agreement.Equipment under test and simulated HLR, simulation are the MAP signaling interfaces between the MSC center, can support various physical connections, comprise TDM, IP, ATM carrying, and the emulation instrument will be supported SIGTRAN when adopting IP, ATM equivalent-load.Between equipment under test and the simulation SCP equipment is CAMEL Application Part, supports the CAP2 version and the following CAP3 version that may adopt of present common employing; Support various physical connections, comprise TDM, IP, ATM carrying, the emulation instrument will be supported SIGTRAN when adopting IP, ATM equivalent-load.The configuration of continuing to use existing network between equipment under test and the traditional mobile switch of simulation, the simulation PSTN is the ISDN User Part of TDM carrying.
At user plane, adopt Iu user's face CS interface protocol of ATM carrying between equipment under test and the simulation UTRAN according to the 3GPP agreement.Equipment under test is not connected between the PSTN with the traditional mobile switch of simulation, simulation, and directly oneself encircles the Business Stream between third generation user and the second generation user, between third generation user and the fixed-line subscriber by equipment under test.As having provided the interface protocol that may use between more detailed equipment under test and the simulation external equipment in the table 1.
Table 1 test configurations figure
| Equipment under test | Analog machine | Interface configuration | |
1 | MSC Server | 3G HLR | TDM/MAP SIGTRAN/MAP |
2 | MSC Server | The tradition mobile switch | TDM/ISUP |
3 | MSC Server | SCP | TDM/CAP2 or TDM/CAP3 SIGTRAN/CAP2 or TDM/CAP3 |
4 | MSC Server | PSTN | TDM/ISUP |
5 | MSC Server | SMSC | TDM/MAP SIGTRAN/MAP |
6 | MGW | UTRAN | ATM/Iu CS |
7 | MGW2 | The tradition mobile switch | Equipment under test is from ring |
8 | MGW2 | PSTN | Equipment under test is from ring |
Particularly, the defective that conventional test methodologies exists for example is the simulator that traditional mobile switch adopts wireless device, triggers big call volume on the A interface, but because HLR is a real equipment, the signaling processing ability of HLR can influence the measurement result of MSC Server call handling capacity.Perhaps traditional mobile switch adopts emulation instrument simulated HLR and MSC, on the MAP interface, trigger a large amount of signaling flows, but because wireless side is a real equipment, call failure that wireless environment causes and short message failure also just count the measurement result of MSC Server mistakenly.In addition, traditional test often at just MSC Server, and in mobile soft switchcall server, MSC Server and MGW are measurands, and both are control and Be Controlled, the relation supporting and be supported is separation each other, and close cooperation is arranged again.
The present invention adopts the whole external equipments that may use in the emulation instrument simulation test process, and with the interface of MSC server and MGW, MSC server and MGW are measurand, use the identical MGW of two covers in the present embodiment, wherein a cover is measurand, another set ofly in test process, use as auxiliary equipment, here use real MGW as auxiliary equipment, its objective is for the handling property that cooperates MSC server and the needs of traffic model, though this MGW is a real equipment, but two cover MGW are identical, can not influence test result because having used real equipment.In addition, in the external equipment of above-mentioned emulation instrument simulation, the quantity of every kind of simulation external equipment is according to traffic model, test needs and the performance of emulation instrument determines, for example in order to cooperate the handling property of traffic service needed and MSC Server, the quantity of simulation UTRAN can be more than 3 or 3, but also is subjected to the performance limitations of emulation instrument itself simultaneously, can not simulate this too much kind equipment.
Fig. 2 is the overload impact test methods flow chart of a preferred embodiment of the present invention.Adopt this method of testing and above-mentioned test macro, can test respectively MSC Server and MGW server, and test process is identical.In this this preferred embodiment, the number of times that overload is impacted is set to 2 times, and is the slow load impact that increases, the load impact for increasing suddenly for the second time for the first time.Concrete test process is as follows:
Step 0: start test macro;
Step 1: select and the configuration traffic model according to the test needs, described traffic model comprises the professional and operation of traffic, and is at least professional and operation a kind of or its combination in any wherein of following traffic:
Contracted user's speech business, the speech business of intelligent subscriber, short message service, visual telephone business, the position is upgraded and is switched;
The analog subscriber of above-mentioned traffic model is used in configuration, promptly finishes the process of analog subscriber registration;
Step 2: check whether the simulation external equipment has enough disposal abilities, for example whether can satisfy the needs that traffic is professional and operate, or can not be complementary with the handling property of MSC Server, if external device processes scarce capacity or do not match then add corresponding external equipment by the emulation instrument, and carry out step 1, if then carry out step 3;
Step 3: the relevant parameter of configuration testing process, it comprises at least:
The times N that overload is impacted ', be 2 times in the present embodiment;
Overload threshold value L
T, the maximal workload that promptly tested object is operated at full capacity, it judges the critical value of can normal operating conditions being the load operation state, this overload threshold value L for equipment
TCan rule of thumb be worth, or obtain by test macro test in advance; And
System loading initial value L
0, for example be 80%L
T, duration of load t
i, for example be 30 minutes;
Step 4: the test process relevant parameter according to configuration in the step 3 loads traffic model, promptly begins to carry out the loading that overload is impacted, and may further comprise the steps:
Step 401: the total load amount L ' of load impact is set, and for example is 140%L
T, from system loading initial value L
0Beginning is through duration of load t
i
Step 402: make n=1, system loading L=L
0
Step 403: according to the test needs, be provided with in the traffic model the professional and operation of each traffic with respect to the increment p of initial value separately
n, for example for being 20% initial value, the incremental steps L of load impact
n, for example be 20%L
T,
According to incremental steps L
nIncrease load, i.e. L=L+L
n, each load increases 20L
T, through duration of load t
n, be 30 minutes for example, write down the professional cutting off rate and the success rate of this process, make n=n+1;
Step 404: judge whether system loading L is equal to or greater than total load amount L ', and promptly whether system loading has reached 140%L
T, then do not repeat step 403 if reach as yet, according to L
nIncrease load, if reached 140%L
TThen carry out step 405;
Step 405: reduce system loading to system loading initial value L
0, through duration of load t
e, for example be 30 minutes, write down the professional cutting off rate and the success rate of this process;
Step 401 ': the total load amount L ' of load impact is set once more, for example is 120%L
T, from system loading initial value L
0Beginning is through duration of load t
i
Step 402 ': once load load impact to the total amount of loading, and through retention time t
1 ', be 30 minutes for example, write down the professional cutting off rate and the success rate of this process;
Step 403 ': reduce system loading to system loading initial value L
0, through duration of load t
e, for example be 30 minutes, write down the professional cutting off rate and the success rate of this process;
Step 5: add up and output test result;
Step 6: the test macro state resets.
Adopt said method, impact loading through twice overload, can realize the anti-overload impact property of MSC Server in the mobile soft switchcall server and MGW is tested, the waveform that load loads in the test process as shown in Figure 3.This test process impacts loading through once delaying to increase overload impact loading and once increase overload suddenly, can under different situations, investigate the anti-overload impact property of measurand, for example can also investigate the working condition of measurand when decline is impacted in overload in the overload loading procedure, for example aspect such as stability can be tested measurand more all sidedly.Certainly, can write down and add up more data and result according to test needs and purpose in the test process, and be not limited only to the cutting off rate or the success rate of each traffic industry and operation, for example also comprise:
After the overload impact is loaded on the total load amount, add up each traffic of this loading procedure is professional and operate cutting off rate and success rate, important aspect for example is the audio call success rate, video phone call success rate and short message success rate etc., and whether professional the or operation of investigating in test period foundation according to the data of record can keep, its index for example is not more than 5% for the audio call cutting off rate, and the video phone call cutting off rate is not more than 5% etc.
In addition, after the overload impact drops to system's initial value, still need to add up each traffic business and the cutting off rate and the success rate of operating in this process, important aspect for example is the audio call success rate, video phone call success rate and short message success rate etc., and investigate system according to the data of record and whether can keep stable, its statistical indicator for example is not more than 1% for the audio call cutting off rate, and the video phone call cutting off rate is not more than 1% etc.(above-mentioned concrete traffic operation flow will be introduced later)
The overload impact test methods that the present invention proposes can adopt claim 6 described methods to can be generalized to more than 2 times overload exactly than the advantage of conventional method and impact and load, and the preferred range that number of times is impacted in overload is 2-4 time.And the detailed process of each overload loading, also various ways can be arranged according to the loading parameters difference that disposes, for example
System loading initial value L
0Preferable scope for example is overload threshold value L
T10%-100%;
The preferable scope of overload total amount L ' for example is overload threshold value L
T100-200%;
The incremental steps L of load impact
nCan be identical or inequality, and L
n≤ load total amount L ' works as L
nDuring=L ', promptly once load overload and impact, then be equivalent to increasing overload suddenly and impacting loading procedure in the foregoing description to the total load amount;
The duration of load t in steps
i, t
n, t
eCan be identical or inequality, its preferable scope for example is 0-60 minute;
Traffic model comprises the professional and operation of traffic, miscellaneous service and operation increment p separately in loading procedure
nCan be identical or inequality, but all increment p professional and operation
nSummation equal incremental steps L
n
Above-mentioned traffic model comprises miscellaneous service and operation, professional and the operation of various traffics can be selected as required flexibly in the loading procedure, and the professional and operation of the traffic that may use in a preferred embodiment of the present invention comprises: contracted user's speech business (comprising that speech business, third generation user and two between third generation user and the third generation user substitutes the speech business between speech business, third generation user and the fixed-line subscriber between the family), the speech business of intelligent subscriber, short message service, visual telephone, position renewal, switching.Below briefly introduced respectively.
1, the speech business flow process is as shown in Figure 4 between third generation contracted user and fixed-line subscriber and second generation user.At signaling plane, third generation contracted user's calling is initiated by simulation UTRAN3, signaling is directly delivered to tested MSC Server, perhaps is transmitted to tested MSC Server by tested MGW (below be designated as MGW1) and handles, and is established to the calling of simulation PSTN and second generation conventional switch (2G MSC).At user plane, data are initiated by simulation UTRAN3, through MGW1, to auxiliary MGW (below be designated as MGW2), are looped back to certainly to return to through MGW1 behind the MGW2 again and simulate UTRAN3.
Speech business flow process such as accompanying drawing 5 between third generation intelligent subscriber and fixed-line subscriber and second generation user.At signaling plane, the calling of third generation intelligent subscriber is initiated by simulation UTRAN3, and signaling is directly delivered to tested MSC Server, perhaps is transmitted to tested MSCServer by MGW1.After simulation SCP made judgement, tested MSC Server continued call treatment, was established to the calling of simulation PSTN and 2G MSC.At user plane, data are initiated by UTRAN3, through MGW1, to MGW2, return to simulation UTRAN3 through MGW1 again after being looped back to MGW2 certainly.
Third generation contracted user and third generation contracted user speech business flow process such as accompanying drawing 6.At signaling plane, third generation contracted user's calling simulation UTRAN1 initiates, and signaling is directly delivered to tested MSC Server, perhaps is transmitted to tested MSC Server by MGW1 and handles, and is established to the calling of simulation UTRAN2.At user plane, data are sent by simulation UTRAN1, through MGW1 and MGW2, send to simulation UTRAN2.
Visual telephone business flow process such as accompanying drawing 7.At signaling plane, customer call is initiated by simulation UTRAN1, and signaling is directly delivered to tested MSC Server, and perhaps logical MGW1 is transmitted to tested MSC Server and handles, and is established to the calling of simulation UTRAN2.At user plane, data are sent by simulation UTRAN1, through MGW1 and MGW2, send to simulation UTRAN2.
Short message service is the business of pure signaling aspect, operation flow such as accompanying drawing 8.UTRAN1 initiates short message by simulation, and signaling is directly delivered to and issued SMSC after tested MSC Server handles.Vice versa.
It is the operation of pure signaling aspect that the position is upgraded, operation flow such as accompanying drawing 9.UTRAN1 initiates location update operations by simulation, and signaling is directly delivered to tested MSC Server and handled.
The operation flow of handoff procedure such as accompanying drawing 10.At first set up the speech business of a third generation contracted user to fixed-line subscriber, third generation contracted user switches to simulation UTRAN2 from simulation UTRAN1 then, switches back simulation UTRAN1 at last again.Quite taken place to switch between 2 MGW for tested MSC Server and MGW1.
At signaling plane, user's handoff request is sent by simulation UTRAN1 and simulation UTRAN2, and signaling is directly delivered to tested MSC Server, perhaps is transmitted to tested MSC Server by MGW1 and handles, and finishes the handoff procedure of calling.At user plane, data are sent by simulation UTRAN1 before switching, and through MGW1, to MGW2, return to simulation UTRAN1 through MGW1 again after being looped back to MGW2 certainly.Switch intermediate data and be issued to MGW2, return to simulation UTRAN2 after being looped back to MGW2 certainly by simulation UTRAN2.After switching was finished, data plane path still was returned to the appearance before switching.
Though the present invention discloses as above with preferred embodiment; right its is not in order to limit the present invention; any person of ordinary skill in the field; without departing from the spirit and scope of the invention; when can doing a little change and change, so the present invention's protection range is as the criterion when looking the claim person of defining.