CN103458499A - Off-line processing method and equipment - Google Patents

Off-line processing method and equipment Download PDF

Info

Publication number
CN103458499A
CN103458499A CN2012101704760A CN201210170476A CN103458499A CN 103458499 A CN103458499 A CN 103458499A CN 2012101704760 A CN2012101704760 A CN 2012101704760A CN 201210170476 A CN201210170476 A CN 201210170476A CN 103458499 A CN103458499 A CN 103458499A
Authority
CN
China
Prior art keywords
gateway
authentication
message
context
module
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.)
Pending
Application number
CN2012101704760A
Other languages
Chinese (zh)
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.)
China Academy of Telecommunications Technology CATT
Original Assignee
China Academy of Telecommunications Technology CATT
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 China Academy of Telecommunications Technology CATT filed Critical China Academy of Telecommunications Technology CATT
Priority to CN2012101704760A priority Critical patent/CN103458499A/en
Publication of CN103458499A publication Critical patent/CN103458499A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses an off-line processing method. The off-line processing method includes: judging whether or not to inform a gateway user that EU (user equipment) is disconnected with an AP (access point) by the AP; if so, transmitting information carrying recognition identity of the UE to the gateway by the AP to inform the gateway that the UE is disconnected with the AP. According to the method, the AP informs the gateway of the recognition identity of the off-line UE when determining the UE is off line, the gateway realizes that the UE is currently in a status of disconnection with a network and starts an off-line timer, and contexts stored for the UE and resources distributed for the UE are released when timeout of the off-line timer occurs, so that storage resources of the gateway are saved.

Description

