CN101808348A - Processing method, device and system for session management instructions - Google Patents

Processing method, device and system for session management instructions Download PDF

Info

Publication number
CN101808348A
CN101808348A CN201010146452A CN201010146452A CN101808348A CN 101808348 A CN101808348 A CN 101808348A CN 201010146452 A CN201010146452 A CN 201010146452A CN 201010146452 A CN201010146452 A CN 201010146452A CN 101808348 A CN101808348 A CN 101808348A
Authority
CN
China
Prior art keywords
session management
management instructions
context identifier
current sessions
supervisory instruction
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201010146452A
Other languages
Chinese (zh)
Other versions
CN101808348B (en
Inventor
游峡
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by ZTE Corp filed Critical ZTE Corp
Priority to CN201010146452.2A priority Critical patent/CN101808348B/en
Publication of CN101808348A publication Critical patent/CN101808348A/en
Application granted granted Critical
Publication of CN101808348B publication Critical patent/CN101808348B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Communication Control (AREA)
  • Computer And Data Communications (AREA)

Abstract

The embodiment of the invention relates to radio communication technology, in particular relating to a processing method, a device and a system for session management instructions. The method comprises the following steps: receiving and storing a current session management instruction transmitted by the upper layer application, wherein the current session management instruction carries context identifiers; when any context identifier carried in the current session management instruction is identical to the context identifier carried in the previously received session management instruction, terminating the identical context identifier carried in the session management instruction with a lower priority to correspondingly load the context procedure, and updating the procedure status information and the operation result information of the identical context identifier carried in the session management instruction with a lower priority; and returning the executive operation result of the session management instruction to the upper layer application according to the operation result information of all the context identifiers carried in the current session management instruction.

Description

A kind of processing method of session management instructions, device and system
Technical field
The present invention relates to wireless communication technology, particularly a kind of processing method of session management instructions, device and system.
Background technology
LTE (Long Term Evolution, Long Term Evolution) NAS (Non-Access Stratum in, Non-Access Stratum) by CM (Connect Management, connection management) layer and MM (Mobile Management, mobile management) layer is formed, wherein the CM layer comprises ESM (EPS Session Management, the session management module of evolution) and ESMS (EPS Short Message Service, the short message supervision module of evolution).Wherein, the NAS in network side MME (Mobile Management Entity, the Mobility Management Entity) equipment is the peer layer of UE (User Equipment, subscriber equipment) side NAS.ESM mainly realizes the activation of EPS bearer context, deexcitation and new management more.Wherein, the activation of EPS bearer context refers to set up the EPS bearer context of UE and network side, promptly sets up the transmitted in packets route of user's face; The deexcitation of EPS bearer context refers to discharge the EPS bearer context of having set up, and associated resource; The renewal of EPS bearer context refers to upgrade EPS QoS (EPS Quality of Service, the service quality of EPS) and TFT (Traffic Flow Template, transmission stream template).
The operation flow of ESM need be initiated by AT (AttentionCommand) the instruction indication that upper level applications is handed down to protocol stack.Wherein AT instruction+CGACT (PDP context activate ordeactivate) is used to trigger the activation (MO PDN connects foundation or Bearer Resource Allocation) or deexcitation flow process (MO PDN connects disconnection or Bearer Resource Modification); AT instruction+CGCMOD (PDP Context Modify) is used to trigger more new technological process (Bearer ResourceModification); AT instruction+CGDATA (Enter data state) is used to indicate UE and network to connect, and enters the data attitude and begin to transmit data.(the Session Management of SM in 2G/3G, session management module) realizes and the similar function of ESM, promptly main the realization to the contextual activation of PDP (Packet DataProtocol), deexcitation and new management more, SM is that upper layer application is set up required PDP Context by these flow processs, uses for the application transfer data.Similar with ESM, these flow processs are also initiated by the AT order, comprise AT+CGACT, AT+CGCMOD and AT+CGDATA order.Prior art is used at the middle and upper levels when UE issues the AT instruction, all carry a cid (Context ID, the local sign of context) in each AT instruction, reduced the treatment effeciency of session management instructions like this, if carry a plurality of cid in the AT instruction, then can clash.
Summary of the invention
The embodiment of the invention provides a kind of processing method, device and system of session management instructions, and UE only supports to carry a cid in the session management instructions in the prior art in order to solve, and has reduced the problem of using treatment effeciency thus.
The embodiment of the invention provides a kind of processing method of session management instructions, and this method comprises:
Receive and preserve the current sessions supervisory instruction of upper layer application transmission, described current sessions supervisory instruction is carried Context identifier;
When the Context identifier that arbitrary Context identifier that described current sessions supervisory instruction is carried and the session management instructions that receives before carry is identical, stop the flow process of the corresponding bearer context of described identical Context identifier that the low session management instructions of priority carries, and upgrade the flow state information and the operation result information of the described identical Context identifier that the low session management instructions of described priority carries;
The operation result information of all Context identifier that carry according to described current sessions supervisory instruction is returned session management instructions executable operations result to described upper layer application.
The embodiment of the invention also provides a kind of processing unit of session management instructions, comprising:
Receiver module is used to receive the current sessions supervisory instruction that upper layer application sends, and described current sessions supervisory instruction is carried Context identifier;
Memory module is used to store the current sessions supervisory instruction of described receiver module reception and the Context identifier that described current sessions supervisory instruction is carried;
Processing module, be used for Context identifier that arbitrary Context identifier that described current sessions supervisory instruction carries and the session management instructions that receives before carry when identical, stop the flow process of the corresponding bearer context of described identical Context identifier that the low session management instructions of priority carries, and upgrade the flow state information and the operation result information of the described identical Context identifier that the low session management instructions of described priority carries;
Sending module, the operation result information of all Context identifier that the described current sessions supervisory instruction after being used for handling according to described processing module is carried is returned session management instructions executable operations result to described upper layer application.
The embodiment of the invention also provides a kind of treatment system of session management instructions, comprising: upper layer application and session processing unit;
Described upper layer application is used for sending session management instructions to described session processing unit, and receives the instruction executable operations result that described session processing unit returns;
Described session processing unit, reception is also preserved the current sessions supervisory instruction that upper layer application sends, and described current sessions supervisory instruction is carried Context identifier; When the Context identifier that arbitrary Context identifier that described current sessions supervisory instruction is carried and the session management instructions that receives before carry is identical, stop the flow process of the corresponding bearer context of described identical Context identifier that the low session management instructions of priority carries, and upgrade the flow state information and the operation result information of the described identical Context identifier that the low session management instructions of described priority carries; The operation result information of all Context identifier that carry according to described current sessions supervisory instruction is returned session management instructions executable operations result to described upper layer application.
As shown in Figure 1, the schematic diagram that issues simultaneously for many session management instructions, the methods, devices and systems that use the embodiment of the invention to provide, when a plurality of session management instructions issue and different sessions supervisory instruction when carrying identical cid simultaneously, a plurality of session management instructions can carry out flow process separately smoothly, avoid clashing, improved the processing speed of session management instructions, and can make a session management instructions carry a plurality of cid simultaneously, and can walk abreast to a plurality of cid in the same instruction and to handle, improve the session management instructions treatment effeciency thus.
Description of drawings
Fig. 1 is the many schematic diagrames that session management instructions issues simultaneously;
Fig. 2 is the process flow schematic diagram of session management instructions in the embodiment of the invention;
Fig. 3 is the schematic diagram of multi units tube reason structure in the embodiment of the invention;
Fig. 4 is the handling process schematic diagram of session management instructions when triggering the activation flow process in the embodiment of the invention;
The handling process schematic diagram of Fig. 5 session management instructions when triggering new technological process more in the embodiment of the invention;
Fig. 6 is the handling process schematic diagram of session management instructions when triggering the deexcitation flow process in the embodiment of the invention;
Fig. 7 is the schematic flow sheet that upgrades cid flow state information in the embodiment of the invention;
Fig. 8 is the schematic flow sheet of update group internal information when initiating the flow process failure of cid correspondence in the embodiment of the invention;
Fig. 9 is the schematic flow sheet of update group internal information when initiating the flow process success of cid correspondence in the embodiment of the invention;
Figure 10 is the schematic flow sheet of the flow process of cid correspondence in embodiment of the invention update group internal information when stopping;
Figure 11 is the structural representation of the processing unit of session management instructions in the embodiment of the invention;
Figure 12 is the structural representation of the treatment system of session management instructions in the embodiment of the invention.
Embodiment
At length set forth to the main realization principle of embodiment of the invention technical scheme, embodiment and to the beneficial effect that should be able to reach below in conjunction with each accompanying drawing.
As shown in Figure 2, the processing method of a kind of session management instructions that provides for the embodiment of the invention, this method may further comprise the steps:
Step 201, reception are also preserved the current sessions supervisory instruction that upper layer application sends, and this current session management instructions carries Context identifier;
When the Context identifier that arbitrary Context identifier that step 202, this current session management instructions carry and the session management instructions that receives before carry is identical, stop that the low session management instructions of priority carries should identical Context identifier correspondence bearer context flow process, and upgrade the flow state information and the operation result information of the identical Context identifier that the low session management instructions of this priority carries;
The operation result information of step 203, all Context identifier of carrying according to the current sessions supervisory instruction is returned session management instructions executable operations result to upper layer application.
Concrete, the session processing unit obtains the Context identifier that this session management instructions carries after receiving the AT instruction of upper layer application transmission, and is saved in the multi units tube reason structure of storage area.The relevant information of one or more cid that each session management instructions carries constitutes a group information.As shown in Figure 3, schematic diagram for multi units tube reason structure, it is including but not limited to following information: bOperCode (group action type), bCidNum (cid number in the group, be the effective length of atCidInfo array), bCidCnt (counter, the unclosed cid number of flow process in this group), and atCidInfo is used to deposit the relevant information of current group of interior each cid, comprise cid (the local sign of context), bCidOperStatus (context flow state), bPrimCid (cid of the pairing default bearer of context), bProcType (corresponding flow process type).Certainly, according to the actual needs, can also increase all the other related information content.After preserving successfully, each cid that session management instructions is carried initiates the flow process of corresponding bearer context successively.It should be noted that when successfully not getting access to the Context identifier of session management instructions, directly respond executable operations result failure to upper layer application.
Before the flow process of initiating the corresponding bearer context of cid that the current sessions supervisory instruction carries, need according to the processing that conflicts of the priority of session management instructions.When judging priority, the session management instructions priority of same type is identical; The session management instructions type is not simultaneously, the session management instructions priority of deexcitation type is the highest, the priority of other session management instructions, the rule that is higher than the priority of current sessions supervisory instruction according to the session management instructions priority that receives is earlier determined priority.Concrete, whether other session management instructions that receive before judging in the storage area carry this cid, if do not carry, then initiate the flow process of the corresponding bearer context of this cid, after the flow processing for the treatment of the corresponding bearer context of this cid finishes, the related data of upgrading in the multi units tube reason structure gets final product, as change bCidCnt, bCidOperStatus etc.; If carry identical cid, whether the type that then needs to judge the session management instructions that receives before that carries this cid is identical with the type of current sessions supervisory instruction, if identical with the type of current sessions supervisory instruction, then the flow state information updating of this cid that the current sessions supervisory instruction is carried for before the flow state information of this cid of carrying of the session management instructions that receives; If it is inequality with the type of current sessions supervisory instruction, and when the session management instructions type of current reception was non-deexcitation, the flow state information updating of this identical Context identifier that the session management instructions of this current reception is carried was for finishing and upgrading operation result information; If it is inequality with the type of current sessions supervisory instruction, and when the session management instructions type of current reception is deexcitation, the flow process of the corresponding bearer context of this identical Context identifier that the session management instructions that receives before stopping carries, the flow state information updating of the same context sign that session management instructions is before carried is for finishing, and upgrades the flow state information and the operation result information of the described identical Context identifier that described current sessions supervisory instruction carries.
After the flow process of the corresponding bearer context of all cid that session management instructions carries all finishes, bCidCnt is 0, the operation result information of all cid that carry according to the current sessions supervisory instruction this moment determines the executable operations result of this session management instructions, and return execution result to upper layer application, for example, when the flow process of arbitrary cid correspondence that the current sessions supervisory instruction is carried is failed, return the executable operations failure to upper layer application; The flow process of all cid correspondences of carrying when this session management instructions all during success, is returned the executable operations success to upper layer application.
The method that this embodiment of the invention provides is not limited to LTE, can also use with other scenes in, the method of using the embodiment of the invention to provide, when a plurality of session management instructions issue and different sessions supervisory instruction when carrying identical cid simultaneously, a plurality of session management instructions can carry out flow process separately smoothly, avoid clashing, improved the processing speed of session management instructions, and can make a session management instructions carry a plurality of cid simultaneously, and each cid in the same instruction can walk abreast and handle, and has improved the session management instructions treatment effeciency thus.
The session management instructions that upper layer application is issued to ESM generally comprises: the session management instructions of the flow process that is used to trigger the activation, be used to trigger the session management instructions of deexcitation flow process, and be used to trigger session management instructions of new technological process more etc.Providing more specifically execution mode below, as shown in Figure 4, is that example describes the method that the embodiment of the invention provides with the flow process that triggers the activation, and comprises the steps:
Step 401, ESM preserve the Context identifier that this session management instructions carries after receiving the AT instruction of upper layer application.Preserved the Context identifier that a plurality of session management instructions carry simultaneously with the form of multi units tube reason structure in the storage area, the relevant information of one or more cid that each session management instructions carries is a group information, comprise the group action type, cid number in the group, counter, and the local sign of context, context flow state, corresponding flow process type etc.
Step 402, the inspection that conflicts, whether the cid that the session management instructions that receives before judging in arbitrary cid that the current sessions supervisory instruction carries and the storage area carries is identical; If inequality, execution in step 403; If identical, execution in step 404;
The activation process of the corresponding bearer context of this cid that step 403, initiation current sessions supervisory instruction are carried is upgraded the group information of current sessions supervisory instruction, and is upgraded the flow state information of this cid, execution in step 406;
Whether the session management instructions that carries this cid that receives before step 404, the judgement realizes mobilizing function, if, then the flow state information synchronization of this cid correspondence that the current sessions supervisory instruction is carried for before the flow state information of this cid of carrying of the session management instructions that receives; Otherwise, execution in step 405;
Step 405, stop the operation of this cid that the current sessions supervisory instruction is carried; Counter is subtracted one, and judge whether the pairing bearer context of this cid is activated, if activated then this cid operating result be changed to successfully, otherwise, this cid operating result is changed to failure;
The activation process of step 406, the corresponding bearer context of the current cid of wait finishes, and upgrades the group information of current cid place session management instructions, and the flow state information of upgrading this cid correspondence is for finishing.
Each cid that the current sessions supervisory instruction is carried carries out aforesaid operations successively, counter in the group information of this session management instructions is 0, end is to the operation of current sessions supervisory instruction, the operating result of all cid that carry according to the current sessions supervisory instruction determines the operating result of this session management instructions, and return the executable operations result to upper layer application, for example, arbitrary cid flow operations failure that the current sessions supervisory instruction is carried is then returned the executable operations failure to upper layer application; When all cid flow operations that the current sessions supervisory instruction is carried are all successful, return the executable operations success to upper layer application.
As shown in Figure 5, new technological process is that example describes the method that the embodiment of the invention provides to trigger more, comprises the steps:
Step 501, ESM preserve the Context identifier that this session management instructions carries after receiving the AT instruction of upper layer application.Preserved the Context identifier that a plurality of session management instructions carry simultaneously with the form of multi units tube reason structure in the storage area, the relevant information of one or more cid that each session management instructions carries is a group information, comprise the group action type, cid number in the group, counter, and the local sign of context, context flow state, corresponding flow process type etc.
Step 502, the inspection that conflicts, whether the cid that the session management instructions that receives before judging in arbitrary cid that the current sessions supervisory instruction carries and the storage area carries is identical; If inequality, execution in step 503; If identical, execution in step 504;
The more new technological process of the corresponding bearer context of this cid that step 503, initiation current sessions supervisory instruction are carried upgrades the group information of current sessions supervisory instruction, and upgrades the flow state information of this cid, execution in step 506;
Whether the session management instructions that carries this cid that receives before step 504, the judgement realizes update functions, if, then the flow state information synchronization of this cid correspondence that the current sessions supervisory instruction is carried for before the flow state information of this cid of carrying of the session management instructions that receives; Otherwise, execution in step 505;
Step 505, stop the operation of this cid that the current sessions supervisory instruction is carried; Because a bearer context only can be in the flow process at one time, therefore can't initiate more new technological process.The operating result of this cid correspondence that this current session management instructions is carried is changed to failure, and counter is subtracted 1;
The flow process of step 506, the corresponding bearer context of the current cid of wait finishes, and upgrades the group information of current cid place session management instructions, and the flow state information of upgrading this cid correspondence is for finishing.
Each cid that the current sessions supervisory instruction is carried carries out aforesaid operations successively, counter in the group information of current sessions supervisory instruction is 0, end is to the operation of current sessions supervisory instruction, the operating result of all cid that carry according to the current sessions supervisory instruction determines the operating result of this session management instructions, and return the executable operations result to upper layer application, for example, arbitrary cid flow operations failure that the current sessions supervisory instruction is carried is then returned the executable operations failure to upper layer application; When all cid flow operations that the current sessions supervisory instruction is carried are all successful, return the executable operations success to upper layer application.
As shown in Figure 6, be that example describes the method that the embodiment of the invention provides to trigger the deexcitation flow process, comprise the steps:
Step 601, ESM preserve the Context identifier that this session management instructions carries after receiving the AT instruction of upper layer application.Preserved the Context identifier that a plurality of session management instructions carry simultaneously with the form of multi units tube reason structure in the storage area, the relevant information of one or more cid that each session management instructions carries is a group information, comprise the group action type, cid number in the group, counter, and the local sign of context, context flow state, corresponding flow process type etc.
Step 602, the inspection that conflicts, whether the cid that the session management instructions that receives before judging in arbitrary cid that the current sessions supervisory instruction carries and the storage area carries is identical; If inequality, execution in step 603; If identical, execution in step 604;
The deexcitation flow process of the corresponding bearer context of this cid that step 603, initiation current sessions supervisory instruction are carried is upgraded the group information of current sessions supervisory instruction, and is upgraded the flow state information of this cid, execution in step 606;
Whether the session management instructions that carries this cid that receives before step 604, the judgement realizes the deexcitation function, if, then the flow state information synchronization of this cid correspondence that the current sessions supervisory instruction is carried for before the flow state information of this cid of carrying of the session management instructions that receives; Otherwise, execution in step 605;
Step 605, whether the flow state information of the corresponding bearer context of this cid that the session management instructions that receives before judging carries is in carrying out, if in carrying out, the flow process of the corresponding bearer context of this cid that the session management instructions that receives before then stopping carries, the flow state information updating of this cid correspondence that session management instructions is before carried is for finishing, operation result information is updated to failure, and initiate the deexcitation flow process of the corresponding bearer context of this cid that the current sessions supervisory instruction carries, the update group internal information, with and upgrade the flow state information of this cid that the current sessions supervisory instruction carries; If not in carrying out, initiate the deexcitation flow process of the corresponding bearer context of this cid that the current sessions supervisory instruction carries, and the update group internal information, and upgrade the flow state information of this cid that the current sessions supervisory instruction carries.
Step 606, wait for that the flow process that this cid initiates finishes, upgrade the group information of current sessions supervisory instruction, the flow state information of this cid that the current sessions supervisory instruction is carried is changed to be finished.
Each cid that the current sessions supervisory instruction is carried carries out aforesaid operations successively, counter in the group information of current sessions supervisory instruction is 0, end is to the operation of current sessions supervisory instruction, the operating result of all cid that carry according to the current sessions supervisory instruction determines the operating result of this session management instructions, and return the executable operations result to upper layer application, for example, arbitrary cid flow operations failure that the current sessions supervisory instruction is carried is then returned the executable operations failure to upper layer application; When all cid flow operations that the current sessions supervisory instruction is carried are all successful, return the executable operations success to upper layer application.
All relate to the step of the flow state information of upgrading the cid correspondence among above-mentioned several embodiment, as shown in Figure 7, can reduce during its specific implementation: the flow process that judges whether to initiate current cid correspondence, if can't start flow, this cid flow operations information of then the current sessions supervisory instruction being carried be changed to the flow process failure; If can start flow, this cid flow state information of then the current sessions supervisory instruction being carried be changed to during flow process carries out.After the flow process of this cid correspondence finished, the flow state information of this cid that the current sessions supervisory instruction is carried was changed to flow process and finishes.
After the flow process of cid correspondence finishes, need to upgrade the group information of carrying the session management instructions of this cid in the multi units tube reason structure, when the flow process of cid is failed, as shown in Figure 8, detailed process is: the flow state information of this cid in the session management instructions that receives before that this cid and instruction type are identical with the flow process type in the renewal current sessions supervisory instruction, if before upgrading, the flow state of this cid correspondence is in carrying out, then the counter that will organize in the internal information subtracts one; If before upgrading, the flow state of this cid correspondence is for finishing, and then the counter to this group internal information does not have operation, repeats to count avoiding.
When the success of the flow process of cid, because the deexcitation session management instructions is operated successfully and can also can be exerted an influence to other non-deexcitation session management instructions, therefore, as shown in Figure 9, detailed process is: A: judge flow process type that this cid successfully finishes and the session management instructions type of carrying this cid; B: if corresponding flow process type for the session management instructions type that activates and carry this cid for activating, then the operating result with this cid correspondence in this activation instruction is changed to successfully; If corresponding flow process type for the session management instructions type upgrading and carry this cid for upgrading, then the operating result with this cid correspondence in this update instruction is changed to successfully; If pairing flow process type is deexcitation, judge then whether the type of the session management instructions carry this cid is deexcitation, during for non-deexcitation, the operation information of this cid that this session management instructions is carried is changed to failure; During for deexcitation, the operation information of this cid that this instruction is carried is changed to successfully C: judge the mode of operation before this cid in the aforementioned session management instructions, if during flow process carries out, then will organize the inside counting device and subtract one, otherwise, there is not operation to organizing the inside counting device.
The step of update group internal information when the flow process that all relates to the cid correspondence among above-mentioned several embodiment stops as shown in figure 10, specifically comprises following process: at first according to the whether success of the flow process of the corresponding bearer context of cid, carry out respective handling; Whether the group inside counting device of judging the current sessions supervisory instruction then is 0, if be not 0 promptly to also have the flow process of the corresponding bearer context of cid still to be in to carry out, wait for that then the flow process of residue cid correspondence finishes, and carries out corresponding operating; If counter is 0, promptly the flow process of the corresponding bearer context of all cid all finishes, then the flow operations result according to all cid correspondences returns corresponding results to upper layer application, for example: the flow process failure of arbitrary cid correspondence of carrying when session management instructions, then return the executable operations failure to upper layer application; The flow process of all cid correspondences of carrying when session management instructions all during success, is then returned the executable operations success to upper layer application.
From above description, as can be seen, manage the associative operation information that structure is come the store session supervisory instruction according to the multi units tube that the embodiment of the invention provides, when finishing by multi-context identification collision determination methods and flow process then the renewal of multi units tube reason structure is taken precautions against, the AT instruction of supporting many cid is issued simultaneously smoothly.In addition, by a plurality of cid executed in parallel of supporting that an AT instruction is carried, and then raising treatment effeciency and user experience effect have been reached.
Accordingly, the embodiment of the invention also provides a kind of processing unit of session management instructions, and its structure specifically comprises as shown in figure 11:
Receiver module 1101 is used to receive the current sessions supervisory instruction that upper layer application sends, and this current session management instructions carries Context identifier;
Memory module 1102 is used to store the current sessions supervisory instruction of these receiver module 1101 receptions and the Context identifier that this current session management instructions carries;
Processing module 1103, be used for Context identifier that arbitrary Context identifier that this current session management instructions carries and the session management instructions that receives before carry when identical, stop that the low session management instructions of priority carries should identical Context identifier correspondence bearer context flow process, and upgrade the flow state information and the operation result information of the described identical Context identifier that the low session management instructions of this priority carries;
Sending module 1104, the operation result information of all Context identifier that this current session management instructions after being used for handling according to this processing module 1103 carries is returned session management instructions executable operations result to this upper layer application.
Wherein, processing module also is used for upgrading state information and operation result information in relevant group that comprises this Context identifier when the pairing bearer context flow process of Context identifier finishes.
Preferable, in another embodiment of the present invention, this processing module 1103 can comprise:
Sign is judged submodule, is used to judge whether arbitrary Context identifier that this current session management instructions carries is identical with the Context identifier that the session management instructions of reception before carries;
Priority is judged submodule, be used for when this sign judges that Context identifier that submodule judges that this current session management instructions arbitrary Context identifier that carries and the session management instructions that receives before carry is identical, judge the current sessions supervisory instruction and the priority of the session management instructions of reception before;
The control submodule is used for the judged result according to this priority judgement submodule, the flow process of the corresponding bearer context of this identical Context identifier that the low session management instructions of termination priority carries;
Updating submodule is used to upgrade the flow state information and the operation result information of this identical Context identifier.
Preferable, memory module 1102 is with multi units tube reason structure store session supervisory instruction, and the information of one or more Context identifier that each session management instructions carries constitutes a group information.
Preferable, when sending module 1104 also is used for successfully not preserving the session management instructions of reception, return the executable operations failure to upper layer application.
Preferable, the priority of deexcitation session management instructions is higher than the priority of other types session management instructions; When the session management instructions type was identical, the priority of the session management instructions of Jie Shouing was higher than the priority of current sessions supervisory instruction before.
The device that this embodiment of the invention provides is not limited to LTE, can also use with other scenes in, the device that uses the embodiment of the invention to provide, when a plurality of session management instructions issue and different sessions supervisory instruction when carrying identical cid simultaneously, a plurality of session management instructions can carry out flow process separately smoothly, avoid clashing, improved the processing speed of session management instructions, and can make a session management instructions carry a plurality of cid simultaneously, and each cid in the same instruction can walk abreast and handle, and has improved the session management instructions treatment effeciency thus.
Accordingly, the embodiment of the invention also provides a kind of treatment system of session management instructions, and its structure specifically comprises as shown in figure 12: upper layer application 1201 and session processing unit 1202;
This upper layer application 1201 is used for sending session management instructions to this session processing unit 1202, and receives the instruction executable operations result that this session processing unit 1202 returns;
This session processing unit 1202 is used to receive and preserve the current sessions supervisory instruction that this upper layer application 1201 sends, and this current session management instructions carries Context identifier; When the Context identifier that arbitrary Context identifier that this current session management instructions carries and the session management instructions that receives before carry is identical, stop that the low session management instructions of priority carries should identical Context identifier correspondence bearer context flow process, and upgrade the flow state information and the operation result information of the identical Context identifier that the low session management instructions of this priority carries; The operation result information of all Context identifier that carry according to this current session management instructions is returned session management instructions executable operations result to this upper layer application 1201.
Preferable, in another embodiment of the present invention, the session processing unit can comprise:
Receiver module is used to receive the current sessions supervisory instruction that upper layer application sends, and this current session management instructions carries Context identifier;
Memory module is used to store the current sessions supervisory instruction of this receiver module reception and the Context identifier that this current session management instructions carries;
Processing module, be used for Context identifier that arbitrary Context identifier that this current session management instructions carries and the session management instructions that receives before carry when identical, stop that the low session management instructions of priority carries should identical Context identifier correspondence bearer context flow process, and upgrade the flow state information and the operation result information of the identical Context identifier that the low session management instructions of this priority carries;
Sending module, the operation result information of all Context identifier that this current session management instructions after being used for handling according to this processing module carries is returned session management instructions executable operations result to this upper layer application.
The system that uses the embodiment of the invention to provide, when a plurality of session management instructions issue and different sessions supervisory instruction when carrying identical cid simultaneously, a plurality of session management instructions can carry out flow process separately smoothly, avoid clashing, improved the processing speed of session management instructions, and can make a session management instructions carry a plurality of cid simultaneously, and each cid in the same instruction can walk abreast and handle, and improved the session management instructions treatment effeciency thus.
Obviously, those skilled in the art can carry out various changes and modification to the present invention and not break away from the spirit and scope of the present invention.Like this, if of the present invention these are revised and modification belongs within the scope of claim of the present invention and equivalent technologies thereof, then the present invention also is intended to comprise these changes and modification interior.

Claims (12)

1. the processing method of a session management instructions is characterized in that, this method comprises:
Receive and preserve the current sessions supervisory instruction of upper layer application transmission, described current sessions supervisory instruction is carried Context identifier;
When the Context identifier that arbitrary Context identifier that described current sessions supervisory instruction is carried and the session management instructions that receives before carry is identical, stop the flow process of the corresponding bearer context of described identical Context identifier that the low session management instructions of priority carries, and upgrade the flow state information and the operation result information of the described identical Context identifier that the low session management instructions of described priority carries;
The operation result information of all Context identifier that carry according to described current sessions supervisory instruction is returned session management instructions executable operations result to described upper layer application.
2. the method for claim 1 is characterized in that, the current sessions supervisory instruction that described preservation upper layer application sends specifically comprises:
Obtain the Context identifier that described current sessions supervisory instruction is carried, be saved in the multi units tube reason structure in the storage area;
Described multi units tube reason structure is used for the store session supervisory instruction, and the information of one or more Context identifier that each session management instructions carries constitutes a group information.
3. method as claimed in claim 2 is characterized in that, described group of information specifically comprises: the number of action type, Context identifier operation result information, Context identifier, the not number, the state of Context identifier flow process of the Context identifier of process ends.
4. the method for claim 1 is characterized in that, described priority specifically comprises:
The session management instructions priority of same type is identical; The session management instructions type is not simultaneously, the session management instructions priority of deexcitation type is the highest, the priority of other session management instructions, the rule that is higher than the priority of current sessions supervisory instruction according to the session management instructions priority that receives is earlier determined priority.
5. method as claimed in claim 4, it is characterized in that, the flow process of the corresponding bearer context of described identical Context identifier that the low session management instructions of described termination priority carries, and upgrade the flow state information and the operation result information of the identical Context identifier that the low session management instructions of described priority carries, specifically comprise:
When the type of the session management instructions that carries same context sign is identical, the flow state information and the operation result information of the described identical Context identifier that the flow state information of the described identical Context identifier that described current sessions supervisory instruction is carried and the session management instructions that receives before operation result information is updated to carry;
When inequality and current sessions supervisory instruction type was non-deexcitation when the type of the session management instructions that carries same context sign, the flow state information updating of the described identical Context identifier that described current sessions supervisory instruction is carried was for finishing and upgrading operation result information;
When inequality and current sessions supervisory instruction type is deexcitation when the type of the session management instructions that carries same context sign, the flow process of the corresponding bearer context of described identical Context identifier that the session management instructions that receives before stopping carries, the flow state information updating that the described same context that session management instructions before described is carried identifies is for finishing, operation result information is updated to failure, and upgrades the flow state information and the operation result information of the described identical Context identifier that described current sessions supervisory instruction carries.
6. the method for claim 1 is characterized in that, the operation result information of described all Context identifier that carry according to described current sessions supervisory instruction is returned session management instructions executable operations result to described upper layer application, specifically comprises:
After the flow process of the corresponding bearer context of all Context identifier that described current sessions supervisory instruction is carried all finishes, when the operation result information of arbitrary Context identifier is failure, return the failure of session management instructions executable operations to described upper layer application; When the operation result information of all Context identifier all is successfully the time, return the success of session management instructions executable operations to described upper layer application.
7. the processing unit of a session management instructions is characterized in that, comprising:
Receiver module is used to receive the current sessions supervisory instruction that upper layer application sends, and described current sessions supervisory instruction is carried Context identifier;
Memory module is used to store the current sessions supervisory instruction of described receiver module reception and the Context identifier that described current sessions supervisory instruction is carried;
Processing module, be used for Context identifier that arbitrary Context identifier that described current sessions supervisory instruction carries and the session management instructions that receives before carry when identical, stop the flow process of the corresponding bearer context of described identical Context identifier that the low session management instructions of priority carries, and upgrade the flow state information and the operation result information of the described identical Context identifier that the low session management instructions of described priority carries;
Sending module, the operation result information of all Context identifier that the described current sessions supervisory instruction after being used for handling according to described processing module is carried is returned session management instructions executable operations result to described upper layer application.
8. device as claimed in claim 7 is characterized in that, described processing module comprises:
Sign is judged submodule, is used to judge whether arbitrary Context identifier that described current sessions supervisory instruction carries is identical with the Context identifier that the session management instructions of reception before carries;
Priority is judged submodule, be used for when described sign judges that Context identifier that submodule judges that described current sessions supervisory instruction arbitrary Context identifier that carries and the session management instructions that receives before carry is identical, judge the described current sessions supervisory instruction and the priority of the session management instructions of reception before;
The control submodule is used for the judged result according to described priority judgement submodule, the flow process of the corresponding bearer context of described identical Context identifier that the low session management instructions of termination priority carries;
Updating submodule is used to upgrade the flow state information and the operation result information of described identical Context identifier.
9. device as claimed in claim 7 is characterized in that, described memory module is with multi units tube reason structure store session supervisory instruction, and the information of one or more Context identifier that each session management instructions carries constitutes a group information.
10. device as claimed in claim 7 is characterized in that, described processing module also is used for upgrading state information and operation result information in relevant group that comprises this Context identifier when the pairing bearer context flow process of Context identifier finishes.
11. the treatment system of a session management instructions is characterized in that, comprising: upper layer application and session processing unit;
Described upper layer application is used for sending session management instructions to described session processing unit, and receives the instruction executable operations result that described session processing unit returns;
Described session processing unit, reception is also preserved the current sessions supervisory instruction that upper layer application sends, and described current sessions supervisory instruction is carried Context identifier; When the Context identifier that arbitrary Context identifier that described current sessions supervisory instruction is carried and the session management instructions that receives before carry is identical, stop the flow process of the corresponding bearer context of described identical Context identifier that the low session management instructions of priority carries, and upgrade the flow state information and the operation result information of the described identical Context identifier that the low session management instructions of described priority carries; The operation result information of all Context identifier that carry according to described current sessions supervisory instruction is returned session management instructions executable operations result to described upper layer application.
12. system as claimed in claim 11 is characterized in that, described session processing unit comprises:
Receiver module is used to receive the current sessions supervisory instruction that upper layer application sends, and described current sessions supervisory instruction is carried Context identifier;
Memory module is used to store the current sessions supervisory instruction of described receiver module reception and the Context identifier that described current sessions supervisory instruction is carried;
Processing module, be used for Context identifier that arbitrary Context identifier that described current sessions supervisory instruction carries and the session management instructions that receives before carry when identical, stop the flow process of the corresponding bearer context of described identical Context identifier that the low session management instructions of priority carries, and upgrade the flow state information and the operation result information of the described identical Context identifier that the low session management instructions of described priority carries;
Sending module, the operation result information of all Context identifier that the described current sessions supervisory instruction after being used for handling according to described processing module is carried is returned session management instructions executable operations result to described upper layer application.
CN201010146452.2A 2010-04-12 2010-04-12 Processing method, device and system for session management instructions Active CN101808348B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201010146452.2A CN101808348B (en) 2010-04-12 2010-04-12 Processing method, device and system for session management instructions

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010146452.2A CN101808348B (en) 2010-04-12 2010-04-12 Processing method, device and system for session management instructions

Publications (2)

Publication Number Publication Date
CN101808348A true CN101808348A (en) 2010-08-18
CN101808348B CN101808348B (en) 2014-01-01

Family

ID=42609918

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010146452.2A Active CN101808348B (en) 2010-04-12 2010-04-12 Processing method, device and system for session management instructions

Country Status (1)

Country Link
CN (1) CN101808348B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2004059495A1 (en) * 2002-12-25 2004-07-15 Matsushita Electric Industrial Co., Ltd. Terminal device and session management device
CN101155184A (en) * 2006-09-25 2008-04-02 中兴通讯股份有限公司 Method for implementing AT command commutation
CN101399759A (en) * 2007-09-29 2009-04-01 华为技术有限公司 Method, system and apparatus for media stream control by service providing entity
CN101626564A (en) * 2008-07-07 2010-01-13 华为技术有限公司 Method, device for synchronizing context and mobile managment network element

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2004059495A1 (en) * 2002-12-25 2004-07-15 Matsushita Electric Industrial Co., Ltd. Terminal device and session management device
CN101155184A (en) * 2006-09-25 2008-04-02 中兴通讯股份有限公司 Method for implementing AT command commutation
CN101399759A (en) * 2007-09-29 2009-04-01 华为技术有限公司 Method, system and apparatus for media stream control by service providing entity
CN101626564A (en) * 2008-07-07 2010-01-13 华为技术有限公司 Method, device for synchronizing context and mobile managment network element

Also Published As

Publication number Publication date
CN101808348B (en) 2014-01-01

Similar Documents

Publication Publication Date Title
EP3668178B1 (en) Session processing method and related device
EP3751886A1 (en) Communication method and device under centralized unit-distributed unit architecture
US10567953B1 (en) System and method for updating a status information of a non-active SIM
EP3010298B1 (en) Resource allocation method and device for data radio bearer (drb)
US20220174773A1 (en) HANDLING QoS MOBILITY AND DUAL CONNECTIVITY IN NR
CN101808415A (en) Method and related device for treating conflict in process of communication service
JP2016525821A5 (en)
EP3468253B1 (en) Switching method and device
CN101163318B (en) Switch method and apparatus in subscriber terminal access process
CN102413568A (en) Method and device for paging user equipment (UE)
CN109983834A (en) Mixing for handling user equipment affairs discharges
JP5890944B2 (en) Wireless device communication
CN110167094B (en) Routing method, device, equipment, system and storage medium
CN103249096A (en) Switching processing method, equipment and system
RU2742219C1 (en) Control plane connection method and device
CN112468981B (en) Communication method, device and equipment
CN105025593A (en) Entity release method and equipment
CN109219094B (en) Base station switching and instance distribution method, RLC protocol implementation equipment, base station and terminal
CN105612717B (en) User data processing method, device and network system
CN113068183A (en) Updating method and device of security key
CN101808348B (en) Processing method, device and system for session management instructions
US8531965B2 (en) Message processing method and system
EP2571321A1 (en) Method and device for controlling channel transmission
US12009980B2 (en) Method and device for configuring terminal policy, terminal, base station and storage medium
CN104426643A (en) Business seizing method, device and base station

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
EE01 Entry into force of recordation of patent licensing contract

Application publication date: 20100818

Assignee: SHENZHEN ZTE MICROELECTRONICS TECHNOLOGY CO., LTD.

Assignor: ZTE Corporation

Contract record no.: 2015440020319

Denomination of invention: Processing method, device and system for session management instructions

Granted publication date: 20140101

License type: Common License

Record date: 20151123

LICC Enforcement, change and cancellation of record of contracts on the licence for exploitation of a patent or utility model