Carry out the method for connected state test
Technical field
The present invention relates to communication field, relate in particular to a kind of method of carrying out the connected state test.
Background technology
In the mobile communication system,, utilize test call that parameters such as switching rate, data throughout are tested through regular meeting as CDMA20001 * EV-DO system.Described test call comprises Idle state test call and connected state test call.The Idle state test call is (the Access Terminal that accesses terminal; When AT) being in Idle state, access network (Access Network; AN) trigger AT the switching rate of Idle state, free time etc. are tested by sending test request message; Connected state test is when AT is in connected state, and AN tests the switching rate of connected state, forward data throughput, reverse data throughput, Packet Error Rate etc. by test request message triggering AT.
Because the commercial AT of part can't respond the paging request that AN issues at Idle state, so generally can not it is activated at Idle state by paging AT, changes connected state then over to.
Usually this class AT is carried out needing to make AT enter connected state by the attitude test call that connects before the connected state test, the method for the attitude that connects at present test call has two kinds of situations:
First kind of situation: initiate HRPD (high rate packet data) (High Rate PacketData manually in the AT side, HRPD) caller of service call, Deng the Traffic Channel of eating dishes without rice or wine set up finish after, AT enters connected state, at this moment issue test request message by AN, trigger AT and carry out the connected state test, add up and report test result simultaneously, can be after test is finished by the AT release that makes a call, also can be by the AN release that makes a call.
Carrying out the calling of forward direction testing throughput when being in connected state with AT is the technical scheme that example describes first kind of situation in detail, and as shown in Figure 1, this scheme specifically comprises:
Step a, the AT side is initiated the HRPD service call, connects by described message related to calls and AN;
Step b, AN carries out the forward direction testing throughput by FTAP parameter assignment (FTAPParameterAssignment) message trigger AT;
Step c, AT are activated after receiving described assignment message, and the assignment of loopback FTAP parameter is finished the response message of (FTAPParameterComplete) and given AN;
Step e, AN receive described response message, begin to carry out the test of forward direction throughput;
Step f discharges connection after test is finished.
As can be seen, the initiation of test call needs to initiate the HRPD service call from the AT side manually in advance, carries out the connected state test call then in the scheme of first kind of situation.And when the AT side is initiated and set up the HRPD service call, need Packet Control Function (the Packet ControlFunction of network side; PCF), packet service node (Packet Data Serving Node; PDSN) etc. network element is handled jointly.
Second kind of situation: manually initiate the HRPD service call in the AT side, wait the Traffic Channel of eating dishes without rice or wine to set up after, AT enters sleep state (dormant); By the AN issuing page message, activate the AT of dormant attitude then, rebulid the Traffic Channel of eating dishes without rice or wine, AT enters connected state; Send out test post triggering AT by AN at last and carry out the connected state test, add up and report test result; Can be after test is finished by the AT release that makes a call, also can be by the AN release that makes a call.
The initiation of test call still need be initiated the HRPD service call manually in the AT side in second kind of situation, wait set up the Traffic Channel of eating dishes without rice or wine after, AT enters sleep (dormant) attitude.When needs are done the connected state test, activate AT in the AN side by paging and enter connected state, then AT is carried out the connected state test call, and then carry out the connected state test.
In addition, the AT that is in the dormant attitude waits for that AN initiates in the process that paging is activated, if AT is connected with terminal unusually, or take place that other is unusual, all may cause AT to discharge test call, change Idle state over to,, carry out the connected state test thereby can't enter connected state to such an extent as to can't accept the paging of AN.From foregoing description as can be seen, when carrying out the connected state test call in the prior art, have the following disadvantages:
Because Idle state AT can't respond the test request that the AN side issues, can not Idle state AT be activated by the paging of AN side and change connected state over to.Therefore, must when being in connected state, AT carry out test call.
When AT is in connected state and carries out test call, need manually participate in terminal and network side, especially in the time of fixed test or volume test, need considerable personnel to drop into, bring a lot of inconvenience to engineering test.
When AT is in connected state and carries out test call, need at first set up the HRPD service call, and set up Packet Control Function (the Packet Control Function that HRPD calls out needs network side; PCF), packet service node (Packet Data Serving Node; The participation of network element such as PDSN).
Summary of the invention
The purpose of this invention is to provide a kind of method of carrying out the connected state test, this method can solve needs the artificial problem of initiating the foundation of HRPD service call in advance from the AT side in the prior art; And when connecting the attitude test call, need to use PCF, PDSN problem of resource.
The objective of the invention is to be achieved through the following technical solutions:
A kind of method of carrying out the connected state test provided by the invention comprises:
A, terminal are set up channel according to Idle state test call request message with network and are connected;
B, described terminal keep described channel connection not discharge, and connect by described channel and carry out the connected state test.
Wherein, described steps A specifically comprises:
A1, network send to terminal with Idle state test call request message;
A2, terminal are set up channel according to described Idle state test call request message with network and are connected.
Wherein, before described steps A, also comprise:
C, in the parameter of the identification information and the connected state operational trials item of network side preservation terminal.
Wherein, described steps A 1 specifically comprises:
The parameter of A11, network based connected state operational trials item is initiated the request of Idle state test call;
A12, Idle state test call request message is sent to described terminal according to the identification information of described terminal.
Wherein, described steps A 2 specifically comprises:
A21, terminal send message that request connects to network by access channel;
The message indicating terminal that A22, described network based described request connect is set up channel and is connected;
A23, terminal are set up channel according to described indication and are connected.
Wherein, described step B specifically comprises:
B1, terminal connect by described channel carries out the connected state test call;
B2, obtain corresponding test result by described connected state test call.
Wherein, described step B1 specifically comprises:
B11, described network connect transmission test parameter assignment message to described terminal by described channel;
B12, described terminal are finished the assignment of described parameter and are carried out the connected state test call according to described test parameter assignment message.
Wherein, described step B2 specifically comprises:
B21, described terminal are connected transmission connected state test packet with described network by described channel;
B22, obtain corresponding test statistics result according to described test packet.
Wherein, described connected state test comprises: the test of forward direction throughput, back are to throughput test, switching rate test or Packet Error Rate test.
As seen from the above technical solution provided by the invention, method of the present invention is activated to connected state by sending the Idle state test call from the AN side with Idle state AT, under the situation that does not discharge connection, carry out the various test calls of connected state, thereby solved the problem that Idle state AT can not be activated by the paging of AN side, make whole test call process AT side not need manual operation, reduced engineering test workload greatly; And the present invention has avoided AT to need connecting terminal equipment and has initiated the HRPD service call, also just avoided to set up the HRPD business in advance, take PCF, the PDSN problem of resource of network side, and then save a large amount of manpower and materials, improve the speed and the quality of test job for engineering test.
Description of drawings
Fig. 1 carries out the flow process of forward direction throughput test call when being initiated to connect attitude behind the HRPD service call by the AT side in the prior art;
Fig. 2 is for after initiating connected state forward direction throughput test call by the AN side among the present invention, the flow process that the forward direction throughput is tested.
Embodiment
Core of the present invention is: by Idle state test call request (FTAPStatsClearRequest) message, to the test call of Idle state AT initiation Idle state, set up the eat dishes without rice or wine Traffic Channel connection of AT to AN in the AN side, make AT change connected state over to from Idle state.AT keep to connect and not to discharge, and issues the parameter testing message of connected state by the described Traffic Channel of eating dishes without rice or wine, and trigger AT and forward the connected state test to by the Idle state test, and the test data under the statistical report connected state.
The specific embodiment of method of the present invention, as initiate connected state forward direction throughput test call by the AN side after, the flow process of performance parameter being tested by AT, as shown in Figure 2:
Step a, from the operation maintaining background interface of AN, the sign of input AT, the relevant parameter of connected state forward direction throughput test call, order is delivered to AN, initiates test call.
Step b, AN according to the sign of AT at first at control channel (Control Channel; CC) AT that goes up to Idle state sends Idle state forward direction test call request (FTAPStatsClearRequest) message, and AttributelD indication AT makes the Idle state test activity in the message, as Idle state switching rate test activity (IdleASPStats).
Step c, AT receive FTAPStatsClearRequest message, obtain the AttributelD information in the message, and (Access Channel AC) goes up to AN transmit path renewal (RouteUpdate) message at access channel.
Steps d, AT (ConnectionRequest) message of asking to connect on AC sends to AN.
Step e, AN receive described ConnectionRequest message, and idle channel is distributed to AT, and send the message that Traffic Channel (TrafficChannelAssignment) that eat dishes without rice or wine set up in indication to AT on CC.
Step f, AT receives described TrafficChannelAssignment message, the foundation Traffic Channel of eating dishes without rice or wine, (Reverse Traffic Channel RTC) sends the Traffic Channel of eating dishes without rice or wine and sets up the message of finishing (TrafficChannelComplete) and give AN by reverse traffic channel then.
Step g, AT echoes to AN by RTC and answers message FTAPStatsClearResponse.
To the process of step g, AT set up with being connected of Traffic Channel between AN through above-mentioned steps a, and AT changes connected state over to, and this moment, AN can send various connected state test posts to AT, triggered AT and forwarded the connected state test activity to, and specific implementation process is as follows:
Step h, AN is by forward traffic channel (Forward Traffic Channel, FTC) send FTAP parameter assignment (FTAPParameterAssignment) message to AT, comprise attribute record (AttributeRecord) IE in the message, described IE indicates the relevant parameter of forward direction throughput test.
Step I, AT sends the FTAP parameter by RTC to AN and has assigned (FTAPParameterComplete) message.
After the process through above-mentioned steps h and step l, can carry out the connected state test activity between AN and AT, specific implementation process is as follows:
Step j, AN and AT send test packet on the described Traffic Channel of eating dishes without rice or wine, and obtain statistics by described test packet.
Step k, AN initiate to connect and discharge.
By above-mentioned steps as can be seen, method of the present invention by Idle state test call request (FTAPStatsClearRequest) message, is initiated Idle state test call to Idle state AT from the AN side, and the eat dishes without rice or wine Traffic Channel connection of AT to AN set up in request; After the Traffic Channel of eating dishes without rice or wine connects, make AT change connected state over to from Idle state.At this moment AT keeps this connection not discharge, issue the various test posts of connected state by the described Traffic Channel of eating dishes without rice or wine, trigger AT and forward the connected state test call to from the Idle state test call, and the test data of statistical report connected state, thereby guarantee that the AT of this moment can carry out the various test activities of connected state.
Other test activities of connected state, as switching rate test, reverse testing throughput etc., passing through FTAPStatsClearRequest message, Idle state AT is activated in the process of connected state, the AttributelD indication test activity item that AT did was distinguished to some extent in Idle state test call request (FTAPStatsClearRequest) message, the similar substantially step a of the method for initiation was to step g; Send various connected state test posts at AN to AT, triggering AT carries out in the process of connected state test activity, in message, comprise attribute record (AttributeRecord) IE according to the relevant parameter of the different indicated test items of test item also difference, as the test of connected state switching rate, comprise the relevant parameter that is designated as connected state switching rate test (ConnectedSSStats) by FTC to the AttributelD that AT sends in the FTAPStatsClearRequest message at step h; When carrying out reverse testing throughput, step h sends RTAPParameterAssignment message by FTC to AT, indicates the relevant parameter that needs test in the message; Therefore trigger the method that AT carries out the connected state test activity and duplicate, be described in detail no longer one by one here with above-mentioned steps h and step I.
By the described embodiment of the invention described above as can be seen, the present invention triggers Idle state AT from the AN side and does the Idle state test call, AT is activated to connected state with Idle state, and do not discharge connection, switch to the method on the various test calls of connected state then, solve Idle state AT dexterously and can not accept the AN paging, can not be from the problem of network side activation.Make whole test call process AT side not need manual operation, reduced engineering test workload greatly.
Avoid AT to need terminal to connect and initiation HRPD service call, also just avoided to set up the HRPD business in advance, taken network side PCF, PDSN problem of resource; For engineering test is saved a large amount of manpower and materials, improve the speed and the quality of test job.
The above; only for the preferable embodiment of the present invention, but protection scope of the present invention is not limited thereto, and anyly is familiar with those skilled in the art in the technical scope that the present invention discloses; the variation that can expect easily or replacement all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection range of claim.