Off-line processing method and equipment
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method and an apparatus for offline processing.
Background
In an existing LTE (Long Term Evolution) architecture, a detach process of a UE (User Equipment) is implemented through a detach process of an NAS (Non Access Stratum) message, where the detach process includes a detach process initiated by the UE and a detach process initiated by a network side, for example, a detach process triggered by an SGSN (Serving GPRS Support Node, GPRS Service Support Node; GPRS, General Packet Radio Service)/MME (Mobility Management Entity) due to O & M (Operation & Maintenance). If the MME realizes that there is no communication with the UE for a long time, the MME may also trigger an implicit detach procedure, specifically: if no communication exists between the MME and the UE for a long time, the MME enters an EMM-IDLE (authorization Management Message-IDLE) state, a Mobile accessible timer (Mobile arrival timer) is started, the timing duration of the timer is longer than the time of TAU (Tracking Area Update), and when the MME receives NAS connection establishment signaling (such as periodic TAU and Service Request), the Mobile accessible timer is stopped. If the Mobile reachabitable timer is overtime, the MME determines that the UE is not in the coverage of the AP (Access Point) at this time, but the MME cannot know how long the UE will be out of the coverage of the AP at this time, so the MME does not immediately delete the last stored context of the UE and the resources allocated to the UE, but starts an Implicit Detach timer (Implicit Detach timer). If the MME receives an NAS connection establishment signaling (such as a periodic TAU and a Service Request) after the Impulse delay timer is started, the MME stops the Impulse delay timer; if the Implicit Detach timer is overtime, the MME will trigger a local Detach process, delete the locally stored context of the UE and the resources allocated to the UE.
However, The existing LTE architecture has The problems of high cost on The network side and easy occurrence of congestion on The network side, and in order to overcome The above problems, a simplified network side is proposed, as shown in fig. 1, an AP accesses an IP network locally or through an IP (Internet Protocol, Protocol for interconnection between networks) gateway, without requiring a complex core network architecture and entities defined by 3GPP (The 3rd Generation Partnership Project).
Under this simplified architecture, no NAS messages exist between the UE and the network side.
Considering the invaluability and the limitation of system resources, in order to avoid the invalid occupation of resources, for a scenario that the UE cannot access the network for a long time due to an abnormal condition (such as a coverage hole), the gateway should determine that the UE is offline and release corresponding resources in time, but under the above simplified architecture, how the gateway realizes that the UE is offline and executes corresponding operations does not have a related method at present.
Disclosure of Invention
The embodiment of the invention provides a method and equipment for offline processing, when an AP determines that UE is offline, the AP informs a gateway of information of the offline UE, the gateway realizes that the UE is in a state of disconnection with a network currently according to an identification mark, and starts an offline timer, and when the offline timer times out, context stored for the UE and resources allocated for the UE are released, so that the storage resources of the gateway are saved.
In order to achieve the above object, an embodiment of the present invention provides a method for performing offline processing, including:
the access point AP judges whether the gateway user equipment UE needs to be informed that the connection with the AP is disconnected;
if the judgment result is yes, the AP sends a message carrying the identification mark of the UE to the gateway, and the gateway is informed that the UE is disconnected from the AP.
The embodiment of the invention provides a method for off-line processing, which comprises the following steps:
a gateway receives a message which is sent by an AP and carries an identification mark of UE;
the gateway starts a offline timer;
and when the gateway judges that the offline timer is over time, the gateway releases the locally stored context of the UE and the resources allocated to the UE.
An embodiment of the present invention provides an AP, including:
the judging module is used for judging whether the gateway UE needs to be informed that the connection with the AP is disconnected;
and the sending module is used for sending a message carrying the identification mark of the UE to the gateway when the judging module judges that the gateway UE needs to be informed that the connection with the AP is disconnected, and informing the gateway that the connection with the AP is disconnected.
An embodiment of the present invention provides a gateway, including:
the receiving module is used for receiving a message which is sent by the AP and carries the identification mark of the UE;
the control module is used for starting an offline timer after the receiving module receives the message which is sent by the AP and carries the identification mark of the UE;
the judging module is used for judging whether the offline timer is overtime or not after the control module starts the offline timer;
and the releasing module is used for releasing the locally stored context of the UE and the resources allocated to the UE when the judging module judges that the offline timer is overtime.
Compared with the prior art, the invention has at least the following advantages:
when the AP determines that the UE is offline, the AP informs the gateway of the identification of the offline UE, the gateway realizes that the UE is in a state of disconnection with the network currently according to the identification, and starts an offline timer, and when the offline timer is overtime, the context stored for the UE and the resources allocated for the UE are released, so that the storage resources of the gateway are saved.
Drawings
In order to more clearly illustrate the technical solution of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on the drawings without creative efforts.
Fig. 1 is a schematic diagram of a simplified LTE architecture in the prior art;
fig. 2 is a schematic flow chart of a offline processing method according to an embodiment of the present invention;
fig. 3 is a schematic flow chart of a offline processing method according to a second embodiment of the present invention;
fig. 4 is a schematic flow chart of a offline processing method according to a third embodiment of the present invention;
fig. 5 is a schematic flow chart of a offline processing method according to a fourth embodiment of the present invention;
fig. 6 is a schematic flow chart of a offline processing method according to a fifth embodiment of the present invention;
fig. 7 is a schematic flow chart of a offline processing method according to a sixth embodiment of the present invention;
fig. 8 is a schematic flow chart of a offline processing method according to a seventh embodiment of the present invention;
fig. 9 is a schematic flow chart of a offline processing method according to an eighth embodiment of the present invention;
fig. 10 is a schematic structural diagram of an AP according to the ninth embodiment of the present invention;
fig. 11 is a schematic structural diagram of a gateway according to a tenth embodiment of the present invention.
Detailed Description
Under a simplified LTE architecture, a gateway cannot know whether UE is offline, even if a certain UE is offline, the gateway still stores the context of the UE and the resources allocated to the UE locally, and when a large amount of UE is offline, a large amount of useless information is stored in the gateway, so that the storage resources of the gateway are greatly wasted.
In view of the above problem, an embodiment of the present invention provides a method for performing offline processing, so that a gateway can know whether a UE accessing the gateway is offline, so that the gateway can delete a context of the UE locally stored by the gateway and a resource allocated to the UE after the UE accessing the gateway is offline, thereby saving a storage resource of the gateway.
The technical solutions in the present invention will be described clearly and completely with reference to the accompanying drawings, and it is obvious that the described embodiments are only some embodiments of the present invention, not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Example one
An embodiment of the present invention provides a method for offline processing, as shown in fig. 2, the method includes the following steps:
in step 201, the AP determines whether it needs to notify the gateway UE that the connection with the AP has been disconnected.
If so, go to step 202, otherwise go to step 205.
Step 202, the AP sends a message carrying the UE identification to the gateway, and notifies the gateway that the UE has disconnected from the AP.
Step 203, the gateway receives the message carrying the UE identification sent by the AP, and starts the off-line timer. If the off-line timer times out, step 204 is performed.
And step 204, the gateway releases the context of the UE corresponding to the identification mark and the resource allocated to the UE according to the identification mark of the UE carried in the message.
In step 205, the AP keeps data transmission or signaling interaction with the UE.
Example two
An embodiment of the present invention provides a method for offline processing, as shown in fig. 3, the method includes the following steps:
step 301, the AP determines whether the UE is off-line.
If so, go to step 302, otherwise go to step 304.
Specifically, the AP may store a first preset time, and if the AP does not receive a signaling or data transmission request from the UE within the first preset time, the AP determines that the UE has left its coverage or the UE has powered off, and at this time, the AP determines that the air interface connection has been disconnected with the UE, that is, the UE has disconnected from the network. The AP may also actively send scheduling information to the UE on the downlink channel, and if a response message sent by the UE through the uplink channel is not received within a second preset time, the AP determines that the UE has left its coverage or the UE has powered off, and at this time, the AP determines that the air interface connection has been disconnected with the UE, that is, the UE has disconnected from the network.
Step 302, the AP sends a UE leaving message carrying the UE identification to the gateway, for notifying the gateway that the UE has disconnected from the AP.
When the AP judges that the UE is disconnected from the network, the AP sends a UE leaving message carrying the MAC address or the IP address of the UE to the gateway for informing the gateway that the UE is disconnected from the network at the moment, namely the UE is in the state of disconnection from the network.
In step 303, the AP releases the locally stored context of the UE and the resources allocated to the UE.
In step 304, the AP keeps data transmission or signaling interaction with the UE.
EXAMPLE III
An embodiment of the present invention provides a method for offline processing, as shown in fig. 4, the method includes the following steps:
step 401, the AP determines whether to actively release the air interface connection with the UE, i.e. to actively disconnect the UE.
If yes, go to step 402, otherwise go to step 404.
Specifically, the AP may determine whether to actively release air interface connection with the UE according to a resource occupation condition of the AP and a preset condition, for example, the AP may be provided with a maximum number of UEs allowed to be accessed, that is, a threshold value of the number of UEs, and when the number of UEs accessed to the AP exceeds the threshold value, the AP determines that air interface connection with a certain UE or multiple UEs needs to be actively released; or when the processing performance of the AP itself is reduced, the AP determines that it is necessary to actively release the air interface connection with one or more UEs.
The AP may also determine whether to actively release an air interface connection with the UE according to a service or a function supported by the AP, for example, when the UE accessing the AP requests a service or a function that is not supported by the AP from the AP, the AP determines that the air interface connection with the UE needs to be actively released, so that the UE is connected to a network supporting the service or the function.
Step 402, the AP sends a UE leaving message carrying an identification of the UE needing to be disconnected to the gateway, for notifying the gateway which UEs have disconnected from the AP.
When the AP judges that the air interface connection with the UE needs to be actively released, the AP sends a UE leaving message carrying the MAC address or the IP address of the UE needing to be disconnected to the gateway so as to indicate which UEs of the gateway are disconnected from the network, so that the gateway can realize the current state of the UE needing to be disconnected.
Step 403, the AP sends an RRC connection release message to the UE needing to go offline, and releases the locally stored context of the UE and the resources allocated to the UE.
When the AP determines that the air interface connection with a certain UE or a plurality of UEs needs to be disconnected, the AP sends an RRC connection release message to the UE needing to be disconnected so as to inform the UE network side that the air interface connection with the UE is actively released, and the UE is prevented from continuously trying to access the AP again.
In step 404, the AP keeps data transmission or signaling interaction with the UE.
Example four
An embodiment of the present invention provides a method for offline processing, as shown in fig. 5, the method includes the following steps:
step 501, the AP determines whether to actively release the air interface connection with the UE, i.e. to actively disconnect the UE.
If yes, go to step 502, and go to step 505.
Specifically, the AP may determine whether to actively release air interface connection with the UE according to a resource occupation condition of the AP and a preset condition, for example, the AP may be provided with a maximum number of UEs allowed to be accessed, that is, a threshold value of the number of UEs, and when the number of UEs accessed to the AP exceeds the threshold value, the AP determines that air interface connection with a certain UE or multiple UEs needs to be actively released; or when the processing performance of the AP itself is reduced, the AP determines that it is necessary to actively release the air interface connection with one or more UEs.
The AP may also determine whether to actively release an air interface connection with the UE according to a service or a function supported by the AP, for example, when the UE accessing the AP requests a service or a function that is not supported by the AP from the AP, the AP determines that the air interface connection with the UE needs to be actively released, so that the UE is connected to a network supporting the service or the function.
Step 502, the AP sends a message to the gateway requesting release of the UE context, carrying the identity of the UE requiring offline, for notifying the gateway that the UE has disconnected from the AP.
When the AP judges that the air interface connection with the UE needs to be actively released, the AP sends a request release UE context message carrying the MAC address or the IP address of the UE needing to be disconnected to the gateway so as to inquire whether the gateway allows the AP to disconnect the air interface connection with the UE.
Step 503, the AP receives the context release command sent by the gateway, sends an RRC connection release message to the UE requiring to go offline, and releases the locally stored context of the UE requiring to go offline and the resources allocated to the UE.
When the AP receives a context release command sent by the gateway, the AP sends an RRC connection release message to the UE needing to be disconnected, so as to inform the UE that the network side actively releases the air interface connection with the UE, and the UE is prevented from continuously trying to access the AP again.
Step 504, the AP sends a release complete message to the gateway.
In step 505, the AP keeps data transmission or signaling interaction with the UE.
EXAMPLE five
An embodiment of the present invention provides a method for offline processing, as shown in fig. 6, the method includes the following steps:
step 601, the gateway receives a UE leaving message carrying an identification of the off-line UE sent by the AP, and/or the gateway receives a UE leaving message carrying an identification of the off-line UE sent by the AP.
And the gateway acquires the MAC address or the IP address carried in the UE leaving message and acquires the UE which is already disconnected or the UE which needs to be disconnected according to the MAC address or the IP address. It should be noted that the gateway cannot distinguish which UEs are offline and which UEs need to be offline, and the gateway defaults that in the UE leaving message, the UEs corresponding to the MAC address or the IP address are all the UEs that are offline.
Step 602, the gateway starts an off-line timer.
If the off-line timer times out, step 603 is performed.
The off-line timer and the timeout time are arranged in the gateway, wherein the timeout time can be preset in the gateway or can be set in an Operation, Administration and Maintenance (OAM) mode, and when the timing time of the off-line timer reaches the timeout time, the gateway determines that the context of the UE and the resources allocated to the UE can be released.
Step 603, the gateway releases the locally stored context of the corresponding UE and the resource allocated to the corresponding UE according to the identification in the UE leaving message.
EXAMPLE six
An embodiment of the present invention provides a method for offline processing, as shown in fig. 7, the method includes the following steps:
step 701, the gateway receives a request release UE context message carrying an identification of a UE requiring offline transmission sent by an AP.
The gateway acquires the MAC address or the IP address carried in the request release UE context message, and the gateway acquires the UE which is off-line and the UE which needs to be off-line according to the MAC address or the IP address. It should be noted that the gateway cannot distinguish which UEs are offline and which UEs need to be offline, and the gateway defaults that in the UE leaving message, the UEs corresponding to the MAC address or the IP address are all the UEs that are offline.
Step 702, the gateway starts an off-line timer.
If the off-line timer times out, step 704 is performed.
The gateway is internally provided with a offline timer and an overtime, wherein the overtime can be preset in the gateway or can be set in an OAM (operation administration and maintenance) mode, and when the timing time of the offline timer reaches the overtime, the gateway determines that the context of the UE and the resources allocated to the UE can be released.
In step 703, the gateway sends a release UE context command to the AP.
After receiving a request for releasing the UE context message sent by the AP for the UE, the gateway may send a release UE context command to the AP to notify the AP to delete the locally stored context of the UE and the resources allocated to the UE.
Step 704, the gateway releases the locally stored context of the corresponding UE and the resources allocated to the corresponding UE according to the identifier in the request release UE context message.
EXAMPLE seven
An embodiment of the present invention provides a method for offline processing, as shown in fig. 8, the method includes the following steps:
in step 801, the gateway receives a MAC/IP packet associated with a UE.
After the UE accesses the network, the UE interacts with the AP and the gateway in the form of an MAC packet or an IP packet, and the gateway can determine whether the UE is normally connected with the AP or not by judging whether the MAC packet with the source address or the destination address as the MAC address of the UE is received or not or judging whether the IP packet with the source address or the destination address as the IP address of the UE is received or not.
In step 802, the gateway determines whether the off-line timer for the UE starts to count.
If the offline timer has started counting, go to step 803, otherwise go to step 804.
And step 803, the gateway stops timing by the off-line timer and forwards the MAC/IP packet according to the destination address of the MAC/IP packet.
If the gateway receives the MAC/IP packet related to the UE, the connection between the UE and the AP and the gateway is normal, and the UE is not disconnected, the gateway needs to stop timing by the offline timer aiming at the UE at the moment, so that the situation that the gateway deletes the context and related resources of the UE which is not disconnected after the offline timer is overtime is avoided.
And step 804, the gateway forwards the MAC/IP packet according to the destination address of the MAC/IP packet.
If the gateway determines that the off-line timer is not started, the gateway may forward the MAC/IP packet according to the prior art procedure, which is not described herein again.
Example eight
An embodiment of the present invention provides a method for offline processing, as shown in fig. 9, the method includes the following steps:
step 901, the gateway receives an authentication request sent by the UE.
When the UE accesses the AP each time, the UE sends an authentication request to the AP, the authentication request carries an authentication identifier, safety information and the like of the UE, the AP forwards the authentication request to the gateway, and the gateway authenticates the UE according to the authentication request. The authentication identifier of the UE may be an IP address of the UE or an IMSI identifier of the UE.
In step 902, the gateway determines whether the context of the UE is stored locally.
If the gateway does not store the UE context locally, go to step 903, otherwise go to step 904
In this step, if the UE temporarily loses network due to leaving the coverage of the AP or the like, the gateway does not time out the network-losing timer for the UE, and the gateway also stores the context of the UE, so that the gateway can directly authenticate the UE through the locally stored authentication information of the UE when the UE last accesses the network. Specifically, the gateway may search whether the context of the UE is stored locally through a correspondence between the locally stored IP address or IMSI identity of the UE and the context of the UE.
Step 903, the gateway forwards the authentication request to the authentication server and judges whether the authentication is successful.
If the determination result is that the authentication is successful, go to step 905, otherwise go to step 908.
In this embodiment, the Authentication Server may be an AAA Server (Authentication Authorization Accounting Server), an HSS (Home Subscriber Server), and the like, after receiving the Authentication request of the UE, if the context of the UE is not stored locally, the gateway forwards the Authentication request of the UE to the Authentication Server, and the Authentication is performed by the Authentication Server, where the subsequent Authentication process is a prior art process and is not described herein again.
Step 904, the gateway judges whether the authentication is successful according to the context of the UE.
If the determination result is that the authentication is successful, go to step 905, otherwise go to step 908.
The gateway can inquire the authentication information stored in the context of the UE when the UE accesses the network last time, if the authentication information is successful, the gateway judges that the authentication is successful, and if the authentication information is failed, the gateway judges that the authentication is failed.
In step 905, the gateway determines whether the off-line timer for the UE starts to count time.
If the offline timer has started, step 906 is performed, otherwise step 907 is performed.
Step 906, the gateway stops timing by the off-line timer and sends an authentication success message to the UE.
If the authentication is successful, the connection between the UE and the AP and the gateway is normal, the gateway allows the UE to access the network, and the gateway needs to stop timing by the offline timer at the moment so as to avoid that the gateway deletes the context and related resources of the UE after the offline timer is overtime. Meanwhile, the gateway can also send an authentication success message to the UE to inform the UE that the gateway successfully authenticates the UE.
Step 907, the gateway sends an authentication success message to the UE.
Step 908, the gateway sends an authentication failure message to the UE.
Example nine
Based on the same inventive concept as the above method, an embodiment of the present invention further provides an AP, as shown in fig. 10, where the AP includes:
a judging module 11, configured to judge whether it is necessary to notify the gateway UE that the connection with the AP has been disconnected;
a sending module 12, configured to send, when the determining module 11 determines that it is necessary to notify the gateway that the UE has disconnected from the AP, a message carrying the identification of the UE to the gateway, and notify the gateway that the UE has disconnected from the AP.
The determining module 11 is specifically configured to determine whether the connection with the UE is disconnected, so as to determine whether it is necessary to notify the gateway UE that the connection with the AP is disconnected; or,
and judging whether the connection with the UE needs to be actively released or not so as to determine whether the gateway UE needs to be informed that the connection with the AP is disconnected or not.
The sending module 12 is specifically configured to send a UE leaving message carrying an identification of the UE to the gateway when the determining module 11 determines that the gateway UE needs to be notified that the UE is disconnected from the AP, and notify the gateway that the UE is disconnected from the AP; or,
when the determining module 11 determines that it is necessary to actively release the connection with the UE and determines that it is necessary to notify the gateway that the UE disconnects from the AP, it sends a UE leaving message carrying the UE identification identifier or a UE context release request message to the gateway, and notifies the gateway that the UE has disconnected from the AP.
Further comprising:
a receiving module, configured to receive a UE context release command sent by the gateway after the sending module sends a UE context release request message carrying the UE identification to the gateway;
the sending module 12 is further configured to send an RRC connection release message to the UE after sending a UE leave message carrying the UE identification to the gateway when the determining module 11 determines that the connection with the UE needs to be actively released; and the receiving module is further used for sending an RRC connection release message to the UE after receiving the UE context release command sent by the gateway.
Example ten
Based on the same inventive concept as the above method, an embodiment of the present invention further provides a gateway, as shown in fig. 11, where the apparatus includes:
a receiving module 21, configured to receive a message that is sent by an AP and carries an identification identifier of a UE;
a control module 22, configured to start an offline timer after the receiving module 21 receives the message carrying the UE identification sent by the AP;
a judging module 23, configured to judge whether the offline timer is overtime after the control module 22 starts the offline timer;
a releasing module 24, configured to release the locally stored context of the UE and the resource allocated to the UE when the determining module 23 determines that the offline timer is expired.
The receiving module 21 is specifically configured to receive a UE leaving message that is sent by the AP and carries the UE identification; and specifically, the UE context release request message is used to receive a request carrying the UE identity sent by the AP.
Further comprising:
a first sending module, configured to send a UE context release command to the UE when the receiving module receives a UE context release request message that is sent by the AP and carries the UE identity.
Further comprising:
the receiving module 21 is further configured to receive an MAC packet whose source address or destination address is an MAC address of the UE, and an IP packet whose source address or destination address is an IP address of the UE; and the authentication server is used for receiving an authentication request sent by the UE, wherein the authentication request carries an authentication identifier of the UE;
the authentication module is configured to authenticate the UE according to the authentication identifier when the receiving module 21 receives the authentication request sent by the UE;
the determining module 23 is further configured to determine whether the offline timer is started when the receiving module 21 receives the MAC packet or the IP packet; and the off-line timer is used for judging whether to start or not when the authentication module successfully authenticates the UE;
the control module 22 is further configured to close the offline timer when the determining module 23 determines that the offline timer is started;
a second sending module, configured to forward the MAC packet or the IP packet according to a destination address of the MAC packet or the IP packet when the receiving module 21 receives the MAC packet or the IP packet; and the authentication module is used for sending an authentication success message to the UE when the authentication module successfully authenticates the UE, and sending an authentication failure message to the UE when the authentication module fails to authenticate the UE.
The judging module 23 is further configured to judge whether the context of the UE is stored locally according to the authentication identifier;
the authentication module is specifically configured to authenticate the UE according to the context of the UE when the determining module 23 determines that the context of the UE is locally stored;
the second sending module is further configured to send an authentication request to an authentication server when the determining module 23 determines that the context of the UE is not stored locally.
Through the above description of the embodiments, those skilled in the art will clearly understand that the present invention may be implemented by software plus a necessary general hardware platform, and certainly may also be implemented by hardware, but in many cases, the former is a better embodiment. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute the methods according to the embodiments of the present invention.
Those skilled in the art will appreciate that the drawings are merely schematic representations of one preferred embodiment and that the blocks or flow diagrams in the drawings are not necessarily required to practice the present invention.
Those skilled in the art will appreciate that the modules in the devices in the embodiments may be distributed in the devices in the embodiments according to the description of the embodiments, and may be correspondingly changed in one or more devices different from the embodiments. The modules of the above embodiments may be combined into one module, or further split into multiple sub-modules.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
The above disclosure is only for a few specific embodiments of the present invention, but the present invention is not limited thereto, and any variations that can be made by those skilled in the art are intended to fall within the scope of the present invention.

