Embodiment
For above-mentioned purpose of the present invention, feature and advantage can be become apparent more, the present invention is further detailed explanation below in conjunction with the drawings and specific embodiments.
Embodiment one
With reference to Fig. 1, the method flow diagram that the processing dedicated bearer that having provided the embodiment of the invention one provides connects.
Step 101 sends the connection request instruction that connects dedicated bearer to network side.
In the embodiment of the invention, the connection request instruction is used for request dedicated bearer is connected, and therefore can send the connection request instruction network side that connects this dedicated bearer, to realize the dedicated bearer of UE in network.
Optionally, connect and comprise activation or deexcitation, then the connection request instruction comprises activation request instruction or deexcitation request instruction.Then activate request instruction and be used for the requesting activation dedicated bearer, the deexcitation request instruction is used for this dedicated bearer of request deexcitation.
Wherein, comprise the sign of dedicated bearer in the connection request instruction, this sign is the unique identifier of dedicated bearer.Which dedicated bearer what can determine to connect by the marked network side of this dedicated bearer is.
Step 102, when do not receive in the Preset Time network side feedback to the response of this connection request instruction the time, generate request cancellation instruction.
After the transmission connection request instructs to network side, if network side receives the instruction of this connection request, and after finishing connection to dedicated bearer, can feed back the connection state of this dedicated bearer, namely give UE to the response of connection request instruction, finish to inform that this dedicated bearer of terminal has connected.But connection request instruction also may occur not by situations such as network side receive, cause not having connection response and be fed, and then cause to determine whether this dedicated bearer has connected finishes.Being can the configuration Preset Time in the face of this kind situation, if in Preset Time, do not receive connection response, then can resend the connection request instruction in the prior art, up to receive connect feedback or reach maximum number of retransmissions till.
But therefore this kind method can cause the dedicated bearer connect hours longer, and then influence the efficient of EPS attaching process owing to need repeatedly retransmit the connection request instruction.The present invention considers that for fear of the problems referred to above occurring it is inessential connecting dedicated bearer, therefore after the response to the connection request instruction that does not receive the network side feedback in Preset Time, can send request cancellation indication.As be connected to activation, and then request cancellation instruction and for example is connected to deexcitation for activating the cancellation instruction, and then request cancellation instruction is deexcitation cancellation instruction.
In the actual treatment, there is multiple processing module in end side of the present invention, comprising: interface module (as the AT module), parsing module (as the ATP module), conversation module (as the ESM module) etc.Different processing modules can be carried out different operations, for example in Preset Time, receive network side feedback at the connection response of this dedicated bearer the time, can generate request cancellation instruction by parsing module, send to conversation module again and carry out subsequent operation by conversation module.Wherein, AT is Attention, refers to the AT instruction, and ATP:Attention Process refers to the AT instruction process and handles, and ESM is EPS Session Management, refers to the EPS session management.
Step 103 if terminal is in state to be connected, then connects this dedicated bearer according to request cancellation instruction cancellation.
Terminal is after generating request cancellation instruction, because this request cancellation instruction connects dedicated bearer for cancellation, and this moment is if terminal has been finished the connection dedicated bearer, as when generating the cancellation request instruction, having finished the link of dedicated bearer, then this moment, terminal can be handled connection status, did not then need to cancel the dedicated bearer that has connected.Therefore, in the embodiment of the invention, terminal state of sense terminals at first after generating request cancellation instruction, if terminal is in state to be connected, the connection dedicated bearer of also being unrealized this moment is described, then terminal does not need the re-send request may instruction, but connects this dedicated bearer according to request cancellation instruction cancellation, as with the recovering state of terminal for sending state before connection request is carried out etc., thereby do not need to realize connection to dedicated bearer.
Optionally, connect dedicated bearer according to request cancellation instruction cancellation, comprising: the sign of obtaining the dedicated bearer that carries in the request cancellation instruction; Sign cancellation according to this dedicated bearer connects dedicated bearer.
Among optional embodiment of the present invention, can obtain the sign of dedicated bearer from request cancellation instruction, thereby determine the dedicated bearer that cancellation connects, cancellation connects this dedicated bearer then.
Wherein, if be connected to activation, then when terminal is in state to be activated, according to activating this dedicated bearer of cancellation instruction cancellation activation, just can finish EPS and adhere to thereby do not need to activate dedicated bearer.If be connected to deexcitation, then be in when treating deactivation status when terminal, cancel this dedicated bearer of deexcitation according to deexcitation cancellation instruction, thereby improved the efficient of Business Processing.
In addition, if after receiving request cancellation instruction, this dedicated bearer has been finished connection, and then the state of terminal is not state to be connected at this moment, does not then need to cancel the connection to this dedicated bearer.
After this, can also generate result according to the disposition that dedicated bearer is connected, for example generate result by conversation module, feed back to parsing module then, carry out follow-up processing by parsing module.Wherein, finish if dedicated bearer connects, then result is successful connection, connect this dedicated bearer if cancelled, then result is the cancellation successful connection, in addition, if after receiving the successful connection instruction, dedicated bearer has been finished connection, then result is the cancellation connection failure.
In sum, the embodiment of the invention is when connecting dedicated bearer by the connection request instruction, if after in Preset Time, not receiving the response to the connection request instruction of network side feedback, then can connect this dedicated bearer to the terminal cancellation that is in state to be connected by request cancellation instruction.Thereby the present invention is not when receiving for a long time the response that connection request is instructed, do not need to resend the connection request instruction to connect this dedicated bearer again, but directly cancellation connects this dedicated bearer, thereby has saved the time, and has improved the efficient of EPS attaching process.
Embodiment two
Present embodiment is primarily aimed at the process of handling the dedicated bearer activation and discusses, and specifically comprises the steps:
With reference to Fig. 2, the method flow diagram that the processing dedicated bearer that having provided the embodiment of the invention two provides activates.
Step 201 sends the activation request instruction that activates dedicated bearer to network side.
Optionally, send before the activation request instruction that activates dedicated bearer to network side, also comprise: dispose the contextual information of this dedicated bearer, and obtain the sign formation activation request instruction of this dedicated bearer.
Terminal is after setting up the default bearing success, can configure dedicated the contextual information of carrying, obtain the sign of this dedicated bearer then, and the sign of this dedicated bearer is carried at activates in the request instruction, should activate request instruction again and send to network side, thereby the request network side activates this dedicated bearer.
Step 202, when do not receive in the Preset Time network side feedback to the response of this activations request instruction the time, generate and activate cancellation and instruct.
If do not receive the response to this activation request instruction that network side feeds back in Preset Time, then the parsing module in the terminal can obtain the sign generation activation cancellation instruction of this dedicated bearer, and the transmission activation is cancelled instruction to conversation module.
Step 203 if terminal is in state to be activated, then activates this dedicated bearer according to activating cancellation instruction cancellation.
After conversation module received and activates the cancellation instruction, state that at first can sense terminals if terminal is in state to be activated, then can activates cancellation instruction cancellation according to this and activate dedicated bearer, thereby can finish the EPS attaching process fast.
Optionally, activate dedicated bearer according to activating cancellation instruction cancellation, comprising: obtain the sign that activates the dedicated bearer that carries in the cancellation instruction; Sign according to dedicated bearer is determined dedicated bearer, and recovers the contextual information of this dedicated bearer; Be unactivated state with the state of terminal by status modifier to be activated, activate this dedicated bearer with cancellation.
The embodiment of the invention can be obtained the sign of dedicated bearer from activate the cancellation instruction, can determine dedicated bearer according to this sign then, and recover the contextual information of this dedicated bearer.And then be unactivated state with the state of terminal by recovering state to be activated, thereby need not carry out the process that activates dedicated bearer, thus the activation to this dedicated bearer cancelled.
If detecting terminal is not to be in state to be activated, be in state of activation as terminal, illustrate that then the dedicated bearer activation finishes, do not need to cancel the dedicated bearer that has activated this moment, therefore can not carry out the cancellation operation.
Optionally, generate the result that this dedicated bearer is activated.
In the embodiment of the invention, can also generate the result that this dedicated bearer is activated.Wherein, finish if dedicated bearer activates, then can will activate successfully as result; If the activation of dedicated bearer cancellation then can activate cancellation successfully as result.In addition, if after receiving the cancellation activation instruction, terminal is not in state to be activated, do not have cancellation to the activation of this dedicated bearer, then cancellation can be activated failure as result.
In sum, the embodiment of the invention is when activating dedicated bearer, do not receive the situation of the activation response of network side feedback at surpassing Preset Time, can not resend the activation request instruction, but activate this dedicated bearer by activating cancellation instruction cancellation, thereby need not continue to activate this dedicated bearer, prevent the efficient that causes the long EPS of the influence attaching process of activationary time owing to repeatedly retransmitting.
Embodiment three
Present embodiment is primarily aimed at the process of handling the dedicated bearer deexcitation and discusses, and specifically comprises the steps:
With reference to Fig. 3, provided the method flow diagram of the processing dedicated bearer deexcitation that the embodiment of the invention three provides.
Step 301 is to the deexcitation request instruction of network side transmission deexcitation dedicated bearer.
Optionally, send to network side before the deexcitation request instruction of deexcitation dedicated bearer, also comprise: after dedicated bearer was set up successfully, the sign of obtaining this dedicated bearer constituted the deexcitation request instruction.
Terminal if this dedicated bearer is inessential, then can be asked this dedicated bearer of deexcitation after setting up dedicated bearer and setting up successfully, therefore will obtain the sign of the dedicated bearer that carries out deexcitation, and the sign of dedicated bearer is carried in the deexcitation request instruction.
Step 302, when do not receive in the Preset Time network side feedback to the response of this deexcitation request instruction the time, generate deexcitation cancellation instruction.
If in Preset Time, do not receive the response to the deexcitation request instruction of this dedicated bearer of network side feedback, then the sign that can obtain this dedicated bearer of the parsing module in the terminal constitutes deexcitation cancellation instruction, and concurrent sending to activated the cancellation instruction and given conversation module.
Step 303 is if terminal is in and treats deactivation status, then according to this dedicated bearer of deexcitation cancellation instruction cancellation deexcitation.
After conversation module receives deexcitation cancellation instruction, state that at first can sense terminals, if terminal is in and treats deactivation status, then can be according to this this dedicated bearer of deexcitation cancellation instruction cancellation deexcitation, as can not retransmitting deexcitation request instruction etc., thereby can not impact the EPS attaching process.
Optionally, according to this dedicated bearer of deexcitation cancellation instruction cancellation deexcitation, comprising: the sign of obtaining the dedicated bearer that carries in the deexcitation cancellation instruction; According to the sign of dedicated bearer with the state of terminal by treating that deactivation status is revised as state of activation, with this dedicated bearer of cancellation deexcitation.
The embodiment of the invention can be obtained the sign of dedicated bearer from deexcitation cancellation instruction, and can determine dedicated bearer according to this sign, then with the state of terminal by treating that deactivation status reverts to state of activation, thereby need not retransmit the deexcitation request instruction again with this dedicated bearer of deexcitation, finish cancellation to the deexcitation of dedicated bearer.
If to detect terminal be not to be in to treat deactivation status, as this moment end in deactivation status, illustrate that then the dedicated bearer deexcitation finishes, this moment and finished deexcitation to dedicated bearer, need not carry out the cancellation operation of deexcitation.
Optionally, generation is to the result of this dedicated bearer deexcitation.
In the embodiment of the invention, can also generate the result to this dedicated bearer deexcitation.Wherein, if the dedicated bearer deexcitation finishes, then can be with the deexcitation success as result; If the deexcitation of dedicated bearer cancellation then can be with cancellation deexcitation success as result.In addition, if after receiving cancellation deexcitation instruction, terminal is not in treats deactivation status, there is not cancellation to the deexcitation of this dedicated bearer, then can be with cancellation deexcitation failure as result.
In sum, the embodiment of the invention is when carrying out deexcitation to dedicated bearer, do not receive the situation of the deexcitation response of network side feedback at surpassing Preset Time, can not resend the deexcitation request instruction, but by this dedicated bearer of deexcitation cancellation instruction cancellation deexcitation, thereby need not proceed the deactivating operation of dedicated bearer, prevent the efficient that causes the deexcitation overlong time to influence the EPS attaching process owing to repeatedly retransmitting.
Embodiment four
With reference to Fig. 4, the structure drawing of device that the processing dedicated bearer that having provided the embodiment of the invention four provides connects.
Accordingly, the embodiment of the invention also provides a kind of device that dedicated bearer connects of handling, and comprising: sending module 41, receiver module 42 and cancellation module 43.
Sending module 41 is used for sending the connection request instruction that connects dedicated bearer to network side.
Receiver module 42 is connected with cancellation module 43 with sending module 41 respectively, receiver module 42 be used for when do not receive in the Preset Time network side feedback to the response of this connection request instruction the time, generate connection request and cancel and instructing.Wherein, connection response is to generate and send after network side is finished the connection dedicated bearer based on the connection request instruction of sending module 41 transmissions.
Cancellation module 43 is used for if terminal is in state to be connected, and then the request cancellation instruction cancellation that generates according to receiver module 42 connects this dedicated bearer.
With reference to Fig. 5, the device optional structure chart that the processing dedicated bearer that having provided the embodiment of the invention four provides connects.
Optionally, connection comprises: activate or deexcitation.
Then sending module 41 is used for when being connected to activation, sends the activation request instruction that activates this dedicated bearer to network side; When being connected to deexcitation, send the deexcitation request instruction of this dedicated bearer of deexcitation to network side.
Wherein, activate request instruction and be used for the requesting activation dedicated bearer; The deexcitation request instruction is used for request deexcitation dedicated bearer.
Receiver module 42 be used for be connected to activate and Preset Time in do not receive the network side feedback to the response of this activations request instruction the time, generate and activate cancellation and instruct; In being connected to deexcitation and Preset Time, do not receive network side feedback to the response of this deexcitation request instruction the time, generate deexcitation cancellation instruction.
Optionally, cancellation module 43 is used for activating and state to be connected when being state to be activated being connected to, and according to obtaining the sign that activates the dedicated bearer that carries in the cancellation instruction, and recovers the contextual information of the definite dedicated bearer of this sign; Be unactivated state with the state of terminal by status modifier to be activated, activate this dedicated bearer with cancellation.
Optionally, cancellation module 43 is used for being connected to deexcitation and state to be connected when being deactivation status, the sign of the described dedicated bearer that carries in the deexcitation cancellation instruction; According to the sign of dedicated bearer with the state of terminal by treating that deactivation status is revised as state of activation, with this dedicated bearer of cancellation deexcitation.
Optionally, jockey also comprises: configuration module 40.
Configuration module 40 is connected with sending module 41, and configuration module 40 is used for being connected to activation, and the connection request instruction is when activating request instruction, the contextual information of configure dedicated carrying, and the sign of obtaining dedicated bearer constitutes and activates request instruction.
Optionally, configuration module 40 is used for being connected to deexcitation, and the connection request instruction after dedicated bearer is set up successfully, is obtained the sign formation deexcitation request instruction of dedicated bearer during for the deexcitation request instruction.
Optionally, jockey also comprises: result-generation module 44 is connected with cancellation module 43, and result-generation module 44 is used for generating the result that this dedicated bearer is connected.Wherein, when being connected to activation, the result that feedback activates this dedicated bearer; When being connected to deexcitation, feedback is to the result of this dedicated bearer deexcitation.
In sum, the embodiment of the invention is when connecting dedicated bearer by the connection request instruction, if after in Preset Time, not receiving the connection response of network side feedback, then can connect this dedicated bearer to the terminal cancellation that is in state to be connected by request cancellation instruction.Thereby the present invention is not when receiving connection response for a long time, do not need to resend the connection request instruction to connect this dedicated bearer again, connects this dedicated bearer but directly cancel, thereby saved the time, and improved the efficient of EPS attaching process.
The embodiment of the invention is when activating dedicated bearer, do not receive the situation of the activation response of network side feedback at surpassing Preset Time, can not resend the activation request instruction, but activate this dedicated bearer by activating cancellation instruction cancellation, thereby need not proceed the activation of dedicated bearer, prevent the efficient that causes the activationary time process to influence the EPS attaching process owing to repeatedly retransmitting.
The embodiment of the invention is when carrying out deexcitation to dedicated bearer, do not receive the situation of the deexcitation response of network side feedback at surpassing Preset Time, can not resend the deexcitation request instruction, but by this dedicated bearer of deexcitation cancellation instruction cancellation deexcitation, thereby need not proceed the deexcitation of dedicated bearer, prevent the efficient that causes the deexcitation time course to influence the EPS attaching process owing to repeatedly retransmitting.
For device embodiment, because it is similar substantially to method embodiment, so description is fairly simple, relevant part gets final product referring to the part explanation of method embodiment.
Each embodiment in this specification all adopts the mode of going forward one by one to describe, and what each embodiment stressed is and the difference of other embodiment that identical similar part is mutually referring to getting final product between each embodiment.
The present invention can describe in the general context of the computer executable instructions of being carried out by computer, for example program module.Usually, program module comprises the routine carrying out particular task or realize particular abstract data type, program, object, assembly, data structure etc.Also can in distributed computing environment (DCE), put into practice the present invention, in these distributed computing environment (DCE), be executed the task by the teleprocessing equipment that is connected by communication network.In distributed computing environment (DCE), program module can be arranged in the local and remote computer-readable storage medium that comprises memory device.
At last, also need to prove, in this article, relational terms such as first and second grades only is used for an entity or operation are made a distinction with another entity or operation, and not necessarily requires or hint and have the relation of any this reality or in proper order between these entities or the operation.And, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thereby make and comprise that process, method, commodity or the equipment of a series of key elements not only comprise those key elements, but also comprise other key elements of clearly not listing, or also be included as the intrinsic key element of this process, method, commodity or equipment.Do not having under the situation of more restrictions, the key element that is limited by statement " comprising ... ", and be not precluded within process, method, commodity or the equipment that comprises described key element and also have other identical element.
More than to a kind of method and apparatus that dedicated bearer connects of handling provided by the present invention, be described in detail, used specific case herein principle of the present invention and execution mode are set forth, the explanation of above embodiment just is used for helping to understand method of the present invention and core concept thereof; Simultaneously, for one of ordinary skill in the art, according to thought of the present invention, the part that all can change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.