A kind of method and apparatus processing dedicated bearer connection
Technical field
The present invention relates to the communication technology, particularly relate to a kind of method processing dedicated bearer connection and dress
Put.
Background technology
In evolved packet system (Evolved Packet System, EPS) attaching process, network side meeting
Activate the EPS bearer context of an acquiescence, referred to as default bearing.Further, it is also possible to swash as required
One or more special EPS bearer contexts alive, referred to as dedicated bearer.And subscriber equipment (User
Equipment, UE) side and network side before completing the context activation Procedure of EPS dedicated bearer,
The context active flow of EPS default bearing and the combination of attachment flow are needed.
Wherein, dedicated bearer is to build in public data network (Public Data Network, PDN) link
On the basis of Li set up, be to provide for certain specific service quality (Quality of Service,
QoS) data transfer demands and set up (default bearing cannot meet).Generally dedicated bearer
QoS higher than the qos requirement of default bearing.Dedicated bearer UE be associated with one up (Up Link,
UL) traffic flow template (Traffic Flow Template, TFT), at PDN Gateway (GateWay, GW)
It is associated with descending (Down Link, a DL) TFT, TFT comprises the filter of business data flow,
And these filters can only mate the packet meeting some criterion.
Dedicated bearer is during performing connection (deactivating as activated), and UE needs to wait network side
Response.If in Preset Time (after timer expiry), the most do not receive the response of network side,
UE will retransmit connection (deactivating as activated) request, and this process compares loses time.Such as, weight
Sending out number of times is 4, and Preset Time is 8S, if network side never response, this connects (as activated
Deactivating) process at least needs the time of 40S, and expend the time long, affect EPS attaching process
Efficiency.
Summary of the invention
Embodiments provide a kind of process dedicated bearer connect method and apparatus, with solve due to
The problem that the connection procedure of dedicated bearer is long and affects the efficiency of EPS attaching process.
In order to solve the problems referred to above, the embodiment of the invention discloses a kind of side processing dedicated bearer connection
Method, including:
The connection request instruction connecting dedicated bearer is sent to network side;
When not receiving the response that described connection request is instructed of network side feedback in Preset Time, raw
Request is become to cancel instruction;
If terminal is in state to be connected, then cancels instruction according to described request and cancel and connect described special hold
Carry.
Accordingly, the embodiment of the invention also discloses a kind of device processing dedicated bearer connection, including:
Sending module, for sending the connection request instruction connecting dedicated bearer to network side;
Receiver module, for when not receiving the referring to described connection request of network side feedback in Preset Time
During the response made, generate connection request and cancel instruction;
Cancel module, if being in state to be connected for terminal, then cancel instruction according to described request and cancel
Connect described dedicated bearer.
Compared with prior art, the present invention includes advantages below:
The embodiment of the present invention is when connecting dedicated bearer by connection request instruction, if in Preset Time not
After receiving the connection response of network side feedback, instruction can be cancelled by request, to being in state to be connected
Terminal cancels this dedicated bearer of connection.Thus the present invention is not when receiving connection response for a long time, it is not necessary to
Resend connection request to instruct to be again coupled to dedicated bearer, but directly cancel and connect this and special hold
Carry, thus time-consuming, and improve the efficiency of EPS attaching process.
Accompanying drawing explanation
Fig. 1 is the method flow diagram processing dedicated bearer connection that the embodiment of the present invention one provides;
Fig. 2 is the method flow diagram processing dedicated bearer activation that the embodiment of the present invention two provides;
Fig. 3 is the method flow diagram processing dedicated bearer deactivation that the embodiment of the present invention three provides;
Fig. 4 is the structure drawing of device processing dedicated bearer connection that the embodiment of the present invention four provides;
Fig. 5 is the optional structure chart of device processing dedicated bearer connection that the embodiment of the present invention four provides.
Detailed description of the invention
Understandable, below in conjunction with the accompanying drawings for enabling the above-mentioned purpose of the present invention, feature and advantage to become apparent from
The present invention is further detailed explanation with detailed description of the invention.
Embodiment one
With reference to Fig. 1, give the method flow processing dedicated bearer connection that the embodiment of the present invention one provides
Figure.
Step 101, sends the connection request instruction connecting dedicated bearer to network side.
In the embodiment of the present invention, dedicated bearer is attached by connection request instruction for request, therefore may be used
To send the connection request instruction network side connecting this dedicated bearer, to realize the special of UE in a network
Carrying.
Optionally, connect include activate or deactivate, then connection request instruction include activate request instruction or
Deactivate request instruction.Then activate request instruction to be used for asking to activate dedicated bearer, deactivate request instruction
Deactivate this dedicated bearer for asking.
Wherein, comprising the mark of dedicated bearer in connection request instruction, this mark is the unique of dedicated bearer
Identifier.May determine which dedicated bearer to be connected be by the mark network side of this dedicated bearer.
Step 102, when the sound instructing this connection request not receiving network side feedback in Preset Time
At once, generate request and cancel instruction.
After transmission connection request instructs to network side, if network side receives the instruction of this connection request,
And after completing the connection to dedicated bearer, the connection state of this dedicated bearer can be fed back, i.e. to connection request
Instruct responds to UE, to inform that this dedicated bearer of terminal has connected complete.It is also possible to occur connecting
Request instruction, not by situations such as network side receive, causes being fed back without connection response, and then cause cannot
Determine that this dedicated bearer has connected the most complete.In prior art in the face of this kind of situation be can configure default
Time, if not receiving connection response in Preset Time, then can resend connection request instruction, directly
To receiving and connecting the number of retransmissions feeding back or reaching maximum.
But, this kind of method repeatedly retransmits connection request instruction due to needs, therefore can cause dedicated bearer
Connection Time is longer, and then affects the efficiency of EPS attaching process.The present invention is in order to avoid there is above-mentioned asking
Topic, it is contemplated that it is non-essential for connecting dedicated bearer, therefore when being not received by network in Preset Time
After the response to connection request instruction of side feedback, instruction is cancelled in the request that can send.As being connected as activating,
Then request is cancelled instruction and is cancelled instruction for activating, and is and for example connected as deactivating, then request cancels instruction for going
Activate and cancel instruction.
In actual treatment, there is multiple processing module in the end side of the present invention, including: interface module (as
AT module), parsing module (such as ATP module), conversation module (such as ESM module) etc..Different
Processing module can perform different operations, such as receive in Preset Time network side feedback pin
During to the connection response of this dedicated bearer, request can be generated by parsing module and cancel instruction, retransmit
Subsequent operation is performed by conversation module to conversation module.Wherein, AT is Attention, refers to AT and refers to
Order, ATP:Attention Process, refer to AT instruction process and process, ESM is EPS Session
Management, refers to EPS session management.
Step 103, if terminal is in state to be connected, then this is special to cancel instruction cancellation connection according to request
With carrying.
Terminal is after instruction is cancelled in the request of generation, and it is special for cancelling connection for cancelling instruction due to this request
Carrying, and if now terminal completed connection dedicated bearer, as generate cancel request instruction time complete
Having become the link of dedicated bearer, the most now terminal can process connection status, then need not cancel connect
Dedicated bearer.Therefore, in the embodiment of the present invention, first terminal can be examined after instruction is cancelled in the request of generation
Survey the state of terminal, if terminal is in state to be connected, the most unrealized connection dedicated bearer be described,
Then terminal need not retransmit request instruction, but cancel instruction cancellation according to request and connect this dedicated bearer,
As the state of terminal reverted to do not send the state etc. before connection request performs, from right without realizing
The connection of dedicated bearer.
Optionally, cancel instruction according to request and cancel connection dedicated bearer, including: obtain request cancellation and refer to
The mark of the dedicated bearer carried in order;Cancel according to the mark of this dedicated bearer and connect dedicated bearer.
In one alternative embodiment of the present invention, the mark obtaining dedicated bearer instruction can be cancelled from request
Know, so that it is determined that cancel the dedicated bearer connected, then cancel and connect this dedicated bearer.
Wherein, if being connected as activating, then, when terminal is in state to be activated, instruction is cancelled according to activating
Cancel and activate this dedicated bearer, just can complete EPS attachment from without activation dedicated bearer.If even
Connect as deactivating, then, when terminal is in state to be deactivated, deactivate according to deactivating cancellation instruction cancellation
It serves somebody right dedicated bearer, thus improves the efficiency of Business Processing.
If additionally, after instruction is cancelled in the request of receiving, this dedicated bearer has completed connection, the most now
The state of terminal is not state to be connected, then need not cancel the connection to this dedicated bearer.
Hereafter, it is also possible to generate result according to the disposition that dedicated bearer is connected, such as by meeting
Words module generates result, then feeds back to parsing module, parsing module carries out follow-up process.
Wherein, if dedicated bearer connects complete, then result is successful connection, if eliminating connection, this is special
Carrying, then result for cancel successful connection, if it addition, receive successful connection instruction after, specially
Complete connection with carrying, then result is for cancelling connection failure.
In sum, the embodiment of the present invention is when connecting dedicated bearer by connection request instruction, if in advance
If after not receiving the response to connection request instruction of network side feedback in the time, then can be cancelled by request
Instruction, cancels the terminal being in state to be connected and connects this dedicated bearer.Thus the present invention is for a long time
When not receiving the response to connection request instruction, it is not necessary to resend connection request and instruct to be again coupled to
This dedicated bearer, but directly cancel and connect this dedicated bearer, thus save the time, and improve
The efficiency of EPS attaching process.
Embodiment two
The present embodiment is described mainly for the process processing dedicated bearer activation, specifically includes following step
Rapid:
With reference to Fig. 2, give the method flow processing dedicated bearer activation that the embodiment of the present invention two provides
Figure.
Step 201, sends the activation request instruction activating dedicated bearer to network side.
Optionally, send the activation request instruction activating dedicated bearer to network side before, also include: join
Put the contextual information of this dedicated bearer, and the mark obtaining this dedicated bearer constitutes activation request instruction.
Terminal, after setting up default bearing success, can configure the contextual information of dedicated bearer, then obtain
Take the mark of this dedicated bearer, and the mark of this dedicated bearer is carried in activating request instruction, then will
This activation request instruction is sent to network side, thus asks network side to activate this dedicated bearer.
Step 202, when the sound to this activation request instruction not receiving network side feedback in Preset Time
At once, generate activation and cancel instruction.
If being not received by the response to this activation request instruction of network side feedback in Preset Time, then
Parsing module in terminal can obtain the mark of this dedicated bearer and generate activation cancellation instruction, and sends activation
Cancel instruction to conversation module.
Step 203, if terminal is in state to be activated, then according to activating cancellation instruction cancellation activation, this is special
With carrying.
After conversation module receives activation cancellation instruction, first can detect the state of terminal, if terminal is in
State to be activated, then can cancel instruction according to this activation and cancel activation dedicated bearer, such that it is able to quickly
Complete EPS attaching process.
Optionally, cancel activation dedicated bearer according to activating cancellation instruction, including: obtain activation cancellation and refer to
The mark of the dedicated bearer carried in order;Determine dedicated bearer according to the mark of dedicated bearer, and recover to be somebody's turn to do
The contextual information of dedicated bearer;It is unactivated state by the state of terminal by status modifier to be activated, with
Cancel and activate this dedicated bearer.
Then the embodiment of the present invention can be able to depend on from activating the mark obtaining dedicated bearer cancellation instruction
Determine dedicated bearer according to this mark, and recover the contextual information of this dedicated bearer.The most again by terminal
State is reverted to unactivated state by state to be activated, thus without carrying out activating the process of dedicated bearer,
Thus eliminate the activation to this dedicated bearer.
If detecting, terminal is not in state to be activated, and as terminal is in state of activation, then explanation is specially
Complete with bearing activation, now need not cancel the dedicated bearer activated, therefore can not perform cancellation
Operation.
Optionally, the result that this dedicated bearer is activated is generated.
In the embodiment of the present invention, it is also possible to generate the result that this dedicated bearer is activated.Wherein, if
Dedicated bearer activates complete, then can will activate successfully as result;If the activation of dedicated bearer takes
Disappear, then can activate cancelling successfully as result.If it addition, receive cancellation activation instruction after,
Terminal is not on state to be activated, does not has to cancel the activation to this dedicated bearer, then can swash cancelling
Live unsuccessfully as result.
In sum, the embodiment of the present invention is when activating dedicated bearer, for exceeding Preset Time
Do not receive the situation activating response of network side feedback, activation request instruction will not be resend, but logical
Cross activation and cancel instruction cancellation this dedicated bearer of activation, thus need not continue to activate this dedicated bearer, prevent
Cause activationary time long owing to repeatedly retransmitting and affect the efficiency of EPS attaching process.
Embodiment three
The present embodiment is described mainly for the process processing dedicated bearer deactivation, specifically includes as follows
Step:
With reference to Fig. 3, give the method stream processing dedicated bearer deactivation that the embodiment of the present invention three provides
Cheng Tu.
Step 301, sends the deactivation request instruction deactivating dedicated bearer to network side.
Optionally, send the deactivation request instruction deactivating dedicated bearer to network side before, also include:
After dedicated bearer is successfully established, the mark obtaining this dedicated bearer constitutes deactivation request instruction.
Terminal is being set up after dedicated bearer is successfully established, if this dedicated bearer is non-essential, then can ask
Seek this dedicated bearer of deactivation, therefore to obtain the mark of dedicated bearer carrying out deactivating, hold special
The mark carried is carried in deactivating request instruction.
Step 302, when do not receive in Preset Time network side feedback to this deactivation request instruction
During response, generate to deactivate and cancel instruction.
If the deactivation to this dedicated bearer being not received by network side feedback in Preset Time is asked
The response of instruction, then the parsing module in terminal can obtain the mark composition deactivation cancellation of this dedicated bearer
Instruction, concurrently sends to activation and cancels instruction to conversation module.
Step 303, if terminal is in state to be deactivated, then cancels instruction cancellation according to deactivation and deactivates
It serves somebody right dedicated bearer.
After conversation module receives deactivation cancellation instruction, first can detect the state of terminal, if end
In state to be deactivated, then can cancel instruction according to this deactivation and cancel this dedicated bearer of deactivation, as
Deactivation request instruction etc. will not be retransmitted, from without EPS attaching process is impacted.
Optionally, cancel instruction cancellation this dedicated bearer of deactivation according to deactivating, including: obtain and deactivate
Live and cancel the mark of the dedicated bearer carried in instruction;According to dedicated bearer mark by the state of terminal by
Status modifier to be deactivated is state of activation, deactivates this dedicated bearer to cancel.
The embodiment of the present invention can be from deactivating the mark obtaining dedicated bearer cancellation instruction, it is possible to depends on
Determine dedicated bearer according to this mark, then reverted to activate shape by state to be deactivated by the state of terminal
State, thus need not retransmit again deactivation request instruction to deactivate this dedicated bearer, complete cancel to special
The deactivation of carrying.
If detecting, terminal is not in state to be deactivated, as now end is in deactivation status, then
Illustrate that dedicated bearer deactivates complete, now and complete the deactivation to dedicated bearer, it is not necessary to
Perform the cancellation operation deactivated.
Optionally, the result that this dedicated bearer is deactivated is generated.
In the embodiment of the present invention, it is also possible to generate the result that this dedicated bearer is deactivated.Wherein,
If dedicated bearer deactivates complete, then can will deactivate successfully as result;If dedicated bearer
Deactivate and cancel, then can deactivate cancelling successfully as result.If it addition, receiving cancellation
After deactivating instruction, terminal is not on state to be deactivated, does not cancel deactivating this dedicated bearer
Live, then can deactivate cancelling unsuccessfully as result.
In sum, the embodiment of the present invention is when deactivating dedicated bearer, for when exceeding default
Between do not receive network side feedback deactivate response situation, deactivation request instruction will not be resend,
But deactivate this dedicated bearer by deactivating to cancel instructing to cancel, thus special holding need not be proceeded
The deactivating operation carried, prevents from causing owing to repeatedly retransmitting deactivating overlong time and affecting EPS attachment
The efficiency of process.
Embodiment four
With reference to Fig. 4, give the apparatus structure processing dedicated bearer connection that the embodiment of the present invention four provides
Figure.
Accordingly, the embodiment of the present invention additionally provides a kind of device processing dedicated bearer connection, including:
Sending module 41, receiver module 42 and cancellation module 43.
Sending module 41 connects the connection request instruction of dedicated bearer to network side for sending.
Receiver module 42 is connected with sending module 41 and cancellation module 43 respectively, and receiver module 42 is used for
When not receiving the response that this connection request is instructed of network side feedback in Preset Time, generate and connect
Instruction is cancelled in request.Wherein, connection response is the connection request that network side sends based on sending module 41
Generate and send after having instructed connection dedicated bearer.
If cancelling module 43 to be in state to be connected for terminal, then according to asking that receiver module 42 generates
Ask for instruction cancellation this dedicated bearer of connection that disappears.
With reference to Fig. 5, the device that the process dedicated bearer that giving the embodiment of the present invention four provides connects is optional
Structure chart.
Optionally, connection includes: activates or deactivates.
Then sending module 41 is for when being connected as activating, and sends to network side and activates this dedicated bearer
Activate request instruction;When being connected as deactivating, send to network side and deactivate deactivating of this dedicated bearer
Request instruction alive.
Wherein, activate request instruction to be used for asking to activate dedicated bearer;Deactivate request instruction to be used for asking
Deactivate dedicated bearer.
Receiver module 42 is not for receiving the right of network side feedback in being connected as activation and Preset Time
During the response of this activation request instruction, generate to activate and cancel instruction;It is being connected as deactivation and Preset Time
Inside do not receive network side feedback to the response of this deactivation request instruction time, generate and deactivate cancellation and refer to
Order.
Optionally, cancel module 43 and be used for when being connected as activation and state to be connected is state to be activated,
Cancel, according to obtaining to activate, the mark of dedicated bearer carried in instruction, and recover that this mark determines special
The contextual information of carrying;It is unactivated state by the state of terminal by status modifier to be activated, to cancel
Activate this dedicated bearer.
Optionally, module 43 is cancelled for being connected as deactivating and state to be connected is deactivation status
Time, deactivate the mark cancelling the described dedicated bearer carried in instruction;The mark of foundation dedicated bearer will
The state of terminal is state of activation by status modifier to be deactivated, deactivates this dedicated bearer to cancel.
Optionally, attachment means also includes: configuration module 40.
Configuration module 40 is connected with sending module 41, and configuration module 40 is used for being connected as activation, and
When connection request instruction is for activating request instruction, the contextual information of configuration dedicated bearer, and obtain special
The mark of carrying constitutes activation request instruction.
Optionally, configuration module 40 is for being connected as deactivation, and connection request instruction is for deactivating
During request instruction, after dedicated bearer is successfully established, the mark obtaining dedicated bearer constitutes the request of deactivation
Instruction.
Optionally, attachment means also includes: result-generation module 44 is connected with cancelling module 43, result
Generation module 44 is for generating the result connecting this dedicated bearer.Wherein, it is being connected as activation
Time, the result that this dedicated bearer is activated by feedback;When being connected as deactivating, feed back special to this
The result of load bearing deactivation.
In sum, the embodiment of the present invention is when connecting dedicated bearer by connection request instruction, if in advance
If after not receiving the connection response of network side feedback in the time, then can cancel instruction by request, to being in
The terminal of state to be connected cancels this dedicated bearer of connection.Thus the present invention does not receives connection sound for a long time
At once, it is not necessary to resend connection request and instruct to be again coupled to this dedicated bearer, but directly cancel
Connect this dedicated bearer, thus save the time, and improve the efficiency of EPS attaching process.
The embodiment of the present invention, when activating dedicated bearer, does not receives network for exceeding Preset Time
The situation activating response of side feedback, will not be resend activation request instruction, but be cancelled by activation
This dedicated bearer of activation is cancelled in instruction, thus need not proceed the activation of dedicated bearer, prevents due to many
Secondary repeating transmission and cause activationary time process to affect the efficiency of EPS attaching process.
The embodiment of the present invention, when deactivating dedicated bearer, does not receives net for exceeding Preset Time
The situation deactivating response of network side feedback, will not resend deactivation request instruction, but by going
Activate and cancel instruction cancellation this dedicated bearer of deactivation, thus deactivating of dedicated bearer need not be proceeded
Live, prevent from causing owing to repeatedly retransmitting deactivating time course and affecting the efficiency of EPS attaching process.
For device embodiment, due to itself and embodiment of the method basic simlarity, so the comparison described
Simply, relevant part sees the part of embodiment of the method and illustrates.
Each embodiment in this specification all uses the mode gone forward one by one to describe, and each embodiment stresses
Be all the difference with other embodiments, between each embodiment, identical similar part sees mutually
?.
The present invention can described in the general context of computer executable instructions,
Such as program module.Usually, program module includes performing particular task or realizing specific abstract data class
The routine of type, program, object, assembly, data structure etc..Can also be in a distributed computing environment
Put into practice the present invention, in these DCEs, by by communication network connected remotely
Reason equipment performs task.In a distributed computing environment, program module may be located at and includes storage device
In interior local and remote computer-readable storage medium.
Finally, in addition it is also necessary to explanation, in this article, the relational terms of such as first and second or the like
It is used merely to separate an entity or operation with another entity or operating space, and not necessarily requires
Or imply relation or the order that there is any this reality between these entities or operation.And, art
Language " includes ", " comprising " or its any other variant are intended to comprising of nonexcludability, so that
Must include that the process of a series of key element, method, commodity or equipment not only include those key elements, but also
Including other key elements being not expressly set out, or also include for this process, method, commodity or
The key element that equipment is intrinsic.In the case of there is no more restriction, statement " including ... " limit
Fixed key element, it is not excluded that there is also in including the process of described key element, method, commodity or equipment
Other identical element.
Above to a kind of method and apparatus processing dedicated bearer connection provided by the present invention, carry out in detail
Thin introducing, principle and the embodiment of the present invention are set forth by specific case used herein, with
The explanation of upper embodiment is only intended to help to understand method and the core concept thereof of the present invention;Simultaneously for
One of ordinary skill in the art, according to the thought of the present invention, in specific embodiments and applications
All will change, in sum, this specification content should not be construed as limitation of the present invention.