Claims (26)

1. A method for handling a logout, comprising:
the access point AP judges whether the gateway user equipment UE needs to be informed that the connection with the AP is disconnected;
if the judgment result is yes, the AP sends a message carrying the identification mark of the UE to the gateway, and the gateway is informed that the UE is disconnected from the AP.
2. The method of claim 1, wherein the AP determining whether it needs to notify a gateway UE that the connection with the AP has been disconnected includes:
the AP judges whether the connection with the UE is disconnected; or,
and the AP judges whether the connection with the UE needs to be actively released or not.
3. The method according to claim 2, wherein when the AP determines that the connection with the UE is disconnected, the AP sends a message carrying the identity of the UE to the gateway, specifically including:
and the AP sends a UE leaving message carrying the identification mark of the UE to the gateway.
4. The method of claim 3, wherein the AP sends a UE leave message to the gateway carrying the UE's identity, and thereafter further comprising:
and the AP releases the locally stored context of the UE and the resources allocated to the UE.
5. The method according to claim 2, wherein when the AP determines that it is necessary to actively disconnect the connection with the UE, the AP sends a message carrying the identification of the UE to the gateway, specifically including:
the AP sends a UE leaving message carrying the identification of the UE to the gateway; or,
and the AP sends a request release UE context message carrying the identification mark of the UE to the gateway.
6. The method of claim 5, wherein the AP sends a UE leave message to the gateway carrying the UE's identity, and thereafter further comprising:
the AP sends an RRC connection release message to the UE to inform the UE of disconnecting from the AP;
and the AP releases the locally stored context of the UE and the resources allocated to the UE.
7. The method of claim 5, wherein the AP sends a request release UE context message carrying the UE's identity to the gateway, and thereafter further comprising:
the AP receives a UE context releasing command sent by the gateway;
the AP sends an RRC connection release message to the UE to inform the UE of disconnecting from the AP;
the AP releases the locally stored context of the UE and the resources allocated to the UE;
and the AP sends a release completion message to the gateway.
8. The method of any of claims 1, 3-7, wherein the identification is a MAC address or an IP address of the UE.
9. A method for handling a logout, comprising:
a gateway receives a message which is sent by an AP and carries an identification mark of UE;
the gateway starts a offline timer;
and when the gateway judges that the offline timer is over time, the gateway releases the locally stored context of the UE and the resources allocated to the UE.
10. The method according to claim 9, wherein the gateway receiving the message carrying the UE identity sent by the AP specifically includes:
the gateway receives a UE leaving message which is sent by the AP and carries the identification mark of the UE; or,
and the gateway receives a request release UE context message which is sent by the AP and carries the identification mark of the UE.
11. The method of claim 10, wherein the gateway receives a request release UE context message carrying the UE identity sent by the AP, and thereafter further comprises:
the gateway sends a UE context releasing command to the AP;
and the gateway receives a release completion message sent by the AP.
12. The method according to any of claims 9-11, wherein the identification is a MAC address or an IP address of the UE.
13. The method of claim 9, wherein the method further comprises:
when the gateway receives an MAC packet with a source address or a destination address as the MAC address of the UE or receives an IP packet with a source address or a destination address as the IP address of the UE, the gateway judges whether the offline timer is started or not;
if the judgment result is yes, the gateway closes the off-line timer, and forwards the MAC packet or the IP packet according to the destination address of the MAC packet or the IP packet;
and if the judgment result is negative, the gateway forwards the MAC packet or the IP packet according to the destination address of the MAC packet or the IP packet.
14. The method of claim 9, wherein the method further comprises:
when the gateway receives an authentication request sent by the UE, the gateway acquires an authentication identifier of the UE carried in the authentication request;
the gateway authenticates the UE according to the authentication identifier;
if the authentication is successful, the gateway judges whether the off-line timer is started, if the judgment result is that the off-line timer is started, the gateway closes the off-line timer to time and sends an authentication success message to the UE, and if the judgment result is that the off-line timer is not started, the gateway sends the authentication success message to the UE;
and if the authentication fails, the gateway sends an authentication failure message to the UE.
15. The method of claim 14, wherein the gateway authenticates the UE according to the authentication identifier, and specifically comprises:
the gateway judges whether the context of the UE is stored locally or not according to the authentication identifier;
if the judgment result is yes, the gateway authenticates the UE according to the authentication information of the UE recorded in the context of the UE;
and if the gateway judges that the context of the UE is not stored locally, the gateway forwards the authentication request to an authentication server and receives an authentication result sent by the authentication server.
16. The method according to claim 14 or 15, wherein the authentication identity is an IP address or an IMSI of the UE.
17. The method of claim 15, wherein the authentication information is authentication success or authentication failure, and the authentication result is authentication success or authentication failure.
18. An AP, comprising:
the judging module is used for judging whether the gateway UE needs to be informed that the connection with the AP is disconnected;
and the sending module is used for sending a message carrying the identification mark of the UE to the gateway when the judging module judges that the gateway UE needs to be informed that the connection with the AP is disconnected, and informing the gateway that the connection with the AP is disconnected.
19. The AP of claim 18,
the judging module is specifically configured to judge whether the connection with the UE is disconnected, so as to determine whether it is necessary to notify a gateway that the UE has disconnected from the AP; or,
and judging whether the connection with the UE needs to be actively released or not so as to determine whether the gateway UE needs to be informed that the connection with the AP is disconnected or not.
20. The AP of claim 19,
the sending module is specifically configured to send a UE leaving message carrying an identification of the UE to the gateway when the determining module determines that the gateway UE needs to be notified that the UE is disconnected from the AP, and notify the gateway that the UE is disconnected from the AP; or,
when the judging module judges that the connection with the UE needs to be actively released and determines that the gateway UE needs to be informed of disconnecting from the AP, the judging module sends a UE leaving message carrying the identification mark of the UE or a message requesting to release the UE context to the gateway and informs the gateway that the UE is disconnected from the AP.
21. The AP of claim 20, further comprising:
a receiving module, configured to receive a UE context release command sent by the gateway after the sending module sends a UE context release request message carrying the UE identification to the gateway;
the sending module is further configured to send an RRC connection release message to the UE after sending a UE leave message carrying the UE identification to the gateway when the determining module determines that the connection with the UE needs to be actively released; and the receiving module is further used for sending an RRC connection release message to the UE after receiving the UE context release command sent by the gateway.
22. A gateway, comprising:
the receiving module is used for receiving a message which is sent by the AP and carries the identification mark of the UE;
the control module is used for starting an offline timer after the receiving module receives the message which is sent by the AP and carries the identification mark of the UE;
the judging module is used for judging whether the offline timer is overtime or not after the control module starts the offline timer;
and the releasing module is used for releasing the locally stored context of the UE and the resources allocated to the UE when the judging module judges that the offline timer is overtime.
23. The gateway of claim 22,
the receiving module is specifically configured to receive a UE leaving message that is sent by the AP and carries the UE identification; and specifically, the UE context release request message is used to receive a request carrying the UE identity sent by the AP.
24. The gateway of claim 23, further comprising:
a first sending module, configured to send a UE context release command to the UE when the receiving module receives a UE context release request message that is sent by the AP and carries the UE identity.
25. The gateway of claim 22, further comprising:
the receiving module is further configured to receive an MAC packet whose source address or destination address is an MAC address of the UE and an IP packet whose source address or destination address is an IP address of the UE; and the authentication server is used for receiving an authentication request sent by the UE, wherein the authentication request carries an authentication identifier of the UE;
the authentication module is used for authenticating the UE according to the authentication identifier when the receiving module receives an authentication request sent by the UE;
the judging module is further configured to judge whether the offline timer is started or not when the receiving module receives the MAC packet or the IP packet; and the off-line timer is used for judging whether to start or not when the authentication module successfully authenticates the UE;
the control module is further used for closing the offline timer when the judging module judges that the offline timer is started;
a second sending module, configured to forward the MAC packet or the IP packet according to a destination address of the MAC packet or the IP packet when the receiving module receives the MAC packet or the IP packet; and the authentication module is used for sending an authentication success message to the UE when the authentication module successfully authenticates the UE, and sending an authentication failure message to the UE when the authentication module fails to authenticate the UE.
26. The gateway of claim 25,
the judging module is further configured to judge whether the context of the UE is stored locally according to the authentication identifier;
the authentication module is specifically configured to authenticate the UE according to the context of the UE when the determination module determines that the context of the UE is locally stored;
the second sending module is further configured to send an authentication request to an authentication server when the determining module determines that the context of the UE is not locally stored.
CN2012101704760A 2012-05-29 2012-05-29 Off-line processing method and equipment Pending CN103458499A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2012101704760A CN103458499A (en) 2012-05-29 2012-05-29 Off-line processing method and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2012101704760A CN103458499A (en) 2012-05-29 2012-05-29 Off-line processing method and equipment

Publications (1)

Publication Number Publication Date
CN103458499A true CN103458499A (en) 2013-12-18

Family

ID=49740349

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2012101704760A Pending CN103458499A (en) 2012-05-29 2012-05-29 Off-line processing method and equipment

Country Status (1)

Country Link
CN (1) CN103458499A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103945562A (en) * 2014-04-04 2014-07-23 哈尔滨工业大学 Off-line and on-line switching and information transmission method under TD-LTE based on group
CN104936152A (en) * 2014-03-17 2015-09-23 成都鼎桥通信技术有限公司 Terminal in cluster system, and authorization method for terminal
WO2017000683A1 (en) * 2015-06-30 2017-01-05 中兴通讯股份有限公司 Method and device for wireless terminal management
WO2017127959A1 (en) * 2016-01-25 2017-08-03 广东欧珀移动通信有限公司 Method and device for controlling detachment of mobile terminal

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1465166A (en) * 2001-07-24 2003-12-31 株式会社Ntt都科摩 Connection cutting method and associated link cut reporting method
CN101090332A (en) * 2006-06-12 2007-12-19 华为技术有限公司 Network-off method for terminal at normal mode
US20080062968A1 (en) * 2006-09-08 2008-03-13 Kabushiki Kaisha Toshiba Mobile radio terminal and mobile telephone
CN101895458A (en) * 2009-05-18 2010-11-24 大唐移动通信设备有限公司 Method and system for releasing packet data network connection, and data gateway

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1465166A (en) * 2001-07-24 2003-12-31 株式会社Ntt都科摩 Connection cutting method and associated link cut reporting method
CN101090332A (en) * 2006-06-12 2007-12-19 华为技术有限公司 Network-off method for terminal at normal mode
US20080062968A1 (en) * 2006-09-08 2008-03-13 Kabushiki Kaisha Toshiba Mobile radio terminal and mobile telephone
CN101895458A (en) * 2009-05-18 2010-11-24 大唐移动通信设备有限公司 Method and system for releasing packet data network connection, and data gateway

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104936152A (en) * 2014-03-17 2015-09-23 成都鼎桥通信技术有限公司 Terminal in cluster system, and authorization method for terminal
CN104936152B (en) * 2014-03-17 2019-03-08 成都鼎桥通信技术有限公司 Terminal and its authorization method in a kind of group system
CN103945562A (en) * 2014-04-04 2014-07-23 哈尔滨工业大学 Off-line and on-line switching and information transmission method under TD-LTE based on group
WO2017000683A1 (en) * 2015-06-30 2017-01-05 中兴通讯股份有限公司 Method and device for wireless terminal management
CN106332127A (en) * 2015-06-30 2017-01-11 中兴通讯股份有限公司 Wireless terminal management method and device
WO2017127959A1 (en) * 2016-01-25 2017-08-03 广东欧珀移动通信有限公司 Method and device for controlling detachment of mobile terminal
US10470151B2 (en) 2016-01-25 2019-11-05 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Method and device for controlling detachment of mobile terminal
US11082943B2 (en) 2016-01-25 2021-08-03 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Method and device for controlling detachment of mobile terminal

