CN110519840B - Session processing method and device, network element and storage medium - Google Patents

Session processing method and device, network element and storage medium Download PDF

Info

Publication number
CN110519840B
CN110519840B CN201810491213.7A CN201810491213A CN110519840B CN 110519840 B CN110519840 B CN 110519840B CN 201810491213 A CN201810491213 A CN 201810491213A CN 110519840 B CN110519840 B CN 110519840B
Authority
CN
China
Prior art keywords
session
temporary
temporary session
mode
indication
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
Application number
CN201810491213.7A
Other languages
Chinese (zh)
Other versions
CN110519840A (en
Inventor
李爱华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Mobile Communications Group Co Ltd
China Mobile Communications Ltd Research Institute
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile Communications Ltd Research Institute
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 Mobile Communications Group Co Ltd, China Mobile Communications Ltd Research Institute filed Critical China Mobile Communications Group Co Ltd
Priority to CN201810491213.7A priority Critical patent/CN110519840B/en
Priority to PCT/CN2019/083752 priority patent/WO2019223477A1/en
Publication of CN110519840A publication Critical patent/CN110519840A/en
Application granted granted Critical
Publication of CN110519840B publication Critical patent/CN110519840B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W60/00Affiliation to network, e.g. registration; Terminating affiliation with the network, e.g. de-registration
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/30Connection release
    • H04W76/38Connection release triggered by timers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W80/00Wireless network protocols or protocol adaptations to wireless operation
    • H04W80/08Upper layer protocols
    • H04W80/10Upper layer protocols adapted for application session management, e.g. SIP [Session Initiation Protocol]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the invention discloses a session processing method and device, a network element and a storage medium. The session processing method can comprise the following steps: the access management function determines a session mode of User Equipment (UE) in a registration process of the UE, wherein the session mode comprises the following steps: a temporary session mode corresponding to the temporary session and a regular session mode corresponding to the regular session.

Description

Session processing method and device, network element and storage medium
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a session processing method and apparatus, a network element, and a storage medium.
Background
When communication is performed using a network, it is sometimes necessary to establish a session and then perform communication using the established session. For example, an Internet of things (IoT) terminal is a terminal device using a network. A typical IoT terminal may include: intelligent water gauge, intelligent door and window etc.. When using the IoT terminal, it is discovered that sometimes the IoT terminal with weak processing capability cannot meet the requirement of the session, or the IoT terminal occupies a large amount of session resources.
Disclosure of Invention
In view of this, embodiments of the present invention are intended to provide a session processing method and apparatus, a network element, and a storage medium.
The technical scheme of the invention is realized as follows:
a session processing method, comprising:
an Access Management Function (AMF) determines a session mode of a User Equipment (UE) during a registration process of the UE, wherein the session mode includes: a temporary session mode corresponding to the temporary session and a regular session mode corresponding to the regular session.
Optionally, the session mode includes: a temporary session mode corresponding to the temporary session and a regular session mode corresponding to the regular session.
Optionally, the method further comprises:
and if the Session mode is the temporary Session mode, sending a temporary Session indication to a Session Management Function (SMF).
Optionally, the method further comprises: and sending the temporary session indication to the UE.
Optionally, the indication of the temporary session is further used for sending, by the SMF, a User Plane Function (UPF).
Optionally, the temporary session indication is used for the SMF to start a timer for temporary session release; and/or the temporary session indication is used for the UPF to start a timer for releasing the temporary session.
Optionally, the method further comprises:
starting a timer;
and if the timer is overtime and no data message is detected, releasing the temporary session.
Optionally, the method further comprises:
and releasing the temporary session according to the terminal indication.
Optionally, the releasing the temporary session includes at least one of:
the AMF releases the temporary session;
the AMF sends a notification to the SMF to release the temporary session.
Optionally, the notification is used for the SMF to send to the UPF, so that the UPF releases the temporary session.
Optionally, the method further comprises:
receiving a notification of releasing the temporary session sent by the SMF;
and releasing the temporary session according to the notification.
Optionally, in the registration process of the UE, the determining, by an access management function AMF, a session mode of the UE includes:
determining the session mode according to a Mobile-terminal-Only Connection (MICO) mode, subscription data, a local configuration of the AMF, a local policy of the AMF, or an indication of the terminal. The indication of the terminal may be various indications provided by the terminal during a registration procedure or a session procedure. For example, the indication of the terminal may be an indication carried by a registration message. Optionally, the determining the session mode according to a mobile-terminal-only connection MICO mode, subscription data, a local configuration of the AMF, a local policy of the AMF, or an indication of the terminal includes at least one of:
if the terminal negotiates to use the MICO mode in the registration process, determining to adopt a temporary session mode;
if the subscription data of the terminal indicates a temporary session, determining to adopt a temporary session mode;
if the local configuration or the local strategy of the AMF indicates a temporary session, determining to adopt a temporary session mode;
and if the terminal carries the indication of the temporary session in the registration process, determining to adopt a temporary session mode.
A session processing method, comprising:
the SMF receives the temporary session indication sent by the AMF.
Optionally, the method further comprises:
receiving a notice that the AMF sends the temporary session release;
and releasing the temporary session.
Optionally, the method further comprises:
and sending a notice for releasing the temporary session to the UPF.
The method further comprises the following steps:
starting a timer according to the temporary session instruction;
and if the timer is overtime and no data message is detected, releasing the temporary session.
The method further comprises the following steps:
and releasing the temporary session according to the terminal indication.
Optionally, the releasing the temporary session comprises at least one of:
the SMF releases the temporary session;
the SMF sends a notice of releasing the temporary session to the AMF;
and the SMF sends a notice for releasing the temporary session to the UPF.
Optionally, the method further comprises:
and sending the temporary session indication to the UPF.
A session processing method, comprising:
and the UPF receives the temporary session indication sent by the SMF.
The method further comprises the following steps:
starting a timer according to the temporary session indication;
and if the timer is overtime and no data message is detected, releasing the temporary session.
The method further comprises the following steps:
receiving a notification sent by the SMF for releasing the temporary session;
and releasing the temporary session according to the notification.
Optionally, the method further comprises:
if the Protocol Data Unit (PDU) session type of the temporary session is an Internet Protocol (IP) type, replacing a source address in a Data message with an IP address allocated to the terminal by the SMF.
A session processing apparatus comprising:
a determining module, configured to determine, by the AMF, a session mode of a user equipment UE during registration of the UE, where the session mode includes: a temporary session mode corresponding to the temporary session and a regular session mode corresponding to the regular session.
A session processing apparatus, comprising:
and the receiving module is used for receiving the temporary session indication sent by the AMF by the SMF.
A session processing apparatus, comprising:
and the receiving module is used for receiving the temporary session indication sent by the SMF by the UPF.
A network element, comprising:
a transceiver for receiving and transmitting a signal from the wireless communication device,
a memory for storing a plurality of data to be transmitted,
and the processor is respectively connected with the transceiver and the memory and is used for executing the executable instructions stored on the memory and controlling the information transmission and reception of the transceiver and the information storage of the memory, and the conversation processing method provided by any one of the technical schemes.
A computer storage medium having stored thereon computer-executable instructions; after being executed, the computer-executable instructions can combine the conversation processing method provided by any technical scheme.
In the technical scheme provided by the embodiment of the invention, the AMF can determine the session mode of the session to be established, and know whether the currently established session is the temporary session mode corresponding to the temporary session or the conventional session mode corresponding to the conventional session according to the determined session mode; therefore, communication resources occupied by the temporary session can be released in time according to the session mode, so that the waste of resources is reduced, and the effective utilization rate of the resources is improved; meanwhile, the determination of the temporary session mode is determined by the AMF, and the processing capacity of the terminal does not need to be enhanced, so that the processing capacity requirement on the terminal is reduced.
Drawings
Fig. 1A is a schematic flowchart of a first session processing method according to an embodiment of the present invention
Fig. 1B is a schematic flowchart of a second session processing method according to an embodiment of the present invention;
fig. 2 is a schematic flowchart of a third session processing method according to an embodiment of the present invention;
fig. 3 is a schematic flowchart of a fourth session processing method according to an embodiment of the present invention;
fig. 4 is a flowchart illustrating a fifth session processing method according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a session processing apparatus according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a network element according to an embodiment of the present invention;
fig. 7 is a flowchart illustrating a sixth session processing method according to an embodiment of the present invention;
fig. 8 is a flowchart illustrating a seventh session processing method according to an embodiment of the present invention;
fig. 9 is a flowchart illustrating an eighth session processing method according to an embodiment of the present invention;
fig. 10 is a flowchart illustrating a ninth session processing method according to an embodiment of the present invention. .
Detailed Description
The technical solution of the present invention is further described in detail with reference to the drawings and the specific embodiments of the specification.
In the fifth generation mobile communication (5G), before transmitting a data packet, a terminal may need to interact with a Radio Access Network (RAN), a Core Network (Core Network, CN), and the like to establish an end-to-end session, and then transmit the data packet by using the session. For example, IoT terminals communicate using a 5G network. IoT is a low-energy-consumption terminal compared to advanced terminals such as mobile phones, and as the session establishment is complicated, on the one hand, the processor of the IoT terminal is required to have higher processing capability, but this will certainly lead to the increase of the hardware cost of the IoT terminal. On the other hand, if the IoT terminal does not have more complex processing capability, it may be that a large number of PDU sessions of the IoT terminal are established in the RAN or CN, resulting in a large amount of network resources being occupied in the network. Therefore, in the embodiment of the present invention, if the AMF that manages and controls the IoT terminal to access detects that the IoT terminal has data to send, it may determine the session mode that the IoT terminal is currently about to establish a session; if the session mode is the temporary session mode, the AMF informs the network elements related to session establishment of the temporary session indication, such as the SMF, the UPF, and the like, so that the SMF and the UPF can release the temporary session in time after the temporary session is ended, thereby releasing network resources occupied by the temporary session, thereby reducing the constant consumption of network resources, and meanwhile, the judgment of the temporary session indication is determined by the AMF, so that the processing capability of the IoT terminal does not need to be enhanced, and the low cost of the IoT terminal can be maintained. Or, the AMF may automatically trigger the release of the temporary session according to the determined temporary session indication, if the established temporary session is a temporary session, for example, trigger the self-release of the temporary session, trigger the SMF and/or the UPF to release the temporary session. In summary, if the AMF determines that the established session is the temporary session, the AMF performs a predetermined operation related to the temporary session, including: sending of an indication of the temporary session, triggering of a release of the temporary session, triggering of a deletion of a context of the temporary session. Here, an IoT terminal is taken as an example for description, and in a specific implementation, a terminal that needs to establish a session is not limited to an IoT terminal, and may be, for example, a mobile phone, a tablet, or a wearable device that a user holds.
The embodiment provides a session processing method, which includes:
the AMF determines a session mode, for example, as shown in fig. 1A, the method may include: step S101: the AMF determines a session mode of the UE in a UE registration process. It should be noted that the AMF determines the session mode not only during the registration process, but also during the UE request session.
The session mode may include: a temporary session mode or a regular session mode. The temporary session mode corresponds to a temporary session; the regular conversation mode corresponds to a regular conversation.
As shown in fig. 1B, the method further comprises:
step S120: and if the session mode is the temporary session mode, sending a temporary session indication to the SMF.
Optionally, the step S120 may include: and if the session mode is a temporary session mode, sending the temporary session indication to the SMF in the session establishment process.
When receiving a session request, the AMF determines whether a session requested to be established is a temporary session or a regular session, so as to determine a session mode corresponding to the session requested to be established currently.
The temporary session may be: the session temporarily established by the user terminal generally has a short and unfixed session duration.
The regular session may be a session other than the temporary session. In some embodiments, the regular session may be divided into: a permanent session or a fixed duration session. In this embodiment, in order to avoid the problem of resource waste caused by the fact that resources occupied by the establishment of the temporary session cannot be cancelled in time, when the communication device such as the UE does not directly or indirectly specify the duration of the temporary session, a temporary session indication may be sent to the SMF according to the established temporary session indication, so that the SMF may conveniently grasp the temporary session indication of the currently established session according to the temporary session indication on the one hand, and on the other hand, may perform subsequent session processing operations according to the temporary session indication, for example, perform a release operation of the temporary session in time, for example, maintain the corresponding session. The maintenance here may include regular maintenance or non-regular maintenance, for example, detecting a data transmission amount of the corresponding session, and appropriately adjusting the communication resources occupied by the corresponding session, for example, adjusting communication resource parameters such as an amount of the occupied communication resources, and a type of the occupied communication resources, so as to achieve the purpose of improving communication quality of the session, while ensuring that unnecessary resource waste is reduced and effective utilization of the resources is improved.
Optionally, the step S110 may include: the AMF determines whether a session to be established is a temporary session or a regular session.
In the present embodiment, it is to be distinguished at least whether the session to be currently established is a temporary session or a regular session. If the session to be established is a temporary session, the session mode is determined.
After the temporary session indication is determined, the AMF sends a temporary session indication to the SMF according to the temporary session indication, so that the AMF informs the SMF or the UPF that the currently established session is the temporary session, the SMF or the UPF triggers the release of the temporary session in time, and the problem of resource waste caused by the fact that various resources occupied by the temporary session cannot be released in time is solved.
In step S120 in this embodiment, the temporary session indication is sent to the SMF only when the session mode is the temporary session mode, and in some embodiments, only the temporary session indication of the specific type session is notified to the SMF, so that the session that does not send the temporary session indication is the normal session, and thus, the signaling overhead generated by notifying the normal session mode can be reduced.
In some implementations, the step S110 may include: and the AMF determines the session mode in the terminal registration process.
Thus, when the terminal registers to the network, the AMF confirms which session mode the terminal needs to establish.
The step S110 may include: and determining the session mode according to at least one of a connection MICO mode initiated by the mobile terminal only, subscription data, local configuration of the AMF, local policy of the AMF and a registration message. Optionally, the step S110 may include at least one of:
if the terminal has negotiated to use a Mobile Initiated Connection Only (MICRO) mode in the registration, determining that the temporary session indication is the temporary session establishment;
if the subscription data of the terminal indicates a temporary session, determining to adopt a temporary session mode;
if the local configuration or the local strategy of the AMF indicates a temporary session, determining to adopt a temporary session mode;
and if the terminal carries the indication of the temporary session in the registration process, determining to adopt a temporary session mode.
In some implementations, the step S110 further includes:
if the terminal does not use the MIMO mode in registration, the subscription data does not indicate a temporary session, the local configuration of the AMF or the local policy does not indicate a temporary session, and the registration message of the terminal does not carry the temporary session indication, the session mode corresponding to the current session may be considered as the normal session mode.
For example, if the subscription Data of the terminal indicates that a Data Network Name (DNN) used by the session requested to be established by the terminal corresponds to the temporary session, the temporary session indicates that the temporary session is established;
and if the local configuration or the local policy of the AMF indicates that the session to be established is the temporary session, determining the session to be in the temporary session mode.
For example, if the AMF receives an indication of a temporary session sent by the terminal through a Non Access Stratum (NAS) message, the temporary session indication is a temporary session setup. The NAS message may be sent by various terminals, e.g., an IoT terminal.
The AMF may perform data query in a cache or other network elements, and if it is queried that the terminal has negotiated to use the only MICO mode in registration, determine that a session currently required to be established is a temporary session, where the temporary session is indicated as temporary session establishment, rather than conventional session establishment.
The AMF may query the subscription data of the terminal currently initiating the session establishment request in the subscription database or the unified database, and automatically consider that the terminal currently requested to establish is a temporary session if the subscription data of the terminal indicates or indicates a temporary session corresponding to the DNN subscribed by the terminal, so that it may be determined that the temporary session indicates temporary session establishment.
The AMF may configure various session establishment policies locally, for example, configure a session establishment policy of UE granularity or UE group granularity, or a session establishment policy of DNN granularity or a session establishment policy of PDU granularity, and according to the session policy, may determine whether a session that needs to be established currently is a temporary session or a regular session. For example, the locally configured policy may be provided with: the corresponding relation between DNN and the session type and the corresponding relation between PDU and the temporary session can determine the temporary session indication according to the DNN or PDU used by the current terminal and the local configuration strategy. The local configuration Policy may be a Policy that the AMF receives a fault from a Policy Control Function (PCF) and stores the fault in the AMF, or a Policy that a network element such as a UE automatically reports to the AMF, and may also enable the network management device to be directly configured in the AMF.
In this embodiment, the registration message may be any message sent by the terminal in the registration process. Such as NAS messages sent by the terminal. And adding a bit of a temporary session indication in the registration message, wherein the bit is a first value, indicating to establish the temporary session, otherwise, determining that the session needing to be established is a non-temporary session. The bit may be one of the reserved bits in the registration message, etc., e.g., the bit may be one or more of the reserved bits in the NAS message, etc.
The NAS message may be a message that is directly sent by the terminal to the AMF, and the base station only passes the NAS message sent by the terminal to the AMF. The NAS message may be one of the aforementioned registration messages, which may be a registration request and/or an attach request of the terminal, etc.
In some embodiments, the method further comprises: and the AMF sends the temporary session indication to the UE to inform the establishment of the temporary session.
Optionally, the releasing the temporary session may include at least one of:
releasing resources occupied by the temporary session;
the context of the temporary session is deleted.
The AMF releases the temporary session and deletes the context of the temporary session based on a timer; the timer may be a timer for timing a duration of the temporary session, and if the timer is overtime, it may be considered that the time for deleting the context of the temporary session is reached, that is, the context of the corresponding temporary session is deleted, so that the cache space of the AMF occupied by the context of the temporary session which is no longer needed is reduced.
The AMF releases the temporary session based on the timing of a timer. Releasing the temporary session in this embodiment includes: and releasing the resources occupied by the temporary session, wherein the resources can comprise: network resources, storage resources and computing resources, where the network resources may be used for transmission of signaling and/or data corresponding to the temporary session, and the storage resources may include: storage resources such as storage resources for storing the context of the temporary session, storage resources for caching the session data packet of the temporary session, and the like; the computing resources can be various processing resources, for example, the computing resources for performing packet processing and routing forwarding, and the resources of the temporary session can be used for other sessions after being released, so that the problem of low effective utilization rate of the resources caused by long-term resource occupation but no use is solved, and the effective utilization rate of the resources is improved.
In some embodiments, the AMF sends the first predetermined information to the SMF according to the indication of the temporary session, where the first predetermined information may be the aforementioned indication of the temporary session, or may be indication information indicating to release the temporary session. If the SMF receives the temporary session indication, if the temporary session indication is the temporary session type, a timer is automatically set up, and the time for releasing the temporary session is automatically determined based on the timing of the timer. If the AMF sends the indication information to the SMF, the SMF does not need to set a timer, and the temporary session can be released when the indication information is received.
As shown in fig. 2, the present embodiment provides a session processing method, including:
step S110: the AMF determines a session mode;
step S121: if the session mode is a temporary session mode, starting a timer;
step S130: and if the timer is overtime and no data message is detected, releasing the temporary session.
Here, the timer timeout is: the timing duration of the timer exceeds the preset duration; the detected message without data is as follows: and if the message sent by the terminal or the message sent to the terminal is not received within the time counted by the timer, releasing the temporary session.
In some embodiments, the method further comprises:
updating the timer; and if the data message transmitted in the temporary session is received, restarting the timer until one timer is overtime and the data message is not received within the timing time of the timer, and releasing the temporary session.
In some implementations the method further comprises:
and releasing the temporary session according to the terminal instruction.
For example, the terminal may release the temporary session according to the terminal instruction through a special dedicated release message or by carrying information such as a release instruction of the temporary session in a data message. For example, when the terminal performs the temporary session, it indicates that this is the last packet of the session in the last data packet transmitted, and the AMF may release the temporary session according to the packet.
In still other embodiments, the method further comprises:
step S140: the AMF sends a notification to the SMF to release the temporary session release.
Thus, the SMF releases the corresponding temporary session after receiving the notification. In some implementations, the notification carries a session identifier of the temporary session that needs to be released, so that the SMF determines which temporary session needs to be released. In some embodiments, the AMF sends the notification directly using the control plane of the temporary session that needs to be released, so that the SMF knows the corresponding temporary session that needs to be released when receiving the notification.
In some embodiments, the SMF also forwards a notification sent by the AMF to release the temporary session to the UPF to trigger the UPF to also release the corresponding temporary session.
The SMF is informed by the AMF and/or the UPF is informed by the SMF, the SMF and the UPF do not need to set a timer, and the temporary session can be released directly according to the notice sent by the AMF, so that the SMF and the UPF do not need to be modified, and the compatibility with the prior art is strong.
In some implementations, the AMF does not set a timer, but the SMF starts the timer after receiving the indication of the temporary session, and if the timer expires and no data packet is detected or the terminal indicates to release the temporary session, the SMF releases the temporary session and sends a notification of releasing the temporary session to the AMF, so that the AMF may also release the temporary session based on the notification of the SMF.
As shown in fig. 3, the present embodiment provides a session processing method, including:
step S210: the SMF receives a temporary session indication from the AMF. For example, the temporary session indication sent by the AMF is received in a session establishment procedure.
In some embodiments, the method further comprises:
and sending the temporary session indication to the UPF.
In this embodiment, the SMF receives the indication of the temporary session from the AMF, so that the SMF knows that the current session mode is the temporary session mode. In some embodiments, the method may further comprise: the indication of the temporary session is further informed to the UPF, so that the UPF can know that the current session mode is the temporary session mode according to the temporary session.
Optionally, the method further comprises:
the SMF starts a timer according to the temporary session instruction;
and if the timer is overtime and no data message is detected, releasing the temporary session.
Optionally, the method further comprises:
and the SMF releases the temporary session based on the terminal indication.
Optionally, the method further comprises:
the SMF sends a notice of releasing the temporary session to the AMF; and/or the SMF sends a notice of releasing the temporary session to the UPF.
The AMF, SMF and UPF release temporary session may include at least one of:
releasing resources occupied by the temporary session;
delete the context of the temporary session, etc.
As shown in fig. 4, the present embodiment provides a session processing method, including:
step S310: and the UPF receives the temporary session indication sent by the SMF.
In some embodiments, the method further comprises:
the UPF receives a notice of releasing the temporary session sent by the AMF;
and releasing the temporary session according to the notification. The notification may be generated by the SMF itself, and the client is received by the SMF from the AMF and forwarded to the UPF.
In other embodiments, the method further comprises:
starting a timer according to the temporary session indication;
and if the timer is overtime and no data message is detected, releasing the temporary session.
And after receiving the temporary session indication, the UPF automatically starts a timer according to the temporary session indication, and if the timer is overtime and the data message is not detected, the temporary session is released.
In some embodiments, the method further comprises:
optionally, the method further comprises: and if the PDU session type of the temporary session is a network protocol (IP) type, replacing the source address in the data message with the IP address distributed by the SMF for the terminal. The current session type may include session types for IP address based transport as well as session types for non-IP address based transport, e.g., session types for tunnel-based identification transport and/or session types for virtual local area network transport. If the current session type is an IP type, the source address in the message needs to be replaced by the IP address allocated by the SMF, and the IP address may be IPv4, IPv6, or IPv4 and IPv 6.
As shown in fig. 5, the present embodiment provides a session processing apparatus, which can be applied in an AMF, and includes:
a determining module 110, configured to determine the session mode by the AMF. For example, the determining module 110 may be specifically configured to determine, by the AMF, a session mode of a user equipment UE during a registration procedure of the UE, where the session mode includes: a temporary session mode corresponding to the temporary session and a regular session mode corresponding to the regular session.
Optionally, the apparatus further comprises:
a sending module 120, configured to send the indication of the temporary session to a session management function SMF. The sending module 120 may be configured to send, by the AMF, the temporary session indication to the SMF during session establishment. If the SMF sends the temporary session indication to the UPF, the SMF may also send the temporary session indication to the UPF in the session establishment process.
In some embodiments of the present invention, the,
the session mode includes: a temporary session mode corresponding to the temporary session and a regular session mode corresponding to the regular session.
Optionally, the sending module 120 is further configured to send a temporary session indication to a session management function SMF if the session mode is a temporary session mode. For example, the sending module 120 is specifically configured to send a temporary session indication to the session management function SMF in a session establishment process if the session mode is the temporary session mode.
Optionally, the sending module is further configured to send, by the AMF, the temporary session indication to the UE.
Optionally, the temporary session indication is further used for sending, by the SMF, the user plane function UPF.
Optionally, the temporary session indication is used for the SMF to start a timer for temporary session release; and/or the temporary session indication is used for the UPF to start a timer for releasing the temporary session.
Optionally, the apparatus further comprises:
the starting module is used for starting the timer;
and the release module is used for releasing the temporary session if the timer is overtime and no data message is detected.
Optionally, the apparatus further comprises:
and the release module is used for releasing the temporary session according to the terminal instruction.
Optionally, the releasing the temporary session includes at least one of:
the AMF releases the temporary session;
the AMF sends a notification to the SMF to release the temporary session.
Optionally, the notification is used for the SMF to send to the UPF, so that the UPF releases the temporary session.
Optionally, the apparatus further comprises:
a receiving module, configured to receive a notification sent by the SMF to release the temporary session;
and the releasing module is used for releasing the temporary session according to the notification.
In some embodiments, the determining module 110 is specifically configured to determine the session mode during a terminal registration process by the AMF.
For example, the determining module 110 may be configured to determine the session mode according to a mobile-terminal-only connection MICO mode, subscription data, a local configuration of the AMF, a local policy of the AMF, or an indication of a terminal. The indication of the terminal may be a terminal indication carried by various messages, for example, an indication carried by a registration message of the terminal in a registration process, and the like.
Optionally, the determining module 110 is specifically configured to execute at least one of:
if the terminal has negotiated to use the connection MICO mode only initiated by the mobile terminal in the registration process, determining to adopt a temporary session mode;
if the subscription data of the terminal indicates a temporary session, determining to adopt a temporary session mode;
if the local configuration or the local strategy of the AMF indicates a temporary session, determining to adopt a temporary session mode;
and if the terminal carries the indication of the temporary session in the registration process, determining to adopt a temporary session mode.
The determining module 110, the sending module 120, the receiving module, the releasing module, and the like may be all program modules, and after being executed by a processor, the determining module can determine the temporary session instruction, send the temporary session instruction, receive the NAS message, and the like.
An embodiment of the present invention provides a session processing apparatus, which is applicable to SMF, and includes:
and the receiving module is used for receiving the temporary session indication sent by the access management function AMF by the session management function SMF.
In some embodiments, the receiving module is further configured to receive a notification that the AMF sends a release of the temporary session; the device further comprises: and the releasing module is used for releasing the temporary session.
Optionally, the apparatus further comprises:
and the sending module is used for sending a notice for releasing the temporary session to the UPF.
Optionally, the apparatus further comprises:
the starting module is used for starting a timer according to the temporary session indication;
and the release module is used for releasing the temporary session if the timer is overtime and no data message is detected.
The device further comprises:
and the release module is used for releasing the temporary session according to the terminal instruction.
Optionally, the releasing the temporary session comprises at least one of:
the SMF releases the temporary session;
the SMF sends a notice of releasing the temporary session to the AMF;
and the SMF sends a notice for releasing the temporary session to a user plane function UPF.
Optionally, the sending module applied to the SMF is specifically configured to send the temporary session indication to the UPF.
The present embodiment further provides another session processing apparatus, which can be applied to UPF, and may include:
and the receiving module is used for receiving the temporary session indication sent by the session management function SMF by the user plane function UPF.
The device further comprises:
the starting module is used for starting a timer according to the temporary session indication;
and the release module is used for releasing the temporary session if the timer is overtime and no data message is detected.
Optionally, the apparatus further comprises:
a receiving module, configured to receive a notification sent by the SMF to release the temporary session;
and the releasing module is used for releasing the temporary session according to the notification.
Optionally, the apparatus further comprises:
and the conversion module is used for replacing the source address in the data message with the IP address allocated to the terminal by the SMF if the Protocol Data Unit (PDU) session type of the temporary session is the network protocol IP type.
As shown in fig. 6, this embodiment provides a network element, including:
a transceiver, which may correspond to various communication interfaces, such as a wired network interface and a transceiving antenna, etc.;
a memory for storing a plurality of data to be transmitted,
and a processor, respectively connected to the transceiver and the memory, for executing the executable instructions stored in the memory, controlling the information transmission and reception of the transceiver and the information storage of the memory, and implementing a session processing method applied to one or more technical solutions of AFM, SMF or UPF, for example, implementing one or more of the session processing methods shown in fig. 1A to 4 and 7 to 10.
The processor can be connected with the transceiver and the memory through the bus, and can control the information receiving and transmitting of the transceiver and the information storage of the memory, thereby realizing the session processing.
The processor may be various types of processors, such as a central processing unit, a microprocessor, a digital signal processor, a programmable array, a digital signal processor, an application specific integrated circuit, or an image processor, among others.
The processor may be connected to the memory via a bus. The bus may be an integrated circuit bus or the like.
In some embodiments, the terminal device may further include: a communication interface, which may include: a network interface, e.g., a local area network interface, a transceiver antenna, etc. The communication interface is also connected with the processor and can be used for information transceiving.
In some embodiments, the terminal device further comprises a human-computer interaction interface, for example, the human-computer interaction interface may comprise various input and output devices, such as a keyboard, a touch screen, and the like.
The embodiment of the invention provides a computer storage medium, which stores computer executable instructions; the computer-executable instructions, when executed, are capable of
The method is applied to the session processing method provided by one or more technical schemes of AFM, SMF or UPF.
The storage medium may be a non-transitory storage medium, and the executable code stored in the storage medium may be executed by the processor to perform one or more of the session processing methods shown in fig. 1A to 4 and 7 to 10.
Several specific examples are provided below in connection with any of the embodiments described above:
example 1:
as shown in fig. 7, the present example provides a session processing method, including:
step 1: in the registration process of the UE, the AMF determines the session mode adopted by the UE according to the following conditions: the session mode includes: a temporary session mode corresponding to the temporary session and a regular session mode corresponding to the regular session; the specific session mode determination may include one or more of the following:
if the terminal has negotiated to use the MICO mode in the registration process, adopting a temporary session mode;
if the subscription data of the terminal indicates a temporary session, adopting a temporary session mode;
if the local configuration or the local strategy according to the AMF indicates a temporary session, adopting a temporary session mode;
if the terminal carries the temporary session indication, a temporary session mode is adopted;
otherwise, a normal session mode is employed.
Step 2: data message transmission, comprising: and the terminal sends the data message to the AMF through the NAS message and the like.
And step 3: and the AMF performs integrity check on the data message and decrypts the data.
And 4, step 4: and according to the session mode negotiated in the registration process, the AMF initiates a session establishment process. If AMF decides to establish the temporary session, AMF needs to send PDU session request to SMF, the request carries temporary session indication.
And 5: the SMF initiates an N4 session establishment procedure with the UPF, e.g., the SMF interacts with the UPF for an N4 session request and an N4 session response generated based on the N4 session request. If the session is a temporary session, the SMF needs to send a temporary session indication to the UPF.
Step 6: SMF sends PDU conversation response to AMF;
and 7: the AMF sends N2 session data to the SMF;
and 8: the SMF sends uplink N4 session data to the UPF;
and step 9: the UPF sends downlink N4 session data to the SMF;
step 10: the SMF sends N2 session data to the AMF;
step 11: data decryption and integrity verification;
step 13: and releasing the temporary session.
Step 13 has three options for the release of the temporary session:
13a, aiming at the temporary session, respectively starting a timer (the time length of the timer is the same) by AMF, SMF and UPF, when the terminal still has no data transmission when the timer is overtime or indicates the terminal as the last packet when the terminal transmits uplink data, considering that the data transmission is finished, and respectively releasing the corresponding temporary session by AMF, SMF and UPF. The release of the temporary session in step 13a can be seen in fig. 8.
And 13b, aiming at the temporary session, triggering the release of the temporary session by the AMF (the AMF starts a timer, the timer is overtime, the terminal still has no data to send, or the terminal indicates the last packet when sending the uplink data), comprising the following steps: and the AMF informs the SMF to release the corresponding PDU session and the SMF informs the UPF to release the corresponding temporary session. The release of the temporary session in step 13b can be seen in fig. 9.
13 c: for the temporary session, the SMF triggers the temporary session release (the SMF starts a timer, the timer is over, the terminal still has no data packet to send, or the terminal indicates the last packet when sending uplink data), and the SMF needs to respectively notify the AMF and the UPF to release the corresponding temporary session. The release of the temporary session in step 13c can be seen in fig. 10.
In the UE registration process, the AMF determines whether the session mode adopted by the UE is a temporary session mode or a normal session mode according to the following conditions:
if the terminal has negotiated to use the MICO mode in the registration process, adopting a temporary session mode;
if the subscription data of the terminal indicates a temporary session, adopting a temporary session mode;
if the local configuration or the local strategy according to the AMF indicates a temporary session, adopting a temporary session mode;
if the terminal carries the temporary session indication, a temporary session mode is adopted;
otherwise, a normal session mode is employed.
The AMF initiates session establishment and sends a temporary session indication to the SMF aiming at the temporary session;
for the temporary session, the AMF deletes the local session context through a timer, or triggers a session release process, and relates to SMF and UPF.
The SMF initiates the establishment of the N4 session, and sends a temporary session indication to the UPF aiming at the temporary session;
for the temporary session, the SMF deletes the local session context through a timer, or triggers a session release procedure. The N4 session here is based on a session of the N4 interface, at which time the N4 session may be a temporary session or a regular session. The UPF deletes the local session context for the temporary session by a timer.
If the PDU session is a temporary session and the PDU session type is an IP type (IPv4 or IPv6 or IPv4v6), UPF needs to modify the source address of the data packet to be the IP address allocated to the UE by SMF.
The proposal of the example provides a data transmission scheme of the terminal temporary session, which simplifies the implementation complexity of the terminal, in particular an IoT type terminal; meanwhile, the core network reduces the resource occupancy rate of the core network equipment by establishing the temporary PDU session. The terminal sends data before session establishment, and judges whether long-term PDU session needs to be established according to different IoT application scenes.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above-described device embodiments are merely illustrative, for example, the division of the unit is only a logical functional division, and there may be other division ways in actual implementation, such as: multiple units or components may be combined, or may be integrated into another system, or some features may be omitted, or not implemented. In addition, the coupling, direct coupling or communication connection between the components shown or discussed may be through some interfaces, and the indirect coupling or communication connection between the devices or units may be electrical, mechanical or other forms.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed on a plurality of network units; some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, all the functional units in the embodiments of the present invention may be integrated into one processing module, or each unit may be separately used as one unit, or two or more units may be integrated into one unit; the integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
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 capable of storing program codes, such as a removable Memory device, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, and an optical disk.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the appended claims.

Claims (27)

1. A session processing method, comprising:
an access management function AMF determines a session mode of user equipment UE in a registration process of the UE, wherein the session mode comprises the following steps: a temporary session mode corresponding to the temporary session and a regular session mode corresponding to the regular session;
and if the determined session mode is the temporary session mode, determining a temporary session indication in the session establishment process, wherein the temporary session indication is used for triggering the release of the temporary session.
2. The method of claim 1,
in the registration process of the User Equipment (UE), an Access Management Function (AMF) determines a session mode of the UE, and the determination comprises the following steps:
and determining the session mode according to a connection MICO mode initiated by the mobile terminal only, subscription data, the local configuration of the AMF, the local policy of the AMF or the indication of the terminal.
3. The method of claim 2,
the determining the session mode according to a mobile-terminal-only connection MICO mode, subscription data, local configuration of the AMF, a local policy of the AMF or an indication of the terminal includes at least one of the following:
if the terminal negotiates to use the MICO mode in the registration process, determining to adopt a temporary session mode;
if the subscription data of the terminal indicates a temporary session, determining to adopt a temporary session mode;
if the local configuration or the local strategy of the AMF indicates a temporary session, determining to adopt a temporary session mode;
and if the terminal carries the indication of the temporary session in the registration process, determining to adopt a temporary session mode.
4. The method of claim 1, further comprising:
and if the session mode is the temporary session mode, sending a temporary session indication to a Session Management Function (SMF) in the session establishment process.
5. The method of claim 4, further comprising:
and sending the temporary session indication to the UE.
6. The method of claim 5,
the temporary session indication is used for the SMF to start a timer for releasing a temporary session;
and/or the presence of a gas in the gas,
the temporary session indication is used for the user plane function UPF to start a timer for releasing the temporary session.
7. The method of claim 1,
the method further comprises the following steps:
starting a timer;
and if the timer is overtime and no data message is detected, releasing the temporary session.
8. The method of claim 1,
the method further comprises the following steps:
and releasing the temporary session according to the terminal indication.
9. The method of claim 8, wherein the releasing the temporary session comprises at least one of:
the AMF releases the temporary session;
the AMF sends a notification to the SMF to release the temporary session.
10. The method of claim 9,
the notification is used for the SMF to send to a UPF so that the UPF releases the temporary session.
11. The method of claim 10,
the method further comprises the following steps:
receiving a notification of releasing the temporary session sent by the SMF;
and releasing the temporary session according to the notification.
12. A session processing method, comprising:
the session management function SMF receives a temporary session indication sent by the access management function AMF in the session establishment process, and triggers the release of the temporary session if the current session mode is determined to be the temporary session mode based on the temporary session indication.
13. The method of claim 12, further comprising:
receiving a notice that the AMF sends the temporary session release;
and releasing the temporary session.
14. The method of claim 12,
the method further comprises the following steps:
and sending a notice for releasing the temporary session to a user plane function UPF.
15. The method of claim 13, further comprising:
starting a timer according to the temporary session instruction;
and if the timer is overtime and no data message is detected, releasing the temporary session.
16. The method of claim 12, further comprising:
and releasing the temporary session according to the terminal indication.
17. The method according to claim 14 or 16,
the releasing the temporary session comprises at least one of:
the SMF releases the temporary session;
the SMF sends a notice of releasing the temporary session to the AMF;
and the SMF sends a notice for releasing the temporary session to a user plane function UPF.
18. The method of claim 12, further comprising:
and sending the temporary session indication to the UPF.
19. A session processing method, comprising:
and the user plane function UPF receives a temporary session indication sent by the session management function SMF, and triggers the release of the temporary session if the current session mode is determined to be the temporary session mode based on the temporary session indication.
20. The method of claim 19, further comprising:
starting a timer according to the temporary session indication;
and if the timer is overtime and no data message is detected, releasing the temporary session.
21. The method of claim 19, further comprising:
receiving a notification sent by the SMF for releasing the temporary session;
and releasing the temporary session according to the notification.
22. The method of claim 19, further comprising:
and if the session type of the Protocol Data Unit (PDU) of the temporary session is the network protocol (IP), replacing the source address in the data message with the IP address distributed by the SMF for the terminal.
23. A session processing apparatus, comprising:
a determining module, configured to determine, by an access management function AMF, a session mode of a user equipment UE during registration of the UE, where the session mode includes: a temporary session mode corresponding to the temporary session and a regular session mode corresponding to the regular session; and if the determined session mode is the temporary session mode, determining a temporary session indication in the session establishment process, wherein the temporary session indication is used for triggering the release of the temporary session.
24. A session processing apparatus, comprising:
and the receiving module is used for receiving a temporary session indication sent by an access management function AMF by the session management function SMF in the session establishment process, and triggering the release of the temporary session if the current session mode is determined to be the temporary session mode based on the temporary session indication.
25. A session processing apparatus, comprising:
and the receiving module is used for receiving the temporary session indication sent by the session management function SMF by the user plane function UPF, and triggering the release of the temporary session if the current session mode is determined to be the temporary session mode based on the temporary session indication.
26. A network element, comprising:
a transceiver for receiving and transmitting a signal from the wireless communication device,
a memory for storing a plurality of data to be transmitted,
a processor, connected to the transceiver and the memory respectively, for executing the executable instructions stored in the memory, controlling the transceiver to transmit and receive information and the memory to store information, and implementing the method provided in any one of claims 1 to 11, 12 to 18 or 19 to 22.
27. A computer storage medium having stored thereon computer-executable instructions; when executed, the computer-executable instructions are capable of and implementing the methods provided by any of claims 1 to 11, 12 to 18 or 19 to 22.
CN201810491213.7A 2018-05-21 2018-05-21 Session processing method and device, network element and storage medium Active CN110519840B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201810491213.7A CN110519840B (en) 2018-05-21 2018-05-21 Session processing method and device, network element and storage medium
PCT/CN2019/083752 WO2019223477A1 (en) 2018-05-21 2019-04-22 Session processing method and apparatus, network element and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810491213.7A CN110519840B (en) 2018-05-21 2018-05-21 Session processing method and device, network element and storage medium

Publications (2)

Publication Number Publication Date
CN110519840A CN110519840A (en) 2019-11-29
CN110519840B true CN110519840B (en) 2021-01-15

Family

ID=68617362

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810491213.7A Active CN110519840B (en) 2018-05-21 2018-05-21 Session processing method and device, network element and storage medium

Country Status (2)

Country Link
CN (1) CN110519840B (en)
WO (1) WO2019223477A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107431897A (en) * 2015-03-24 2017-12-01 英特尔Ip公司 Terminate the devices, systems, and methods for docking session between mobile device and the service of connection devices
CN107517480A (en) * 2016-06-16 2017-12-26 中兴通讯股份有限公司 The method, apparatus and system of session establishment
WO2018034337A1 (en) * 2016-08-19 2018-02-22 Nec Corporation Method for user plane connection activation or deactivation per session
WO2018088836A1 (en) * 2016-11-10 2018-05-17 엘지전자 주식회사 Registration method through network access belonging to identical plmn in wireless communication system, and device therefor

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2364041B1 (en) * 2010-03-03 2012-09-19 Research In Motion Limited Method and apparatus to signal use-specific capabilities of mobile stations to establish data transfer sessions
US11166334B2 (en) * 2016-07-01 2021-11-02 Idac Holdings, Inc. Methods for supporting session continuity on per-session basis
CN109997334B (en) * 2016-10-06 2022-08-09 康维达无线有限责任公司 Session management with relaying and charging for indirect connectivity of internet of things applications in 3GPP networks
CN107770815B (en) * 2017-10-18 2020-09-11 中国联合网络通信集团有限公司 MEC method and equipment based on position

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107431897A (en) * 2015-03-24 2017-12-01 英特尔Ip公司 Terminate the devices, systems, and methods for docking session between mobile device and the service of connection devices
CN107517480A (en) * 2016-06-16 2017-12-26 中兴通讯股份有限公司 The method, apparatus and system of session establishment
WO2018034337A1 (en) * 2016-08-19 2018-02-22 Nec Corporation Method for user plane connection activation or deactivation per session
WO2018088836A1 (en) * 2016-11-10 2018-05-17 엘지전자 주식회사 Registration method through network access belonging to identical plmn in wireless communication system, and device therefor

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
TS 23.502: Support of indirect tunnel for N2 based handover;Samsung;《3GPP SA WG2 Meeting #122Bis S2-176433》;20170825;全文 *

Also Published As

Publication number Publication date
WO2019223477A1 (en) 2019-11-28
CN110519840A (en) 2019-11-29

Similar Documents

Publication Publication Date Title
EP3569019B1 (en) Method and apparatus for supporting access control and mobility management
CN108370506B (en) Method for serving node relocation in wireless communication system and apparatus therefor
US20200383035A1 (en) Communications method and apparatus
US20200127968A1 (en) Information processing method and apparatus
CN107846270B (en) Transmission strategy configuration method and device, and information transmission method and device
CN110493890B (en) Connection recovery method, access and mobility management functional entity, communication device and system
JP5111632B2 (en) Message distribution system, base station, and message distribution method
EP3142442B1 (en) Method, device and system for controlling air interface resources
EP3386252A1 (en) Resource requesting method, device, network side node and system
KR102262146B1 (en) Information processing method, apparatus, computer readable storage medium and electronic device
KR20160060091A (en) Paging method, network device and communication system
US11432355B2 (en) Control plane connection management method and apparatus
TW200847823A (en) Method of managing queuing operation for a wireless communications system and related apparatus
CN109429366B (en) PDU session processing method and device
KR102309028B1 (en) How to perform light connection control on user devices and corresponding devices
JP5744325B2 (en) Service response method, apparatus and system
US10499366B2 (en) Paging method and apparatus for distributed gateway
CN109246821B (en) Session management method and device
WO2017121224A1 (en) Data transmission method, device and system
CN113133063A (en) Session release method, electronic device and storage medium
CN110519840B (en) Session processing method and device, network element and storage medium
CN103118415B (en) The processing method of a kind of service request and device
CN110121215B (en) Data connection establishment method and device of 5G terminal and 5G terminal
CN109819526B (en) Method and device for starting radio resource control suspension program and NB-IoT (NB-IoT) core network system
EP2887727B1 (en) Method and device for congestion control

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant