CN103053200B - Close and the method and apparatus of session between access terminal - Google Patents
Close and the method and apparatus of session between access terminal Download PDFInfo
- Publication number
- CN103053200B CN103053200B CN201180001782.5A CN201180001782A CN103053200B CN 103053200 B CN103053200 B CN 103053200B CN 201180001782 A CN201180001782 A CN 201180001782A CN 103053200 B CN103053200 B CN 103053200B
- Authority
- CN
- China
- Prior art keywords
- personalities
- session
- information
- access network
- access terminal
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 58
- 238000012546 transfer Methods 0.000 claims abstract description 83
- 230000002688 persistence Effects 0.000 claims description 61
- 230000005540 biological transmission Effects 0.000 claims description 15
- 230000008569 process Effects 0.000 claims description 14
- 238000010586 diagram Methods 0.000 description 6
- 230000000977 initiatory effect Effects 0.000 description 6
- 230000002159 abnormal effect Effects 0.000 description 5
- 230000007547 defect Effects 0.000 description 5
- 230000004044 response Effects 0.000 description 5
- 238000012552 review Methods 0.000 description 2
- 208000025967 Dissociative Identity disease Diseases 0.000 description 1
- 230000004913 activation Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000005012 migration Effects 0.000 description 1
- 238000013508 migration Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000009877 rendering Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 239000002699 waste material Substances 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/14—Session management
- H04L67/143—Termination or inactivation of sessions, e.g. event-controlled end of session
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/30—Connection release
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W36/00—Hand-off or reselection arrangements
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
- Computer And Data Communications (AREA)
Abstract
The embodiment of the present invention provides a kind of and closes and the method and apparatus of session between access terminal.The method includes: access terminal from source access network to target access network handoff procedure, the session information corresponding with access terminal preserved according to source access network, generate the Personality information of access network side, source;Personality information includes that the Effective judgement that in this session information, the Personality type of each set Personality is the most corresponding with each set Personality identifies;The session transfer request including Personality information is sent to target access network.The embodiment of the present invention avoids between AN the phenomenon producing erroneous judgement when target AN in handoff procedure judges whether to close session.
Description
Technical Field
The embodiment of the invention relates to a communication technology, in particular to a method and equipment for closing a session between an access terminal and the access terminal.
Background
When switching between different versions of Access Networks (AN) of a CDMA 2000 EV-DO (Evolution Data Only, for mobile Data) system, session information corresponding to AN Access Terminal (AT) and stored by a source AN comprises a plurality of sets of personalities, wherein one set of personalities is a set of complete negotiation protocol subtype, application layer subtype, attribute value and public Data set, and can communicate with the AT through a personalities target AN. The AT and the AN negotiate to use the values of the attributes and the parameters, the attributes and the parameters are divided into a plurality of sets of personalities for storage, each set of personalities corresponds to one service type, the performance and the functional capability of each set of personalities are different, and different service types are applied to different networks and carrier frequencies.
If one or more personalities in the session established by the source AN are not of the personalities supported by the target AN, the target AN may have all of the personalities supported by the target AN by closing the session and re-establishing the session with the AT by way of the initial configuration negotiation. If one or more sets of the contents stored in the persistence can not ensure the consistency of the session with the AT in the session transferred by the source AN, the target AN can establish the session with the AT by closing the session and re-establishing the session with the AT by means of the initial negotiation, so that the contents stored in all the persistence in the session can ensure the consistency of the session with the AT. If the target AN can support a higher traffic type than all the capabilities transferred from the source AN for the AT, the target AN can establish a session with the AT by closing the session and re-establishing the session with the AT by means of the initial negotiation, so that the AT can use better functions and performance in the target AN network.
The inter-AN active one-way hard handoff scenario is as follows: the AT establishes a session with the source AN, establishes a connection and enters AN activated state. The source AN sends AN A16-Session Transfer Request message to the target AN requesting Transfer of stored Session information corresponding to the AT. If the target AN version is lower than the source AN version, the session information transmitted by the source AN includes the persistence which is not supported by the target AN, and the session between the AT and the AN may be inconsistent because the target AN cannot use the configuration negotiation attribute and parameter which are not supported by the target AN, or even cannot be stored or modified, so that the target AN needs to close the session between the AT and reestablish the session between the AT and establish the persistence which is completely supported by the target AN; if the target AN version is higher than the original AN, the target AN may support higher version of personalities for the same terminal, and therefore the session needs to be closed for session reestablishment. After the AT finishes uploading and downloading or other services, the target AN closes the Session with the AT through the Session Close message, and reestablishes the Session completely supported by the target AN through the initial configuration negotiation.
However, although the prior art describes that the target AN can keep the consistency with the session between ATs by closing the session, no perfect method is provided for the target AN to determine whether to close the session, and no information is provided for the target AN to determine whether to close the session. Therefore, no matter in the inter-AN active one-way hard handoff scenario, or in the inter-AN active ping-pong hard handoff scenario, or in the scenario of continuously maintaining active hard handoff between multiple ANs, the target AN may generate a false decision when determining whether to close the session.
Disclosure of Invention
The embodiment of the invention provides a method and equipment for closing a session with AN access terminal, which are used for solving the defect that a target AN possibly generates misjudgment to cause abnormal service when judging whether to close the session in the process of switching among ANs.
The embodiment of the invention provides a method for closing a session with an access terminal, which comprises the following steps:
in the process that an access terminal is switched from a source access network to a target access network, the source access network generates personal information of a source access network side according to session information which is stored by the source access network and corresponds to the access terminal; the personalities information includes personalities types of each set of personalities in the session information and validity judgment marks corresponding to each set of personalities;
the source access network sends a session transfer request including the personalities information to a target access network so that the target access network judges whether to close a session with the access terminal after the access terminal completes a service according to the personalities information, and when the session with the access terminal is determined to be closed, a session closing message is sent to the access terminal after the access terminal completes the service.
The embodiment of the invention provides another method for closing the session between the access terminal and the access terminal, which comprises the following steps:
the target access network receives a session transfer request which is sent by a source access network and comprises personalitiy information; the personalities information includes personalities types of each set of personalities and validity judgment marks corresponding to each set of personalities in session information corresponding to the access terminal and stored by the source access network;
the target access network judges whether to close the session with the access terminal according to the personalitiy information;
and when the target access network determines to close the session with the access terminal according to the personalitiy information, the target access network sends a session closing message to the access terminal after the access terminal completes the service.
An embodiment of the present invention provides a source access network device, including:
the generation module is used for generating the personal information of a source access network side according to the session information which is stored by the source access network and corresponds to the access terminal in the process that the access terminal is switched from a source access network to a target access network; the personalities information includes personalities types of each set of personalities in the session information and validity judgment marks corresponding to each set of personalities;
a session transfer request sending module, configured to send, by the source access network to a target access network, a session transfer request including the personalitiy information, so that the target access network determines, according to the personalitiy information, whether to close a session with the access terminal after the access terminal completes a service.
An embodiment of the present invention provides a target access network device, including: the session transfer request receiving module is used for receiving a session transfer request which is sent by a source access network and comprises the personalitiy information; the personalities information includes personalities types of each set of personalities and validity judgment marks corresponding to each set of personalities in session information corresponding to the access terminal and stored by the source access network;
a session closing judging module, configured to judge whether to close a session with an access terminal according to the personalitiy information;
and the session closing message sending module is used for sending a session closing message to the access terminal after the access terminal completes the service when the target access network determines to close the session with the access terminal according to the Personality information.
In the method and the device for closing the session with the access terminal of the embodiment of the invention, the source AN includes the capabilities type of each set of capabilities and the validity judgment identification of each set of capabilities in the session information corresponding to the AT stored in the local terminal in the session transfer request sent to the target AN. Thus, the target AN can determine whether to close the session with the AT based on the personalitiy information in the session transfer request. The embodiment of the invention avoids the phenomenon of misjudgment when the target AN judges whether to close the session in the switching process between the ANs.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a flowchart of a method for closing a session with an access terminal according to an embodiment of the present invention;
fig. 2 is a flowchart of another method for closing a session with an access terminal according to an embodiment of the present invention;
FIG. 3 is a flowchart of step 22 of FIG. 2;
fig. 4 is a flowchart of another method for closing a session with an access terminal according to an embodiment of the present invention;
fig. 5 is a flowchart of another method for closing a session with an access terminal according to an embodiment of the present invention;
fig. 6 is a flowchart of a method for handover between access networks according to an embodiment of the present invention;
fig. 7A is a schematic structural diagram of a source access network device according to an embodiment of the present invention;
fig. 7B is a schematic structural diagram of another source access network device according to an embodiment of the present invention;
fig. 8A is a schematic structural diagram of a target access network device according to an embodiment of the present invention;
fig. 8B is a schematic structural diagram of another target access network device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be obtained by a person skilled in the art without inventive effort based on the embodiments of the present invention, are within the scope of the present invention.
Although the prior art describes that the target AN can keep the consistency with the session between ATs by closing the session, no perfect method is provided to allow the target AN to determine whether to close the session, and no information is provided for the target AN to determine whether to close the session. No matter in the active one-way hard handoff scenario between ANs, or in the active ping-pong hard handoff scenario between ANs, or in the scenario of continuously maintaining active hard handoff between a plurality of ANs, the target AN may generate a false decision when determining whether to close the session. For example, if the target AN misjudges that the session is closed when the session is not required to be closed, initiating session reestablishment may affect activation delay and occupy bandwidth. For another example, when the session needs to be closed, the target AN determines that the session is not closed by mistake, and if the sessions of the target AN and the AT are inconsistent, the service may be abnormal, and the service performance or even the function may be affected. For another example, if the target AN is consistent with the session of the AT and the target AN does not initiate the session re-establishment, if the target AN can use a higher traffic type for the AT, the target AN still uses the session information with a lower traffic type delivered by the source AN without initiating the session re-establishment, which may result in that the user may not experience better performance or functionality.
Aiming at the defect that misjudgment is possibly generated due to insufficient information when a target AN judges whether a session needs to be closed or not under various scenes of activated state hard switching between ANs, the embodiment of the invention adds the personal information in a session transfer request sent by a source AN to the target AN so as to allow the target AN to judge whether the session needs to be closed or not.
Fig. 1 is a flowchart of a method for closing a session with an access terminal according to an embodiment of the present invention. The following describes embodiments of the present invention mainly from the perspective of the source AN initiating AN handoff. It should be noted that in any inter-AN hard handoff scenario, AN initiating AN inter-AN hard handoff to another AN performs the following steps before sending a session transfer request. As shown in fig. 1, the present embodiment includes:
step 11: in the process of switching the access terminal from the source AN to the target access network, the personal information (Personality information) of the source AN side is generated according to the session information which is stored by the source AN and corresponds to the access terminal.
The session information stored by the source AN and corresponding to the AT may be session information established after the source AN and the AT negotiate (AT this time, the source AN is AN initiating AN handover in a unidirectional handover scenario, that is, the AT initially accesses the source AN), or session information migrated to the source AN after other ANs and the AT negotiate (AT this time, the source AN is AN intermediate AN in a ping-pong handover scenario, that is, the AT initially accesses other ANs).
The specific method for the source AN to generate the personalitiy information may be as follows:
the source AN first determines the personalities of each set of personalities in the session information stored by the source AN for the AT. Wherein the personalities types include: EV-DO Rel 0(Evolution, Data Only release 0) traffic type, EV-DO rev.a (Evolution, Data Only review a) traffic type and EV-DO rev.b (Evolution, Data Only review B) traffic type. The EV-DO Rel0 service type is lower than the EV-DORev.A service type, and the EV-DO Rev.A service type is lower than the EV-DO Rev.B service type. The personalities of each set of personalities may be validated in conjunction with the protocol subtype in the session information corresponding to the AT maintained by the source AN, such as: the physical protocol subtype is 0 to indicate that the set of connectivity service type is EV-DO Rel0, the physical protocol subtype is 2 to indicate that the set of connectivity service type is EV-DO Rev.A, and the physical protocol subtype is 3 to indicate that the set of connectivity service type is EV-DO Rev.A.
The AN maintains session information corresponding to the AT that the Personality may be lost or modified, rendering the set of personalities invalid. Therefore, when the source AN generates the personalities information, it is also necessary to determine the validity of each set of personalities in the session information corresponding to the AT and generate the validity determination flag. And the validity judgment identification corresponding to each set of personalities is used for identifying that the set of personalities is invalid or valid.
In the process of storing and transmitting the session information corresponding to the AT, the source AN can determine the validity of each set of personalities in the session information by transmitting the integrity, and generate the validity determination identifier of each set of personalities. The transmission integrity is defined as follows: for successful negotiation, the protocol subtype, attributes and parameter values, which are not protocol defaults, are supported for encoding in the session transfer message to the target AN.. Here, the protocol subtype, attribute and parameter value of the non-protocol default value that is successfully negotiated include the protocol subtype, attribute and parameter value of the non-protocol default value that is negotiated between the source AN and the terminal, and also include the protocol subtype, attribute and parameter value of the non-protocol default value that is transferred to the source AN after other ANs successfully negotiate. When a set of personalities in the session information is incompletely transmitted, determining that the set of personalities is invalid, and generating a validity judgment identifier for identifying that the set of personalities is invalid; and when a set of personalities in the session information is completely transmitted, determining that the set of personalities is valid, and generating a validity judgment identifier for identifying that the set of personalities is valid.
In the process of saving and transmitting the session information corresponding to the AT, the source AN may also determine the validity of each set of personalities in the session information by saving the integrity and transmitting the integrity, and generate validity determination identifiers of each set of personalities. When a set of personalities in the session information is stored incompletely or sent incompletely, determining that the set of personalities is invalid, and generating a validity judgment identifier for identifying that the set of personalities is invalid; and when a set of personalities in the session information is completely stored and transmitted, determining that the set of personalities is valid, and generating a validity judgment identifier for identifying that the set of personalities is valid. The integrity storage means that the attribute, the parameter and the protocol subtype of the non-protocol default value which are successfully negotiated are stored, and the integrity transmission means that when the source AN is switched to other ANs, the source AN supports that the protocol subtype, the attribute and the parameter of the set of personalities stored in the session of the source AN are all encoded into SSI information in a session transfer message.
For the session information established by the source AN and the AT through negotiation during the initial access of the AT in the source AN, if the source AN can successfully store the protocol subtype, the attribute and the parameter value of a set of Personality in the session information successfully negotiated with the AT, and the source AN can completely transmit the protocol subtype, the attribute and the parameter value of the set of Personality stored by the source AN in the session migration message when the source AN switches to the target AN, the set of Personality is valid, and the source AN generates a validity judgment identifier for identifying the set of Personality; otherwise, the set of personalities is invalid, and the source AN generates a validity judgment flag identifying that the set of personalities is invalid.
After the Session information is negotiated and established between the other ANs and the AT, the Session information is transferred to the Session information of the source AN through inter-AN switching (for example, the Session information is transferred to the source AN through AN a16-Session Transfer Request message or a13-Session Transfer Request message), if the source AN can successfully store the protocol subtype, attribute and parameter value of the non-protocol default value of a set of persistence in the Session information successfully negotiated between the other ANs and the AT, and when the source AN switches to the target AN, the protocol subtype, attribute and parameter value of the set of persistence stored by the source AN can be completely transmitted in the Session Transfer message, the set of persistence is valid, and the source AN generates a validity judgment identifier for identifying the set of persistence to be valid; otherwise, the set of personalities is invalid, and the source AN generates a validity judgment flag identifying that the set of personalities is invalid.
The source AN sends a session transfer request to the target AN, wherein the session transfer request includes the saved session information, and the sending includes AN encoding phase and a sending phase, in the encoding phase, if the source AN does not encode all protocol subtypes, attributes and parameter values of a certain complete set of personalities, but encodes only partial protocol subtypes, attributes and parameter values of the set of personalities, the source AN determines that the set of personalities sent to the target AN is incomplete, that is, the set of personalities is incomplete. A certain set of personalities incomplete description is kept for this source AN: if there are one or more negotiation success and non-protocol default values in a set of personalities that are not successfully saved by the source AN, the set of personalities saved by the source AN is incomplete.
Step 12: the source AN sends a session transfer request including the personalities information to the target AN so that the target AN judges whether to close the session with the access terminal after the access terminal completes the service according to the personalities information, and sends a session closing message to the access terminal after the access terminal completes the service when the session with the access terminal is determined to be closed.
The source AN adds the personalitiy information generated in step 11 to the session transfer request to be sent to the target AN. And after receiving the session transfer request sent by the source AN, the target AN determines whether to close the session with the AT according to the added persistence information of the source access network.
One specific embodiment of adding the personalitiy information in the session transfer request is as follows: the source AN may add affinity Information to Session State Information (SSI): personalitinfo, indicating the composition of all personalities types in the transferred session.
Specifically, information of each set of personalities: the personalities type of each set of personalities and the validity judgment identifier corresponding to each set of personalities can be represented by the following two parameters: PersonalityType and ValidFlag. Wherein, the personalitityType represents the type of the personalities, 0x0 represents that the personalities type is EV-DO Rel0, 0xA represents that the personalities type is EV-DO Rev.A, and 0xB represents that the personalities type is EV-DO Rev.B; ValidFlag indicates whether the set of personalities is complete and valid, and can be consistent with the AT. ValidFlag of 1 indicates that the set of personalities is valid, i.e., the personalities saved by the source AN are consistent with AT; a ValidFlag of 0 indicates that the set of personalities is invalid, may have been modified or have attributes missing, and may not guarantee complete correspondence with the AT.
The following parameters may be added to the SSI of the Session negotiation Protocol (SCP) layer in the main connectivity: ParameterType, Length, and PersonalityNum, describing information such as the number of personalities in PersonalityInfo, the Length of PersonalityInfo, and the like. Wherein, ParameterType is a new parameter type and represents the indication parameter of the personality type; the Length value represents the Length of (personalitinum × 2+1) bytes; personalityNum: indicating how many personalities there are.
The above two parameters, personalititytype and ValidFlag, appear in sets, representing information for one personalitity. Their number of sets equals the number of personalityNum. If there are multiple personalities, the personalititytypes are ranked from low to high, with the personalititytype of main personalities ranked first.
In the method for switching between access networks in the embodiment of the invention, the source AN adds the personalities of all sets of personalities and the validity judgment identifications of all sets of personalities in the session information corresponding to the AT stored in the local terminal in the session transfer request sent to the target AN. Therefore, the target AN can judge whether the target AN can keep consistent with the session between the AT or not according to the Personality information in the session transfer request, so as to determine whether to close the session with the AT or not, and avoid the phenomenon of misjudgment when the target AN judges whether to close the session or not in the inter-AN switching process. The embodiment of the invention has no influence on the switching between the ANs in the same version, and is suitable for various scenes such as the switching between the ANs in the same version, the switching between the ANs in different versions, unidirectional switching, ping-pong switching and the like.
Fig. 2 is a flowchart of another method for closing a session with an access terminal according to an embodiment of the present invention. The following description of embodiments of the present invention is primarily from the perspective of a target AN receiving a handoff request from another AN. It should be noted that, in the hard handoff between ANs, AN that receives a session transfer request sent by another AN needs to perform the following steps.
As shown in fig. 2, the present embodiment includes:
step 21: receiving a session transfer request which is sent by a source AN and comprises personalities information by a target AN; the personalities information includes personalities types (Personality types) of each set of personalities and validity judgment marks corresponding to each set of personalities in session information corresponding to the AT stored by the source AN.
In order for the target AN to have enough information to decide whether to close the Session, the source AN adds affinity information in the Session Transfer Request (a16-Session Transfer Request message) sent to the target AN. The session transfer request also includes session information corresponding to the AT and the source AN stored in the source AN. The personalities information includes personalities types of each set of personalities in session information corresponding to the AT and stored in the source AN, and also includes validity judgment identifications corresponding to each set of personalities.
And the validity judgment identifier corresponding to the personalities is used for identifying that the set of personalities is invalid or valid. When the set of personalities is invalid, the set of personalities in the session stored by the source AN is inconsistent with the AT, namely the set of personalities in the session transferred to the target AN by the source AN is inconsistent with the AT; otherwise, when the set of personalities is valid, the source AN transfers the set of personalities to the target AN in the session information that the set of personalities is consistent with the AT. Therefore, the validity judgment flag corresponding to the personalities is also used to identify whether the set of personalities is consistent with the AT in the session transferred from the source AN to the target AN.
Step 22: the target AN determines whether to close the session with the AT according to the personalitiy information.
The target AN can determine whether the Personality type in the session information transferred to the target AN by the source AN is supported or not through each Personality type in the Personality information; through the validity judgment identification in the persistence information, the target AN can determine whether the corresponding persistence in the session information transferred from the source AN to the target AN is valid.
Step 23: and when the target AN determines to close the session with the AT according to the personalitiy information, the target AN sends a session closing message to the AT after the AT finishes the service.
After the AT completes the service AT the target AN, if the target AN determines to close the session with the access terminal in step 12, it sends a session close message to the AT, and reestablishes the session fully supported by the target AN.
In the method for closing the session between the target access network and the access terminal in the embodiment of the invention, the source AN includes the personalities of all sets of personalities and the validity judgment identifications of all sets of personalities in the session information corresponding to the AT stored in the source AN local terminal in the session transfer request sent to the target AN. The target AN may determine whether the target AN can keep the session with the AT consistent according to the personalitiy information in the session transfer request, thereby determining whether to close the session with the AT. The misjudgment of the target AN caused by insufficient information is avoided. Therefore, the embodiment of the invention solves the defects of insufficient information and incomplete judgment method which are used when the target AN judges whether to close the session in the inter-AN switching process, avoids the occurrence of the misjudgment phenomenon of the target AN, can avoid the abnormal service, can save the bandwidth and can improve the user experience.
The embodiment of the invention has no influence on the switching between the ANs in the same version, and is suitable for various scenes such as unidirectional switching, ping-pong switching and the like.
Fig. 3 is a flowchart of step 22 in fig. 1. The specific determination process of step 22 in fig. 2 is shown in fig. 3:
step 31: the target AN determines whether there is a personalitic type (Personality type) in the personalitic information (Personality information) that the target AN does not support. If there is a personalitiy type that is not supported by the target AN, go to step 32; otherwise step 33 is performed.
Specifically, the target AN determines whether there is a personalititytype that is not supported by the target AN among all personalititytypes of personalitinfo in the SSI.
Step 32: the target AN determines not to close the session with the AT.
The personalities information includes one or more personalities types supported by the source AN. When there is a persistence type that is not supported by the target AN in the persistence information, i.e., one or more persistence types in the persistence information are types that are not supported by the target AN, the target AN determines to close the session with the access terminal.
For example, in a scenario of switching from AN of a high version to AN of a low version, since the target AN is of a lower version than the source AN, the target AN does not support one or more personalitietype transferred from the source AN. According to the above decision procedure, the target AN determines in step 31 that there is AN unsupported personalitietype among all personalitietypes of the source AN, and determines in step 32 to close the session with the AT.
Step 33: and if the personalities types which are not supported by the target AN do not exist, judging whether all the validity judgment identifications indicate that the corresponding personalities are valid or not. If one or more validity judgment identifications among all the validity judgment identifications indicate that the corresponding personalities are invalid, executing step 32, otherwise, executing step 34.
Specifically, if there is no personalizType that is not supported by the target AN, the target AN determines whether ValidFlag corresponding to each personalizType is 1. If there are one or more ValidFlag values of 0, the target AN determines to close the session with the access terminal.
Further, when the target AN is in session with the AT, in order to make the AT use the optimal service provided by the target AN as much as possible, so that the user can experience better performance, the embodiment further includes the following steps:
step 34: and if all the validity judgment identifications show that the corresponding personalities are valid, judging whether the highest personalities supported by the AT target AN are higher than all the personalities in the personalities information or not according to the application subtype supported by the AT.
If the highest persistence type supported by the target AN is higher than all the persistence types in the persistence information transferred from the source AN for the AT, in order to allow the target AN to adopt the highest persistence type supported to perform a session with the AT, step 35 is performed: the target AN determines to close the session with the access terminal; otherwise, step 32 is executed: the target AN determines not to close the session with the access terminal.
Switching from a low-version AN to a high-version AN, the target AN closes the session with the AT for two purposes: one purpose is to reestablish session between AN and avoid the name due to the abnormal service caused by the session inconsistency; another objective is to use the best possible service offered by the target network. When the highest persistence type supported by the target AN for the AT is higher than all of the persistence types in the persistence information, the following problem may arise if the target AN is not turned off: the user spends money to purchase better service, and the service cannot be used after entering the network; the target network also spends money upgrading to a higher version but cannot provide better service to the user, resulting in waste.
Specifically, in step 34, if the target AN supports all personalititytypes and the corresponding ValidFlag is 1, it is determined whether the highest personalitietype that can be supported by the AT target AN is higher than the highest personalitietype in the personalitinfo according to the atsupported applicationsubsypets in the SSI, that is, it is determined whether the highest personalitietype that can be supported by the AT target AN is higher than all personalitietypes in the personalitinfo.
Wherein, the ATSupported application subtypes contain the application subtypes supported by the AT. And the target AN acquires the service type supported by the AT according to the application subtype supported by the AT, and judges whether the highest PersonalityType which can be supported by the target AN for the AT is higher than all the PersonalityTypes in the PersonalityInfo according to the service type supported by the AT.
When the service type supported by the AT is obtained according to the application subtype supported by the AT, the following method may be adopted: if the subtype of the Packet Application Flow supported by the AT is equal to 0x000D (Multi-link Multi-Flow Packet Application), determining that the highest service type supported by the AT is the EV-DO Rev.B service type; if the subtype of the Packet Application Flow supported by the AT is less than 0x000D but equal to 0x0005(Multi-Flow Packet Application), determining that the highest service type supported by the AT is the EV-DO Rev.A service type; if the subtype of the Packet Application flow supported by the AT is less than 0x0005 and only 0x0002(Default Packet Application) is supported, it is determined that the highest service type supported by the AT is the EV-DORel0 service type.
The highest scalability type that the target AN can support for the AT is related to the degree of support of the AT. For example, if the highest permission type supported by the target AN is EV-DO rev.b service type, but the AT itself supports only EV-DO rev.a service type, then the highest permission type that the target AN can support for the AT is EV-DO rev.a service type (EV-DO rev.b service type is higher than EV-DO rev.a service type). If the service type supported by the AT itself is the service type of EV-DO rev.b, and the highest persistence type supported by the target AN is the EV-DO rev.b service type, the highest persistence type that the target AN can support for the AT is the EV-DO rev.b service type, and the target AN establishes a session containing EV-DO rev.b persistence for the AT.
For example, in a scenario in which a low-version AN switches to a high-version AN, the high-version AN typically supports all personalititytypes of the low-version AN, but the high-version AN as a target AN may support a higher type of personalities. According to the above judgment flow, the target AN determines that all personalitietypes in the personalitinfo are supported in step 31. But the highest personalititytype that the target AN can support for the AT is higher than all personalititytypes transferred from the source AN depending on the AT application subtype in step 34, so the target AN determines to close the session with the AT in step 35.
In this embodiment, the target AN first determines whether all the personalities in the personalities information are supported, and when one or more of the personalities in the personalities information are not supported by the target AN, the target AN cannot maintain the session consistency with the AT, and determines to close the session with the AT. When all the personalities are supported, the target AN judges the validity judgment identifier in the personalities information identifier to indicate that the corresponding personalities are valid. If there are one or more validity judgment flags indicating that the corresponding persistence type is invalid, the target AN cannot maintain session consistency with the AT, and thus determines to close the session with the AT. When each validity judgment identifier indicates that the corresponding persistence type is valid, the target AN further judges whether the persistence types which can be supported by the target AN are higher than all the persistence types in the persistence information transferred from the source AN or not, if so, in order to improve user experience, the target AN can negotiate to use the persistence of a higher service type for the AT. Thus. The target AN needs to close the session with the AT and establish a session containing higher traffic type personalities, whereas the target AN determines that the session with the AT does not need to be closed. The embodiment provides information and a perfect judging method for judging whether the target AN closes the session, and solves the defect that misjudgment is possibly generated when the target AN judges whether the session needs to be closed when switching between different versions of ANs.
Fig. 4 is a flowchart of another method for closing a session with an access terminal according to an embodiment of the present invention. This embodiment mainly illustrates how the AN determines whether to close the session with the AT after the handoff in the high → low → high inter-AN active ping-pong hard handoff scenario. For a scenario of high → low → high two inter-AN active state ping-pong hard handoff or three inter-AN active state continuous hard handoff, the first AN is AN initially initiating the handoff, the second AN is AN after handoff of the first AN, and the third AN is AN after handoff of the second AN in a keep active state. Wherein the first AN and the third AN are of a higher version than the second AN (intermediate AN). The first AN and the third AN may be the same AN or different ANs. As shown in fig. 4, the present embodiment includes:
step 41: after the first AN generates the personal information (Personality information) of the first AN according to the session information corresponding to the AT and stored by the first AN, the first AN sends a session transfer request carrying the personal information to the second AN; the session transfer request also includes session information corresponding to the AT and stored by the first AN.
When the first AN is switched to the second AN, firstly, the Personability information of the first AN is generated according to the session information, corresponding to the AT, of the first AN, wherein the session information is stored by the first AN. The personalities information of the first AN includes personalities types of each set of personalities and validity judgment marks corresponding to each set of personalities in session information corresponding to the first AN and the AT.
Step 42: after the second AN stores the session information transferred from the first AN, the second AN determines that AN unsupported Personality type (Personality type) exists in the Personality information. Wherein some attributes or parameters of the personalities not supported by the second AN cannot be saved into the session information of the second AN side.
After the second AN receives the session transfer request sent by the first AN, because the version of the second AN is lower than that of the first AN, the second AN has AN unsupported persistence type in the persistence information, and when the second AN stores the session information transferred from the first AN, some attributes or parameters of the persistence which is not supported by the second AN cannot be stored in the session information of the second AN side. For example, the second AN cannot use the capabilities attribute and parameter of the capabilities type that the second AN does not support in the session information corresponding to the first AN and the AT. Also for example, the personalities of the first AN may be changed, e.g., lost or modified, due to the inability of the second AN of the lower version to recognize the personalities.
After receiving the session transfer request sent by the first AN, the second AN determines whether to close the session according to the method provided in fig. 3. Since the version of the second AN is lower than that of the first AN, the second AN determines that the capabilities type not supported by the second AN exists in the session information corresponding to the AT stored in the first AN by determining all the capabilities types in the capabilities information in step 31, and further determines to close the session with the AT. Since the second AN remains active all the time, the second AN does not send a close session message to the AT even if it determines that the session with the AT needs to be closed, but remains active to initiate a session transfer request to the third AN.
Step 43: and when the second AN keeps the activated state and switches to the third AN, the second AN generates the personal information of the second AN according to the stored session information corresponding to the second AN and the AT. And the validity judgment identification corresponding to the personalities which are not supported by the second AN in the personalities information is coded to indicate that the corresponding personalities are invalid.
Since the second AN cannot store some attributes or parameters of the Personality not supported by the second AN into the session information of the second AN side when the second AN stores the session information transferred from the first AN in step 42, the second AN cannot maintain the consistency between the set of Personality and the AT. When the second AN keeps the activated state and switches to the third AN, in order to enable the third AN to know that the second AN cannot keep the consistency between the set of personalities and the AT, the second AN generates AN effectiveness judgment identifier for identifying the invalidity of the set of personalities and then adds the effectiveness judgment identifier to the personalities information. For example, for a certain set of personalities for which the second AN cannot maintain consistency with the AT, the second AN encodes the ValidFlag of the set of personalities to 0 to identify that the set of personalities is invalid.
Step 44: the second AN keeps activated and sends a session transfer request carrying the personalities information of the second AN to the third AN. The session transfer request also includes session information corresponding to the second AN and the AT, which is stored by the second AN.
Step 45: and after the third AN stores the session information transferred from the second AN, determining all the personalities in the personalities information supporting the second AN, determining that one or more validity judgment identifications indicate that the corresponding personalities are invalid, and determining to close the session with the AT.
After receiving the session transfer request of the second AN, the third AN determines whether to close the session according to the method provided in fig. 3. Since the third AN version is higher than the second AN, the third AN determines that all of the personalities of the second AN are supported in step 31, but determines that one or more validity judgment flags exist in the personalities information in step 33, indicating that the corresponding personalities types are invalid. Therefore, the third AN cannot maintain consistency between these personalities and the AT, and the third AN determines to close the session with the AT.
In a high → low → high inter-AN active state hard handoff scenario, when a second AN of a low version keeps active and sends a session transfer request to a third AN, the persistence information of the second AN is generated according to the session information corresponding to the AT and the second AN. And coding the validity judgment identifier corresponding to the persistence which cannot be kept consistent with the AT session by the second AN in the persistence information into corresponding persistence invalidity. After the third AN receives the session transfer request sent by the second AN, because one or more validity judgment identifications exist in the persistence information of the second AN, the corresponding persistence type is invalid, the third AN cannot keep consistency between the persistence and the AT, and the third AN determines to close the session with the AT, so that after the AT finishes the service, the third AN initiates session reestablishment to the AT, and the session of the third AN and the AT is kept consistent.
Fig. 5 is a flowchart of another method for closing a session with an access terminal according to an embodiment of the present invention. This embodiment mainly illustrates how the AN determines whether to close the session with the AT after the handoff in the low → high → low inter-AN active hard handoff scenario. In this embodiment, the personalities type of each set of personalities and the validity determination identifier corresponding to each set of personalities are represented by the following two parameter values: PersonalityType and ValidFlag. Wherein, the personalititytype indicates the type of the set of personalities, and ValidFlag is a validity determination flag, indicating whether the set of personalities is complete and valid. A ValidFlag of 1 indicates that the set of personalities is valid, and a ValidFlag of 0 indicates that the set of personalities is invalid. As shown in fig. 5, the present embodiment includes:
step 51: after the first AN generates the personal information (Personality information) of the first AN according to the session information corresponding to the AT and stored by the first AN, the first AN sends a session transfer request carrying the personal information to the second AN.
The session transfer request also includes session information corresponding to the first AN and the AT. The Session Transfer Request may be carried via an a16-Session Transfer Request message. For a low → high → low inter-AN active ping-pong handover scenario, the first AN and the third AN are lower in version than the second AN (intermediate AN). The first AN and the third AN may be the same AN or different ANs.
Step 52: and the second AN stores the session information transferred by the first AN, and determines that all the personalities in the personalities information are supported and all the validity judgment identifications are 1. I.e., ValidFlag, all identify that the corresponding personalitity is valid.
The second AN version is higher than that of the first AN, and since the high version AN is downward compatible, the second AN can support all personalititytypes of the first AN. The second AN can downward compatibly support all the attributes and parameters of the personalities in the session information transferred by the first AN of the low version, loss cannot occur, and all sets of personalities are complete and effective.
After receiving the session transfer request of the first AN, the second AN determines whether to close the session according to the method provided in fig. 3. Since the second AN remains active AT all times, the second AN will not send a close session message to the AT even if the second AN determines to close the session.
Step 53: and when the second AN keeps the activated state and switches to the third AN, the second AN generates the Personality information of the second AN according to the stored session information corresponding to the second AN and the AT, wherein all the validity judgment identifications in the Personality information are 1.
Because the second AN can be downward compatible with the attributes and parameters of all personalities in the session information transferred by the first AN in a low version, and loss is avoided, the second AN can keep the consistency of all personalities in the session information transferred by the first AN and the AT. Thus, when the second AN encodes personalitinfo in the A16-Session Transfer Request message, the validFlag of each personalitic set is 1.
Step 54: the second AN keeps activated and sends a session transfer request carrying the personalities information of the second AN to the third AN. The Session Transfer Request may be carried by an A16-Session Transfer Request message; the a16-Session Transfer Request message also includes Session information corresponding to the AT and the second AN, which is stored by the second AN.
Step 55: and after the third AN determines that all the personalities in the personalities information are supported, all the validity judgment identifications are 1, and the highest personalities supported by the third AN for the AT are not higher than all the personalities in the personalities information, determining not to close the session with the AT.
In the low → high → low inter-AN active ping-pong hard handoff scenario, the first AN transfers session information to the second AN without loss or change on the high version side of the second AN. When the second AN of the high version keeps the activated state and switches to the third AN, all ValidFlags in the PersonalityInfo generated by the second AN according to the session information corresponding to the second AN and the AT are 1. After the third AN receives the session transfer request, all the personalities in the session information transferred by the second AN can be determined to be valid according to all the ValidFlag in the personalitinfo.
Fig. 6 is a flowchart of a method for handover between access networks according to an embodiment of the present invention. This embodiment mainly illustrates a stage in which the target AN determines whether to close a session with the AT during AN inter-AN hard handoff. As shown in fig. 6, the present embodiment includes:
step 61: the source AN sends a Session Transfer Request (e.g., a16-Session Transfer Request message) including the personalitity information (personalitinfo) to the target AN.
Step 62A: the target AN determines whether to close the session with the AT according to the personalitic information (personalitinfo).
After receiving the a16-Session Transfer Request message of the source AN, the target AN determines whether to close the Session with the AT according to the personalitinfo, and the specific determination flow is shown in fig. 3.
Step 62B: the target AN sends a Session transfer response (e.g., a16-Session transfer response message) to the source AN.
And step 63: the source AN sends a Session transfer complete response (e.g., a16-Session transfer complete message) to the destination AN.
Step 64: the destination AN provides services to the AT.
Step 65: the target AN sends a Session release indication (e.g., a16-Session release indication message) to the source AN.
And step 66: the source AN sends a Session release response (e.g., a16-Session release ACK message) to the destination AN.
Step 67: after the Target AN completes the traffic, the connection between the Target AN and the AT is closed (e.g., Connectionbetween AT and Target AN Closes).
Step 68: the target AN sends a Resource Release Request (e.g., A13-Resource Release Request message) to the source AN.
Step 69: when the target AN determines to Close the Session with the AT in step 62A, the target AN sends a Session Close message (e.g., a Session Close message) to the AT.
Step 610: the source AN sends a Resource release response (e.g., A13-Resource ReleaseResponse message) to the destination AN.
Thereafter, a session is established between the target AN and the AT.
After the source AN sends the A16-Session Transfer Request message to the target AN, the target AN judges whether to send the Session Close message to the AT for Session reestablishment according to the PersonalityInfo therein after the AT completes the service so as to keep the Session consistency with the AT.
Fig. 7A is a schematic structural diagram of a source access network device according to an embodiment of the present invention. As shown in fig. 7A, a source access network device provided in an embodiment of the present invention includes:
a generating module 71, configured to generate, according to session information corresponding to an access terminal and stored in a source access network, connectivity information of a source access network side in a process of switching an access terminal from the source access network to a target access network; the personalities information includes personalities types of each set of personalities in the session information and validity judgment marks corresponding to each set of personalities; and the validity judgment identification corresponding to each set of personalities is used for identifying that the set of personalities is invalid or valid.
A session transfer request sending module 72, configured to send, by the source access network, a session transfer request including the personalities information generated by the generating module 71 to the target access network, so that the target access network determines, according to the personalities information, whether to close a session with the access terminal after the access terminal completes a service.
Further, as shown in fig. 7B, the generation module 71 includes: a type determination unit 711 and a validity encoding unit 712.
A type determination unit 711, configured to determine a personalities type of each set of personalities in the session information.
And a validity encoding unit 712, configured to determine validity of each set of personalities in the session information and generate a validity determination identifier according to storage integrity and transmission integrity of each set of personalities of the session information corresponding to the access terminal stored in the source access network, or according to transmission integrity of each set of personalities of the session information corresponding to the access terminal stored in the source access network.
Specifically, when the validity of each set of personalities in the session information is judged and the validity judgment identifier is generated according to the storage integrity and the transmission integrity of each set of personalities in the session information: the validity encoding unit 712 is specifically configured to, when a set of personalities in the session information is incomplete or incomplete to be transmitted, determine that the set of personalities is invalid, and generate a validity judgment identifier that identifies that the set of personalities is invalid; when a set of personalities in the session information is completely stored and transmitted, determining that the set of personalities is valid, and generating a validity judgment identifier for identifying that the set of personalities is valid; the validity of each set of personalities in the session information is judged through the method, and validity judgment marks for identifying the set of personalities to be valid are generated for each set of personalities.
Specifically, when the validity of each set of personalities in the session information is judged and the validity judgment identifier is generated according to the transmission integrity of each set of personalities in the session information: the validity encoding unit 712 is specifically configured to, when a set of personalities in the session information is incomplete, determine that the set of personalities is invalid, and generate a validity judgment identifier that identifies that the set of personalities is invalid; when a set of personalities in the session information is completely transmitted, determining that the set of personalities is valid, and generating a validity judgment identifier for identifying that the set of personalities is valid; the effectiveness of each set of personalities in the session information is judged through the method, and effectiveness judgment marks for identifying the set of personalities to be effective are generated for each set of personalities.
In the source access network provided in the embodiment of the present invention, the session transfer request sending module 72 adds the capabilities type of each set of capabilities and the validity determination identifier of each set of capabilities in the session information corresponding to the AT stored in the home terminal to the session transfer request sent to the target AN. The personalities of the sets of personalities in the session transfer request reflect personalities used when the source AN is in session with the AT, and if the target AN does not support these personalities, the target AN cannot maintain session consistency with the AT. The validity judgment identifier of each set of personalities in the session transfer request reflects the validity of the source AN for each set of personalities stored by the AT, and if the personalities stored by the source AN are invalid, the target AN cannot keep the consistency between the set of personalities and the AT.
Fig. 8A is a schematic structural diagram of a target access network device according to an embodiment of the present invention. As shown in fig. 8A, a target access network device provided in an embodiment of the present invention includes: a session transfer request receiving module 81, a session closing judging module 82 and a closing message sending module 83.
A session transfer request receiving module 81, configured to receive a session transfer request including personalitiy information sent by a source access network; the personalities information includes personalities types of each set of personalities and validity judgment identifications corresponding to each set of personalities in session information corresponding to the access terminal, which is stored by the source access network.
A session closing judging module 82, configured to judge whether to close the session with the access terminal according to the Personality information received by the session transfer request receiving module 81.
Specifically, the session closing determination module 82 is specifically configured to determine not to close the session with the access terminal if the target access network supports all of the personalities in the personalities information and all of the validity determination identifiers in the personalities information identify that the corresponding personalities are valid and the highest personalities supported by the target access network for the access terminal are not higher than all of the personalities in the personalities information, and otherwise determine to close the session with the access terminal.
A close message sending module 83, configured to, when the session close judgment module 82 determines to close the session with the access terminal according to the personalitiy information, send a session close message to the access terminal after the access terminal completes the service.
Further, as shown in fig. 8B, the session closing judgment module 82 includes: a first support judgment unit 821, a validity judgment unit 822, a second support judgment unit 823, and a session close determination unit 824.
A first support judging unit 821, configured to judge whether there is a persistence type that is not supported by the target access network in the persistence information.
A validity judging unit 822, configured to judge whether all validity judgment identifiers in the personalities information indicate that a corresponding personalities is valid if the first support judging unit 821 determines that there is no personalities that are not supported by the target access network.
A second support judging unit 823, configured to, if the validity judging unit 822 determines that all validity judgment identifiers indicate that corresponding personalities are valid, according to the application subtype supported by the access terminal, the target access network judges whether a highest personalities type supported by the target access network for the access terminal is higher than all personalities types in the personalities information.
A session closing determining unit 824, configured to determine to close the session with the access terminal if the first support determining unit 821 determines that there is a persistence type that is not supported by the target access network; if the first support judgment unit 821 determines that one or more personalities exist among all the validity judgment identifications, indicating that the corresponding personalities are invalid, it determines to close the session with the access terminal; if the second support judgment unit 823 determines that the highest persistence type supported by the target access network for the access terminal is higher than all persistence types in the persistence information, it determines to close the session with the access terminal.
In the target access network provided by the embodiment of the present invention, the session closing determination module 82 determines whether the session between the target AN and the AT can be kept consistent according to the personalitiy information in the session transfer request, so as to determine whether to close the session with the AT. The misjudgment of the target AN caused by insufficient information is avoided. Therefore, the embodiment of the invention solves the defects of insufficient information and incomplete judgment method which are used when the target AN judges whether to close the session in the inter-AN switching process, avoids the occurrence of the misjudgment phenomenon of the target AN, can avoid the abnormal service, can save the bandwidth and can improve the user experience.
Those of ordinary skill in the art will understand that: all or part of the steps for implementing the method embodiments may be implemented by hardware related to program instructions, and the program may be stored in a computer readable storage medium, and when executed, the program performs the steps including the method embodiments; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.
Claims (9)
1. A method for closing a session with an access terminal, comprising:
in the process that an access terminal is switched from a source access network to a target access network, the source access network generates personal information of a source access network side according to session information which is stored by the source access network and corresponds to the access terminal; the personalities information includes personalities types of each set of personalities in the session information and validity judgment marks corresponding to each set of personalities; the validity judgment identification corresponding to each set of personalities is used for identifying whether the set of personalities is invalid or valid;
the source access network sends a session transfer request including the personalities information to the target access network, so that the target access network judges whether to close the session with the access terminal after the access terminal completes the service according to the personalities information, and when the session with the access terminal is determined to be closed, sends a session closing message to the access terminal after the access terminal completes the service;
the generating of the personalitiy information of the source access network side according to the session information corresponding to the access terminal and stored in the source access network includes:
the source access network determines the personalities of sets of personalities in the session information;
the source access network judges the validity of each set of personalities in the session information and generates a validity judgment identifier according to the storage integrity and the transmission integrity of each set of personalities in the session information or the transmission integrity of each set of personalities in the session information;
the transmission integrity of each set of personalities means that when the access terminal is switched from the source access network to the target access network, the protocol subtype, the attribute and the parameter value of the successfully negotiated non-protocol default value are all supported to be coded and transmitted to the target access network in the session transfer request.
2. The method of claim 1, wherein the determining validity and generating a validity determination flag of each set of personalities in the session information according to integrity of storage and integrity of transmission of each set of personalities in the session information comprises:
when a set of personalities in the session information is stored incompletely or sent incompletely, determining that the set of personalities is invalid, and generating a validity judgment identifier for identifying that the set of personalities is invalid;
when a set of personalities in the session information is completely stored and transmitted, determining that the set of personalities is valid, and generating a validity judgment identifier for identifying that the set of personalities is valid;
the validity of each set of personalities in the session information is judged through the method, and validity judgment marks for identifying the set of personalities to be valid are generated for each set of personalities.
3. The method of claim 1, wherein the determining, by the source access network, validity of each set of personalities in the session information and generating a validity determination flag according to the transmission integrity of each set of personalities in the session information comprises:
when a set of personalities in the session information is incompletely transmitted, determining that the set of personalities is invalid, and generating a validity judgment identifier for identifying that the set of personalities is invalid;
when a set of personalities in the session information is completely transmitted, determining that the set of personalities is valid, and generating a validity judgment identifier for identifying that the set of personalities is valid;
the validity of each set of personalities in the session information is judged through the method, and validity judgment marks for identifying the set of personalities to be valid are generated for each set of personalities.
4. A method for closing a session with an access terminal, comprising:
the target access network receives a session transfer request which is sent by a source access network and comprises personalitiy information; the personalities information includes personalities types of each set of personalities and validity judgment marks corresponding to each set of personalities in session information corresponding to the access terminal and stored by the source access network;
the target access network judges whether to close the session with the access terminal according to the personalitiy information;
the target access network determines to close the session with the access terminal according to the personalitiy information, and sends a session closing message to the access terminal after the access terminal completes the service;
the target access network judging whether to close the session with the access terminal according to the personalitiy information comprises:
if the target access network supports all the personalities in the personalities information and all the validity judgment identifications in the personalities information identify that the corresponding personalities are valid and the highest personalities supported by the target access network for the access terminal are not higher than all the personalities in the personalities information, determining not to close the session with the access terminal, otherwise, determining to close the session with the access terminal; or,
the judging whether to close the session with the access terminal according to the personalitiy information by the target access network comprises:
judging whether the personalities information contains personalities types which are not supported by a target access network;
if the persistence type which is not supported by the target access network exists, determining to close the session with the access terminal;
if the persistence type which is not supported by the target access network does not exist, judging whether all validity judgment identifications in the persistence information indicate that the corresponding persistence is valid;
if one or more personalities in all the validity judgment identifications indicate that the corresponding personalities are invalid, determining to close the session with the access terminal;
if all the validity judgment identifications indicate that the corresponding personalities are valid, the target access network judges whether the highest personalities supported by the target access network for the access terminal are higher than all the personalities in the personalities information according to the application sub-types supported by the access terminal;
and if the highest persistence type supported by the target access network for the access terminal is higher than all the persistence types in the persistence information, determining to close the session with the access terminal.
5. A source access network device, comprising:
the generation module is used for generating the personal information of a source access network side according to the session information which is stored by the source access network and corresponds to the access terminal in the process that the access terminal is switched from a source access network to a target access network; the personalities information includes personalities types of each set of personalities in the session information and validity judgment marks corresponding to each set of personalities; the validity judgment identification corresponding to each set of personalities is used for identifying whether the set of personalities is invalid or valid;
a session transfer request sending module, configured to send a session transfer request including the personalitiy information to a target access network, so that the target access network determines, according to the personalitiy information, whether to close a session with the access terminal after the access terminal completes a service;
the generation module comprises:
a type determining unit, configured to determine a personalities type of each set of personalities in the session information;
the validity coding unit is used for judging the validity of each set of personalities in the session information and generating validity judgment marks according to the storage integrity and the transmission integrity of each set of personalities in the session information or according to the transmission integrity of each set of personalities in the session information;
the transmission integrity of each set of personalities means that when the access terminal is switched from the source access network to the target access network, the protocol subtype, the attribute and the parameter value of the successfully negotiated non-protocol default value are all supported to be coded and transmitted to the target access network in the session transfer request.
6. The device according to claim 5, wherein the validity encoding unit is specifically configured to determine that a set of personalities is invalid when the set of personalities is incomplete in storage or incomplete in transmission in the session information, and generate a validity judgment flag that identifies that the set of personalities is invalid; when one set of personalities in the session information is completely stored and completely transmitted, determining that the set of personalities is valid, generating validity judgment marks for identifying the set of personalities to be valid, further judging the validity of each set of personalities in the session information one by one, and generating validity judgment marks for identifying the set of personalities to be valid for each set of personalities.
7. The device of claim 5, wherein the validity encoding unit is specifically configured to determine that a set of personalities in the session information is invalid when the set of personalities is not completely transmitted, and generate a validity judgment flag indicating that the set of personalities is invalid; when a set of personalities in the session information is completely transmitted, determining that the set of personalities is valid, and generating validity judgment marks for identifying the set of personalities to be valid, further judging the validity of each set of personalities in the session information one by one, and generating validity judgment marks for identifying the set of personalities to be valid for each set of personalities.
8. A target access network device, comprising:
the session transfer request receiving module is used for receiving a session transfer request which is sent by a source access network and comprises the personalitiy information; the personalities information includes personalities types of each set of personalities and validity judgment marks corresponding to each set of personalities in session information corresponding to the access terminal and stored by the source access network;
a session closing judging module, configured to judge whether to close a session with an access terminal according to the personalitiy information;
a closing message sending module, configured to send a session closing message to an access terminal after the access terminal completes a service when determining to close a session with the access terminal according to personalitiy information;
the session closing judging module is specifically configured to determine not to close the session with the access terminal if the target access network supports all the personalities in the personalities information and all the validity judging identifiers in the personalities information identify that the corresponding personalities are valid and the highest personalities supported by the target access network for the access terminal are not higher than all the personalities in the personalities information, and otherwise determine to close the session with the access terminal.
9. The apparatus of claim 8, wherein the session closing determination module comprises:
the first support judging unit is used for judging whether the personalities information contains personalities types which are not supported by a target access network;
the validity judging unit is used for judging whether all validity judging marks in the persistence information indicate that the corresponding persistence is valid or not if the persistence type which is not supported by the target access network does not exist;
a second support judgment unit, configured to, if all validity judgment identifiers indicate that corresponding personalities are valid, according to the application subtype supported by the access terminal, the target access network judges whether a highest personalities type supported by the target access network for the access terminal is higher than all personalities types in personalities information;
a session closing determining unit, configured to determine to close a session with the access terminal if there is a persistence type that is not supported by the target access network; if one or more personalities in all the validity judgment identifications indicate that the corresponding personalities are invalid, determining to close the session with the access terminal; and if the highest persistence type supported by the target access network for the access terminal is higher than all the persistence types in the persistence information, determining to close the session with the access terminal.
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2011/078378 WO2012159378A1 (en) | 2011-08-12 | 2011-08-12 | Method and device for closing session with access terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103053200A CN103053200A (en) | 2013-04-17 |
CN103053200B true CN103053200B (en) | 2016-09-28 |
Family
ID=47216596
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201180001782.5A Active CN103053200B (en) | 2011-08-12 | 2011-08-12 | Close and the method and apparatus of session between access terminal |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN103053200B (en) |
WO (1) | WO2012159378A1 (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101136913A (en) * | 2006-12-07 | 2008-03-05 | 中兴通讯股份有限公司 | Method for implementing multi-characteristic optimizing storage |
CN101778442A (en) * | 2010-01-04 | 2010-07-14 | 中兴通讯股份有限公司 | Session information storage method and access network equipment |
CN102067668A (en) * | 2008-06-13 | 2011-05-18 | 高通股份有限公司 | Apparatus and method for personality modification during handoff |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4567785B2 (en) * | 2005-04-15 | 2010-10-20 | サムスン エレクトロニクス カンパニー リミテッド | Triggering apparatus and method for session renegotiation between access network and access terminal in high-speed packet data system |
CN101496373A (en) * | 2006-07-31 | 2009-07-29 | 高通股份有限公司 | Method and apparatus for negotiating personalities in a wireless communications system |
-
2011
- 2011-08-12 WO PCT/CN2011/078378 patent/WO2012159378A1/en active Application Filing
- 2011-08-12 CN CN201180001782.5A patent/CN103053200B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101136913A (en) * | 2006-12-07 | 2008-03-05 | 中兴通讯股份有限公司 | Method for implementing multi-characteristic optimizing storage |
CN102067668A (en) * | 2008-06-13 | 2011-05-18 | 高通股份有限公司 | Apparatus and method for personality modification during handoff |
CN101778442A (en) * | 2010-01-04 | 2010-07-14 | 中兴通讯股份有限公司 | Session information storage method and access network equipment |
Non-Patent Citations (1)
Title |
---|
Clarification for HRPD HHO;Qualcom;《3GPP2 TSG-A》;20061030;第 3.13.1至第3.13.2 * |
Also Published As
Publication number | Publication date |
---|---|
CN103053200A (en) | 2013-04-17 |
WO2012159378A1 (en) | 2012-11-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112333825B (en) | Method and device for updating UE (user Equipment) strategy and computer storage medium | |
CN110049070B (en) | Event notification method and related equipment | |
US7925784B2 (en) | Re-direction of streaming multimedia in wireless communication devices in response to low battery level | |
RU2372746C2 (en) | Method, device and computer software product providing service quality support in wireless communication system | |
JP4870760B2 (en) | Method and system for handover negotiation in a wireless network | |
KR101063573B1 (en) | Session transfer method and method for supporting session continuity | |
US8209432B2 (en) | Method and arrangement for communicating multimedia content | |
JP6135882B2 (en) | Method and apparatus for processing unstructured supplementary service data (USSD) services | |
CN114270933B (en) | Apparatus and method for supporting handover of UE | |
WO2018126823A1 (en) | Information transmission and resource configuration method and device, control node, network element, and storage medium | |
TW202038671A (en) | Methods and user equipment for handling operation errors | |
CN111385851B (en) | Communication method and device | |
WO2015100638A1 (en) | Service processing method and device | |
US20150016308A1 (en) | Method and apparatus for service control | |
CN110536484B (en) | Data radio bearer control method, device and system in multi-connection system | |
JP2014143461A (en) | Radio base station, radio communication system using the same, and radio communication connection method | |
WO2016183747A1 (en) | Method and device for enabling relay function | |
CN103053200B (en) | Close and the method and apparatus of session between access terminal | |
CN113423078B (en) | Application program network fragment selection method, application server and PCF | |
CN115915137A (en) | Network function service authorization method and device | |
CN102137451A (en) | System and method for terminal and base station to negotiate application support capability | |
CN105187236B (en) | A kind of method of network flow migration | |
RU2783811C2 (en) | Method for subscription to services and device | |
CN103856990A (en) | Method, system and server for data transmission | |
TWI481243B (en) | Method of quality of service negotiation cross multi-media |
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 |