Similar Documents

Publication Publication Date Title
US10582522B2 (en) Data transmission and reception method and device of terminal in wireless communication system
KR101339044B1 (en) Handling reachability of mobile device when serving core network node changes
US8874112B2 (en) Service dependent inactivity timer
JP2023022284A (en) Ue and method of ue
US10681637B2 (en) Method and apparatus for transmitting and receiving data, by terminal, in wireless communication system
CN103298110B (en) A kind of method and system of triggering MTC device
CN108632953A (en) A kind of method and device for realizing multiple access management
US9363834B2 (en) Method, user equipment and system for maintaining a large number of connections
EP2911443A1 (en) Method and device for controlling data transmission via signaling by user equipment
JP7156486B2 (en) Method and user equipment
CN114915614B (en) Method and device for recovering IMS service
KR20220091555A (en) Connection processing method and communication equipment
US20200029206A1 (en) Inactive state security support in wireless communications system
US11895533B2 (en) Method for controlling connection between terminal and network, and related apparatus
US11689565B2 (en) Device monitoring method and apparatus and deregistration method and apparatus
US10827557B2 (en) Network access control method and apparatus
KR102387582B1 (en) Method and apparatus for managing a pdn connection in a wireless communication system
US9049614B2 (en) Method and device for handling mobility management context
US20130150008A1 (en) Method and apparatus for signaling trace
CN103458499A (en) Off-line processing method and equipment
US20240129843A1 (en) Slice admission control method and communication apparatus
CN101867931A (en) Device and method for realizing non access stratum in wireless communication system
US12052792B2 (en) Passive mode transition for user equipment based on control plane monitoring
EP4044763A1 (en) Communication method and related device
KR102442520B1 (en) Responding method and server of denial of service attack in radio resource control connection

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20131218

RJ01 Rejection of invention patent application after publication