CN113133063B - Session release method, electronic equipment and storage medium - Google Patents

Session release method, electronic equipment and storage medium Download PDF

Info

Publication number
CN113133063B
CN113133063B CN201911394686.6A CN201911394686A CN113133063B CN 113133063 B CN113133063 B CN 113133063B CN 201911394686 A CN201911394686 A CN 201911394686A CN 113133063 B CN113133063 B CN 113133063B
Authority
CN
China
Prior art keywords
session
smf
user plane
upf
effective duration
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
CN201911394686.6A
Other languages
Chinese (zh)
Other versions
CN113133063A (en
Inventor
汪钱纯
詹徐周
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by ZTE Corp filed Critical ZTE Corp
Priority to CN201911394686.6A priority Critical patent/CN113133063B/en
Publication of CN113133063A publication Critical patent/CN113133063A/en
Application granted granted Critical
Publication of CN113133063B publication Critical patent/CN113133063B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/0005Control or signalling for completing the hand-off
    • H04W36/0011Control or signalling for completing the hand-off for data sessions of end-to-end connection
    • H04W36/0033Control or signalling for completing the hand-off for data sessions of end-to-end connection with transfer of context information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/0005Control or signalling for completing the hand-off
    • H04W36/0055Transmission or use of information for re-establishing the radio link
    • H04W36/0058Transmission of hand-off measurement information, e.g. measurement reports
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/0005Control or signalling for completing the hand-off
    • H04W36/0083Determination of parameters used for hand-off, e.g. generation or modification of neighbour cell lists
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/30Connection release

Landscapes

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

Abstract

The embodiment of the invention relates to the field of communication, and discloses a session release method, electronic equipment and a storage medium, wherein the session release method in the embodiment is applied to UPF (User plane function, user plane functional entity) in a mobile network and comprises the following steps: acquiring the effective duration of resource detection of a session; detecting whether a user plane message of a session is received or not within the effective duration of resource detection; if the user plane message of the session is not received within the effective duration of the resource detection, sending a detection report to the SMF (Session Management function, session management function entity) to trigger the SMF to release the session. The method can automatically trigger the SMF to release the session when the user plane message of the session is not received within the effective duration, so that the session context of the user is avoided for both the SMF and the UPF under abnormal conditions, and other network elements have no session context of the user, thereby causing the resource waste of the SMF and the UPF and bringing unnecessary charging influence to the user.

Description

Session release method, electronic equipment and storage medium
Technical Field
The embodiment of the invention relates to the field of communication, in particular to a session release method, electronic equipment and a storage medium.
Background
The fifth generation mobile communication technology (5th generation mobile networks,5G) is the latest generation cellular mobile communication technology, which is also an extension to the following 4G, 3G and 2G systems. Compared with the previous generations, the 5G core network is mainly characterized by adopting a structure with separated control plane and user plane. Fig. 1 is a schematic diagram of a 5G network architecture, in which functions of part of network elements in the network architecture are as follows:
A User Equipment (UE) accesses a 5G network mainly through a wireless air interface and obtains services, and the terminal interacts information with a base station through the air interface, and interacts information with an Access and mobility management function (AMF, ACCESS AND Mobility Management function) of a core network through Non-Access Stratum signaling (NAS).
A radio access network (RAN, radio Access Network) is responsible for air interface resource scheduling and air interface connection management for terminals accessing the network.
Access and mobility management functions (AMF, ACCESS AND Mobility Management function): the core network control plane entity is mainly responsible for user mobility management, including registration and temporary identifier allocation; maintaining idle and connected states and state transitions; switching in CONNECT state; and triggering functions such as paging and the like in the user IDLE state.
Session management function (SMF, session Management function): the core network control plane entity is mainly responsible for maintaining PDU session (Protocol Data Unit protocol data unit), distributing user IP address, and has quality of service (QoS, quality of Service) control and charging functions; and the user IDLE receives the downlink data packet for caching and informs the AMF of paging the user and other functions.
User plane function (UPF, user plane function): the core network user plane functional entity is responsible for forwarding the user data message, and also performs statistics on the user data message for charging and other functions.
Authentication server function (AUSF, authentication Server Function): the core network control plane entity is mainly responsible for authentication and authorization of the user to ensure that the user is a legal user.
A Unified data management function (UDM) (Unified DATA MANAGEMENT) is a core network control plane entity, a home subscriber server, and permanently stores subscriber subscription data.
Policy control function (PCF, policy Control Functionality): the core network control plane entity is responsible for the functional entities of access and mobility management policies, UE policies, session management policies and charging rules. The functional entity generates access and mobility management policies, UE routing policies, qos (Quality of Service ) rules and charging rules for user data transfer, etc., mainly according to the service information and the user subscription information, and the configuration information of the operator.
Capacity open function (NEF, network Exposure Function): the core network control plane entity is responsible for the outward opening of the mobile network capability.
Network function library function (NRF, NF Repository Function): the core network control plane entity is responsible for dynamic registration of service capabilities of network functions and network function discovery.
Network slice selection function (NSSF, network Slice Selection Function): the core Network control plane entity is responsible for the selection of the target NSI (Network SLICE INSTANCE).
After the user successfully accesses the network, the user terminal, the wireless network and the core network all establish corresponding network resources, such as session context, for the user. The SMF normally initiates a session release procedure by receiving an AMF, PCF, or other network element trigger to delete the PDU session context.
However, the inventors of the present invention found that: in some abnormal situations, such as after an international roaming subscriber accesses a roaming location, the old AMF may not receive the inter-office notification message sent by the new AMF due to the inter-operator network. Further, the old AMF cannot know whether the SMF where the UE is located changes, so the old AMF cannot inform the old SMF to release the user, and the user remains on the old SMF and the old UPF. At this time, the SMF and the UPF both keep the session context of the user, and other network elements, such as AMF, have no session context of the user, which further causes resource waste of the SMF and the UPF and causes unnecessary charging to the user.
Disclosure of Invention
The embodiment of the invention aims to provide a session release method, electronic equipment and a storage medium, so that a user plane message which does not receive a session within an effective duration can automatically trigger and release the session, and the problem that under abnormal conditions, SMF and UPF have session context of a user, and other network elements have no session context of the user, so that the resource waste of the SMF and UPF is caused, and unnecessary charging and other influences are brought to the user is avoided.
In order to solve the above technical problems, an embodiment of the present invention provides a session release method, applied to UPF in a mobile network, including: acquiring the effective duration of resource detection of a session; detecting whether a user plane message of a session is received or not within the effective duration of resource detection; if the user plane message of the session is not received within the effective duration of the resource detection, sending a detection report to the SMF, and triggering the SMF to release the session.
The embodiment of the invention also provides a session release method which is applied to the SMF in the mobile network and comprises the following steps: detecting whether a detection report of a session sent by the UPF is received or not; the detection report is used for indicating the UPF to send when the user plane message of the session is not received within the effective resource detection duration of the session; and if the detection report of the session sent by the UPF is received, releasing the session.
The embodiment of the invention also provides electronic equipment, which comprises: at least one processor; and a memory communicatively coupled to the at least one processor; the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the session release method described above.
The embodiment of the invention also provides a computer readable storage medium which stores a computer program, and the computer program realizes the session release method when being executed by a processor.
Compared with the prior art, the embodiment of the invention acquires the effective duration of the resource detection of the session in advance, and selects whether to inform the SMF to release the session according to whether the user plane message of the session is received within the effective duration. The method can automatically trigger the SMF to release the session when the user plane message of the session is not received within the effective duration, so that the session context of the user is avoided for both the SMF and the UPF under abnormal conditions, and other network elements have no session context of the user, thereby causing the resource waste of the SMF and the UPF and bringing unnecessary charging influence to the user.
In addition, after acquiring the effective duration of the resource detection of the session, before detecting whether the user plane message of the session is received, the method further comprises: and receiving a session user plane connection deactivation request initiated by SMF, wherein the session user plane connection deactivation request is triggered in the effective resource detection duration, and detecting whether a user plane message of the session is received or not. The UPF start detection is triggered only when the deactivation request of the SMF is received, so that the UPF start detection has a trigger condition and is more practical.
In addition, after the effective duration of the resource detection of the session is obtained, before receiving the request for deactivating the session user plane connection initiated by the SMF, the method further comprises: when the user plane inactivity time of the session is detected to exceed the preset time, sending a user plane inactivity report of the session to the SMF; the SMF initiated session user plane connection deactivation request is specifically feedback information of the SMF response inactivity report. Further, a triggering condition is set for the SMF initiated session user plane connection deactivation request, namely, the user plane inactivity time of the UPF feedback session is triggered when the user plane inactivity time exceeds a preset time. The session release flow in the embodiment is used for solving the problem of network resource occupation under the abnormal condition aiming at the special scene in the scene that the user is not active for a long time, and has more pertinence.
In addition, obtaining the effective duration of the resource detection of the session includes: acquiring the effective duration of resource detection of the session from the SMF; or the default valid duration preset locally is used as the resource detection valid duration of the session. The resource detection effective duration has various acquisition modes, is applicable to various session scenes, and has wide application.
In addition, obtaining the resource detection effective duration of the session from the SMF includes: receiving a session establishment request sent by an SMF, wherein the request carries the effective duration of resource detection of a session; or receiving a session modification request sent by the SMF, wherein the request carries the effective duration of the resource detection of the session. When the session is established and modified, the effective duration of the resource detection of the session can be provided, and the UPF of the session before and after modification is ensured to store the effective duration of the resource detection of the session.
In addition, the method further comprises the steps of: if the user plane message of the session is received within the effective duration of the resource detection, a session report request is sent to the SMF, so that the SMF establishes the user plane connection of the session. If the user plane message is received within the effective duration of the resource detection, the session is indicated to be in the IDLE state, and the detection resource can be continuously reserved for the user.
Drawings
One or more embodiments are illustrated by way of example and not limitation in the figures of the accompanying drawings, in which like references indicate similar elements, and in which the figures of the drawings are not to be taken in a limiting sense, unless otherwise indicated.
Fig. 1 is a schematic diagram of a 5G network architecture in accordance with the background of the invention;
fig. 2 is a flowchart of a session release method in a first embodiment according to the present invention;
FIG. 3 is an interactive flow chart for delivering a resource detection effective duration in accordance with a first embodiment of the present invention;
FIG. 4 is an interactive flow chart of another transfer resource detection effective duration in accordance with the first embodiment of the present invention;
fig. 5 is a flowchart of a session release method in a second embodiment according to the present invention;
fig. 6 is a flowchart of a session release method in a third embodiment according to the present invention;
Fig. 7 is a schematic structural view of an electronic device according to a fourth embodiment of the present invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present application more apparent, the following detailed description of the embodiments of the present application will be given with reference to the accompanying drawings. However, those of ordinary skill in the art will understand that in various embodiments of the present application, numerous technical details have been set forth in order to provide a better understanding of the present application. The claimed application may be practiced without these specific details and with various changes and modifications based on the following embodiments. The following embodiments are divided for convenience of description, and should not be construed as limiting the specific implementation of the present application, and the embodiments can be mutually combined and referred to without contradiction.
The first embodiment of the invention relates to a session release method, which is applied to UPF in a mobile network and comprises the following steps: acquiring the effective duration of resource detection of a session; detecting whether a user plane message of a session is received or not within the effective duration of resource detection; if the user plane message of the session is not received within the effective duration of the resource detection, sending a detection report to the SMF, and triggering the SMF to release the session. The session is automatically triggered and released by the user plane message which does not receive the session within the effective duration, so that the situation that the SMF and the UPF have the session context of the user under the abnormal condition and other network elements have no session context of the user is avoided, and the resource waste of the SMF and the UPF and unnecessary charging influence are caused to the user. The implementation details of the session release method of the present embodiment are specifically described below, and the following is merely provided for convenience of understanding, and is not necessary to implement the present embodiment.
As shown in fig. 2, the session release method in this embodiment specifically includes:
Step 101, acquiring the effective duration of the resource detection of the session.
Specifically, an effective duration of reserving UPF resources for the session, namely, a resource detection effective duration of the session is preset. And reserving a user port for the current session by the UPF in the effective duration, wherein when the effective duration is exceeded, the UPF can release the user port of the session according to a preset condition.
In one example, the UPF may obtain the resource detection effective duration of the session from the SMF; or the default valid duration preset locally is used as the resource detection valid duration of the session.
The method for acquiring the effective duration of resource detection of the session from the SMF comprises the following steps: receiving a session establishment request sent by an SMF, wherein the request carries the effective duration of resource detection of a session; or receiving a session modification request sent by the SMF, wherein the request carries the effective duration of the resource detection of the session. Specifically, as shown in fig. 3, an interactive flow for transferring a valid detection duration of a resource in the SMF session establishment or reselection UPF process is shown. When receiving a message triggering to establish PDU session or reselect UPF, SMF sends a PFCP (Packet Forwarding Control Protocol, message forwarding control protocol) session establishment request to UPF, wherein the establishment request can carry the effective duration of the resource detection of the session; the UPF establishes session connection and simultaneously stores the effective duration of the resource detection of the session to the local; the SMF interacts with other network elements. Correspondingly, as shown in fig. 4, the interactive flow is that the effective detection duration of the resources is transferred in the SMF session modification process. When the SMF receives the message triggering the PDU session modification, the SMF sends a PFCP session modification request to the UPF, wherein the modification request can also carry the effective duration of the resource detection of the session; updating and saving the effective duration of the resource detection of the session to the local while the UPF modifies the session connection; the SMF interacts with other network elements. It should be noted that, only when the session is established, the session establishment request sent by the SMF carries the effective duration of resource detection; or when the session is established and modified, the request sent by the SMF carries the effective duration of the resource detection, which is not limited in this embodiment.
In addition, the default valid duration preset locally is used as the resource detection valid duration of the session. Specifically, a default effective duration is set in the UPF in advance, and when the UPF establishes session connection, the default effective duration is used as the effective duration for detecting the resources of the session, and is stored corresponding to the session.
Similarly, the method for acquiring the effective duration of the resource detection of the session in the SMF may be that the user terminal transmits to the SMF when sending the session establishment request or the session modification request; or presetting a default effective duration in advance in SMF local as the effective duration of the resource detection of the session.
Step 102, detecting whether a user plane message of a session is received or not within a valid resource detection duration. If the user plane message of the session is not received within the effective duration of the resource detection, step 103 is entered; if the user plane message of the session is received within the effective duration of the resource detection, step 104 is executed.
Specifically, after the UPF obtains the effective duration of the resource detection of the session, it may continuously detect whether a user plane packet of the session is received, where the user plane packet of the session includes: the user terminal sends the session data packet to be uploaded, or the network end sends the session data packet to the user terminal, etc.
If the user plane message of the session is not received within the effective duration of the resource detection, it indicates that other network elements may not have the context connection of the session except for the SMF and the UPF, at this time, in order to avoid the SMF and the UPF network resources being occupied and avoid unnecessary charging caused by the user remaining on the UPF, the SMF may initiate a session release procedure to release the session and thus release the SMF and the UPF that are suspended simultaneously. If the user plane message of the session is received within the effective duration of the resource detection, the session is indicated to be in an IDLE state, that is, other network elements keep the session connection of the user terminal besides the SMF and the UPF, and at this time, the network resource of the session needs to be kept continuously, and the UPF sends a session report request to the SMF.
Step 103, sending a detection report to the SMF, and triggering the SMF to release the session.
Specifically, the UPF may send a PFCP session report to the SMF, where the PFCP session report includes the detection report, where the content of the detection report is a user plane packet that does not receive a session within a valid duration of resource detection, so that when the SMF receives the detection report, a session release procedure is triggered, and the session is released, thereby releasing the suspended SMF and UPF resources.
Step 104, sending a session report request to the SMF, so that the SMF establishes the user plane connection of the session.
Specifically, if the user plane message of the session is received within the effective duration of the resource detection, the session is indicated to be in an IDLE state, and the UPF needs to respond to the user plane message to send a session report request to the SMF, trigger the SMF to establish user plane connection, and notify the RAN to page the user terminal.
In this embodiment, the UPF acquires the effective duration of the resource detection of the session in advance, and selects whether to notify the SMF to release the session according to whether a user plane packet of the session is received within the effective duration. The method can automatically trigger the SMF to release the session when the user plane message of the session is not received within the effective duration, so that the session context of the user is avoided for both the SMF and the UPF under abnormal conditions, and other network elements have no session context of the user, thereby causing the resource waste of the SMF and the UPF and bringing unnecessary charging influence to the user.
A second embodiment of the invention relates to a method of releasing a session. The second embodiment is substantially the same as the first embodiment, and differs mainly in that: in a second embodiment of the present invention, the trigger condition for detecting whether the UPF receives the user plane packet of the session is that after the UPF feeds back the inactive user message to the SMF, the SMF initiates a deactivation request for the user plane connection of the session.
As shown in fig. 5, the session release method in this embodiment specifically includes:
Step 201, obtaining a resource detection effective duration of a session.
Specifically, this step is the same as step 101 in the first embodiment, and will not be described here again.
Step 202, when detecting that the user plane inactivity time of the session exceeds the preset time, sending a user plane inactivity report of the session to the SMF.
Specifically, the UPF is used as a user plane of network connection, and needs to monitor the connection state of the user plane in real time. The UPF sets a time limit for the user plane inactivity of the session in advance, and when the UPF detects that the user plane inactivity time of the session exceeds the time limit, the UPF needs to feed back a user plane inactivity report to the SMF for session management to know and respond in a related manner.
Step 203, receiving a session user plane connection deactivation request initiated by the SMF. And triggering the session user plane connection deactivation request to detect whether a user plane message of the session is received within the effective duration of the resource detection.
Specifically, the SMF initiated session user plane connection deactivation request is specifically feedback information of the SMF response inactivity report. When the SMF receives a user plane inactivity report of a session sent by the UPF, the user plane connection of the session is deactivated to avoid that resources are not occupied, and the UPF is triggered to start to detect whether a user plane message of the session is received.
Step 204, detecting whether a user plane message of the session is received within the effective duration of the resource detection. If the user plane message of the session is not received within the effective duration of the resource detection, go to step 205; if a user plane message of the session is received within the effective duration of the resource detection, then step 206 is reached.
Step 205, send a detection report to the SMF, triggering the SMF release session.
Step 206, sending a session report request to the SMF, for the SMF to establish a user plane connection of the session.
Steps 204 to 206 of the present embodiment are similar to steps 102 to 104 of the first embodiment, and are not repeated here.
In this embodiment, the UPF acquires a resource detection effective duration of the session in advance, and triggers the SMF to initiate a user plane connection deactivation request when detecting that the user plane inactivity duration exceeds a preset duration, further responds to the deactivation request, and selects whether to notify the SMF to release the session according to whether to detect that a user plane message of the session is received within the resource detection effective duration. The method can automatically trigger the SMF to release the session when the user plane message of the session is not received within the effective duration, so that the session context of the user is avoided for both the SMF and the UPF under abnormal conditions, and other network elements have no session context of the user, thereby causing the resource waste of the SMF and the UPF and bringing unnecessary charging influence to the user.
A third embodiment of the present invention relates to a session release method, applied to SMF in a mobile network, comprising: detecting whether a detection report of a session sent by the UPF is received or not; the detection report is sent when the UPF does not receive the user plane message of the session in the obtained effective resource detection duration of the session; and if the detection report of the session sent by the UPF is received, releasing the session in response to the detection report. As shown in fig. 6, the conference access method in this embodiment specifically includes:
Step 301, receiving a user plane inactivity report of a session sent by the UPF.
Specifically, when the UPF detects that the user plane inactivity time exceeds the preset time, the UPF sends a user plane inactivity report to the SMF, so that the SMF is triggered to initiate a session user plane connection deactivation request.
Step 302, initiate a session user plane connection deactivation request to the UPF.
Specifically, the SMF responds to a user plane inactivity report sent by the UPF, sends a user plane connection deactivation request to the UPF, triggers the UPF to start detecting whether a user plane message of a session is received or not, and avoids network resources from being occupied by invalidation.
Step 303, detecting whether a detection report of a session sent by the UPF is received; if a detection report of the session sent by the UPF is received, go to step 304; if the detection report of the session sent by the UPF is not reached, the step is continued.
Specifically, the detection report is used for indicating that the UPF does not receive the user plane message of the session within the effective duration of the resource detection of the session. The UPF responds to a session user plane deactivation request sent by the SMF, checks whether a user plane message of the session is received within the resource detection effective duration according to the pre-acquired resource detection effective duration of the session, and if not, the UPF sends a detection report to the SMF; if received, the detection report may not be sent.
If the SMF receives the detection report of the UPF sending session, it indicates that other network elements may not have any context connection of the session except for the SMF and the UPF, at this time, in order to avoid that the SMF and the UPF network resources are occupied, further, in order to avoid that the user remains on the UPF to cause unnecessary charging, the SMF may initiate a session release procedure to release the session, thereby releasing the SMF and the UPF that are suspended simultaneously. And if the detection report of the UPF sending session is not received, continuing to keep detection. Further, if a session report request sent by the UPF is received in the detection process, it indicates that the ue is in IDLE state, that is, other network elements except SMF and UPF also reserve session connection of the ue, at this time, the UPF resource of the session needs to be reserved continuously, and at the same time, the SMF establishes user plane connection of the session, and informs the RAN to page the ue.
In one example, the resource detection effective duration of the session is sent by the SMF to the UPF. Specifically, when the SMF establishes session connection, a resource detection effective duration corresponding to a session is established at the same time; or the user terminal sends the resource detection effective duration corresponding to the SMF session at the same time when initiating the session establishment request. The SMF stores the effective duration of the resource detection of the session locally, and when the SMF sends a PFCP session establishment request or a modification request to the UPF, the effective duration of the resource detection of the session is carried and is transmitted to the UPF.
Step 304, the session is released.
In particular, when receiving the detection report of the session sent by the UPF, the session needs to be released, so as to avoid occupying SMF and UPF resources and causing unnecessary charging of the user terminal.
In this embodiment, the SMF selects whether to release the session according to whether to receive a detection report sent by the UPF and sent by the user plane packet of the session that is not received within the effective duration of resource detection. The method can automatically trigger and release the session without receiving the user plane message of the session within the effective duration, thereby avoiding the occurrence of the session context of the user in both SMF and UPF under abnormal conditions, and the occurrence of resource waste of SMF and UPF and unnecessary charging influence to the user caused by the fact that other network elements have no session context of the user.
It is to be noted that this embodiment is applied to the SMF example corresponding to the first and second embodiments applied to the UPF described above, and can be implemented in cooperation with the first and second embodiments. The related technical details mentioned in the first and second embodiments are still valid in this embodiment, and in order to reduce repetition, a detailed description is omitted here. Accordingly, the related technical details mentioned in the present embodiment can also be applied to the first and second embodiments.
The above steps of the methods are divided, for clarity of description, and may be combined into one step or split into multiple steps when implemented, so long as they include the same logic relationship, and they are all within the protection scope of this patent; it is within the scope of this patent to add insignificant modifications to the algorithm or flow or introduce insignificant designs, but not to alter the core design of its algorithm and flow.
A fourth embodiment of the present invention relates to an electronic device, as shown in fig. 7, including: at least one processor 401; and a memory 402 communicatively coupled to the at least one processor 401; the memory 402 stores instructions executable by the at least one processor 401, and the instructions are executed by the at least one processor 401, so that the at least one processor 401 can execute the session release method according to any one of the above embodiments.
Where the memory 402 and the processor 401 are connected by a bus, the bus may comprise any number of interconnected buses and bridges, the buses connecting the various circuits of the one or more processors 401 and the memory 402 together. The bus may also connect various other circuits such as peripherals, voltage regulators, and power management circuits, which are well known in the art, and therefore, will not be described any further herein. The bus interface provides an interface between the bus and the transceiver. The transceiver may be one element or may be a plurality of elements, such as a plurality of receivers and transmitters, providing a means for communicating with various other apparatus over a transmission medium. The data processed by the processor 401 is transmitted over a wireless medium via an antenna, which further receives and transmits the data to the processor 401.
The processor 401 is responsible for managing the bus and general processing and may also provide various functions including timing, peripheral interfaces, voltage regulation, power management, and other control functions. And memory 402 may be used to store data used by processor 401 in performing operations.
A fifth embodiment of the present invention relates to a computer-readable storage medium storing a computer program. The computer program implements the above-described method embodiments when executed by a processor.
That is, it will be understood by those skilled in the art that all or part of the steps in implementing the methods of the embodiments described above may be implemented by a program stored in a storage medium, where the program includes several instructions for causing a device (which may be a single-chip microcomputer, a chip or the like) or a processor (processor) to perform all or part of the steps in the methods of the embodiments of the application. And the aforementioned storage medium includes: a usb disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
It will be understood by those of ordinary skill in the art that the foregoing embodiments are specific examples of carrying out the invention and that various changes in form and details may be made therein without departing from the spirit and scope of the invention.

Claims (7)

1. A session release method, applied to UPF in a mobile network, comprising:
Acquiring the effective duration of resource detection of a session;
When the user plane inactivity time of the session is detected to exceed the preset time, sending a user plane inactivity report of the session to the SMF;
Receiving a session user plane connection deactivation request initiated by an SMF, wherein the session user plane connection deactivation request is triggered in the effective duration of the resource detection, detecting whether a user plane message of the session is received or not, and the session user plane connection deactivation request initiated by the SMF is specifically feedback information of the SMF responding to the inactivity report;
Detecting whether a user plane message of the session is received or not within the effective duration of the resource detection;
And if the user plane message of the session is not received within the effective resource detection duration, sending a detection report to the SMF, and triggering the SMF to release the session.
2. The session release method according to claim 1, wherein the obtaining the effective duration of the resource detection of the session includes: acquiring the effective duration of resource detection of the session from the SMF; or taking the locally preset default effective duration as the effective duration of the resource detection of the session.
3. The session release method according to claim 2, wherein the obtaining the resource detection effective duration of the session from the SMF includes:
receiving the session establishment request sent by the SMF, wherein the request carries the effective duration of the resource detection of the session; or alternatively, the first and second heat exchangers may be,
And receiving the session modification request sent by the SMF, wherein the request carries the effective duration of the resource detection of the session.
4. The session release method according to claim 1, further comprising: and if the user plane message of the session is received within the effective resource detection duration, sending a session report request to the SMF, so that the SMF establishes the user plane connection of the session.
5. A session release method, applied to SMF in a mobile network, comprising:
Receiving a user plane inactivity report of the session sent by the UPF;
Responding to the inactivity report, and initiating a user plane connection deactivation request of the session to the UPF;
Detecting whether a detection report of a session sent by the UPF is received or not; the detection report is used for indicating that the UPF does not receive the user plane message of the session within the effective resource detection duration of the session;
and if the detection report of the session sent by the UPF is received, releasing the session.
6. An electronic device, comprising:
At least one processor; and
A memory communicatively coupled to the at least one processor; wherein,
The memory stores instructions executable by the at least one processor to enable the at least one processor to perform the session release method according to any one of claims 1 to 4; or to enable the at least one processor to perform the session release method according to claim 5.
7. A computer readable storage medium storing a computer program, wherein the computer program when executed by a processor implements the session release method according to any one of claims 1 to 4; or which computer program, when being executed by a processor, implements the session release method as claimed in claim 5.
CN201911394686.6A 2019-12-30 2019-12-30 Session release method, electronic equipment and storage medium Active CN113133063B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911394686.6A CN113133063B (en) 2019-12-30 2019-12-30 Session release method, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911394686.6A CN113133063B (en) 2019-12-30 2019-12-30 Session release method, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN113133063A CN113133063A (en) 2021-07-16
CN113133063B true CN113133063B (en) 2024-04-26

Family

ID=76767809

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911394686.6A Active CN113133063B (en) 2019-12-30 2019-12-30 Session release method, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113133063B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115150870B (en) * 2022-06-30 2023-03-21 广州爱浦路网络技术有限公司 Session residue processing method, device, session management functional entity and storage medium
CN115412974B (en) * 2022-11-03 2023-02-24 浪潮通信技术有限公司 Shunting communication method, device, equipment and readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20180107763A (en) * 2017-03-22 2018-10-02 한국전자통신연구원 Method for user traffic connection management
CN109644514A (en) * 2016-08-19 2019-04-16 日本电气株式会社 Each session subscriber plane connection activation or deactivated method
CN109923937A (en) * 2016-10-11 2019-06-21 日本电气株式会社 For the method for session management parameter maintenance, conversation management functional node, user-plane function node and user equipment and computer readable recording medium therein
CN110086837A (en) * 2018-01-25 2019-08-02 中兴通讯股份有限公司 A kind of transmission control method of message, equipment and computer readable storage medium
CN110519809A (en) * 2018-05-21 2019-11-29 华为技术有限公司 Manage the methods, devices and systems of PDU session

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109644514A (en) * 2016-08-19 2019-04-16 日本电气株式会社 Each session subscriber plane connection activation or deactivated method
CN109923937A (en) * 2016-10-11 2019-06-21 日本电气株式会社 For the method for session management parameter maintenance, conversation management functional node, user-plane function node and user equipment and computer readable recording medium therein
KR20180107763A (en) * 2017-03-22 2018-10-02 한국전자통신연구원 Method for user traffic connection management
CN110086837A (en) * 2018-01-25 2019-08-02 中兴通讯股份有限公司 A kind of transmission control method of message, equipment and computer readable storage medium
CN110519809A (en) * 2018-05-21 2019-11-29 华为技术有限公司 Manage the methods, devices and systems of PDU session

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
Huawei. "S2-181670 N4 reporting for PDU Session Inactivity".3GPP tsg_sa\WG2_Arch.2018,正文第1-2节. *
Tencent. "S2-1900072 TS 23.502 DL Data Buffering in SMF V1".3GPP tsg_sa\wg2_arch.2019,全文. *

Also Published As

Publication number Publication date
CN113133063A (en) 2021-07-16

Similar Documents

Publication Publication Date Title
US11503523B2 (en) Network handover method, apparatus and system, and handover determination method and apparatus
US10499326B2 (en) User equipment paging method and MME
US11129054B2 (en) Methods, systems and devices for supporting local breakout in small cell architecture
US10455489B2 (en) Method for supporting PDN GW selection
US9363658B2 (en) Data transmission method, mobility management entity, and mobile terminal
CN106961456B (en) IOT service determining method and device and IOT service behavior control method and device
RU2442298C2 (en) Method for bearer channel processing and mobility management entity
WO2017071327A1 (en) Data transmission processing method and device
CN109644388B (en) Method for access control using relay UE and apparatus therefor
KR20130090802A (en) Method and apparatus for improving transmission efficiency in wireless communication system
US11224096B2 (en) Method and apparatus for configuring power consumption parameter
US11432355B2 (en) Control plane connection management method and apparatus
CN113133063B (en) Session release method, electronic equipment and storage medium
US20210329504A1 (en) Communication method and apparatus
WO2023125201A1 (en) Communication method and apparatus
WO2016184064A1 (en) Access control method and device for emergency communication network
US20220330005A1 (en) Roaming method, apparatus, and system
WO2018133604A1 (en) Access control method, network element, user equipment, and computer storage medium
US11051268B2 (en) Service activation and deactivation method, device and computer storage medium
CN114071456B (en) Information sending method, information receiving method and information receiving equipment
US20230337325A1 (en) Communication method and communication apparatus
US10470105B2 (en) Network status information transfer method and network device
WO2010088794A1 (en) Method and system for processing context in evolution network
WO2023273767A1 (en) Communication method, access and mobility management function entity, radio access network device, and computer-readable storage medium
WO2019223477A1 (en) Session processing method and apparatus, network element and storage medium

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