WO2018205775A1 - Data buffering method and session management functional entity - Google Patents

Data buffering method and session management functional entity Download PDF

Info

Publication number
WO2018205775A1
WO2018205775A1 PCT/CN2018/081803 CN2018081803W WO2018205775A1 WO 2018205775 A1 WO2018205775 A1 WO 2018205775A1 CN 2018081803 W CN2018081803 W CN 2018081803W WO 2018205775 A1 WO2018205775 A1 WO 2018205775A1
Authority
WO
WIPO (PCT)
Prior art keywords
user plane
function entity
session
plane function
downlink data
Prior art date
Application number
PCT/CN2018/081803
Other languages
French (fr)
Chinese (zh)
Inventor
唐廷芳
李岩
倪慧
Original Assignee
华为技术有限公司
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
Priority claimed from CN201710470680.7A external-priority patent/CN108881356B/en
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to ES18799351T priority Critical patent/ES2907108T3/en
Priority to KR1020197033643A priority patent/KR102434608B1/en
Priority to BR112019023265-6A priority patent/BR112019023265A2/en
Priority to EP18799351.4A priority patent/EP3611904B1/en
Priority to JP2019556835A priority patent/JP7060613B2/en
Publication of WO2018205775A1 publication Critical patent/WO2018205775A1/en
Priority to US16/661,101 priority patent/US11464070B2/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management

Definitions

  • the present application relates to the field of wireless communication technologies, and in particular, to a method for buffering data and a session management function entity.
  • a packet data network gateway (packet data network gateway, PGW) can be guaranteed as a network protocol (Internet Protocol, IP) continuity anchor.
  • IP Internet Protocol
  • the terminal device obtains downlink data from the data network through a serving gateway (SGW) SGW1 and a PGW to implement transmission of service data. If the terminal device enters the idle state from SGW1, the downlink data is buffered in SGW1.
  • SGW serving gateway
  • the SGW2 needs to establish a forwarding tunnel with the SGW1 to obtain the downlink data buffered in the SGW1.
  • the transmission path of the buffered downlink data is SGW1 ⁇ SGW2 ⁇ terminal device.
  • the transmission path is PGW ⁇ SGW2 ⁇ terminal device.
  • the two different data transmission paths cause the downlink data received by the terminal device to be out of order. If the downlink data received by the terminal device is out of order, the terminal device needs to suspend processing, and first adjusts the received downlink data, thereby seriously affecting the user experience (for example, the video service may cause a jam).
  • SSC Session and Service continuity
  • SSC1 mode the user plane function (UPF) entity of the session remains unchanged until the end of the service, that is, the anchor IP is unchanged.
  • SSC2 mode when the terminal device moves out of the service area of the original anchor UPF, the connection with the original anchor UPF entity is released.
  • the terminal device may select a new anchor point UPF entity to establish a new connection, and release the connection between the terminal device and the original anchor point UPF entity after a specified time.
  • multiple IPs can be served simultaneously for the terminal device.
  • the anchored UPF entity of the session with the SSC1 mode does not change during the movement of the terminal device. After the session enters the deactivated state under the other UPF entities of the non-anchor UPF entity, it is an urgent problem to be solved by which UPF entity caches the downlink data and ensures that the downlink data received by the terminal device is not out of order.
  • This application describes a method of caching data and a session management functional entity.
  • an embodiment of the present application provides a method for caching data, the method comprising: a session management function entity interacting with a second user plane function entity and a first user plane function entity, respectively, to enable a first user plane function entity
  • the first downlink data of the first session is sent to the access network device by the second user plane function entity.
  • the first user plane function entity is an anchor point of the first session.
  • the session management function entity notifies the first user plane function entity to cache the second downlink data of the first session according to the preset condition.
  • the second downlink data is downlink data received by the first user plane function entity after the first session is switched to the deactivated state.
  • the session management function entity notifies the anchor user plane function entity to cache the second downlink data according to the preset condition.
  • the second downlink data buffered by the anchor user plane function entity is the same as the transmission path of the third downlink data newly received by the first session to the active state.
  • the disorder of the downlink data received by the terminal is avoided.
  • there is no need to establish an additional forwarding tunnel and no need to release the forwarding tunnel to obtain the buffered downlink data which reduces the signaling interaction between the UPF entities, thereby reducing the delay and improving the user experience.
  • the preset condition includes at least one of the following: the SSC information indicates that the first session has a first session and a traffic continuity SSC1 mode; the mobility information indicates that the terminal device is a high mobility device; session management The functional entity and the first user plane functional entity belong to the same carrier network.
  • the first session has an SSC1 mode, indicating that the UPF that is the anchor of the PDU session remains unchanged when the PDU session is initially established. In other words, during the movement of the terminal device, the anchor UPF entity of the first session with the SSC1 mode does not change.
  • the session management function entity and the first user plane function entity belong to the same carrier network, and may include non-roaming scenarios or local grooming LBO roaming scenarios.
  • the choice of cache device may also need to consider the mobility of the terminal device.
  • the method further includes: the session management function entity interacting with the third user plane function entity and the first user plane function entity, respectively, such that the first user plane function entity passes through the third user plane function entity
  • the access network device sends the second downlink data and the third downlink data.
  • the third downlink data is downlink data received by the first user plane function entity after the first session is switched to the active state.
  • the session management function entity notifies the first user plane function entity to cache the second downlink data of the first session according to the preset condition, including: the session management function entity selects the first user plane according to the preset condition.
  • the function entity is used as a user plane function entity for buffering the second downlink data; the session management function entity notifies the first user plane function entity to cache the second downlink data after receiving the second downlink data.
  • the method further includes: the session management function entity obtains mobility information of the terminal device.
  • the session management function entity may obtain mobility information of the terminal device by: the session management function entity receiving the mobility attribute from the mobility management function entity, the mobility information being a mobility attribute; or the session management function entity acquiring the mobility statistics information
  • the mobility information is mobility statistics information; or the session management function entity receives the mobility attribute from the mobility management function entity, acquires mobility statistics information, and determines mobility information according to the mobility attribute and the mobility statistics.
  • the mobile attribute includes at least a high mobility attribute or a low mobility attribute, and the mobility statistics information is used to indicate a moving speed or a staying time of the terminal device.
  • the session management function entity obtains mobility statistics, including: the session management function entity receives mobility statistics information from the mobility management function entity; or the session management function entity obtains mobility statistics information from the network data analysis NWDA device.
  • the method further includes: after the session management function entity selects the first user plane function entity as the user plane function entity that caches the second downlink data, the session management function entity releases the second user plane function entity. Therefore, when the anchor user plane function entity is selected as the cache device, the second user plane function entity can be directly released, thereby saving network resources.
  • the above method is suitable for routing HR roaming scenarios at home.
  • the session management function entity and the third user plane function entity are located in the VPLMN in the HR roaming scenario, the method further includes: the session management function entity adjusts the cache device, and the cache device is configured to cache after the first session is switched to the deactivated state.
  • the fourth downlink data of the first session is suitable for routing HR roaming scenarios at home.
  • the session management function entity adjusts the cache device, including: the session management function entity determines that the third user plane function entity is the cache device; or the session management function entity determines that the session management function entity is a cache device.
  • the session management function entity determines that the third user plane function entity is the cache device; or the session management function entity determines that the session management function entity is a cache device.
  • the present application further discloses a method for buffering data, comprising: a session management function entity interacting with a second user plane function entity and a first user plane function entity, respectively, such that the first user plane function entity passes the second
  • the user plane function entity sends the first downlink data of the first session to the access network device, where the first user plane function entity is an anchor point of the first session.
  • the session management function entity notifies the second user plane function entity to cache the second downlink data of the first session according to the preset condition.
  • the preset condition includes the SSC information indicating that the first session has a third session and a service continuity SSC3 mode.
  • the second downlink data is downlink data received by the second user plane function entity after the first session is switched to the deactivated state.
  • the session management function entity interacts with the third user plane function entity and the second user plane function entity, respectively, to enable the second user plane function entity to send the second downlink data to the access network device through the third user plane function entity, and the The first user plane function entity sends the third downlink data to the access network device through the second user plane function entity and the third user plane function entity.
  • the third downlink data is downlink data received by the first user plane function entity after the first session is switched to the active state.
  • the first session has an SSC3 mode, indicating that in the SSC3 mode, multiple anchor points UPF may exist at the same time. In other words, there may be multiple "sessions” or multiple “session branches” of the session.
  • the data paths for transmitting the second downlink data and the third downlink data are the same, thereby avoiding the out-of-order problem of the downlink data received by the terminal, and improving the user experience.
  • the session management function entity notifies the second user plane function entity to cache the second downlink data of the first session according to the preset condition, including: the session management function entity selects the second user plane according to the preset condition.
  • the function entity is used as a cache device for buffering the second downlink data; the session management function entity notifies the second user plane function entity to cache the second downlink data after receiving the second downlink data.
  • the same or different cache device for buffering the downstream data may be selected.
  • the initial anchor UPF or the current N3 UPF may be selected as the cache device, and the respective cache device is notified by the N4 message to buffer the received downlink data.
  • an embodiment of the present application provides a method for buffering data, where the method includes: the session management function network element interacts with the second user plane function network element and the first user plane function network element, respectively, so that the first The user plane function network element sends the first downlink data of the first session through the second user plane function network element.
  • the second user plane function network element is a user plane function network element connected to the access network device in the first session
  • the first user plane function network element is a user plane function network element connected to the second user plane function network element; for example
  • the first user plane function network element is an anchor point of the first session.
  • the session management function network element releases the second user plane function network element when the first session enters the deactivated state (for example, determining release according to at least one of session and service continuity information, mobility information, and policy information) The second user plane function network element).
  • the session management function network element notifies the first user plane function network element to cache the second downlink data of the first session.
  • the session management function network element after the second user plane function network element is released, notifies the first user plane function network element to release the connection with the second user plane function network element, so that the foregoing
  • the first user plane function network element "automatically" becomes a cache device that caches the second downlink data after the first session transitions to the deactivated state.
  • the session management function network element deletes the second user plane function network element
  • the first user plane function network element becomes a new user plane function network element connected to the access network device, and caches the second downlink data.
  • the second downlink data buffered by the first user plane function network element is the same as the transmission path of the third downlink data newly received by the first session to the active state.
  • the disorder of the downlink data received by the terminal is avoided.
  • the terminal device When the first session enters the deactivated state, the terminal device enters the idle state (IDLE), releases the related transmission resource of the access network of the first session, or the terminal device is still in the connected state (CM-Connected). ), in the process of releasing the relevant transmission resources of the access network of the first session.
  • IDLE idle state
  • CM-Connected connected state
  • the embodiment of the present application provides a session management function entity, which has the function of implementing the behavior of the session management function entity in the foregoing method.
  • the functions may be implemented by hardware or by corresponding software implemented by hardware.
  • the hardware or software includes one or more modules corresponding to the functions described above.
  • the structure of the session management function entity includes a processor and a transceiver configured to process the session management function entity to perform the corresponding function in the above method.
  • the transceiver is configured to implement communication between the session management function entity and the mobility management function entity/user plane function entity/other session management function entity.
  • the session management function entity can also include a memory for coupling with the processor that holds program instructions and data necessary for the session management function entity.
  • embodiments of the present application provide a computer readable storage medium having instructions stored therein that, when run on a computer, cause the computer to perform the methods described in the above aspects.
  • embodiments of the present application provide a computer program product comprising instructions that, when run on a computer, cause the computer to perform the methods described in the above aspects.
  • FIG. 1 is a schematic diagram of cache data in the prior art
  • FIG. 2 is a schematic diagram of a communication system to which an embodiment of the present invention is applied;
  • 3A and 3B are signaling interaction diagrams of a method of buffering data according to an embodiment of the present invention.
  • FIGS. 3A and 3B are schematic diagram showing changes in data paths of the first session in FIGS. 3A and 3B;
  • FIG. 5 is another signaling interaction diagram of a method for buffering data according to an embodiment of the present invention.
  • FIG. 6 is still another signaling interaction diagram of a method of buffering data according to an embodiment of the present invention.
  • FIG. 7 is a flow chart of a method of buffering data according to an embodiment of the present invention.
  • FIG. 8A is a signaling interaction diagram of a method for buffering data according to another embodiment of the present invention.
  • FIG. 8B is a schematic diagram of a data path change in FIG. 8A;
  • FIG. 9 is a flowchart of a method of buffering data according to another embodiment of the present invention.
  • FIG. 10 and 11 are schematic views of a scenario in which the method of FIG. 9 can be applied;
  • 12A and 12B are schematic diagrams showing the structure of a session management function entity according to an embodiment of the present invention.
  • the embodiment of the present application proposes a solution based on the communication system shown in FIG. 2, which is applicable to implementing data caching in a next-generation mobile network (such as a 5G network) architecture.
  • a next-generation mobile network such as a 5G network
  • the control plane function and the forwarding plane function of the mobile gateway are decoupled, and the separated control plane functions and the third generation partnership project (3GPP) traditional control network element MME And merge into a unified control plane entity.
  • the user plane UPF entity can implement user plane functions (SGW-U and PGW-U) of a serving gateway (SGW) and a packet data network gateway (PGW).
  • the unified control plane entity can be decomposed into an access and mobility management function (AMF) entity and a session management function (SMF) entity.
  • AMF access and mobility management function
  • SMF session management function
  • the AMF entity may be responsible for the attachment, mobility management, and tracking area update process of the terminal device.
  • the SMF entity may be responsible for session management of the terminal device, selection of user plane devices, reselection of user plane devices, internet protocol (IP) address allocation, quality of service (QoS) control, and session establishment, Modify and release, etc.
  • IP internet protocol
  • QoS quality of service
  • the embodiments of the present application can also be applied to other communication technologies for the future.
  • the system architecture and the service scenario described in the embodiments of the present application are for the purpose of more clearly illustrating the technical solutions of the embodiments of the present application, and do not constitute a limitation of the technical solutions provided by the embodiments of the present application.
  • the technical solutions provided by the embodiments of the present application are equally applicable to similar technical problems.
  • the embodiment of the present application provides a communication system.
  • the communication system includes a terminal device 202, an access network device 204, an AMF entity 206, an SMF entity 208, and user plane entities 210a, 210b.
  • the AMF entity, the SMF entity, and the user plane entity may also be referred to as an AMF network element, an SMF network element, and a user plane network element, respectively.
  • the terminal device 202 involved in the embodiments of the present application may include various handheld devices having wireless communication functions, in-vehicle devices, wearable devices, computing devices, or other processing devices connected to the wireless modem.
  • the terminal device may also be referred to as a user equipment (UE), a mobile station (MS), a terminal, and may also include a subscriber unit, a cellular phone, a smart phone.
  • UE user equipment
  • MS mobile station
  • subscriber unit a cellular phone
  • smart phone smart phone
  • wireless data card personal digital assistant (PDA) computer, tablet computer, wireless modem (modem), handheld device, laptop computer, cordless phone (cordless) Phone) or wireless local loop (WLL) station, machine type communication (MTC) terminal, and the like.
  • PDA personal digital assistant
  • modem modem
  • handheld device laptop computer
  • cordless phone cordless phone
  • WLL wireless local loop
  • MTC machine type communication
  • the access network device 204 involved in the embodiment of the present application is a device deployed in a wired or wireless access network to provide wireless communication functions for the terminal device 102.
  • the access network device may include various forms of base stations, such as a macro base station, a micro base station (also referred to as a small station), a relay station, an access point, and the like.
  • base stations such as a macro base station, a micro base station (also referred to as a small station), a relay station, an access point, and the like.
  • the name of a device having a base station function may be different, for example, in an LTE system, an evolved Node B (evolved NodeB, eNB or eNodeB), in the third In a 3rd generation (3G) system, it is called a Node B or the like.
  • eNB evolved Node B
  • 3G 3rd generation
  • the AMF entity 206 involved in the embodiment of the present application may be responsible for attachment, mobility management, tracking area update procedure, and the like of the terminal device.
  • the SMF entity 208 involved in the embodiment of the present application may be responsible for session management of the terminal device, selection of a user plane entity (such as the user plane entity 210a or 210b), reselection of the user plane entity, IP address allocation, QoS control, and The establishment, modification, and release of a session.
  • a user plane entity such as the user plane entity 210a or 210b
  • UPF entity 210a UPF entity 210a and UPF entity 210b. Both the UPF entity 210a and the UPF entity 210b are connected to a data network (DN) 212 for effecting data transmission of services in different service areas.
  • DN data network
  • the UPF entity 210b may also be connected to other access network devices, and the invention is not limited.
  • the embodiments of the present invention may also include other numbers of UPF entities, which are not limited by the present invention.
  • connection between the access network device 204 and the AMF entity 206 is an N2 connection
  • the connection between the access network device 204 and the UPF entity 210a (or 210b) is an N3 connection
  • the SMF entity 208 and the UPF is an N3 connection
  • the connection between entities 210a (or 210b) is an N4 connection
  • the connection between AMF entity 206 and SMF entity 208 is an N11 connection
  • the connection between each SMF entity is an N16 connection.
  • the connection between the various UPF entities is an N9 connection.
  • a "connection" can also be referred to as a point-to-point reference point or a reference point. Further, the above connection is not limited to the above names, and may have other names.
  • a message is named by a connection, it indicates that the message is a message transmitted through the connection.
  • “N2 message” represents a message transmitted over a connection between the access network device 204 and the AMF entity 206.
  • the "N2 message” may have other specific names in different scenarios and processes, and the present invention is not limited thereto.
  • the "N3 message”, “N4 message”, “N11 message”, and “N16 message” are similar, and will not be described here.
  • the communication system further includes a Network Data Analytics (DWDA) device 214.
  • NWDA Network Data Analytics
  • the NWDA device is used to count mobility statistics of the terminal device. For example, the mobility statistics are used to indicate the speed of movement of the terminal device or the dwell time under a certain UPF entity.
  • session may refer to a packet data unit (PDU) session.
  • data path refers to a path for transmitting uplink or downlink data between the terminal device 202 and the UPF through a session, and may also be referred to as "user plane path”.
  • FIG. Figure 4 illustrates the change in the data path of the first session of the terminal device 202 during the move.
  • the terminal device Before performing the steps shown in FIG. 3A (for example, time T1 in FIG. 4), the terminal device establishes a first session with UPF1 and transmits data of the service through UPF1.
  • UPF1 is the UPF entity 210a in FIG.
  • the first session has a first session and business continuity (SSC1) mode, and UPF1 is the anchor of the first session.
  • SSC1 business continuity
  • the terminal device 202 transmits a session establishment request message to the AMF entity 206 via the access network device 204. For example, when the terminal device moves out of the service range of the UPF1, if the trigger condition for establishing the session is met, the terminal device 202 sends a session establishment request message.
  • the session establishment request message may carry the SSC mode information of the first session.
  • the session establishment request message may further carry PLMN information for indicating a public land mobile network (PLMN) that the terminal device 202 subscribes to.
  • PLMN public land mobile network
  • the session establishment request message carries a subscriber permanent identifier (SUPI) of the terminal device, and the PLMN information can be represented by a field in the SUPI.
  • SUPI subscriber permanent identifier
  • step 302 the AMF entity 206 sends an N11 message to the SMF entity 208.
  • the N11 message can be used to establish a PDU session (first session).
  • the N11 message in step 302 may further carry the SSC mode information of the session.
  • the mode SSC information is used to indicate that the session has an SSC1 mode.
  • the SMF entity 208 can learn that the session has the SSC1 mode.
  • the N11 message in step 302 may further carry the PLMN information subscribed by the terminal device 202.
  • the SMF entity 208 can also know whether the current terminal device 202 is located in the home public land mobile network (HPLMN), that is, whether the terminal device 202 is in a non-roaming state. For example, the SMF entity 208 determines whether the PLMN information of the current network is the same as the PLMN information obtained in step 302 to determine if the current terminal device 202 is located within the HPLMN.
  • HPLMN home public land mobile network
  • the SMF entity 208 obtains the mobility information of the terminal device 202.
  • the mobility information is used to indicate whether the terminal device 202 belongs to a high mobility device.
  • the SMF entity can obtain the mobility information of the terminal device 202 in the following ways:
  • the AMF entity Prior to step 302, the AMF entity obtains mobility statistics from the NWDA device 214 via step 302a.
  • the N11 message in step 302 carries the acquired mobility statistics.
  • the SMF entity 208 After receiving the N11 message from the AMF entity 206, the SMF entity 208 obtains the mobility information of the terminal device 202 based on the mobility statistics.
  • the N11 message in step 302 carries the mobility statistics obtained from the NWDA, and the mobility attribute of the terminal device 202 of the AMF.
  • the SMF entity 208 determines the mobility information of the terminal device 202 based on the mobility statistics and the mobility attributes.
  • the N11 message in step 302 carries the mobility attribute of the terminal device 202 of the AMF.
  • the SMF entity 208 obtains mobility statistics from the NWDA device 214 via step 302b.
  • the SMF entity obtains the mobility information of the terminal device 202 based on the mobility statistics information, or determines the mobility information of the terminal device 202 based on the mobility statistics information and the mobility attribute.
  • the SMF entity 208 After receiving the N11 message from the AMF entity 206, the SMF entity 208 obtains mobility statistics from the NWDA device 214 via step 302b. The SMF entity obtains mobility information of the terminal device 202 based on the mobility statistics.
  • the N11 message in step 302 carries the mobility attribute of the terminal device 202 managed by the AMF.
  • the SMF entity 208 After receiving the N11 message from the AMF entity 206, the SMF entity 208 obtains the mobility information of the terminal device 202 based on the mobility attribute.
  • the mobility attribute includes at least a first type of mobility (e.g., high mobility) or a second type of mobility (e.g., low mobility).
  • the mobility attribute may also include a third type of mobility (eg, medium mobility).
  • the mobility attribute may be a parameter in a mobility pattern or may be a parameter independent of the mobility mode.
  • the mobility attributes may be configured by the AMF entity 206, or may be obtained by the AMF entity 206 from other network devices, and the invention is not limited thereto.
  • the mobility statistics may include at least one of a moving speed of the terminal device 202 and a dwell time of the terminal device 202 under a certain UPF entity. It should be noted that the moving speed here may be generated according to the instantaneous speed value of each terminal in the preset time period. Similarly, the dwell time can also be generated based on statistics.
  • obtaining the mobility information of the terminal device 202 according to the mobility statistics information may include: if the mobility statistics information indicates that the moving speed of the terminal device 202 is higher than a first threshold or The staying time of the terminal device 202 under a certain UPF entity is not higher than the second threshold, and the determined mobility information indicates that the terminal device 202 belongs to the high mobility device. If the mobility statistics indicate that the moving speed of the terminal device 202 is not higher than the first threshold or the dwell time of the terminal device 202 under a certain UPF entity is higher than the second threshold, the determined mobility information indicates that the terminal device 202 does not belong to the high. Mobile device.
  • obtaining the mobility information of the terminal device 202 according to the mobility attribute may include: if the mobility attribute is the first type of mobility (for example, high mobility), the determined mobility information indicates the terminal device. 202 belongs to a highly mobile device. If the mobility attribute is a second type of mobility (eg, low mobility) or a third type of mobility (eg, medium mobility), the determined mobility information indicates that the terminal device 202 does not belong to the high mobility device.
  • the mobility attribute is the first type of mobility (for example, high mobility)
  • the determined mobility information indicates the terminal device. 202 belongs to a highly mobile device.
  • the mobility attribute is a second type of mobility (eg, low mobility) or a third type of mobility (eg, medium mobility)
  • the determined mobility information indicates that the terminal device 202 does not belong to the high mobility device.
  • determining the mobility information of the terminal device 202 according to the mobility statistics information and the mobility attribute may include: if the mobility statistics information indicates that the moving speed of the terminal device 202 is higher than a first threshold or the terminal If the dwell time of the device 202 under a certain UPF entity is not higher than the second threshold, and the mobility attribute is the first type of mobility (eg, high mobility), the determined mobility information indicates that the terminal device 202 belongs to the high mobility device. .
  • the determined mobility information indicates that the terminal device 202 does not belong to the high mobility device. If the mobility statistics and the mobility attributes are inconsistent, the SMF entity 208 can further determine whether the terminal device 202 belongs to the high mobility device based on the local policy.
  • the SMF entity 208 selects UPF2 (e.g., the UPF entity 210b in FIG. 2) to interact with the UPF2 through the N4 message to establish a PDU session (first session). For example, the SMF entity 208 sends an N4 session establishment request message to the UPF 2, and the UPF 2 returns an N4 session establishment response message to the SMF entity 208.
  • UPF2 e.g., the UPF entity 210b in FIG. 2
  • the SMF entity 208 sends an N4 session establishment request message to the UPF 2
  • the UPF 2 returns an N4 session establishment response message to the SMF entity 208.
  • UPF2 is connected to UPF1.
  • UPF2 and UPF1 are connected through an N9 connection.
  • the SMF entity 208 returns an N11 message to the AMF entity 206.
  • the N11 message is a setup PDU session accept message.
  • the setup PDU session accept message of step 304 carries tunnel information (eg, address information of UPF2) on the core network side.
  • step 305 the AMF entity 206 sends an N2 message to the access network device 204 to forward the establish PDU session accept message of step 304 to the access network device 204.
  • the N2 message is used to activate an N3 connection between the AMF device 206 and the UPF 2 for the first session described above.
  • Step 306 After receiving the N2 message, the access network device 204 establishes a data radio bearer (DRB).
  • DRB data radio bearer
  • the access network device 204 returns an N2 message to the AMF entity.
  • the N2 message is a setup PDU session accept message.
  • the setup PDU session accept message of step 307 carries the tunnel information of the access network side.
  • step 308 the AMF entity 206 sends an N11 message to the SMF entity 208 to forward the setup PDU session accept message of step 307 to the SMF entity 208.
  • the SMF entity 208 exchanges the N4 message with the UPF2 to forward the tunnel information of the access network side to the UPF2 by modifying the PDU session. For example, SMF entity 208 sends an N4 session modification request message to UPF2. The UPF 2 returns an N4 session modification response to the SMF entity 208.
  • the SMF entity 208 interacts with the UPF1 N4 message to add the UPF2 to the data path of the first session of the UPF1 by modifying the PDU session. For example, SMF entity 208 sends an N4 Session Modification Request message to UPF1, which returns an N4 Session Modification Response message to SMF entity 208.
  • step 310 the SMF entity 208 returns an N11 message to the AMF entity 206 as a response to the N11 message in step 308.
  • the UPF1 sends the first downlink data of the first session to the access network device (for example, the access network device 204) via the UPF2.
  • the downlink data path of the first session is: UPF1 ⁇ UPF2 ⁇ access network device (not shown) ⁇ terminal device 202.
  • the uplink data path of the first session is: terminal device 202 ⁇ access network device (not shown) ⁇ UPF2 ⁇ UPF1.
  • the UPF2 is a UPF entity connected to the access network device 204, and may also be referred to as an N3 UPF.
  • N3 UPF is used to terminate the N3 connection, which can also be called the endpoint of the N3 connection.
  • the UPF entity connected to the access network device 204 is simply referred to as N3 UPF.
  • the UPF entity connected to the access network device 204 may also have other names, which are not limited by the present invention.
  • Step 311 When the trigger condition is met, triggering to convert the first session to an inactive state. At this time, the terminal device 202 transmits a trigger message to the access network device 204. Upon receiving the trigger message, the access network device 204 sends an N2 message to the AMF entity 206 to release the N2 connection between the access network device 204 and the AMF entity 206.
  • the first session is triggered to switch to the deactivated state. If all sessions on the terminal device 202 are switched to the deactivated state, the terminal device 202 switches to the CM-CONNECTED state accordingly.
  • step 312 the AMF entity 206 sends an N11 message to the SMF entity 208 requesting to release the N3 connection between the access network device 204 and the UPF 2.
  • the N11 message may carry at least one of mobility statistics information and mobility attributes.
  • the SMF entity 208 may update the mobility information of the terminal device 202.
  • the SMF entity 208 updates the mobility information of the terminal device 202 refer to the description of the mobility information of the terminal device 202 obtained by the SMF entity 208 in step 302, and details are not described herein again.
  • Step 313 the SMF entity 208 selects the UPF1 as a cache device for buffering the second downlink data after the first session is switched to the deactivated state according to the preset condition.
  • the preset condition includes at least one of the following:
  • the SSC information indicates that the first session has an SSC1 mode
  • the mobility information of the terminal device 202 indicates that the terminal device 202 belongs to a high mobility device
  • the session management function entity and the first user plane function entity belong to the same carrier network (for example, a non-roaming scene or a local sparring local breakout, LBO, roaming scenario).
  • UPF1 may be selected as a cache device that caches the second downlink data after the first session transitions to the deactivated state.
  • the SMF entity 208 selects the UPF1 to buffer the second downlink data.
  • the SMF entity 208 selects the UPF1 to buffer the second downlink data.
  • the SMF entity 208 selects the UPF1 to buffer the second downlink data.
  • the SMF entity 208 selects the UPF1 to buffer the second downlink data.
  • the above method can be applied to both non-roaming scenarios and LBO roaming scenarios. When the above method is applicable to the scenario of LBO roaming, the SMF entity 208 is located in the visited PLMN (VPLMN).
  • the SMF entity 208 interacts with the UPF 2 for the N4 message to request to release the N3 connection between the access network device 204 and the UPF 2. For example, the SMF entity 208 sends an N3 connection release request message or a session modification request message to the UPF2, and the UPF2 returns an N3 connection release response message or a session modification response message to the SMF entity 208, thereby releasing An N3 connection between the access network device 204 and the UPF 2.
  • SMF entity 208 interacts with UPF2 with an N4 message to request release of UPF2.
  • the SMF entity 208 sends a session termination request to the UPF 2, and the UPF 2 returns a session termination response to the SMF entity 208, thereby directly releasing UPF2.
  • release UPF refers to the release of the specified/all sessions on the UPF, that is, the deletion of the information related to the specified/all sessions on the UPF, and may also be expressed as “delete UPF”. A similar description will follow.
  • the SMF entity 208 sends an N4 message to the UPF1 to notify the UPF1 to buffer the second downlink data.
  • the SMF entity 208 sends an N4 session modification request message to the UPF1 by modifying the PDU session, and the UPF1 returns an N4 session modification response message to the SMF entity 208, thereby notifying the UPF1 to buffer the second downlink data.
  • the foregoing steps 313-315 may be replaced by: the SMF entity 208 releases the UPF2, and sends an N4 message to the UPF1 to notify the UPF1 to release the connection between the UPF1 and the UPF2.
  • the SMF entity 208 first determines whether the UPF 2 needs to be released based on the policy information. When the policy information indicates that UPF2 is released, SMF entity 208 determines to release UPF2. For example, the operator sets whether the user plane management policy deletes the N3 UPF for all sessions or deletes the N3 UPF for the specified session, thereby generating corresponding policy information. In addition, the SMF entity 208 may further determine whether the UPF2 needs to be released according to other parameters in the foregoing preset conditions (for example, session and service continuity information, mobility information), and may refer to the SMF entity 208 to select UPF1 as a cache device according to a preset condition. The description will not be repeated. That is, when any of the above is satisfied, the SMF entity 208 determines that UPF2 needs to be released.
  • the policy information indicates that UPF2 is released
  • SMF entity 208 determines to release UPF2. For example, the operator sets whether the user plane management policy deletes the N3 UPF for all sessions or deletes the
  • the SMF entity 208 determines that the UPF2 needs to be released and then requests the release of UPF2 by interacting with the UPF2 N4 message. For example, the SMF entity 208 sends a session termination request message to the UPF 2, and the UPF 2 returns a session termination response message to the SMF entity 208, thereby directly releasing UPF2.
  • the SMF entity 208 requests the UPF 1 to release the connection between UPF1 and UPF2 by interacting with the UPF1 N4 message. For example, SMF entity 208 sends a session modification request message to UPF1, which returns a session modification response message to SMF entity 208.
  • the UPF1 may be configured to buffer the second downlink data after receiving the second downlink data by carrying the displayed indication information (for example, buffer on/off) in the session modification request.
  • the session modification request may not carry any indication.
  • the UPF1 implicitly informs the UPF1 to cache the second downlink data after receiving the second downlink data. That is, the SMF entity 208 releases the connection between the UPF1 and the UPF2 by notifying the UPF1 that the UPF1 "automatically" becomes the cache device that caches the second downlink data after the first session transitions to the deactivated state.
  • UPF1 after UPF2 is released, UPF1 becomes a new N3 UPF, and then UPF1 becomes a cache device that caches the second downlink data after the first session is switched to the deactivated state. It should be noted that the UPF1 may be an anchor UPF or may be an UPF between the anchor UPF and the UPF2.
  • step 316 the SMF entity 208 returns an N11 message to the AMF entity 206 to confirm release of the N3 connection between the access network device 204 and the UPF 2. After receiving the N11 message, the AMF entity 206 records the first session transition to the deactivated state.
  • the anchor point UPF1 is notified to buffer the second downlink data.
  • the second downlink data buffered by the anchor user plane function entity and the first session are switched again to the active state.
  • the newly received third downlink data transmission path is UPF1 ⁇ UPF3 ⁇ access Network device ⁇ terminal device 202. Thereby, the disorder of the downlink data received by the terminal is avoided.
  • the selection of the cache device also needs to consider the mobility of the terminal device, and the anchor user plane function entity is selected when the terminal device is a high mobility device (which may lead to a high probability of occurrence of out-of-order and re-establishment of the forwarding path). Cache device.
  • whether to delete the N3 UPF connected to the access network device may also need to consider the mobility of the terminal device, and when the terminal device is a high mobility device (which may cause the problem of out-of-order and re-establishing the forwarding path to be high)
  • the N3 UPF is selected to be deleted, and other UPFs (for example, anchor user plane function entities) connected to the N3 UPF through the N9 interface are set as the cache device.
  • the UPF connected to the N3 UPF through the N9 interface may also be the UPF between the anchor user plane function entity and the N3 UPF.
  • the cache device is UPF2
  • the N3 UPF for example, UPF2
  • the N3UPF is directly set as the cache device.
  • the data path of the core network still maintains UPF1 ⁇ UPF2 ⁇ access network device ⁇ terminal device 202.
  • the buffered downlink data can be directly obtained from the UPF2 connected to the access network device, and the probability of removing the UPF2 is relatively low.
  • the buffered downlink data can be obtained nearby, thereby saving signaling resources.
  • the SMF can also select the SMF as a cache device. For example, if the UPF does not have the ability to buffer downstream data, the SMF can select the SMF as the cache device. Alternatively, the SMF may select the SMF as a cache device according to the policy.
  • the second downlink data from the data network 212 reaches UPF1.
  • step 401 the UPF1 buffers the second downlink data.
  • Step 402a After receiving the second downlink data, the UPF1 sends a data notification message to the SMF entity 208.
  • Step 401 may be performed after step 401 is performed first, or step 402a may be performed first, or step 401 may be performed first, or step 401 and step 402a may be performed at the same time.
  • step 402b the SMF entity 208 returns a data notification confirmation message to the UPF1.
  • Step 403 after receiving the data notification message, the SMF entity 208 determines the AMF entity 206 and sends an N11 message to the AMF entity 206.
  • step 404 the AMF entity 206 sends a paging message to the terminal device 202 through the access network device 204 to trigger the terminal device 202 to switch to the connected state.
  • the terminal device 202 After receiving the paging message, the terminal device 202 performs a service request procedure through steps 405 to 411.
  • step 405 the terminal device 202 sends a service request message to the access network device 204. After receiving the service request message, the access network device 204 forwards the service request message through the N2 message.
  • the AMF entity 206 sends an N2 message to the access network device 204.
  • the N2 message carries the address information of the UPF2. Since the N3 connection between the access network device 204 and the UPF 2 has been released through the above step 304, or the UPF 2 is released, the message is invalid and therefore may be omitted.
  • step 405b the AMF entity 206 sends an N11 message to the SMF entity 208.
  • Step 406 After receiving the N11 message, the SMF entity 208 selects UPF3 (not shown in FIG. 2) and interacts with the UPF3 to complete the N4 message to establish a PDU session (first session). For example, SMF entity 208 sends an N4 Session Establishment Request message to UPF3, which returns an N4 Session Establishment Response message to SMF entity 208.
  • the SMF entity 208 interacts with the UPF1 to exchange the N4 message to add the UPF3 to the data path of the first session of the UPF1 by modifying the PDU session. For example, SMF entity 208 sends an N4 Session Modification Request message to UPF1, which returns an N4 Session Modification Response message to SMF entity 208.
  • step 408 may be performed. If UPF2 has been released in the above step 314 in FIG. 3A, step 408 may be omitted.
  • the SMF entity 208 interacts with the UPF2 through the N4 message to release the UPF2. For example, the SMF entity 208 sends a session termination request message to the UPF 2, and the UPF 2 returns a session termination response message to the SMF entity 208, thereby releasing UPF2.
  • Step 409 after receiving the session establishment response message and the session modification response message, the SMF entity 208 sends an N11 message to the AMF entity 206.
  • step 410 the AMF entity 206 sends an N2 message to the access network device 204.
  • the N2 message indicates that the service is accepted.
  • the N2 message carries the address information of the UPF3.
  • Step 411 After receiving the N2 message, the access network device 204 performs an RRC connection reconfiguration with the terminal device 202.
  • UPF3 is N3 UPF.
  • the UPF1 sends the buffered second downlink data and the newly received third downlink data to the access network device 204 via the UPF3.
  • the data paths for transmitting the second downlink data and the third downlink data of the first session are: UPF1 ⁇ UPF3 ⁇ access network device (not shown) ⁇ terminal device 202. Therefore, the data paths for transmitting the second downlink data and the third downlink data are the same, which avoids the disorder of the downlink data received by the terminal, and improves the user experience.
  • there is no need to establish an additional forwarding tunnel and no need to release the forwarding tunnel to obtain the buffered downlink data which reduces the signaling interaction between the UPF entities, thereby reducing the delay and further improving the user experience.
  • the first session transition to the deactivated state may be triggered again.
  • the N2 connection between the access network device 204 and the AMF entity 206, and the N3 connection between the access network device 204 and the UPF 3 (or direct release of the UPF 3) are released.
  • the terminal moves out of the service scope of the original SMF entity 208 during the move, it needs to perform relocation of the SMF entity.
  • UPF1 and UPF2 described above are coupled to SMF entity 208
  • UPF3 is coupled to SMF entity 208'.
  • steps 501 to 505b may refer to the description of steps 401 to 405b in FIG. 3B, and details are not described herein again.
  • step 506 the SMF entity 208 sends an N16 message to the SMF entity 208'.
  • Step 507 after receiving the N16 message, the SMF entity 208' selects the UPF3 and interacts with the UPF3 to establish a PDU session.
  • step 508 the SMF entity 208' returns an N16 message to the SMF entity 208.
  • Steps 509 to 513 may refer to the description of steps 407 to 411 in FIG. 4, and details are not described herein again.
  • the first session transition to the deactivated state can be triggered again.
  • the N2 connection between the access network device 204 and the AMF entity 206 is released.
  • the receiving end of the N11 message in step 312 is the SMF entity 208' (or forwarded to the SMF entity 208' by the SMF entity 208), and the SMF entity 208' is released by interacting with the UPF3.
  • the N3 connection between the network access device 204 and the UPF 3 or the UPF 3 is released.
  • the N3 UPF governed by the SMF that is recently served by the terminal device 202 can also be set (or updated) as a cache device, or the SMF that is recently served for the terminal device 202 is not deleted. N3 UPF.
  • the above method of the present invention can also be applied to a scene of roaming.
  • the roaming scenario includes a local break out (LBO) scenario or a home routed (HR) scenario.
  • LBO local break out
  • HR home routed
  • the terminal device 202 acquires service data through UPF0 (not shown) within the HPLMN.
  • the terminal device 202 roams from the HPLMN to the visited PLMN (VPLMN), and the terminal device establishes a first session with the UPF1 in the VPLMN and transmits the data of the service through the UPF1.
  • UPF1 is the anchor point of the first session within the VPLMN.
  • the first session (e.g., at time T2) can be established with the UPF 2 through steps 301 to 310 in FIG. 3A.
  • the SMF entity 208 at this time is an SMF entity located in the VPLMN.
  • the anchor point UPF1 is notified to buffer the downlink data of the first session. .
  • downlink data may be buffered by the anchor point UPF1 through steps 401 to 411 in FIG. 3B, and the terminal device 202 is triggered to establish a first session with the UPF 3 (eg, at time T3).
  • the cache device that caches the downlink data after the first session transitions to the deactivated state may be selected again based on the preset condition. If the foregoing preset condition is met, the anchor point UPF1 may be selected as the cache device, and the anchor point UPF1 is notified through step 315, and details are not described herein again. If the preset condition is not satisfied, UPF3 may also be selected as the cache device, and UPF3 is notified through step 314. Here, it is possible to select whether to delete the UPF2 based on the preset condition again, thereby determining the cache device.
  • the SMF entity within the VPLMN can also be selected as a cache device (eg, when UPF3 does not have the ability to buffer downstream data).
  • FIGS. 3A and 3B are also applicable to the scene of LBO roaming.
  • FIG. 6 shows the signaling interaction of the method in an HR roaming scenario.
  • UPF1 and the SMF entities located within the HPLMN may be referred to as H-UPF1 and hSMF, respectively, to indicate that they are located within the HPLMN.
  • UPF2, UPF3, and SMF entities located in the VPLMN may be referred to as V-UPF2, V-UPF3, vSMF, respectively, to indicate that they are located within the VPLMN.
  • the terminal device 202 is still in a non-roaming state before performing the steps shown in FIG. 6.
  • the terminal device 202 establishes a first session with the H-UPF1 and transmits data of the service through the H-UPF1.
  • the first session has an SSC1 mode, and H-UPF1 is an anchor point of the first session.
  • step 601 the terminal device 202 transmits a session establishment request message to the AMF entity 206 via the access network device 204.
  • step 602 the AMF entity 206 sends an N11 message to the vSMF.
  • the N11 message can be used to establish a PDU session (first session).
  • the vSMF selects V-UPF2 to interact with the V-UPF2 through the N4 message to establish a PDU session (first session). For example, the vSMF sends an N4 Session Establishment Request message to V-UPF2, and V-UPF2 returns an N4 Session Setup Response message to the vSMF.
  • step 604 the vSMF sends an N16 message to the hSMF to establish a first session.
  • step 605 the hSMF interacts with the H-UPF1 to exchange the N4 message.
  • roaming between HPLMN and VPLMN can be supported to achieve normal session switching.
  • the original H-UPF1 can be kept as an anchor point to add V-UPF2 to the data path of the first session of H-UPF1 by modifying the PDU session.
  • the session cannot be switched normally, and a new anchor point UPF1' needs to be selected within the HPLMN.
  • the data path of the first session with V-UPF2 as N3 UPF and UPF1' as anchor point can be formed by establishing a PDU session.
  • step 606 the hSMF sends an N16 message to the vSMF.
  • the vSMF returns an N11 message to the AMF entity 206.
  • the N11 message is a setup PDU session accept message.
  • step 608 the AMF entity 206 sends an N2 message to the access network device 204 to forward the establish PDU session accept message of step 605 to the access network device 204.
  • Step 609 After receiving the N2 message, the access network device 204 establishes a DRB.
  • step 610 the access network device 204 returns an N2 message to the AMF entity.
  • the N2 message is a setup PDU session accept message.
  • step 611 the AMF entity 206 sends an N11 message to the vSMF to forward the setup PDU session accept message of step 609 to the hSMF.
  • Step 612 The vSMF exchanges the N4 message with the V-UPF2 to forward the tunnel information of the access network side to the UPF2 by modifying the PDU session.
  • step 613 the vSMF returns an N11 message to the AMF entity 206 as a response to the N11 message in step 611.
  • the above steps may refer to the steps of steps 301 to 310 in FIG. 3A. It can be understood that since V-UPF2 and V-UPF3 are controlled by vSMF, they can be directly implemented by vSMF; while H-UPF1 is controlled by hSMF, and forwarding between hSMF and vSMF is required for messages involving H-UPF1.
  • Step 614 When the trigger condition is met, triggering to convert the first session to the deactivated state.
  • the terminal device 202 transmits a trigger message to the access network device 204.
  • the access network device 204 Upon receiving the trigger message, the access network device 204 sends an N2 message to the AMF entity 206 to release the N2 connection between the access network device 204 and the AMF entity 206.
  • step 615 the AMF entity 206 sends an N11 message to the vSMF to request to release the N3 connection between the access network device 204 and the V-UPF2.
  • Step 616 The vSMF notifies the V-UPF2 to cache the second downlink data of the first session according to the preset condition.
  • the preset condition includes the SSC information indicating that the first session has the SSC1 mode.
  • the vSMF interacts with V-UPF2 with an N4 message to request the release of the N3 connection between the access network device 204 and the V-UPF2.
  • the optional vSMF may notify the V-UPF2 to cache the second downlink data of the first session by requesting to release the N4 message of the N3 connection.
  • the N4 message of step 616 has two purposes: (1) requesting to release the N3 connection between the access network device 204 and the V-UPF2; (2) notifying the V-UPF2 to cache the second downlink data of the first session. .
  • step 617 the vSMF returns an N11 message to the AMF entity 206 to confirm release of the N3 connection between the access network device 204 and the V-UPF 2.
  • the AMF entity 206 After receiving the N11 message, the AMF entity 206 records the first session transition to the deactivated state.
  • H-UPF1 (or UPF1') receives the second downlink data
  • the second downlink data is forwarded to V-UPF2.
  • Step 618 V-UPF2 buffers the second downlink data.
  • Steps 619a to 631 may refer to the description of steps 402a to 411 in FIG. 3B, with the difference that, since the second downlink data is buffered in V-UPF2, the data notification message is sent by V-UPF2 to the vSMF controlling V-UPF2, in FIG. 3B.
  • the operation of the SMF entity 208 can be performed by the vSMF; and for the operation of the UPF1 controlled by the hSMF, it needs to be implemented by the forwarding of the vSMF and the hSMF.
  • the vSMF may also update the cache device that buffers the downlink data after the first session transitions to the deactivated state. For example, if the mobility statistics indicate that the terminal device 202 will stay in the VPLMN for a long time (eg, the time at which the terminal device 202 stays at the VPLMN is greater than a third threshold), the UPF3 may be updated as a cache device and notified to the UPF 3. Alternatively, the vSMF can be updated to be a cache device (eg, when UPF3 does not have the ability to buffer downstream data).
  • the vSMF selects the N3 UPF as the cache device.
  • the cache device can be updated, thereby avoiding frequent interaction with the anchor point in the HPLMN, thereby further improving user experience.
  • FIG. 7 illustrates a method of caching data in accordance with an embodiment of the present invention.
  • the method may be performed by a session management function entity (e.g., the SMF entity 208 described above, or a vSMF under an LBO roaming scenario).
  • FIG. 7 will be described in conjunction with FIGS. 2 through 6.
  • the method includes:
  • Step 702 The session management function entity interacts with the second user plane function entity (for example, the UPF2) and the first user plane function entity (for example, the UPF1), so that the first user plane function entity passes the second user plane function.
  • the entity sends the first downlink data of the first session to the access network device (eg, the access network device 204).
  • the first user plane function entity is an anchor point of the first session.
  • step 702 can be implemented by steps 303 and 309b in Figure 3A.
  • Step 704 The session management function entity notifies the first user plane function entity to cache the second downlink data of the first session according to the preset condition.
  • the preset condition includes the SSC information indicating that the first session has the first session and the service continuity SSC1 mode.
  • the second downlink data is downlink data received by the first user plane function entity after the first session is switched to the deactivated state.
  • step 704 can be implemented by step 315 in Figure 3A.
  • the session management function entity notifies the anchor user plane function entity to cache the second downlink data according to the preset condition.
  • the second downlink data buffered by the anchor user plane function entity is the same as the transmission path of the third downlink data newly received by the first session to the active state.
  • the out-of-order problem of the downlink data received by the terminal is avoided, and the user experience is improved.
  • there is no need to establish an additional forwarding tunnel and no need to release the forwarding tunnel to obtain the buffered downlink data which reduces the signaling interaction between the UPF entities, thereby reducing the delay and further improving the user experience.
  • the preset condition includes at least one of the following: the SSC information indicates that the first session has a first session and a service continuity SSC1 mode; the mobility information indicates that the terminal device is a high mobility device; the session management function entity and the A user plane functional entity belongs to the same carrier network.
  • the first session has an SSC1 mode, indicating that the UPF that is the anchor of the PDU session remains unchanged when the PDU session is initially established. In other words, during the movement of the terminal device, the anchor UPF entity of the first session with the SSC1 mode does not change.
  • the session management function entity and the first user plane function entity belong to the same carrier network, and may include non-roaming scenarios or local grooming LBO roaming scenarios.
  • the choice of the cache device also needs to consider the mobility of the terminal device.
  • the method further includes: the session management function entity interacts with the third user plane function entity (for example, the UPF3) and the first user plane function entity, respectively, so that the first user plane function entity passes the third user plane function.
  • the entity sends the second downlink data and the third downlink data to the access network device (which may be the access network device 204 or other access network device).
  • the third downlink data is downlink data received by the first user plane function entity after the first session is switched to the active state (for example, refer to steps 406 and 407 in FIG. 3B).
  • the step 704 includes: the session management function entity selects the first user plane function entity as the user plane function entity that caches the second downlink data according to the preset condition; and the session management function entity notifies the first user plane function entity to receive the After the second downlink data, the second downlink data is buffered (for example, refer to steps 313 to 315 in FIG. 3A).
  • the method further includes: the session management function entity obtains mobility information of the terminal device.
  • the session management function entity may obtain mobility information of the terminal device by the session management function entity receiving the mobility attribute from the mobility management function entity (eg, the AMF entity 206), the mobility information being a mobile attribute; or, session management The functional entity obtains mobility statistics, and the mobility information is mobility statistics; or the session management function entity receives the mobility attribute from the mobility management function entity, obtains mobility statistics, and determines mobility according to the mobility attribute and the mobility statistics. information.
  • the mobility attribute includes at least a high mobility attribute or a low mobility attribute, and the mobility statistics information is used to indicate a moving speed or a staying time of the terminal device (for example, refer to steps 302, 302a, and 302b in FIG. 3A).
  • the session management function entity obtains mobility statistics, including: the session management function entity receives mobility statistics from the mobility management function entity; or the session management function entity obtains from the network data analysis NWDA device (eg, the NWDA device 214 described above) Mobility statistics.
  • the network data analysis NWDA device eg, the NWDA device 214 described above
  • the method further includes: after the session management function entity selects the first user plane function entity as the user plane function entity that caches the second downlink data, the session management function entity releases the second user plane function entity (for example, reference may be made. Step 314) in Figure 3A. Therefore, when the anchor user plane function entity is selected as the cache device, the second user plane function entity can be directly released, thereby saving network resources.
  • the foregoing steps 702 and 704 may be replaced by: the session management function entity interacting with the second user plane function entity and the first user plane function entity, respectively, such that the first user plane function entity passes the second user plane function entity Sending the first downlink data of the first session.
  • the session management function entity releases the second user plane function entity when the first session enters the deactivated state (eg, the session management entity first determines to release the second user plane function entity).
  • the second user plane function entity is a user plane function entity connected to the access network device in the first session.
  • the first user plane function entity may be an anchor UPF or a UPF between the second user plane function entity and the anchor point UPF.
  • the session management function entity notifies the first user plane function entity to cache the second downlink data of the first session.
  • the session management function network element notifies the first user plane function network element to release the connection with the second household function network element, so that the first user plane entity "automatically" becomes the first session transition to the deactivated state.
  • a cache device that caches the second downlink data.
  • the session management function entity deletes the second user plane function entity
  • the first user plane function entity becomes a new user plane function entity connected to the access network device, and caches the second downlink data.
  • the second downlink data buffered by the first user plane function entity is the same as the transmission path of the third downlink data newly received by the first session to the active state.
  • the disorder of the downlink data received by the terminal is avoided.
  • the session management entity first determines to release the second user plane functional entity according to at least one of session and business continuity information, mobility information, and policy information. For example, when any of the following is satisfied, the session management entity determines to release the second user plane energy entity:
  • the session and service continuity information indicates that the first session has a first session and a business continuity mode
  • the mobility information indicates that the terminal device is a high mobility device
  • the local policy indicates that the second user plane entity is released
  • the session management function entity and the first user plane function entity belong to the same carrier network (representing a scenario suitable for non-roaming scenarios or local grooming LBO roaming).
  • the foregoing methods are all applicable to the home routing HR roaming scenario.
  • the session management function entity for example, the vSMF above
  • the third user plane function entity are located in the VPLMN under the HR roaming scenario, the method further includes: the session management function entity adjusts the cache device, where the cache device is used to switch to the first session to After the deactivated state, the fourth downlink data of the first session is cached (for example, refer to step 632 in FIG. 6).
  • the session management function entity adjusts the cache device, including: the session management function entity determines that the third user plane function entity is the cache device; or the session management function entity determines that the session management function entity is a cache device.
  • the session management function entity determines that the third user plane function entity is the cache device; or the session management function entity determines that the session management function entity is a cache device.
  • FIG. 8A shows the signaling interaction of the method
  • Figure 8B shows the change of the data path of the terminal device 202 during the move.
  • This method is applicable to PDU sessions with SSC3 mode.
  • SSC3 mode there may be multiple anchor points UPF at the same time.
  • there may be multiple "sessions" e.g., multiple PDU sessions), or multiple "session branches” of the session.
  • a description will be made by taking a plurality of "sessions" as an example.
  • the terminal device Before performing the step shown in FIG. 8A (for example, time T1 in FIG. 8B), the terminal device establishes a first session with UPF1 and transmits data of the service through UPF1.
  • the first session has an SSC3 mode, and UPF1 is the initial anchor point of the first session.
  • steps 801 to 810 can refer to the description of steps 301 to 310 in FIG. 3A, and details are not described herein again.
  • the N4 message of step 803 has two functions: (1) establishing the first session, that is, adding UPF2 as the N3 for the data path of the first session where the anchor point is UPF1. UPF; (2) establish a new second session with UPF2 as an anchor point.
  • the UPF1 sends the first downlink data of the first session to the access network device 204 via the UPF2.
  • the data path of the first session is: UPF1 ⁇ UPF2 ⁇ access network device (not shown) ⁇ terminal device 202.
  • the data path (not shown) of the second session established with UPF2 as an anchor is: UPF2 ⁇ access network device ⁇ terminal device 202.
  • Step 811 When the trigger condition is met, the trigger converts the first session to the deactivated state. At this time, the terminal device 202 transmits a trigger message to the access network device 204. Upon receiving the trigger message, the access network device 204 sends an N2 message to the AMF entity 206 to release the N2 connection of the first session between the access network device 204 and the AMF entity 206.
  • step 812 the AMF entity 206 sends an N11 message to the SMF entity 208 requesting to release the N3 connection of the first session between the access network device 204 and the UPF 2.
  • the SMF entity 208 selects the UPF2 according to the preset condition or determines that the UPF2 is not deleted according to the preset condition, and notifies the UPF2 to cache the second downlink data of the first session.
  • the preset condition includes the SSC information indicating that the first session has the SSC3 mode.
  • the SMF entity 208 interacts with the UPF 2 with an N4 message to request the release of the N3 connection of the first session between the access network device 204 and the UPF 2.
  • the SMF entity 208 can notify the UPF2 to cache the second downlink data of the first session by requesting to release the N4 message of the N3 connection.
  • the N4 message of step 813 has two purposes: (1) requesting release of the N3 connection of the first session between the access network device 204 and the UPF 2; (2) notifying the UPF 2 to cache the second downlink data of the first session.
  • step 814 the SMF entity 208 returns an N11 message to the AMF entity 206 to confirm the release of the N3 connection of the first session between the access network device 204 and the UPF 2. After receiving the N11 message, the AMF entity 206 records the first session transition to the deactivated state.
  • the second session can be triggered to transition to the deactivated state. If all sessions on the terminal device 202 are switched to the deactivated state, the terminal device 202 switches to the CM-CONNECTED state accordingly.
  • the first session and the second session may be converted to a deactivated state by the same process.
  • the second session is switched to the deactivated state using a process independent of the first session.
  • a cache device for buffering downstream data that is the same as or different from the first session may be selected.
  • the initial anchor point UPF1 (refer to the description of FIGS. 3A through 7) or the current N3 UPF (ie, UPF2) may be selected as the cache device, and the present invention is not limited thereto.
  • the SSC3 mode there may be multiple "sessions" or multiple "session branches" of the session.
  • the SMF entity 208 can select different cache devices for multiple sessions, or multiple session branches of the session, and notify the respective cache devices to buffer the received downlink data through the N4 message.
  • the second downlink data from the first session of the data network 212 arrives at UPF2.
  • step 815 the UPF2 caches the second downlink data.
  • Step 816a After receiving the second downlink data, the UPF2 sends a data notification message to the SMF entity 208.
  • Step 815 may be performed after step 815, or step 816 may be performed first, or step 815 may be performed first, or step 815 and step 816a may be performed at the same time.
  • step 816b the SMF entity 208 returns a data notification confirmation message to the UPF 2.
  • Steps 817 to 819b may refer to the description of steps 403 to 405b in FIG. 3B, and details are not described herein again.
  • step 820 the SMF entity 208 interacts with the UPF 3 for the N4 message to establish a PDU session.
  • the N4 message interaction on the one hand, the above-mentioned first session and the second session are established; on the other hand, the UPF3 is used as the anchor UPF to establish a new third session.
  • the SMF entity 208 interacts with the UPF 2 with an N4 message to modify the PDU session.
  • the SMF entity 208 interacts with the UPF2 through the N4 message to add UPF3 to the data path of the existing session (for example, the first session and the second session) as the N3 UPF, so that the UPF2 is connected to the UPF3.
  • the data path of the newly received third downlink data of the first session is changed to: UPF1 ⁇ UPF2 ⁇ UPF3 ⁇ access network device ⁇ terminal device 202.
  • the data path of the newly received downlink data in the second session is changed to: UPF2 ⁇ UPF3 ⁇ access network device ⁇ terminal device 202.
  • the data path of the downlink data of the newly established third session is: UPF3 ⁇ access network device ⁇ terminal device 202.
  • the data path of the second downlink data buffered by the first session is UPF2 ⁇ UPF3 ⁇ access network device ⁇ terminal device 202.
  • Steps 822 to 824 may refer to the description of steps 409 to 411 in FIG. 3B, and details are not described herein again.
  • UPF3 is N3 UPF.
  • the UPF2 sends the buffered second downlink data to the terminal device 202 through the UPF3.
  • the UPF1 sends the newly received third downlink data of the first session to the terminal device 202 through the UPF2 and the UPF3.
  • the data path (not shown) of the buffered second downlink data is: UPF2 ⁇ UPF3 ⁇ access network device ⁇ terminal device 202; as shown in FIG. 8B, at time T3, the third downlink
  • the transmission path of the data is: UPF1 ⁇ UPF2 ⁇ UPF3 ⁇ access network device (not shown) ⁇ terminal device 202.
  • the data paths for transmitting the second downlink data and the third downlink data are the same, which avoids the disorder of the downlink data received by the terminal, and improves the user experience.
  • the method of FIG. 8A can be used to obtain the buffered downlink data without the need to establish an additional forwarding tunnel and release the forwarding tunnel, thereby reducing signaling interaction between the UPF entities, thereby reducing the delay and further improving the user experience. .
  • the first session transition to the deactivated state may be triggered again.
  • the N2 connection between the access network device 204 and the AMF entity 206, and the N3 connection between the access network device 204 and the UPF 3 are released.
  • the SMF entity 208 may also update the cache device (eg, anchor point UPF3) and notify the updated cache device to buffer the downlink data.
  • FIG. 9 illustrates a method of caching data in accordance with an embodiment of the present invention.
  • the method can be performed by a session management function entity, such as the SMF entity 208 described above.
  • Figure 9 will be described in conjunction with Figures 2 through 4, and Figures 8A and 8B.
  • the method includes:
  • Step 902 The session management function entity interacts with the second user plane function entity (for example, the UPF2) and the first user plane function entity (for example, the UPF1), so that the first user plane function entity passes the second user plane function.
  • the entity sends the first downlink data of the first session to the access network device (for example, the foregoing access network device 204), where the first user plane function entity is an anchor point of the first session.
  • step 902 can be implemented by steps 803 and 809b in Figure 8A.
  • Step 904 The session management function entity notifies the second user plane function entity to cache the second downlink data of the first session according to the preset condition.
  • the preset condition includes the SSC information indicating that the first session has a third session and a service continuity SSC3 mode.
  • the second downlink data is downlink data received by the second user plane function entity after the first session is switched to the deactivated state.
  • step 904 can be implemented by step 813 in Figure 8A.
  • the first session has an SSC3 mode, indicating that in the SSC3 mode, multiple anchor points UPF may exist at the same time. In other words, there may be multiple "sessions” or multiple “session branches” of the session.
  • Step 906 The session management function entity interacts with the third user plane function entity and the second user plane function entity, respectively, so that the second user plane function entity passes through the third user plane function entity to the access network device (which may be an access network)
  • the device 204 or other access network device sends the second downlink data
  • the first user plane function entity passes the second user plane function entity, the third user plane function entity, and the access network device (which may be an access network)
  • the device 204 or other access network device transmits the third downlink data.
  • the third downlink data is downlink data received by the first user plane function entity after the first session is switched to the active state.
  • step 906 can be implemented by steps 820 and 821 in Figure 8A.
  • the step 904 includes: the session management function entity selects the second user plane function entity as a cache device for buffering the second downlink data according to the preset condition; and the session management function entity notifies the second user plane function entity to receive the second After the downlink data, the second downlink data is buffered.
  • the same or different cache device for buffering the downlink data may be selected.
  • the initial anchor point UPF1 (refer to the description of FIG. 3A to FIG. 7) or the current N3 UPF (ie, UPF2) may be selected as the cache device, and the respective cache device is notified by the N4 message to buffer the received Downstream data.
  • the method shown in FIG. 8A can also be applied to a scenario of a multi-homing PDU session or an uplink classifier (ULCL) scenario.
  • ULCL uplink classifier
  • FIG 10 shows a schematic diagram of a multi-homed PDU session scenario.
  • the access network device 204 is connected to a UPF entity (abbreviated as BP UPF) with a branching point (BP) function.
  • BP UPF UPF entity
  • the BP UPF is connected to each PDU session anchor (eg, PDU Session Anchor 1 and PDU Session Anchor 2).
  • PDU session anchor eg, PDU Session Anchor 1 and PDU Session Anchor 2
  • the multi-homed PDU session provides multiple paths to the access network 212 through multiple PDU session anchors.
  • the BP UPF is capable of forwarding upstream data to different PDU session anchors and merging downlink data from different PDU session anchors.
  • PDU session anchor 1 may perform the operations of UPF1 in Figure 8A.
  • UPF2 can be used to implement the functionality of the BP UPF, which is connected to the data network 212 through the session branch 1 of the PDU session anchor 1 and the session branch 2 of the PDU session anchor 2, respectively.
  • the PDU session anchor 2 can be set separately from the BP UPF UPF2, or can be combined with the BP UPF UPF2.
  • UPF3 can also be used to implement the functionality of BP UPF, which is connected to data network 212 via session branch 1 of PDU session anchor 1 and session branch 2 of PDU session anchor 2, respectively.
  • the PDU session anchor 2 can be set separately from BP UPF UPF3, or can be combined with BP UPF UPF3.
  • session branch 1 with SSC3 mode is created, and anchor point UPF1 is used as a cache device for buffering downlink data.
  • UPF2 is added as a BP UPF by the technique of multi-homing PDU session, and session branch 2 is created, and UPF2 is an aggregation point of session branch 1 and session branch 2.
  • UPF2 is updated as a cache device for buffering downlink data.
  • the terminal device 202 moves, and the downlink data is buffered in the UPF2 after the downlink service is initiated.
  • a BP UPF migration (relocation) is triggered after the paging response.
  • UPF3 can obtain cached downlink data from UPF2 and establish a new session branch 3.
  • UPF3 is the aggregation point of session branch 1, session branch 2, and session branch 3. After the session branch enters the deactivated state again, UPF3 is updated as a cache device for buffering downlink data.
  • the N3 UPF establishes a forwarding tunnel with the BP UPF that buffers the downlink data, and obtains the buffered downlink data through the forwarding tunnel. After the cached downlink data is obtained, the forwarding tunnel can be deleted.
  • the BP UPF that has recently served the terminal device 202 can be set as a cache device.
  • the downlink data of each session branch under the BP UPF can be cached at the aggregation point BP UPF.
  • the BP UPF is updated when the downlink data of any one of the session branches is activated.
  • the process of obtaining cached data is optimized with the migration of BP UPF.
  • Figure 11 shows a schematic diagram in a ULCL scenario.
  • the access network device 204 is connected to a UPF entity (referred to as UPCL UPF) with ULCL functionality.
  • the ULCL UPF is connected to each PDU session anchor (eg, PDU Session Anchor 1 and PDU Session Anchor 2).
  • PDU session anchor eg, PDU Session Anchor 1 and PDU Session Anchor 2.
  • the ULCL technology provides multiple session branches to the access network 212 through multiple PDU session anchors.
  • the ULCL UPF is capable of forwarding upstream data to different PDU session anchors and combining downstream data from different PDU session anchors.
  • PDU session anchor 1 may perform the operations of UPF1 in Figure 8A.
  • UPF2 may be used to implement the functionality of the ULCL UPF, which is connected to the data network 212 through the session branch 1 of the PDU session anchor 1 and the session branch 2 of the PDU session anchor 2, respectively.
  • the PDU session anchor 2 can be set separately from the ULCL UPF UPF2 or can be combined with the ULCL UPF UPF2.
  • UPF3 can also be used to implement the function of ULCL UPF, which is connected to data network 212 through session branch 1 of PDU session anchor 1 and session branch 2 of PDU session anchor 2, respectively.
  • the PDU session anchor 2 can be set separately from ULCL UPF UPF3, or can be combined with ULCL UPF UPF3.
  • session branch 1 with SSC3 mode is created, and anchor point UPF1 is used as a cache device for buffering downlink data.
  • UPF2 is added as a ULCL UPF by the ULCL technique, and session branch 2 is created, and UPF2 is the uplink classifier of session branch 1 and session branch 2.
  • UPF2 is updated as a cache device for buffering downlink data.
  • the terminal device 202 moves, and the downlink data is buffered in the UPF2 after the downlink service is initiated.
  • the ULCL UPF migration (relocation) is triggered after the paging response.
  • UPF3 can obtain cached downlink data from UPF2 and establish a new session branch 3.
  • UPF3 is an uplink classifier for session branch 1, session branch 2, and session branch 3. After the session branch enters the deactivated state again, UPF3 is updated as a cache device for buffering downlink data.
  • the ULCL UPF that has recently served the terminal device 202 can be set as a cache device.
  • PDU Session Anchor 1 (UPF1) is set as a cache device for session branch 1 connected to UPF1
  • PDU session anchor 2 is set as a cache device for session branch 2.
  • each network element such as the above-mentioned session management function entity, etc.
  • each network element includes hardware structures and/or software modules corresponding to the execution of the respective functions.
  • the present application can be implemented in a combination of hardware or hardware and computer software in combination with the elements and algorithm steps of the various examples described in the embodiments disclosed herein. Whether a function is implemented in hardware or computer software to drive hardware depends on the specific application and design constraints of the solution. A person skilled in the art can use different methods to implement the described functions for each particular application, but such implementation should not be considered to be beyond the scope of the present application.
  • the session management function entity may include a receiving module 1201 and a transmitting module 1203, as shown in FIG. 12A.
  • the receiving module 1201 and the sending module 1203 are configured to interact with the second user plane function entity and the first user plane function entity, respectively, to enable the first user plane function entity to access through the second user plane function entity.
  • the network device sends the first downlink data of the first session, where the first user plane function entity is an anchor point of the first session.
  • the sending module 1203 is further configured to notify the first user plane function entity to cache the second downlink data of the first session according to the preset condition.
  • the preset condition includes at least one of the following:
  • the SSC information indicates that the first session has a first session and a traffic continuity SSC1 mode
  • the mobility information indicates that the terminal device is a high mobility device
  • the session management function entity and the first user plane function entity belong to the same carrier network.
  • the receiving module 1201 and the sending module 1203 are further configured to interact with the third user plane function entity and the first user plane function entity, respectively, so that the first user plane function entity passes through the third user plane function entity to the access network.
  • the device sends the second downlink data and the third downlink data.
  • the third downlink data is downlink data received by the first user plane function entity after the first session is switched to the active state.
  • the session management function entity further includes a selection module 1205 for implementing the function of the foregoing notification.
  • the selecting module 1205 is configured to select the first user plane function entity as a cache device for buffering the second downlink data according to the preset condition. Therefore, the sending module 1203 is configured to notify the first user plane function entity to cache the second downlink data after receiving the second downlink data.
  • the receiving module 1201 is further configured to obtain mobility information of the terminal device.
  • the receiving module 1201 is configured to receive a mobility attribute from the mobility management function entity, where the mobility information is a mobility attribute; or, the receiving module 1201 is configured to obtain mobility statistics information, and the mobility information is mobility statistics information; or, session management
  • the functional entity further includes a determining module 1207, configured to receive the mobility attribute from the mobility management function entity, obtain mobility statistics, and the determining module 1207 determines the mobility information according to the mobility attribute and the mobility statistics.
  • the mobile attribute includes at least a high mobility attribute or a low mobility attribute, and the mobility statistics information is used to indicate a moving speed or a staying time of the terminal device.
  • the receiving module 1201 is configured to receive mobility statistics information from the mobility management function entity; or obtain mobility statistics information from the network data analysis NWDA device.
  • the session management function entity further includes a release module 1209.
  • the release module 1209 is configured to release the second user plane function entity after the selection module 1205 selects the first user plane function entity as the cache device that caches the second downlink data.
  • the session management function entity and the third user plane function entity are located in the VPLMN under the HR roaming scenario, and the session management function entity further includes an adjustment module 1211.
  • the adjusting module 1211 is configured to adjust a cache device, where the cache device is configured to cache the fourth downlink data of the first session after the first session is switched to the active state.
  • the adjustment module 1211 is configured to determine that the third user plane function entity is a cache device; or determine that the session management function entity is a cache device.
  • the session management function entity notifies the anchor user plane function entity to cache the second downlink data according to the preset condition.
  • the second downlink data buffered by the anchor user plane function entity is the same as the transmission path of the third downlink data newly received by the first session to the active state.
  • the disorder of the downlink data received by the terminal is avoided.
  • there is no need to establish an additional forwarding tunnel and no need to release the forwarding tunnel to obtain the buffered downlink data which reduces the signaling interaction between the UPF entities, thereby reducing the delay and improving the user experience.
  • the receiving module 1201 and the sending module 1203 are configured to interact with the second user plane function entity and the first user plane function entity, respectively, so that the first user plane function entity is connected through the second user plane function entity.
  • the network access device sends the first downlink data of the first session.
  • the first user plane function entity is an anchor point of the first session.
  • the sending module 1203 is further configured to notify the second user plane function entity to cache the second downlink data of the first session.
  • the preset condition includes SSC information (eg, obtained by the receiving module 1201) indicating that the first session has a third session and a business continuity SSC3 mode.
  • the second downlink data is downlink data received by the second user plane function entity after the first session is switched to the deactivated state.
  • the receiving module 1201 and the sending module 1203 are further configured to respectively interact with the third user plane function entity and the second user plane function entity, so that the second user plane function entity sends the second user plane function entity to the access network device by using the third user plane function entity.
  • Downstream data, and the first user plane function entity sends the third downlink data to the access network device through the second user plane function entity and the third user plane function entity.
  • the third downlink data is downlink data received by the first user plane function entity after the first session is switched to the active state.
  • the session management function entity further includes a selection module 1205 for implementing the function of the foregoing notification.
  • the selecting module 1205 is configured to select a second user plane function entity as a cache device for buffering the second downlink data according to the preset condition.
  • the sending module 1203 is configured to notify the second user plane function entity to cache the second downlink data after receiving the second downlink data.
  • the data paths for transmitting the second downlink data and the third downlink data are the same, thereby avoiding the out-of-order problem of the downlink data received by the terminal, and improving the user experience.
  • the session management function entity may include a receiving module 1201, a sending module 1203, and a releasing module 1209.
  • the receiving module 1201 and the transmitting module 1203 can also be implemented by a transceiver module.
  • the transceiver module is configured to interact with the second user plane function entity and the first user plane function entity, respectively, to enable the first user plane function entity to send the first downlink data of the first session by using the second user plane function entity.
  • the second user plane function entity is a user plane function entity connected to the access network device in the first session.
  • the release module 1209 is configured to release the second user plane function entity when the first session enters the deactivated state. For example, the release module 1209 determines to release the second user plane functional entity based on at least one of session and business continuity information, mobility information, and policy information. For details, refer to the previous description, and no further details are provided.
  • the transceiver module is further configured to notify the first user plane function entity to cache the second downlink data of the first session.
  • the transceiver module is further configured to notify the first user plane function network element to release the connection with the second household function network element, so that the first user plane entity "automatically" becomes the first session transition to deactivate The cache device that caches the second downlink data after the state.
  • the session management function entity deletes the second user plane function entity
  • the first user plane function entity becomes a new user plane function entity connected to the access network device, and caches the second downlink data.
  • the second downlink data buffered by the first user plane function entity is the same as the transmission path of the third downlink data newly received by the first session to the active state.
  • the disorder of the downlink data received by the terminal is avoided.
  • the above selection module 1205, determination module 1207, release module 1209, and adjustment module 1211 may all be implemented by a processing module in the session management function entity.
  • the receiving module 1201 and the sending module 1203 in the session management function entity may also implement other operations or functions of the SMF device 206 (or vSMF) in the foregoing method, and may also include other modules that perform other functions, and details are not described herein. .
  • FIG. 12B is a schematic diagram showing another possible structure of the session management function entity involved in the above embodiment.
  • the session management function entity includes a transceiver 1202 and a processor 1204, as shown in Figure 12B.
  • the processor 1204 is configured to process the session management function entity to perform the corresponding functions of the SMF device 206 (or vSMF) in the above method.
  • the transceiver 1202 is configured to implement communication between the session management function entity and the mobility management function entity/user plane function entity/other session management function entity.
  • the session management function entity can also include a memory 1206 for coupling with a processor that holds program instructions and data necessary for the session management function entity.
  • FIG 12B only shows a simplified design of the above described apparatus.
  • each of the above devices may include any number of transmitters, receivers, processors, controllers, memories, communication units, etc., and all devices that can implement the present application are within the scope of the present application.
  • the controller/processor for performing the above-described session management function entity of the present application may be a central processing unit (CPU), a general purpose processor, a digital signal processor (DSP), an application specific integrated circuit (ASIC), and a field programmable gate array. (FPGA) or other programmable logic device, transistor logic device, hardware component, or any combination thereof. It is possible to implement or carry out the various illustrative logical blocks, modules and circuits described in connection with the present disclosure.
  • the processor may also be a combination of computing functions, for example, including one or more microprocessor combinations, a combination of a DSP and a microprocessor, and the like.
  • the steps of a method or algorithm described in connection with the present disclosure may be implemented in a hardware or may be implemented by a processor executing software instructions.
  • the software instructions may be comprised of corresponding software modules that may be stored in RAM memory, flash memory, ROM memory, EPROM memory, EEPROM memory, registers, hard disk, removable hard disk, CD-ROM, or any other form of storage well known in the art.
  • An exemplary storage medium is coupled to the processor to enable the processor to read information from, and write information to, the storage medium.
  • the storage medium can also be an integral part of the processor.
  • the processor and the storage medium can be located in an ASIC. Additionally, the ASIC can be located in a session management functional entity.
  • the processor and the storage medium can also exist as discrete components in the session management function entity.
  • the above embodiments it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof.
  • software it may be implemented in whole or in part in the form of a computer program product.
  • the computer program product includes one or more computer instructions.
  • the computer program instructions When the computer program instructions are loaded and executed on a computer, the processes or functions described in accordance with embodiments of the present invention are generated in whole or in part.
  • the computer can be a general purpose computer, a special purpose computer, a computer network, or other programmable device.
  • the computer instructions can be stored in a computer readable storage medium or transferred from one computer readable storage medium to another computer readable storage medium, for example, the computer instructions can be from a website site, computer, server or data center Transfer to another website site, computer, server, or data center by wire (eg, coaxial cable, fiber optic, digital subscriber line (DSL), or wireless (eg, infrared, wireless, microwave, etc.).
  • the computer readable storage medium can be any available media that can be accessed by a computer or a data storage device such as a server, data center, or the like that includes one or more available media.
  • the usable medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a DVD), or a semiconductor medium (such as a solid state disk (SSD)).

Abstract

The present application relates to the technical filed of wireless communications, and provides a data buffering method, comprising: a session management functional entity interacting with a second user plane functional entity and a first user plane functional entity, such that the first user plane functional entity sends first downlink data of a first session to an access network device by means of the second user plane functional entity. The first user plane functional entity is an anchor point of the first session. The session management functional entity instructs, according to a preset condition, the first user plane functional entity to buffer second downlink data of the first session. The second downlink data is received after the first session is converted to a deactivated state. The solution provided in the present embodiment can avoid the out-of-order problem of downlink data received by the terminal, and furthermore can obtain buffered downlink data without the need to establish an additional forwarding tunnel and release the forwarding tunnel, reducing signaling interactions between UPF entities, thereby reducing time delay, improving user experience.

Description

缓存数据的方法和会话管理功能实体Method of caching data and session management function entity
本申请要求于2017年6月20日提交中国专利局、申请号为201710470680.7、发明名称为“缓存数据的方法和会话管理功能实体”的中国专利申请的优先权,其要求于2017年5月11日提交中国专利局、申请号为201710331440.9、发明名称为“缓存数据的方法和会话管理功能实体”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese Patent Application filed on June 20, 2017, the Chinese Patent Office, the application number is 201710470680.7, and the invention is entitled "Method of Cache Data and Session Management Function Entity", which is required on May 11, 2017. The priority of the Chinese Patent Application, which is hereby incorporated by reference in its entirety in its entirety in the entire entire entire entire entire entire entire entire entire entire entire entire entire entire entire entire entire entire entire entire entire entire entire entire entire entire entire entire entire entire entire entire entire entire entire entire entire entire entire entire entire entire entire entire entire entire entire entire entire entire entire entire entire entire entire entire entire entire entire entire entire entire entire entire entire entire entire entire entire entire entire entire entire entire entire entire all all all all all all all all all all all all all all all all all all all all all all all all all all all all all all all all all all all all all all all all all all all all all all all all all all all all all all all all all all all all all all all all all all all all all all all all all all all all all all all all all all all all all all all all all all all all all
技术领域Technical field
本申请涉及无线通信技术领域,尤其涉及一种缓存数据的方法和会话管理功能实体。The present application relates to the field of wireless communication technologies, and in particular, to a method for buffering data and a session management function entity.
背景技术Background technique
在第四代(the 4 th generation,4G)通信系统中,分组数据网络网关(packet data network gateway,PGW)可作为保证网络协议(Internet Protocol,IP)连续性的锚点。如图1所示,在T1时刻,终端设备通过服务网关(serving gateway,SGW)SGW1和PGW,获得来自数据网络的下行数据,以实现业务数据的传输。若终端设备从SGW1进入空闲态,下行数据缓存于SGW1。在T2时刻,终端设备切换至连接态后,若终端设备移出SGW1的服务范围并选择了SGW2,SGW2需要与SGW1建立转发隧道,以获取缓存在SGW1的下行数据。也就是说,缓存的下行数据的传输路径为SGW1→SGW2→终端设备。此外,对于终端设备切换至连接态后业务新的下行数据,其传输路径为PGW→SGW2→终端设备。 In the fourth generation (the 4 th generation, 4G) communication system, a packet data network gateway (packet data network gateway, PGW) can be guaranteed as a network protocol (Internet Protocol, IP) continuity anchor. As shown in FIG. 1, at time T1, the terminal device obtains downlink data from the data network through a serving gateway (SGW) SGW1 and a PGW to implement transmission of service data. If the terminal device enters the idle state from SGW1, the downlink data is buffered in SGW1. At the time of T2, after the terminal device switches to the connected state, if the terminal device moves out of the service range of the SGW1 and selects the SGW2, the SGW2 needs to establish a forwarding tunnel with the SGW1 to obtain the downlink data buffered in the SGW1. That is to say, the transmission path of the buffered downlink data is SGW1→SGW2→terminal device. In addition, for the downlink data of the service after the terminal device switches to the connected state, the transmission path is PGW→SGW2→terminal device.
这样,两条不同的数据传输路径导致终端设备接收到的下行数据可能是乱序的。若终端设备收到的下行数据是乱序的,终端设备需要暂停处理,先对收到的下行数据进行调整,从而严重影响了用户体验(例如,视频业务会造成卡顿)。Thus, the two different data transmission paths cause the downlink data received by the terminal device to be out of order. If the downlink data received by the terminal device is out of order, the terminal device needs to suspend processing, and first adjusts the received downlink data, thereby seriously affecting the user experience (for example, the video service may cause a jam).
为了满足不同应用的连续性需求,第五代(the 5 th generation,5G)系统支持不同的会话和业务连续性(Session and Service continuity,SSC)模式:SSC1模式,SSC2模式和SSC3模式。其中,对于SSC1模式,会话的锚点用户面功能(user plane function,UPF)实体在业务终结前保持不变,即锚定IP不变。对于SSC2模式,当终端设备移出原锚点UPF的服务区域后,即释放与原锚点UPF实体的连接。对于SSC3模式,在释放终端设备与原锚点UPF实体的连接之前,可以先为终端设备选择新锚点UPF实体建立新的连接,指定时间后才释放终端设备与原锚点UPF实体的连接。也就是说,可以同时有多个IP为终端设备服务。 In order to meet the needs of different applications continuity of the fifth generation (the 5 th generation, 5G) systems support different sessions and business continuity (Session and Service continuity, SSC) mode: SSC1 mode, SSC2 mode and SSC3 mode. For the SSC1 mode, the user plane function (UPF) entity of the session remains unchanged until the end of the service, that is, the anchor IP is unchanged. For the SSC2 mode, when the terminal device moves out of the service area of the original anchor UPF, the connection with the original anchor UPF entity is released. For the SSC3 mode, before releasing the connection between the terminal device and the original anchor UPF entity, the terminal device may select a new anchor point UPF entity to establish a new connection, and release the connection between the terminal device and the original anchor point UPF entity after a specified time. In other words, multiple IPs can be served simultaneously for the terminal device.
在终端设备的移动过程中,具有SSC1模式的会话的锚定UPF实体不变。当会话在非锚点UPF实体的其他UPF实体下进入去激活态后,由哪个UPF实体缓存下行数据且保证终端设备后续收到的下行数据不乱序成为了亟需解决的问题。The anchored UPF entity of the session with the SSC1 mode does not change during the movement of the terminal device. After the session enters the deactivated state under the other UPF entities of the non-anchor UPF entity, it is an urgent problem to be solved by which UPF entity caches the downlink data and ensures that the downlink data received by the terminal device is not out of order.
发明内容Summary of the invention
本申请描述了一种缓存数据的方法和会话管理功能实体。This application describes a method of caching data and a session management functional entity.
一方面,本申请的实施例提供了一种缓存数据的方法,该方法包括:会话管理功能 实体分别与第二用户面功能实体和第一用户面功能实体交互,以使得第一用户面功能实体经过第二用户面功能实体向接入网设备发送第一会话的第一下行数据。第一用户面功能实体为第一会话的锚点。会话管理功能实体根据预设条件,通知第一用户面功能实体缓存第一会话的第二下行数据。其中,第二下行数据为第一会话转换至去激活态后第一用户面功能实体收到的下行数据。In one aspect, an embodiment of the present application provides a method for caching data, the method comprising: a session management function entity interacting with a second user plane function entity and a first user plane function entity, respectively, to enable a first user plane function entity The first downlink data of the first session is sent to the access network device by the second user plane function entity. The first user plane function entity is an anchor point of the first session. The session management function entity notifies the first user plane function entity to cache the second downlink data of the first session according to the preset condition. The second downlink data is downlink data received by the first user plane function entity after the first session is switched to the deactivated state.
根据上述缓存数据的方案,会话管理功能实体根据预设条件通知锚点用户面功能实体缓存第二下行数据。这样,当第一会话切换至激活态后,锚点用户面功能实体缓存的第二下行数据与第一会话再次切换至激活态新接收到的第三下行数据的传输路径相同。由此,避免了终端接收到的下行数据的乱序问题。此外,无需建立额外的转发隧道也无需再释放转发隧道即可获得缓存的下行数据,减少了UPF实体之间的信令交互,从而降低了时延,提高了用户体验。According to the foregoing scheme of buffering data, the session management function entity notifies the anchor user plane function entity to cache the second downlink data according to the preset condition. In this way, after the first session is switched to the active state, the second downlink data buffered by the anchor user plane function entity is the same as the transmission path of the third downlink data newly received by the first session to the active state. Thereby, the disorder of the downlink data received by the terminal is avoided. In addition, there is no need to establish an additional forwarding tunnel and no need to release the forwarding tunnel to obtain the buffered downlink data, which reduces the signaling interaction between the UPF entities, thereby reducing the delay and improving the user experience.
在一种可能的设计中,预设条件包括以下中的至少一项:SSC信息指示第一会话具有第一会话和业务连续性SSC1模式;移动性信息指示终端设备为高移动性设备;会话管理功能实体和第一用户面功能实体属于同一运营商网络。其中,第一会话具有SSC1模式,表示在初始建立PDU会话时作为PDU会话锚点的UPF保持不变。换句话说,在终端设备的移动过程中,具有SSC1模式的第一会话的锚定UPF实体不变。会话管理功能实体和第一用户面功能实体属于同一运营商网络,可包括非漫游的场景或者本地疏导LBO漫游的场景。此外,缓存设备的选择还可需要考虑终端设备的移动性。In one possible design, the preset condition includes at least one of the following: the SSC information indicates that the first session has a first session and a traffic continuity SSC1 mode; the mobility information indicates that the terminal device is a high mobility device; session management The functional entity and the first user plane functional entity belong to the same carrier network. The first session has an SSC1 mode, indicating that the UPF that is the anchor of the PDU session remains unchanged when the PDU session is initially established. In other words, during the movement of the terminal device, the anchor UPF entity of the first session with the SSC1 mode does not change. The session management function entity and the first user plane function entity belong to the same carrier network, and may include non-roaming scenarios or local grooming LBO roaming scenarios. In addition, the choice of cache device may also need to consider the mobility of the terminal device.
在一种可能的设计中,该方法还包括:会话管理功能实体分别与第三用户面功能实体和第一用户面功能实体交互,以使得第一用户面功能实体经过第三用户面功能实体向接入网设备发送第二下行数据和第三下行数据。其中,第三下行数据为第一会话转换至激活态后第一用户面功能实体收到的下行数据。In a possible design, the method further includes: the session management function entity interacting with the third user plane function entity and the first user plane function entity, respectively, such that the first user plane function entity passes through the third user plane function entity The access network device sends the second downlink data and the third downlink data. The third downlink data is downlink data received by the first user plane function entity after the first session is switched to the active state.
在一种可能的设计中,会话管理功能实体根据预设条件,通知第一用户面功能实体缓存第一会话的第二下行数据,包括:会话管理功能实体根据预设条件,选择第一用户面功能实体作为缓存第二下行数据的用户面功能实体;会话管理功能实体通知第一用户面功能实体在收到第二下行数据后,缓存第二下行数据。In a possible design, the session management function entity notifies the first user plane function entity to cache the second downlink data of the first session according to the preset condition, including: the session management function entity selects the first user plane according to the preset condition. The function entity is used as a user plane function entity for buffering the second downlink data; the session management function entity notifies the first user plane function entity to cache the second downlink data after receiving the second downlink data.
在一种可能的设计中,该方法还包括:会话管理功能实体获得终端设备的移动性信息。例如,会话管理功能实体可通过如下方式获得终端设备的移动性信息:会话管理功能实体从移动性管理功能实体接收移动属性,移动性信息为移动属性;或者,会话管理功能实体获取移动性统计信息,移动性信息为移动性统计信息;或者,会话管理功能实体从移动性管理功能实体接收移动属性,获取移动性统计信息,根据移动属性和移动性统计信息确定移动性信息。其中,移动属性至少包括高移动属性或低移动属性,移动性统计信息用于指示终端设备的移动速度或停留时间。In a possible design, the method further includes: the session management function entity obtains mobility information of the terminal device. For example, the session management function entity may obtain mobility information of the terminal device by: the session management function entity receiving the mobility attribute from the mobility management function entity, the mobility information being a mobility attribute; or the session management function entity acquiring the mobility statistics information The mobility information is mobility statistics information; or the session management function entity receives the mobility attribute from the mobility management function entity, acquires mobility statistics information, and determines mobility information according to the mobility attribute and the mobility statistics. The mobile attribute includes at least a high mobility attribute or a low mobility attribute, and the mobility statistics information is used to indicate a moving speed or a staying time of the terminal device.
例如,会话管理功能实体获取移动性统计信息,包括:会话管理功能实体从移动性管理功能实体接收移动性统计信息;或者,会话管理功能实体从网络数据分析NWDA设备获取移动性统计信息。For example, the session management function entity obtains mobility statistics, including: the session management function entity receives mobility statistics information from the mobility management function entity; or the session management function entity obtains mobility statistics information from the network data analysis NWDA device.
在一种可能的设计中,该方法还包括:在会话管理功能实体选择第一用户面功能实体作为缓存第二下行数据的用户面功能实体后,会话管理功能实体释放第二用户面功能实体。由此,当选择锚点用户面功能实体作为缓存设备时,可直接释放第二用户面功能 实体,从而节省网络的资源。In a possible design, the method further includes: after the session management function entity selects the first user plane function entity as the user plane function entity that caches the second downlink data, the session management function entity releases the second user plane function entity. Therefore, when the anchor user plane function entity is selected as the cache device, the second user plane function entity can be directly released, thereby saving network resources.
在一种可能的设计中,上述方法适用于归属地路由HR漫游场景。会话管理功能实体和第三用户面功能实体位于HR漫游场景下的VPLMN内,该方法还包括:会话管理功能实体调整缓存设备,所述缓存设备用于在第一会话转换至去激活态后缓存第一会话的第四下行数据。In one possible design, the above method is suitable for routing HR roaming scenarios at home. The session management function entity and the third user plane function entity are located in the VPLMN in the HR roaming scenario, the method further includes: the session management function entity adjusts the cache device, and the cache device is configured to cache after the first session is switched to the deactivated state. The fourth downlink data of the first session.
例如,会话管理功能实体调整缓存设备,包括:会话管理功能实体确定第三用户面功能实体为所述缓存设备;或者,会话管理功能实体确定该会话管理功能实体为缓存设备。由此,通过更新缓存设备,可避免与HPLMN内的锚点用户面实体的频繁交互,从而进一步提升用户体验。For example, the session management function entity adjusts the cache device, including: the session management function entity determines that the third user plane function entity is the cache device; or the session management function entity determines that the session management function entity is a cache device. Thus, by updating the cache device, frequent interaction with the anchor user plane entity within the HPLMN can be avoided, thereby further enhancing the user experience.
再一方面,本申请还公开了一种缓存数据的方法,包括:会话管理功能实体分别与第二用户面功能实体和第一用户面功能实体交互,以使得第一用户面功能实体经过第二用户面功能实体向接入网设备发送第一会话的第一下行数据,其中,第一用户面功能实体为第一会话的锚点。会话管理功能实体根据预设条件,通知第二用户面功能实体缓存第一会话的第二下行数据。其中,预设条件包括SSC信息指示第一会话具有第三会话和业务连续性SSC3模式。第二下行数据为第一会话转换至去激活态后第二用户面功能实体收到的下行数据。会话管理功能实体分别与第三用户面功能实体和第二用户面功能实体交互,以使得第二用户面功能实体经过第三用户面功能实体向接入网设备发送第二下行数据,且所述第一用户面功能实体经过第二用户面功能实体、第三用户面功能实体、向接入网设备发送第三下行数据。其中,第三下行数据为第一会话转换至激活态后第一用户面功能实体收到的下行数据。In a further aspect, the present application further discloses a method for buffering data, comprising: a session management function entity interacting with a second user plane function entity and a first user plane function entity, respectively, such that the first user plane function entity passes the second The user plane function entity sends the first downlink data of the first session to the access network device, where the first user plane function entity is an anchor point of the first session. The session management function entity notifies the second user plane function entity to cache the second downlink data of the first session according to the preset condition. The preset condition includes the SSC information indicating that the first session has a third session and a service continuity SSC3 mode. The second downlink data is downlink data received by the second user plane function entity after the first session is switched to the deactivated state. The session management function entity interacts with the third user plane function entity and the second user plane function entity, respectively, to enable the second user plane function entity to send the second downlink data to the access network device through the third user plane function entity, and the The first user plane function entity sends the third downlink data to the access network device through the second user plane function entity and the third user plane function entity. The third downlink data is downlink data received by the first user plane function entity after the first session is switched to the active state.
其中,第一会话具有SSC3模式,表示在SSC3模式下,同一时刻可能存在多个锚点UPF。换句话说,可能存在多个“会话”,或者,会话的多个“会话分支”。The first session has an SSC3 mode, indicating that in the SSC3 mode, multiple anchor points UPF may exist at the same time. In other words, there may be multiple "sessions" or multiple "session branches" of the session.
根据上述缓存数据的方案,从第二用户面功能实体开始,传输第二下行数据和第三下行数据的数据路径相同,避免了终端接收到的下行数据的乱序问题,提高了用户体验。此外,无需建立额外的转发隧道也无需再释放转发隧道即可获得缓存的下行数据,减少了UPF实体之间的信令交互,从而降低了时延,进一步提高了用户体验。According to the foregoing scheme of buffering data, starting from the second user plane function entity, the data paths for transmitting the second downlink data and the third downlink data are the same, thereby avoiding the out-of-order problem of the downlink data received by the terminal, and improving the user experience. In addition, there is no need to establish an additional forwarding tunnel and no need to release the forwarding tunnel to obtain the buffered downlink data, which reduces the signaling interaction between the UPF entities, thereby reducing the delay and further improving the user experience.
在一种可能的设计中,会话管理功能实体根据预设条件,通知第二用户面功能实体缓存第一会话的第二下行数据,包括:会话管理功能实体根据预设条件,选择第二用户面功能实体作为缓存第二下行数据的缓存设备;会话管理功能实体通知第二用户面功能实体在收到第二下行数据后,缓存第二下行数据。In a possible design, the session management function entity notifies the second user plane function entity to cache the second downlink data of the first session according to the preset condition, including: the session management function entity selects the second user plane according to the preset condition. The function entity is used as a cache device for buffering the second downlink data; the session management function entity notifies the second user plane function entity to cache the second downlink data after receiving the second downlink data.
在一种可能的设计中,由于第一会话具有SSC3模式,对于第二会话,可选择与第一会话相同或不同的用于缓存下行数据的缓存设备。例如,对于第二会话,可选择初始锚点UPF或当前的N3 UPF作为缓存设备,并通过N4消息通知各自的缓存设备缓存接收到的下行数据。由此,可实现各个会话分支的独立处理,使得各个会话分支之间的处理互不影响,满足不同的需求。In one possible design, since the first session has the SSC3 mode, for the second session, the same or different cache device for buffering the downstream data may be selected. For example, for the second session, the initial anchor UPF or the current N3 UPF may be selected as the cache device, and the respective cache device is notified by the N4 message to buffer the received downlink data. Thereby, the independent processing of each session branch can be realized, so that the processing between the respective session branches does not affect each other and meet different requirements.
另一方面,本申请的实施例提供了一种缓存数据的方法,该方法包括:会话管理功能网元分别与第二用户面功能网元和第一用户面功能网元交互,以使得第一用户面功能网元经过第二用户面功能网元发送第一会话的第一下行数据。第二用户面功能网元为第一会话的与接入网设备相连的用户面功能网元,第一用户面功能网元为与第二用户面功 能网元相连的用户面功能网元;例如,在某些场景中,第一用户面功能网元为第一会话的锚点。会话管理功能网元在所述第一会话进入去激活态时,释放第二用户面功能网元(例如,根据会话和业务连续性信息、移动性信息和策略信息中的至少一项,确定释放第二用户面功能网元)。On the other hand, an embodiment of the present application provides a method for buffering data, where the method includes: the session management function network element interacts with the second user plane function network element and the first user plane function network element, respectively, so that the first The user plane function network element sends the first downlink data of the first session through the second user plane function network element. The second user plane function network element is a user plane function network element connected to the access network device in the first session, and the first user plane function network element is a user plane function network element connected to the second user plane function network element; for example In some scenarios, the first user plane function network element is an anchor point of the first session. The session management function network element releases the second user plane function network element when the first session enters the deactivated state (for example, determining release according to at least one of session and service continuity information, mobility information, and policy information) The second user plane function network element).
在一种可能的设计中,会话管理功能网元通知第一用户面功能网元缓存第一会话的第二下行数据。在另一种可能的设计中,当第二用户面功能网元被释放后,会话管理功能网元通知第一用户面功能网元释放与第二用户面功能网元之间的连接,使得上述第一用户面功能网元“自动”地成为了第一会话转换至去激活态后缓存第二下行数据的缓存设备。In a possible design, the session management function network element notifies the first user plane function network element to cache the second downlink data of the first session. In another possible design, after the second user plane function network element is released, the session management function network element notifies the first user plane function network element to release the connection with the second user plane function network element, so that the foregoing The first user plane function network element "automatically" becomes a cache device that caches the second downlink data after the first session transitions to the deactivated state.
根据上述方案,会话管理功能网元删除第二用户面功能网元后,第一用户面功能网元成为新的与接入网设备相连的用户面功能网元,并缓存第二下行数据。这样,当后续第一会话切换至激活态后,第一用户面功能网元缓存的第二下行数据与第一会话再次切换至激活态新接收到的第三下行数据的传输路径相同。由此,避免了终端接收到的下行数据的乱序问题。此外,无需建立额外的转发隧道也无需再释放转发隧道即可获得缓存的下行数据,减少了UPF网元之间的信令交互,从而降低了时延,提高了用户体验。According to the above solution, after the session management function network element deletes the second user plane function network element, the first user plane function network element becomes a new user plane function network element connected to the access network device, and caches the second downlink data. In this way, after the subsequent first session is switched to the active state, the second downlink data buffered by the first user plane function network element is the same as the transmission path of the third downlink data newly received by the first session to the active state. Thereby, the disorder of the downlink data received by the terminal is avoided. In addition, there is no need to establish an additional forwarding tunnel and no need to release the forwarding tunnel to obtain the buffered downlink data, which reduces the signaling interaction between the UPF network elements, thereby reducing the delay and improving the user experience.
其中,第一会话进入去激活态时,指的在终端设备进入空闲状态(IDLE),释放第一会话的接入网的相关传输资源的流程中,或者终端设备仍然处于连接态(CM-Connected),在释放第一会话的接入网的相关传输资源的流程中。When the first session enters the deactivated state, the terminal device enters the idle state (IDLE), releases the related transmission resource of the access network of the first session, or the terminal device is still in the connected state (CM-Connected). ), in the process of releasing the relevant transmission resources of the access network of the first session.
另一方面,本申请实施例提供了一种会话管理功能实体,该会话管理功能实体具有实现上述方法中会话管理功能实体行为的功能。所述功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。所述硬件或软件包括一个或多个与上述功能相对应的模块。在一个可能的设计中,会话管理功能实体的结构中包括处理器和收发器,所述处理器被配置为处理会话管理功能实体执行上述方法中相应的功能。所述收发器用于实现会话管理功能实体与上述移动性管理功能实体/用户面功能实体/其他会话管理功能实体之间的通信。所述会话管理功能实体还可以包括存储器,所述存储器用于与处理器耦合,其保存会话管理功能实体必要的程序指令和数据。On the other hand, the embodiment of the present application provides a session management function entity, which has the function of implementing the behavior of the session management function entity in the foregoing method. The functions may be implemented by hardware or by corresponding software implemented by hardware. The hardware or software includes one or more modules corresponding to the functions described above. In one possible design, the structure of the session management function entity includes a processor and a transceiver configured to process the session management function entity to perform the corresponding function in the above method. The transceiver is configured to implement communication between the session management function entity and the mobility management function entity/user plane function entity/other session management function entity. The session management function entity can also include a memory for coupling with the processor that holds program instructions and data necessary for the session management function entity.
再一方面,本申请实施例提供了一种计算机可读存储介质,所述计算机可读存储介质中存储有指令,当其在计算机上运行时,使得计算机执行上述各方面所述的方法。In still another aspect, embodiments of the present application provide a computer readable storage medium having instructions stored therein that, when run on a computer, cause the computer to perform the methods described in the above aspects.
再一方面,本申请实施例提供了一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行上述各方面所述的方法。In still another aspect, embodiments of the present application provide a computer program product comprising instructions that, when run on a computer, cause the computer to perform the methods described in the above aspects.
附图说明DRAWINGS
为了更清楚地说明本申请实施例,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其它的附图。In order to more clearly illustrate the embodiments of the present application, the drawings used in the description of the embodiments will be briefly described below. It is obvious that the drawings in the following description are only some embodiments of the present application, which are common in the art. For the skilled person, other drawings can be obtained from these drawings without paying for creative labor.
图1为现有技术中缓存数据的示意图;1 is a schematic diagram of cache data in the prior art;
图2为本发明实施例适用的通信系统的示意图;2 is a schematic diagram of a communication system to which an embodiment of the present invention is applied;
图3A和图3B为根据本发明实施例的缓存数据的方法的信令交互图;3A and 3B are signaling interaction diagrams of a method of buffering data according to an embodiment of the present invention;
图4为图3A和图3B中第一会话的数据路径变化的示意图;4 is a schematic diagram showing changes in data paths of the first session in FIGS. 3A and 3B;
图5为根据本发明实施例的缓存数据的方法的另一信令交互图;FIG. 5 is another signaling interaction diagram of a method for buffering data according to an embodiment of the present invention; FIG.
图6为根据本发明实施例的缓存数据的方法的又一信令交互图;6 is still another signaling interaction diagram of a method of buffering data according to an embodiment of the present invention;
图7为根据本发明实施例的缓存数据的方法的流程图;7 is a flow chart of a method of buffering data according to an embodiment of the present invention;
图8A为根据本发明另一实施例的缓存数据的方法的信令交互图;FIG. 8A is a signaling interaction diagram of a method for buffering data according to another embodiment of the present invention; FIG.
图8B为图8A中的数据路径变化的示意图;8B is a schematic diagram of a data path change in FIG. 8A;
图9为根据本发明另一实施例的缓存数据的方法的流程图;FIG. 9 is a flowchart of a method of buffering data according to another embodiment of the present invention; FIG.
图10和图11为可应用图9方法的场景的示意图;10 and 11 are schematic views of a scenario in which the method of FIG. 9 can be applied;
图12A和图12B为根据本发明实施例的会话管理功能实体的结构示意图。12A and 12B are schematic diagrams showing the structure of a session management function entity according to an embodiment of the present invention.
具体实施方式detailed description
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述。The technical solutions in the embodiments of the present application will be clearly and completely described in the following with reference to the accompanying drawings in the embodiments.
本申请实施例基于图2所示的通信系统中提出了一种解决方案,可适用于在下一代移动网络(如5G网络)架构中实现数据缓存。例如,在5G移动网络架构中,移动网关的控制面功能和转发面功能解耦,其分离出来的控制面功能与第三代合作伙伴计划(third generation partnership project,3GPP)传统的控制网元MME等合并成统一的控制面(control plane)实体。用户面UPF实体能实现服务网关(serving gateway,SGW)和分组数据网络网关(packet data network gateway,PGW)的用户面功能(SGW-U和PGW-U)。进一步的,统一的控制面实体可以分解成接入和移动性管理功能(access and mobility management function,AMF)实体和会话管理功能(session management function,SMF)实体。其中,AMF实体可负责终端设备的附着、移动性管理、跟踪区更新流程等。SMF实体可负责终端设备的会话管理,用户面设备的选择、用户面设备的重选、网络协议(internet protocol,IP)地址分配、服务质量(quality of service,QoS)控制,以及会话的建立、修改和释放等。The embodiment of the present application proposes a solution based on the communication system shown in FIG. 2, which is applicable to implementing data caching in a next-generation mobile network (such as a 5G network) architecture. For example, in the 5G mobile network architecture, the control plane function and the forwarding plane function of the mobile gateway are decoupled, and the separated control plane functions and the third generation partnership project (3GPP) traditional control network element MME And merge into a unified control plane entity. The user plane UPF entity can implement user plane functions (SGW-U and PGW-U) of a serving gateway (SGW) and a packet data network gateway (PGW). Further, the unified control plane entity can be decomposed into an access and mobility management function (AMF) entity and a session management function (SMF) entity. The AMF entity may be responsible for the attachment, mobility management, and tracking area update process of the terminal device. The SMF entity may be responsible for session management of the terminal device, selection of user plane devices, reselection of user plane devices, internet protocol (IP) address allocation, quality of service (QoS) control, and session establishment, Modify and release, etc.
此外,本申请实施例还可以适用于面向未来的其他通信技术。本申请实施例描述的系统架构以及业务场景是为了更加清楚的说明本申请实施例的技术方案,并不构成对于本申请实施例提供的技术方案的限定,本领域普通技术人员可知,随着网络架构的演变和新业务场景的出现,本申请实施例提供的技术方案对于类似的技术问题,同样适用。In addition, the embodiments of the present application can also be applied to other communication technologies for the future. The system architecture and the service scenario described in the embodiments of the present application are for the purpose of more clearly illustrating the technical solutions of the embodiments of the present application, and do not constitute a limitation of the technical solutions provided by the embodiments of the present application. The technical solutions provided by the embodiments of the present application are equally applicable to similar technical problems.
如图2所示,本申请实施例提供了一种通信系统。例如,该通信系统包括终端设备202、接入网设备204、AMF实体206、SMF实体208、以及用户面实体210a、210b。此外,AMF实体、SMF实体和用户面实体也可分别称为AMF网元、SMF网元和用户面网元。As shown in FIG. 2, the embodiment of the present application provides a communication system. For example, the communication system includes a terminal device 202, an access network device 204, an AMF entity 206, an SMF entity 208, and user plane entities 210a, 210b. In addition, the AMF entity, the SMF entity, and the user plane entity may also be referred to as an AMF network element, an SMF network element, and a user plane network element, respectively.
其中,本申请实施例中所涉及到的终端设备202(terminal device)可以包括各种具有无线通信功能的手持设备、车载设备、可穿戴设备、计算设备或连接到无线调制解调器的其它处理设备。所述终端设备也可以称为用户设备(user equipment,UE),移动台(mobile station,MS),终端(terminal),还可以包括用户单元(subscriber unit)、蜂窝电话(cellular phone)、智能电话(smart phone)、无线数据卡、个人数字助理(personal digital assistant,PDA)电脑、平板型电脑、无线调制解调器(modem)、手持设备(handheld)、膝上型电脑(laptop computer)、无绳电话(cordless phone)或者无线本地环路(wireless local loop,WLL)台、机器类型通信(machine type  communication,MTC)终端等。The terminal device 202 involved in the embodiments of the present application may include various handheld devices having wireless communication functions, in-vehicle devices, wearable devices, computing devices, or other processing devices connected to the wireless modem. The terminal device may also be referred to as a user equipment (UE), a mobile station (MS), a terminal, and may also include a subscriber unit, a cellular phone, a smart phone. (smart phone), wireless data card, personal digital assistant (PDA) computer, tablet computer, wireless modem (modem), handheld device, laptop computer, cordless phone (cordless) Phone) or wireless local loop (WLL) station, machine type communication (MTC) terminal, and the like.
本申请实施例中所涉及到的接入网设备204是一种部署在有线或无线接入网中用以为终端设备102提供无线通信功能的装置。所述接入网设备可以包括各种形式的基站,例如:宏基站,微基站(也称为小站),中继站,接入点等。在采用不同的无线接入技术的系统中,具备基站功能的设备的名称可能会有所不同,例如,在LTE系统中,称为演进的节点B(evolved NodeB,eNB或者eNodeB),在第三代(3rd generation,3G)系统中,称为节点B(Node B)等。The access network device 204 involved in the embodiment of the present application is a device deployed in a wired or wireless access network to provide wireless communication functions for the terminal device 102. The access network device may include various forms of base stations, such as a macro base station, a micro base station (also referred to as a small station), a relay station, an access point, and the like. In a system using different radio access technologies, the name of a device having a base station function may be different, for example, in an LTE system, an evolved Node B (evolved NodeB, eNB or eNodeB), in the third In a 3rd generation (3G) system, it is called a Node B or the like.
本申请实施例中所涉及到的AMF实体206可负责终端设备的附着、移动性管理、跟踪区更新流程等。The AMF entity 206 involved in the embodiment of the present application may be responsible for attachment, mobility management, tracking area update procedure, and the like of the terminal device.
本申请实施例中所涉及到的SMF实体208可负责终端设备的会话管理,用户面实体(例如用户面实体210a或210b)的选择、用户面实体的重选、IP地址分配、QoS控制,以及会话的建立、修改和释放。The SMF entity 208 involved in the embodiment of the present application may be responsible for session management of the terminal device, selection of a user plane entity (such as the user plane entity 210a or 210b), reselection of the user plane entity, IP address allocation, QoS control, and The establishment, modification, and release of a session.
在图2的例子中,示出了两个UPF实体:UPF实体210a和UPF实体210b。UPF实体210a和UPF实体210b都连接至数据网络(data network,DN)212,用于在不同的服务区域实现业务的数据传输。UPF实体210b还可与其他接入网设备相连,本发明并不限制。此外,本发明实施例还可以包括其他数目的UPF实体,本发明并不限制。In the example of Figure 2, two UPF entities are shown: UPF entity 210a and UPF entity 210b. Both the UPF entity 210a and the UPF entity 210b are connected to a data network (DN) 212 for effecting data transmission of services in different service areas. The UPF entity 210b may also be connected to other access network devices, and the invention is not limited. In addition, the embodiments of the present invention may also include other numbers of UPF entities, which are not limited by the present invention.
在5G的通信系统中,接入网设备204和AMF实体206之间的连接为N2连接,接入网设备204和UPF实体210a(或210b)之间的连接为N3连接,SMF实体208和UPF实体210a(或210b)之间的连接为N4连接,AMF实体206和SMF实体208之间的连接为N11连接,各个SMF实体之间的连接为N16连接。各个UPF实体之间的连接为N9连接。“连接”也可称为端到端的参考点(point-to-point reference point)或参考点(reference point)。此外,上述连接并不局限于以上名称,也可具有其他名称。在后面的描述中,若以某连接命名消息,表示该消息是通过该连接传输的消息。例如,“N2消息”表示通过接入网设备204和AMF实体206之间的连接传输的消息。在不同的场景和流程中,该“N2消息”还可具有其他具体的名称,本发明并不限制。“N3消息”、“N4消息”、“N11消息”、“N16消息”同理,此处不再赘述。In a 5G communication system, the connection between the access network device 204 and the AMF entity 206 is an N2 connection, and the connection between the access network device 204 and the UPF entity 210a (or 210b) is an N3 connection, the SMF entity 208 and the UPF. The connection between entities 210a (or 210b) is an N4 connection, the connection between AMF entity 206 and SMF entity 208 is an N11 connection, and the connection between each SMF entity is an N16 connection. The connection between the various UPF entities is an N9 connection. A "connection" can also be referred to as a point-to-point reference point or a reference point. Further, the above connection is not limited to the above names, and may have other names. In the following description, if a message is named by a connection, it indicates that the message is a message transmitted through the connection. For example, "N2 message" represents a message transmitted over a connection between the access network device 204 and the AMF entity 206. The "N2 message" may have other specific names in different scenarios and processes, and the present invention is not limited thereto. The "N3 message", "N4 message", "N11 message", and "N16 message" are similar, and will not be described here.
可选的,该通信系统还包括网络数据分析(Network Data Analytics,DWDA)设备214。该NWDA设备用于统计终端设备的移动性统计信息。例如,移动性统计信息用于指示终端设备的移动速度或在某个UPF实体下的停留时间。Optionally, the communication system further includes a Network Data Analytics (DWDA) device 214. The NWDA device is used to count mobility statistics of the terminal device. For example, the mobility statistics are used to indicate the speed of movement of the terminal device or the dwell time under a certain UPF entity.
在后面的描述中,“会话”可指分组数据单元(packet data unit,PDU)会话。“会话的数据路径(data path)”指的是通过会话在终端设备202和UPF之间传输上行或下行数据的路径,也可称为“会话的用户面路径(user plane path)”。In the following description, "session" may refer to a packet data unit (PDU) session. The "data path" refers to a path for transmitting uplink or downlink data between the terminal device 202 and the UPF through a session, and may also be referred to as "user plane path".
以下将结合图3A至图7的实施例介绍本申请实施例的一种缓存数据的方法。图3A和图3B将结合图4进行描述。图4示出了终端设备202在移动过程中第一会话的数据路径的变化。A method for buffering data in the embodiment of the present application will be described below with reference to the embodiments of FIG. 3A to FIG. 7. 3A and 3B will be described in conjunction with FIG. Figure 4 illustrates the change in the data path of the first session of the terminal device 202 during the move.
在执行图3A所示的步骤之前(例如图4中的时刻T1),终端设备与UPF1建立第一会话,并通过UPF1传输业务的数据。例如,UPF1为图2中的UPF实体210a。第一会话具有第一会话和业务连续性(SSC1)模式,且UPF1为第一会话的锚点。Before performing the steps shown in FIG. 3A (for example, time T1 in FIG. 4), the terminal device establishes a first session with UPF1 and transmits data of the service through UPF1. For example, UPF1 is the UPF entity 210a in FIG. The first session has a first session and business continuity (SSC1) mode, and UPF1 is the anchor of the first session.
如图3A所示,步骤301,终端设备202通过接入网设备204向AMF实体206发送会话建立请求消息。例如,当终端设备移出UPF1的服务范围,若满足建立会话的触发条件,则终端设备202发送会话建立请求消息。As shown in FIG. 3A, in step 301, the terminal device 202 transmits a session establishment request message to the AMF entity 206 via the access network device 204. For example, when the terminal device moves out of the service range of the UPF1, if the trigger condition for establishing the session is met, the terminal device 202 sends a session establishment request message.
可选的,会话建立请求消息可携带第一会话的SSC模式信息。Optionally, the session establishment request message may carry the SSC mode information of the first session.
可选的,会话建立请求消息还可携带用于指示终端设备202签约的公用陆地移动网(public land mobile network,PLMN)的PLMN信息。例如,会话建立请求消息携带终端设备的用户永久标识(subscriber permanent identifier,SUPI),PLMN信息可通过SUPI中的字段体现。Optionally, the session establishment request message may further carry PLMN information for indicating a public land mobile network (PLMN) that the terminal device 202 subscribes to. For example, the session establishment request message carries a subscriber permanent identifier (SUPI) of the terminal device, and the PLMN information can be represented by a field in the SUPI.
步骤302,AMF实体206向SMF实体208发送N11消息。N11消息可用于建立PDU会话(第一会话)。In step 302, the AMF entity 206 sends an N11 message to the SMF entity 208. The N11 message can be used to establish a PDU session (first session).
可选的,步骤302中的N11消息还可携带会话的SSC模式信息。例如,该模式SSC信息用于指示会话具有SSC1模式。SMF实体208收到N11消息后,可获知会话具有SSC1模式。Optionally, the N11 message in step 302 may further carry the SSC mode information of the session. For example, the mode SSC information is used to indicate that the session has an SSC1 mode. After receiving the N11 message, the SMF entity 208 can learn that the session has the SSC1 mode.
可选的,步骤302中的N11消息还可携带终端设备202签约的PLMN信息。SMF实体208收到N11消息后,还可获知当前终端设备202是否位于归属公用陆地移动网(home public land mobile network,HPLMN)内,即终端设备202是否处于非漫游状态。例如,SMF实体208判断当前网络的PLMN信息与步骤302获得的PLMN信息是否相同,以确定当前终端设备202是否位于HPLMN内。Optionally, the N11 message in step 302 may further carry the PLMN information subscribed by the terminal device 202. After receiving the N11 message, the SMF entity 208 can also know whether the current terminal device 202 is located in the home public land mobile network (HPLMN), that is, whether the terminal device 202 is in a non-roaming state. For example, the SMF entity 208 determines whether the PLMN information of the current network is the same as the PLMN information obtained in step 302 to determine if the current terminal device 202 is located within the HPLMN.
可选的,SMF实体208从AMF实体206收到N11消息后,获得终端设备202的移动性信息。该移动性信息用于指示终端设备202是否属于高移动性设备。Optionally, after receiving the N11 message from the AMF entity 206, the SMF entity 208 obtains the mobility information of the terminal device 202. The mobility information is used to indicate whether the terminal device 202 belongs to a high mobility device.
例如,SMF实体可以通过以下几种方式获得终端设备202的移动性信息:For example, the SMF entity can obtain the mobility information of the terminal device 202 in the following ways:
第一种实现方式:The first way to achieve:
在步骤302前,AMF实体通过步骤302a,从NWDA设备214获取移动性统计信息。步骤302中的N11消息携带获取到的移动性统计信息。SMF实体208从AMF实体206收到N11消息后,根据移动性统计信息获得终端设备202的移动性信息。或者,步骤302中的N11消息携带从NWDA获取到的移动性统计信息,以及AMF的该终端设备202的移动属性。SMF实体208从AMF实体206收到N11消息后,根据移动性统计信息和移动属性确定终端设备202的移动性信息。Prior to step 302, the AMF entity obtains mobility statistics from the NWDA device 214 via step 302a. The N11 message in step 302 carries the acquired mobility statistics. After receiving the N11 message from the AMF entity 206, the SMF entity 208 obtains the mobility information of the terminal device 202 based on the mobility statistics. Alternatively, the N11 message in step 302 carries the mobility statistics obtained from the NWDA, and the mobility attribute of the terminal device 202 of the AMF. After receiving the N11 message from the AMF entity 206, the SMF entity 208 determines the mobility information of the terminal device 202 based on the mobility statistics and the mobility attributes.
第二种实现方式:The second way to achieve:
步骤302中的N11消息携带AMF的该终端设备202的移动属性。SMF实体208从AMF实体206收到N11消息后,通过步骤302b,从NWDA设备214获取移动性统计信息。最终,SMF实体根据移动性统计信息获得终端设备202的移动性信息,或者,根据移动性统计信息和移动属性确定终端设备202的移动性信息。The N11 message in step 302 carries the mobility attribute of the terminal device 202 of the AMF. After receiving the N11 message from the AMF entity 206, the SMF entity 208 obtains mobility statistics from the NWDA device 214 via step 302b. Finally, the SMF entity obtains the mobility information of the terminal device 202 based on the mobility statistics information, or determines the mobility information of the terminal device 202 based on the mobility statistics information and the mobility attribute.
第三种实现方式:The third way to achieve:
SMF实体208从AMF实体206收到N11消息后,通过步骤302b,从NWDA设备214获取移动性统计信息。SMF实体根据移动性统计信息获得终端设备202的移动性信息。After receiving the N11 message from the AMF entity 206, the SMF entity 208 obtains mobility statistics from the NWDA device 214 via step 302b. The SMF entity obtains mobility information of the terminal device 202 based on the mobility statistics.
第四种实现方式:The fourth way to achieve:
步骤302中的N11消息携带AMF管理的该终端设备202的移动属性。SMF实体208从AMF实体206收到N11消息后,根据移动属性获得终端设备202的移动性信息。The N11 message in step 302 carries the mobility attribute of the terminal device 202 managed by the AMF. After receiving the N11 message from the AMF entity 206, the SMF entity 208 obtains the mobility information of the terminal device 202 based on the mobility attribute.
在上述几种实现方式中,移动属性至少包括第一类移动性(例如,高移动性)或第 二类移动性(例如,低移动性)。可选的,移动属性还可以包括第三类移动性(例如,中移动性)。例如,移动属性可以是移动性模式(mobility pattern)中的参数,或者,也可以是独立于移动性模式的参数。移动属性可以由AMF实体206配置,或者,也可以是由AMF实体206从其他网络设备获取,本发明并不在此限定。In several of the above implementations, the mobility attribute includes at least a first type of mobility (e.g., high mobility) or a second type of mobility (e.g., low mobility). Optionally, the mobility attribute may also include a third type of mobility (eg, medium mobility). For example, the mobility attribute may be a parameter in a mobility pattern or may be a parameter independent of the mobility mode. The mobility attributes may be configured by the AMF entity 206, or may be obtained by the AMF entity 206 from other network devices, and the invention is not limited thereto.
移动性统计信息可包括终端设备202的移动速度、终端设备202在某个UPF实体下的停留时间中的至少一项。需要说明的是,此处的移动速度可以是根据终端设备在预设时间段内的各个时刻的瞬时速度值统计产生的。类似的,停留时间也可以是根据统计产生的。The mobility statistics may include at least one of a moving speed of the terminal device 202 and a dwell time of the terminal device 202 under a certain UPF entity. It should be noted that the moving speed here may be generated according to the instantaneous speed value of each terminal in the preset time period. Similarly, the dwell time can also be generated based on statistics.
例如,在上述第一、二、三种实现方式中,根据移动性统计信息获得终端设备202的移动性信息,可包括:若移动性统计信息指示终端设备202的移动速度高于第一阈值或终端设备202在某个UPF实体下的停留时间不高于第二阈值,则确定的移动性信息指示终端设备202属于高移动性设备。若移动性统计信息指示终端设备202的移动速度不高于第一阈值或终端设备202在某个UPF实体下的停留时间高于第二阈值,则确定的移动性信息指示终端设备202不属于高移动性设备。For example, in the foregoing first, second, and third implementation manners, obtaining the mobility information of the terminal device 202 according to the mobility statistics information may include: if the mobility statistics information indicates that the moving speed of the terminal device 202 is higher than a first threshold or The staying time of the terminal device 202 under a certain UPF entity is not higher than the second threshold, and the determined mobility information indicates that the terminal device 202 belongs to the high mobility device. If the mobility statistics indicate that the moving speed of the terminal device 202 is not higher than the first threshold or the dwell time of the terminal device 202 under a certain UPF entity is higher than the second threshold, the determined mobility information indicates that the terminal device 202 does not belong to the high. Mobile device.
在上述第四种实现方式中,根据移动属性获得终端设备202的移动性信息,可包括:若移动属性为第一类移动性(例如,高移动性),则确定的移动性信息指示终端设备202属于高移动性设备。若移动属性为第二类移动性(例如,低移动性)或第三类移动性(例如,中移动性),则确定的移动性信息指示终端设备202不属于高移动性设备。In the foregoing fourth implementation manner, obtaining the mobility information of the terminal device 202 according to the mobility attribute may include: if the mobility attribute is the first type of mobility (for example, high mobility), the determined mobility information indicates the terminal device. 202 belongs to a highly mobile device. If the mobility attribute is a second type of mobility (eg, low mobility) or a third type of mobility (eg, medium mobility), the determined mobility information indicates that the terminal device 202 does not belong to the high mobility device.
在上述第一、二种实现方式中,根据移动性统计信息和移动属性确定终端设备202的移动性信息,可包括:若移动性统计信息指示终端设备202的移动速度高于第一阈值或终端设备202在某个UPF实体下的停留时间不高于第二阈值,且移动属性为第一类移动性(例如,高移动性),则确定的移动性信息指示终端设备202属于高移动性设备。若移动性统计信息指示终端设备202的移动速度不高于第一阈值或终端设备202在某个UPF实体下的停留时间高于第二阈值,且移动属性为第二类移动性(例如,低移动性)或第三类移动性(例如,中移动性),则确定的移动性信息指示终端设备202不属于高移动性设备。若移动性统计信息和移动属性相矛盾,则SMF实体208可进一步根据本地策略确定终端设备202是否属于高移动性设备。In the foregoing first and second implementation manners, determining the mobility information of the terminal device 202 according to the mobility statistics information and the mobility attribute may include: if the mobility statistics information indicates that the moving speed of the terminal device 202 is higher than a first threshold or the terminal If the dwell time of the device 202 under a certain UPF entity is not higher than the second threshold, and the mobility attribute is the first type of mobility (eg, high mobility), the determined mobility information indicates that the terminal device 202 belongs to the high mobility device. . If the mobility statistics indicate that the moving speed of the terminal device 202 is not higher than the first threshold or the dwell time of the terminal device 202 under a certain UPF entity is higher than the second threshold, and the mobility attribute is the second type of mobility (eg, low) Mobility) or a third type of mobility (e.g., medium mobility), the determined mobility information indicates that the terminal device 202 does not belong to the high mobility device. If the mobility statistics and the mobility attributes are inconsistent, the SMF entity 208 can further determine whether the terminal device 202 belongs to the high mobility device based on the local policy.
步骤303,SMF实体208选择UPF2(例如,图2中的UPF实体210b),与UPF2通过N4消息的交互,以建立PDU会话(第一会话)。例如,SMF实体208向UPF2发送N4会话建立请求消息(session establishment request),UPF2向SMF实体208返回N4会话建立响应消息(session establishment response)。In step 303, the SMF entity 208 selects UPF2 (e.g., the UPF entity 210b in FIG. 2) to interact with the UPF2 through the N4 message to establish a PDU session (first session). For example, the SMF entity 208 sends an N4 session establishment request message to the UPF 2, and the UPF 2 returns an N4 session establishment response message to the SMF entity 208.
其中,UPF2与UPF1相连,例如,UPF2与UPF1通过N9连接相连。Among them, UPF2 is connected to UPF1. For example, UPF2 and UPF1 are connected through an N9 connection.
步骤304,SMF实体208向AMF实体206返回N11消息。该N11消息为建立PDU会话接受消息。例如,步骤304的建立PDU会话接受消息携带核心网侧的隧道信息(例如,UPF2的地址信息)。In step 304, the SMF entity 208 returns an N11 message to the AMF entity 206. The N11 message is a setup PDU session accept message. For example, the setup PDU session accept message of step 304 carries tunnel information (eg, address information of UPF2) on the core network side.
步骤305,AMF实体206向接入网设备204发送N2消息,以向接入网设备204转发步骤304的建立PDU会话接受消息。该N2消息用于为上述第一会话激活AMF设备206与UPF2之间的N3连接。In step 305, the AMF entity 206 sends an N2 message to the access network device 204 to forward the establish PDU session accept message of step 304 to the access network device 204. The N2 message is used to activate an N3 connection between the AMF device 206 and the UPF 2 for the first session described above.
步骤306,接入网设备204收到N2消息后,建立数据无线承载(data radio bearer, DRB)。Step 306: After receiving the N2 message, the access network device 204 establishes a data radio bearer (DRB).
步骤307,接入网设备204向AMF实体返回N2消息。该N2消息为建立PDU会话接受消息。例如,步骤307的建立PDU会话接受消息携带接入网侧的隧道信息。In step 307, the access network device 204 returns an N2 message to the AMF entity. The N2 message is a setup PDU session accept message. For example, the setup PDU session accept message of step 307 carries the tunnel information of the access network side.
步骤308,AMF实体206向SMF实体208发送N11消息,以向SMF实体208转发步骤307的建立PDU会话接受消息。In step 308, the AMF entity 206 sends an N11 message to the SMF entity 208 to forward the setup PDU session accept message of step 307 to the SMF entity 208.
步骤309a,SMF实体208与UPF2交互N4消息,以通过修改PDU会话的方式向UPF2转发接入网侧的隧道信息。例如,SMF实体208向UPF2发送N4会话修改请求消息(session modification request)。UPF2向SMF实体208返回N4会话修改响应消息(session modification response)。In step 309, the SMF entity 208 exchanges the N4 message with the UPF2 to forward the tunnel information of the access network side to the UPF2 by modifying the PDU session. For example, SMF entity 208 sends an N4 session modification request message to UPF2. The UPF 2 returns an N4 session modification response to the SMF entity 208.
步骤309b,SMF实体208与UPF1交互N4消息,以通过修改PDU会话的方式将UPF2加入UPF1的第一会话的数据路径。例如,SMF实体208向UPF1发送N4会话修改请求消息,UPF1向SMF实体208返回N4会话修改响应消息。In step 309b, the SMF entity 208 interacts with the UPF1 N4 message to add the UPF2 to the data path of the first session of the UPF1 by modifying the PDU session. For example, SMF entity 208 sends an N4 Session Modification Request message to UPF1, which returns an N4 Session Modification Response message to SMF entity 208.
步骤310,SMF实体208向AMF实体206返回N11消息,作为步骤308中N11消息的应答。In step 310, the SMF entity 208 returns an N11 message to the AMF entity 206 as a response to the N11 message in step 308.
至此,UPF1经过UPF2向接入网设备(例如,接入网设备204)发送上述第一会话的第一下行数据。如图4所示,在时刻T2,第一会话的下行数据路径为:UPF1→UPF2→接入网设备(图中未示出)→终端设备202。类似的,第一会话的上行数据路径为:终端设备202→接入网设备(图中未示出)→UPF2→UPF1。At this point, the UPF1 sends the first downlink data of the first session to the access network device (for example, the access network device 204) via the UPF2. As shown in FIG. 4, at time T2, the downlink data path of the first session is: UPF1→UPF2→access network device (not shown)→terminal device 202. Similarly, the uplink data path of the first session is: terminal device 202→access network device (not shown)→UPF2→UPF1.
此时,UPF2作为与接入网设备204相连的UPF实体,也可称为N3 UPF。N3 UPF用于终结N3连接,也可称为N3连接的终结点。在后面的描述中,将与接入网设备204相连的UPF实体简称为N3 UPF。当然,与接入网设备204相连的UPF实体也可具有其他名称,本发明并不限制。At this time, the UPF2 is a UPF entity connected to the access network device 204, and may also be referred to as an N3 UPF. N3 UPF is used to terminate the N3 connection, which can also be called the endpoint of the N3 connection. In the following description, the UPF entity connected to the access network device 204 is simply referred to as N3 UPF. Of course, the UPF entity connected to the access network device 204 may also have other names, which are not limited by the present invention.
步骤311,当触发条件满足时,触发将上述第一会话转换至去激活(inactive)态。此时,终端设备202向接入网设备204发送触发消息。接入网设备204收到触发消息后,向AMF实体206发送N2消息,以释放接入网设备204与AMF实体206之间的N2连接。Step 311: When the trigger condition is met, triggering to convert the first session to an inactive state. At this time, the terminal device 202 transmits a trigger message to the access network device 204. Upon receiving the trigger message, the access network device 204 sends an N2 message to the AMF entity 206 to release the N2 connection between the access network device 204 and the AMF entity 206.
需要说明的是,以上描述中,第一会话被触发转换至去激活态。若终端设备202上的所有会话都被转换至去激活态,该终端设备202相应转换至空闲(CM-CONNECTED)态。It should be noted that, in the above description, the first session is triggered to switch to the deactivated state. If all sessions on the terminal device 202 are switched to the deactivated state, the terminal device 202 switches to the CM-CONNECTED state accordingly.
步骤312,AMF实体206向SMF实体208发送N11消息,以请求释放接入网设备204和UPF2之间的N3连接。In step 312, the AMF entity 206 sends an N11 message to the SMF entity 208 requesting to release the N3 connection between the access network device 204 and the UPF 2.
可选的,如果AMF实体206检测到终端设备202的移动性统计信息或移动属性发生变化,该N11消息中可携带移动性统计信息和移动属性中的至少一项。SMF实体208从AMF实体206收到N11消息后,可更新终端设备202的移动性信息。SMF实体208更新终端设备202的移动性信息的方式可参考步骤302中SMF实体208获得终端设备202的移动性信息的描述,此处不再赘述。Optionally, if the AMF entity 206 detects that the mobility statistics or the mobility attributes of the terminal device 202 change, the N11 message may carry at least one of mobility statistics information and mobility attributes. After receiving the N11 message from the AMF entity 206, the SMF entity 208 may update the mobility information of the terminal device 202. For the manner in which the SMF entity 208 updates the mobility information of the terminal device 202, refer to the description of the mobility information of the terminal device 202 obtained by the SMF entity 208 in step 302, and details are not described herein again.
步骤313,SMF实体208根据预设条件,选择UPF1作为在第一会话转换至去激活态后缓存第二下行数据的缓存设备。Step 313, the SMF entity 208 selects the UPF1 as a cache device for buffering the second downlink data after the first session is switched to the deactivated state according to the preset condition.
例如,预设条件包括以下中的至少一项:For example, the preset condition includes at least one of the following:
SSC信息指示第一会话具有SSC1模式;The SSC information indicates that the first session has an SSC1 mode;
终端设备202的移动性信息指示终端设备202属于高移动性设备;The mobility information of the terminal device 202 indicates that the terminal device 202 belongs to a high mobility device;
会话管理功能实体和第一用户面功能实体属于同一运营商网络(例如,非漫游的场 景或者本地疏导local breakout,LBO,漫游的场景)。The session management function entity and the first user plane function entity belong to the same carrier network (for example, a non-roaming scene or a local sparring local breakout, LBO, roaming scenario).
也就是说,当预设条件中任一项满足时,可选择UPF1作为在第一会话转换至去激活态后缓存第二下行数据的缓存设备。That is, when any of the preset conditions is satisfied, UPF1 may be selected as a cache device that caches the second downlink data after the first session transitions to the deactivated state.
举例来说,若SSC信息指示第一会话具有SSC1模式,则SMF实体208选择UPF1缓存第二下行数据。或者,若终端设备的移动性信息指示终端设备202属于高移动性设备,则SMF实体208选择UPF1缓存第二下行数据。或者,若SSC信息指示第一会话具有SSC1模式,且终端设备的移动性信息指示终端设备202属于高移动性设备,则SMF实体208选择UPF1缓存第二下行数据。此外,上述方法既可适用于非漫游的场景,也可适用于LBO漫游的场景。当上述方法适用于LBO漫游的场景时,SMF实体208位于拜访PLMN(visit PLMN,VPLMN)内。For example, if the SSC information indicates that the first session has the SSC1 mode, the SMF entity 208 selects the UPF1 to buffer the second downlink data. Alternatively, if the mobility information of the terminal device indicates that the terminal device 202 belongs to the high mobility device, the SMF entity 208 selects the UPF1 to buffer the second downlink data. Alternatively, if the SSC information indicates that the first session has the SSC1 mode, and the mobility information of the terminal device indicates that the terminal device 202 belongs to the high mobility device, the SMF entity 208 selects the UPF1 to buffer the second downlink data. In addition, the above method can be applied to both non-roaming scenarios and LBO roaming scenarios. When the above method is applicable to the scenario of LBO roaming, the SMF entity 208 is located in the visited PLMN (VPLMN).
步骤314,SMF实体208与UPF2交互N4消息,以请求释放接入网设备204和UPF2之间的N3连接。例如,SMF实体208向UPF2发送N3连接释放请求消息(N3 connection release request)或会话修改请求消息,UPF2向SMF实体208返回N3连接释放响应消息(N3 connection release response)或会话修改响应消息,从而释放接入网设备204和UPF2之间的N3连接。In step 314, the SMF entity 208 interacts with the UPF 2 for the N4 message to request to release the N3 connection between the access network device 204 and the UPF 2. For example, the SMF entity 208 sends an N3 connection release request message or a session modification request message to the UPF2, and the UPF2 returns an N3 connection release response message or a session modification response message to the SMF entity 208, thereby releasing An N3 connection between the access network device 204 and the UPF 2.
或者,SMF实体208与UPF2交互N4消息,以请求释放UPF2。例如,SMF实体208向UPF2发送会话终止请求消息(session termination request),UPF2向SMF实体208返回会话终止响应消息(session termination response),从而直接释放UPF2。需要说明的是,“释放UPF”,是指释放该UPF上的指定/所有会话,也就是说,删除该UPF上指定/所有会话的相关信息,也可表述为“删除UPF”。后面类似的描述同理。Alternatively, SMF entity 208 interacts with UPF2 with an N4 message to request release of UPF2. For example, the SMF entity 208 sends a session termination request to the UPF 2, and the UPF 2 returns a session termination response to the SMF entity 208, thereby directly releasing UPF2. It should be noted that the “release UPF” refers to the release of the specified/all sessions on the UPF, that is, the deletion of the information related to the specified/all sessions on the UPF, and may also be expressed as “delete UPF”. A similar description will follow.
步骤315,SMF实体208向UPF1发送N4消息,以通知UPF1缓存第二下行数据。例如,SMF实体208以通过修改PDU会话的方式:向UPF1发送N4会话修改请求消息,UPF1向SMF实体208返回N4会话修改响应消息,从而通知UPF1缓存第二下行数据。In step 315, the SMF entity 208 sends an N4 message to the UPF1 to notify the UPF1 to buffer the second downlink data. For example, the SMF entity 208 sends an N4 session modification request message to the UPF1 by modifying the PDU session, and the UPF1 returns an N4 session modification response message to the SMF entity 208, thereby notifying the UPF1 to buffer the second downlink data.
可选的,上述步骤313-315可被替换为:SMF实体208释放UPF2,并向UPF1发送N4消息,以通知UPF1在释放UPF1与UPF2之间的连接。Optionally, the foregoing steps 313-315 may be replaced by: the SMF entity 208 releases the UPF2, and sends an N4 message to the UPF1 to notify the UPF1 to release the connection between the UPF1 and the UPF2.
例如,SMF实体208先根据策略信息判断是否需要释放UPF2。当策略信息指示释放UPF2时,SMF实体208确定释放UPF2。例如,运营商设置用户面管理策略对所有的会话是否删除N3 UPF或者针对指定的会话是否删除N3 UPF,由此生成相应的策略信息。此外,SMF实体208还可根据上述预设条件中的其他参数(例如,会话和业务连续性信息、移动性信息)判断是否需要释放UPF2,可参考SMF实体208根据预设条件选择UPF1作为缓存设备的描述,不再赘述。也就是说,当上述任一项满足时,SMF实体208确定需要释放UPF2。For example, the SMF entity 208 first determines whether the UPF 2 needs to be released based on the policy information. When the policy information indicates that UPF2 is released, SMF entity 208 determines to release UPF2. For example, the operator sets whether the user plane management policy deletes the N3 UPF for all sessions or deletes the N3 UPF for the specified session, thereby generating corresponding policy information. In addition, the SMF entity 208 may further determine whether the UPF2 needs to be released according to other parameters in the foregoing preset conditions (for example, session and service continuity information, mobility information), and may refer to the SMF entity 208 to select UPF1 as a cache device according to a preset condition. The description will not be repeated. That is, when any of the above is satisfied, the SMF entity 208 determines that UPF2 needs to be released.
SMF实体208确定需要释放UPF2后,通过与UPF2交互N4消息,以请求释放UPF2。例如,SMF实体208向UPF2发送会话终止请求消息,UPF2向SMF实体208返回会话终止响应消息,从而直接释放UPF2。The SMF entity 208 determines that the UPF2 needs to be released and then requests the release of UPF2 by interacting with the UPF2 N4 message. For example, the SMF entity 208 sends a session termination request message to the UPF 2, and the UPF 2 returns a session termination response message to the SMF entity 208, thereby directly releasing UPF2.
此外,SMF实体208通过与UPF1交互N4消息,以请求UPF1释放UPF1与UPF2之间的连接。例如,SMF实体208向UPF1发送会话修改请求消息,UPF1向SMF实体208返回会话修改响应消息。在一种实现方式中,可通过在会话修改请求中携带显示的指示信息(例如,缓存开/关,buffer on/off),通知UPF1在收到第二下行数据后,缓存第二下行数据。在另一种实现方式中,会话修改请求中可不携带任何指示,通过在会话请求消息中不携带显 示的指示信息,隐式地告知UPF1在收到第二下行数据后,缓存第二下行数据。也就是说,SMF实体208通过通知UPF1释放UPF1与UPF2之间的连接,使得UPF1“自动”成为了第一会话转换至去激活态后缓存第二下行数据的缓存设备。In addition, the SMF entity 208 requests the UPF 1 to release the connection between UPF1 and UPF2 by interacting with the UPF1 N4 message. For example, SMF entity 208 sends a session modification request message to UPF1, which returns a session modification response message to SMF entity 208. In an implementation manner, the UPF1 may be configured to buffer the second downlink data after receiving the second downlink data by carrying the displayed indication information (for example, buffer on/off) in the session modification request. In another implementation manner, the session modification request may not carry any indication. By not carrying the displayed indication information in the session request message, the UPF1 implicitly informs the UPF1 to cache the second downlink data after receiving the second downlink data. That is, the SMF entity 208 releases the connection between the UPF1 and the UPF2 by notifying the UPF1 that the UPF1 "automatically" becomes the cache device that caches the second downlink data after the first session transitions to the deactivated state.
可以理解的是,在UPF2释放之后,UPF1成为了新的N3 UPF,则UPF1成为了第一会话转换至去激活态后缓存第二下行数据的缓存设备。需要说明的是,UPF1可以是锚点UPF,或者,也可以是锚点UPF与UPF2之间的UPF。It can be understood that after UPF2 is released, UPF1 becomes a new N3 UPF, and then UPF1 becomes a cache device that caches the second downlink data after the first session is switched to the deactivated state. It should be noted that the UPF1 may be an anchor UPF or may be an UPF between the anchor UPF and the UPF2.
步骤316,SMF实体208向AMF实体206返回N11消息,以确认释放接入网设备204和UPF2之间的N3连接。AMF实体206收到N11消息后,记录第一会话转换至去激活态。In step 316, the SMF entity 208 returns an N11 message to the AMF entity 206 to confirm release of the N3 connection between the access network device 204 and the UPF 2. After receiving the N11 message, the AMF entity 206 records the first session transition to the deactivated state.
通过图3A中的上述步骤,SMF实体根据预设条件选择UPF1或者根据预设条件删除UPF2之后,通知锚点UPF1缓存第二下行数据。当第一会话切换至激活态后,锚点用户面功能实体缓存的第二下行数据与第一会话再次切换至激活态新接收到的第三下行数据的传输路径都是UPF1→UPF3→接入网设备→终端设备202。由此,避免了终端接收到的下行数据的乱序问题。此外,无需建立额外的转发隧道也无需再释放转发隧道即可获得缓存的下行数据,减少了UPF实体之间的信令交互,从而降低了时延,提高了用户体验。这将结合图3B和图4详细描述。Through the above steps in FIG. 3A, after the SMF entity selects UPF1 according to the preset condition or deletes the UPF2 according to the preset condition, the anchor point UPF1 is notified to buffer the second downlink data. After the first session is switched to the active state, the second downlink data buffered by the anchor user plane function entity and the first session are switched again to the active state. The newly received third downlink data transmission path is UPF1→UPF3→access Network device → terminal device 202. Thereby, the disorder of the downlink data received by the terminal is avoided. In addition, there is no need to establish an additional forwarding tunnel and no need to release the forwarding tunnel to obtain the buffered downlink data, which reduces the signaling interaction between the UPF entities, thereby reducing the delay and improving the user experience. This will be described in detail in conjunction with FIG. 3B and FIG.
此外,缓存设备的选择还需要考虑终端设备的移动性,且当终端设备为高移动性设备(可能导致乱序和重建转发路径的问题出现概率比较高)时才选择锚点用户面功能实体作为缓存设备。类似的,是否删除与接入网设备连接的N3 UPF也可需要考虑终端设备的移动性,且当终端设备为高移动性设备(可能导致乱序和重建转发路径的问题出现概率比较高)时才选择删除N3 UPF,并设置与该N3 UPF通过N9接口相连的其他UPF(例如,锚点用户面功能实体)作为缓存设备。此外,与N3 UPF通过N9接口相连的UPF也可以是锚点用户面功能实体与N3 UPF之间的UPF。In addition, the selection of the cache device also needs to consider the mobility of the terminal device, and the anchor user plane function entity is selected when the terminal device is a high mobility device (which may lead to a high probability of occurrence of out-of-order and re-establishment of the forwarding path). Cache device. Similarly, whether to delete the N3 UPF connected to the access network device may also need to consider the mobility of the terminal device, and when the terminal device is a high mobility device (which may cause the problem of out-of-order and re-establishing the forwarding path to be high) The N3 UPF is selected to be deleted, and other UPFs (for example, anchor user plane function entities) connected to the N3 UPF through the N9 interface are set as the cache device. In addition, the UPF connected to the N3 UPF through the N9 interface may also be the UPF between the anchor user plane function entity and the N3 UPF.
可选的,若终端设备的移动性信息指示终端设备202不属于高移动性设备(可能导致乱序和重建转发路径的问题出现概率比较低),可选择其他的缓存设备(例如缓存设备为UPF2,即提供N3连接的UPF)或者选择不删除N3 UPF(例如,UPF2),而直接设置该N3UPF为缓存设备。这样,核心网的数据路径依旧保持UPF1→UPF2→接入网设备→终端设备202,寻呼响应之后可以直接从与接入网设备连接的UPF2获取缓存的下行数据,在移出该UPF2概率比较低(乱序和重建转发路径的问题出现概率比较低)的情况下,可以就近获取缓存的下行数据,从而节约信令资源。Optionally, if the mobility information of the terminal device indicates that the terminal device 202 does not belong to the high mobility device (the probability of occurrence of the problem of out-of-order and re-establishing the forwarding path is relatively low), other cache devices may be selected (for example, the cache device is UPF2) That is, the UPF of the N3 connection is provided or the N3 UPF (for example, UPF2) is not deleted, and the N3UPF is directly set as the cache device. In this way, the data path of the core network still maintains UPF1→UPF2→access network device→terminal device 202. After the paging response, the buffered downlink data can be directly obtained from the UPF2 connected to the access network device, and the probability of removing the UPF2 is relatively low. (In the case where the problem of out-of-order and re-establishing the forwarding path has a low probability of occurrence), the buffered downlink data can be obtained nearby, thereby saving signaling resources.
可选的,SMF也可选择SMF作为缓存设备。例如,若UPF不具备缓存下行数据的能力时,SMF可选择SMF作为缓存设备。或者,SMF可根据策略选择SMF作为缓存设备。Optionally, the SMF can also select the SMF as a cache device. For example, if the UPF does not have the ability to buffer downstream data, the SMF can select the SMF as the cache device. Alternatively, the SMF may select the SMF as a cache device according to the policy.
如图3B所示,在第一会话处于去激活态时,来自数据网络212的第二下行数据到达UPF1。As shown in FIG. 3B, when the first session is in the deactivated state, the second downlink data from the data network 212 reaches UPF1.
步骤401,UPF1缓存第二下行数据。In step 401, the UPF1 buffers the second downlink data.
步骤402a,UPF1收到第二下行数据后,向SMF实体208发送数据通知消息。Step 402a: After receiving the second downlink data, the UPF1 sends a data notification message to the SMF entity 208.
本发明并不限定步骤401和步骤402a之间的执行顺序,可先执行步骤401后执行步骤402a,或者,也可先执行步骤402a再执行步骤401,或者,同时执行步骤401和步骤402a。The present invention does not limit the execution sequence between step 401 and step 402a. Step 401 may be performed after step 401 is performed first, or step 402a may be performed first, or step 401 may be performed first, or step 401 and step 402a may be performed at the same time.
可选的,步骤402b,SMF实体208向UPF1返回数据通知确认消息。Optionally, in step 402b, the SMF entity 208 returns a data notification confirmation message to the UPF1.
步骤403,SMF实体208收到数据通知消息后,确定AMF实体206,并向AMF实体206发送N11消息。Step 403, after receiving the data notification message, the SMF entity 208 determines the AMF entity 206 and sends an N11 message to the AMF entity 206.
步骤404,AMF实体206通过接入网设备204,向终端设备202发送寻呼消息,以触发终端设备202切换至连接态。In step 404, the AMF entity 206 sends a paging message to the terminal device 202 through the access network device 204 to trigger the terminal device 202 to switch to the connected state.
终端设备202收到寻呼消息后,通过步骤405至411执行业务请求流程。After receiving the paging message, the terminal device 202 performs a service request procedure through steps 405 to 411.
步骤405,终端设备202向接入网设备204发送业务请求消息。接入网设备204收到业务请求消息后,通过N2消息转发该业务请求消息。In step 405, the terminal device 202 sends a service request message to the access network device 204. After receiving the service request message, the access network device 204 forwards the service request message through the N2 message.
可选的,步骤405a,AMF实体206向接入网设备204发送N2消息。该N2消息携带UPF2的地址信息。由于已通过上述步骤304释放了接入网设备204和UPF2之间的N3连接,或释放了UPF2,该消息是无效的,因此也可省略。Optionally, in step 405a, the AMF entity 206 sends an N2 message to the access network device 204. The N2 message carries the address information of the UPF2. Since the N3 connection between the access network device 204 and the UPF 2 has been released through the above step 304, or the UPF 2 is released, the message is invalid and therefore may be omitted.
步骤405b,AMF实体206向SMF实体208发送N11消息。In step 405b, the AMF entity 206 sends an N11 message to the SMF entity 208.
步骤406,SMF实体208收到N11消息后,选择UPF3(图2中未示出),与UPF3交互N4消息,以建立PDU会话(第一会话)。例如,SMF实体208向UPF3发送N4会话建立请求消息,UPF3向SMF实体208返回N4会话建立响应消息。Step 406: After receiving the N11 message, the SMF entity 208 selects UPF3 (not shown in FIG. 2) and interacts with the UPF3 to complete the N4 message to establish a PDU session (first session). For example, SMF entity 208 sends an N4 Session Establishment Request message to UPF3, which returns an N4 Session Establishment Response message to SMF entity 208.
步骤407,SMF实体208与UPF1交互N4消息,以通过修改PDU会话的方式将UPF3加入UPF1的第一会话的数据路径。例如,SMF实体208向UPF1发送N4会话修改请求消息,UPF1向SMF实体208返回N4会话修改响应消息。In step 407, the SMF entity 208 interacts with the UPF1 to exchange the N4 message to add the UPF3 to the data path of the first session of the UPF1 by modifying the PDU session. For example, SMF entity 208 sends an N4 Session Modification Request message to UPF1, which returns an N4 Session Modification Response message to SMF entity 208.
可选的,若图3A中的上述步骤314中仅释放了接入网设备204与UPF2之间的N3连接而没有释放UPF2,可执行步骤408。若图3A中的上述步骤314中已释放了UPF2,步骤408可省略。Optionally, if only the N3 connection between the access network device 204 and the UPF2 is released in the foregoing step 314 in FIG. 3A without releasing the UPF2, step 408 may be performed. If UPF2 has been released in the above step 314 in FIG. 3A, step 408 may be omitted.
步骤408,SMF实体208与UPF2通过N4消息的交互,以释放UPF2。例如,SMF实体208向UPF2发送会话终止请求消息,UPF2向SMF实体208返回会话终止响应消息,从而释放UPF2。In step 408, the SMF entity 208 interacts with the UPF2 through the N4 message to release the UPF2. For example, the SMF entity 208 sends a session termination request message to the UPF 2, and the UPF 2 returns a session termination response message to the SMF entity 208, thereby releasing UPF2.
步骤409,SMF实体208收到会话建立响应消息和会话修改响应消息后,向AMF实体206发送N11消息。Step 409, after receiving the session establishment response message and the session modification response message, the SMF entity 208 sends an N11 message to the AMF entity 206.
步骤410,AMF实体206向接入网设备204发送N2消息。该N2消息表示业务接受。该N2消息携带UPF3的地址信息。In step 410, the AMF entity 206 sends an N2 message to the access network device 204. The N2 message indicates that the service is accepted. The N2 message carries the address information of the UPF3.
步骤411,接入网设备204收到N2消息后,与终端设备202交互执行RRC连接重配置。Step 411: After receiving the N2 message, the access network device 204 performs an RRC connection reconfiguration with the terminal device 202.
至此,UPF3为N3 UPF。UPF1经过UPF3向接入网设备204发送缓存的第二下行数据和新接收到的第三下行数据。如图4所示,在时刻T3,第一会话的用于传输第二下行数据和第三下行数据的数据路径都为:UPF1→UPF3→接入网设备(图中未示出)→终端设备202。由此,传输第二下行数据和第三下行数据的数据路径相同,避免了终端接收到的下行数据的乱序问题,提高了用户体验。此外,无需建立额外的转发隧道也无需再释放转发隧道即可获得缓存的下行数据,减少了UPF实体之间的信令交互,从而降低了时延,进一步提高了用户体验。At this point, UPF3 is N3 UPF. The UPF1 sends the buffered second downlink data and the newly received third downlink data to the access network device 204 via the UPF3. As shown in FIG. 4, at time T3, the data paths for transmitting the second downlink data and the third downlink data of the first session are: UPF1→UPF3→access network device (not shown)→terminal device 202. Therefore, the data paths for transmitting the second downlink data and the third downlink data are the same, which avoids the disorder of the downlink data received by the terminal, and improves the user experience. In addition, there is no need to establish an additional forwarding tunnel and no need to release the forwarding tunnel to obtain the buffered downlink data, which reduces the signaling interaction between the UPF entities, thereby reducing the delay and further improving the user experience.
当触发条件满足时,可再次触发第一会话转换至去激活态。该过程可参考图3A中步骤311至316的描述,此处不再赘述。类似的,在此过程中,释放了接入网设备204与AMF实体206之间的N2连接,以及,接入网设备204与UPF3之间的N3连接(或直接释放UPF3)。When the trigger condition is met, the first session transition to the deactivated state may be triggered again. For the process, reference may be made to the description of steps 311 to 316 in FIG. 3A, and details are not described herein again. Similarly, in this process, the N2 connection between the access network device 204 and the AMF entity 206, and the N3 connection between the access network device 204 and the UPF 3 (or direct release of the UPF 3) are released.
若终端在移动过程中移出了原SMF实体208的服务范围,需要执行SMF实体的迁移(relocation)。例如,上述UPF1和UPF2与SMF实体208相连,而UPF3与SMF实体208’相连。If the terminal moves out of the service scope of the original SMF entity 208 during the move, it needs to perform relocation of the SMF entity. For example, UPF1 and UPF2 described above are coupled to SMF entity 208, and UPF3 is coupled to SMF entity 208'.
如图5所示,步骤501至步骤505b可参考图3B中步骤401至405b的描述,此处不再赘述。As shown in FIG. 5, steps 501 to 505b may refer to the description of steps 401 to 405b in FIG. 3B, and details are not described herein again.
步骤506,SMF实体208向SMF实体208’发送N16消息。In step 506, the SMF entity 208 sends an N16 message to the SMF entity 208'.
步骤507,SMF实体208’收到N16消息后,选择UPF3,通过与UPF3交互,以建立PDU会话。Step 507, after receiving the N16 message, the SMF entity 208' selects the UPF3 and interacts with the UPF3 to establish a PDU session.
步骤508,SMF实体208’向SMF实体208返回N16消息。In step 508, the SMF entity 208' returns an N16 message to the SMF entity 208.
步骤509至513可参考图4中步骤407至411的描述,此处不再赘述。Steps 509 to 513 may refer to the description of steps 407 to 411 in FIG. 4, and details are not described herein again.
类似的,当触发条件满足时,可再次触发第一会话转换至去激活态。该过程可参考图3A中步骤311至316的描述,此处不再赘述。在此过程中,释放了接入网设备204与AMF实体206之间的N2连接。另外,SMF迁移至SMF实体208’后,步骤312中N11消息的接收端为SMF实体208’(或者通过SMF实体208转发给SMF实体208’),SMF实体208’通过与UPF3交互,释放了接入网设备204与UPF3之间的N3连接或释放了UPF3。Similarly, when the trigger condition is met, the first session transition to the deactivated state can be triggered again. For the process, reference may be made to the description of steps 311 to 316 in FIG. 3A, and details are not described herein again. In this process, the N2 connection between the access network device 204 and the AMF entity 206 is released. In addition, after the SMF is migrated to the SMF entity 208', the receiving end of the N11 message in step 312 is the SMF entity 208' (or forwarded to the SMF entity 208' by the SMF entity 208), and the SMF entity 208' is released by interacting with the UPF3. The N3 connection between the network access device 204 and the UPF 3 or the UPF 3 is released.
此外,对于涉及到多个SMF实体参与的会话,也可以设置(或更新)最近为终端设备202服务的SMF所管辖的N3 UPF作为缓存设备,或者不删除最近为终端设备202服务的SMF所管辖的N3 UPF。In addition, for a session involving multiple SMF entities, the N3 UPF governed by the SMF that is recently served by the terminal device 202 can also be set (or updated) as a cache device, or the SMF that is recently served for the terminal device 202 is not deleted. N3 UPF.
此外,本发明的上述方法还可用于漫游的场景。例如,漫游场景包括本地疏导(local break out,LBO)的场景或归属地路由(home routed,HR)的场景。Furthermore, the above method of the present invention can also be applied to a scene of roaming. For example, the roaming scenario includes a local break out (LBO) scenario or a home routed (HR) scenario.
对于LBO场景下的漫游情况,将结合图3A、图3B和图4进行描述。For the roaming situation in the LBO scenario, it will be described in conjunction with FIG. 3A, FIG. 3B and FIG.
举例来说,在初始时刻,终端设备202通过HPLMN内的UPF0(图中未示出)获取业务数据。在时刻T1,终端设备202从HPLMN漫游至拜访PLMN(visit PLMN,VPLMN),终端设备与VPLMN内的UPF1建立第一会话,并通过UPF1传输业务的数据。UPF1为第一会话在VPLMN内的锚点。For example, at an initial time, the terminal device 202 acquires service data through UPF0 (not shown) within the HPLMN. At time T1, the terminal device 202 roams from the HPLMN to the visited PLMN (VPLMN), and the terminal device establishes a first session with the UPF1 in the VPLMN and transmits the data of the service through the UPF1. UPF1 is the anchor point of the first session within the VPLMN.
此后,当终端设备202从UPF1的服务范围移动至VPLMN下UPF2的服务范围后,可通过图3A中的步骤301至310,与UPF2建立第一会话(如,在时刻T2)。需要说明的是,此时的SMF实体208为位于VPLMN内的SMF实体。在第一会话切换至去激活态的流程中,例如通过图3A中的步骤311至316,根据预设条件选择UPF1或者根据预设条件删除UPF2之后,通知锚点UPF1缓存第一会话的下行数据。之后,可通过图3B中步骤401至411,由锚点UPF1缓存下行数据,并触发终端设备202与UPF3建立第一会话(如,在时刻T3)。Thereafter, after the terminal device 202 moves from the service range of the UPF1 to the service range of the UPF2 under the VPLMN, the first session (e.g., at time T2) can be established with the UPF 2 through steps 301 to 310 in FIG. 3A. It should be noted that the SMF entity 208 at this time is an SMF entity located in the VPLMN. In the process of switching from the first session to the deactivated state, for example, by selecting steps 311 to 316 in FIG. 3A, selecting UPF1 according to a preset condition or deleting UPF2 according to a preset condition, the anchor point UPF1 is notified to buffer the downlink data of the first session. . Thereafter, downlink data may be buffered by the anchor point UPF1 through steps 401 to 411 in FIG. 3B, and the terminal device 202 is triggered to establish a first session with the UPF 3 (eg, at time T3).
在第一会话再次切换至去激活态的流程(可参考图3A中步骤311至316的描述)中,类似的,释放了接入网设备204与AMF实体206之间的N2连接,以及,接入网设备204与UPF3之间的N3连接。In the flow of the first session switching to the deactivated state again (refer to the description of steps 311 to 316 in FIG. 3A), similarly, the N2 connection between the access network device 204 and the AMF entity 206 is released, and N3 connection between the network access device 204 and the UPF 3.
此外,类似于图3A中的步骤313,还可再次基于预设条件选择第一会话转换至去激活态后缓存下行数据的缓存设备。若上述预设条件满足,可还是选择锚点UPF1作为缓存设备,通过步骤315通知锚点UPF1,此处不再赘述。若预设条件不满足,也可选择UPF3作为缓存设备,并通过步骤314通知UPF3。这里可以再次基于预设条件选择是否 删除UPF2,进而确定缓存设备。此外,也可选择VPLMN内的SMF实体为缓存设备(例如,当UPF3不具备缓存下行数据的能力时)。In addition, similar to step 313 in FIG. 3A, the cache device that caches the downlink data after the first session transitions to the deactivated state may be selected again based on the preset condition. If the foregoing preset condition is met, the anchor point UPF1 may be selected as the cache device, and the anchor point UPF1 is notified through step 315, and details are not described herein again. If the preset condition is not satisfied, UPF3 may also be selected as the cache device, and UPF3 is notified through step 314. Here, it is possible to select whether to delete the UPF2 based on the preset condition again, thereby determining the cache device. In addition, the SMF entity within the VPLMN can also be selected as a cache device (eg, when UPF3 does not have the ability to buffer downstream data).
结合上述描述可知,图3A和图3B的方法也适用于LBO漫游的场景。As can be seen from the above description, the method of FIGS. 3A and 3B is also applicable to the scene of LBO roaming.
对于HR场景下的漫游情况,将结合图6进行描述。图6示出了HR漫游场景下该方法的信令交互。在图6的例子中,此时,UPF1和位于HPLMN内的SMF实体可分别称为H-UPF1和hSMF,以表示其位于HPLMN内。此时,UPF2、UPF3和位于VPLMN内的SMF实体可分别称为V-UPF2、V-UPF3、vSMF,以表示其位于VPLMN内。The roaming situation in the HR scenario will be described in conjunction with FIG. 6. Figure 6 shows the signaling interaction of the method in an HR roaming scenario. In the example of FIG. 6, at this time, UPF1 and the SMF entities located within the HPLMN may be referred to as H-UPF1 and hSMF, respectively, to indicate that they are located within the HPLMN. At this time, UPF2, UPF3, and SMF entities located in the VPLMN may be referred to as V-UPF2, V-UPF3, vSMF, respectively, to indicate that they are located within the VPLMN.
在执行图6所示的步骤之前,终端设备202还处于非漫游状态。终端设备202与H-UPF1建立第一会话,并通过H-UPF1传输业务的数据。第一会话具有SSC1模式,且H-UPF1为第一会话的锚点。The terminal device 202 is still in a non-roaming state before performing the steps shown in FIG. 6. The terminal device 202 establishes a first session with the H-UPF1 and transmits data of the service through the H-UPF1. The first session has an SSC1 mode, and H-UPF1 is an anchor point of the first session.
如图6所示,当终端设备202漫游至VPLMN后,步骤601,终端设备202通过接入网设备204向AMF实体206发送会话建立请求消息。As shown in FIG. 6, after the terminal device 202 roams to the VPLMN, in step 601, the terminal device 202 transmits a session establishment request message to the AMF entity 206 via the access network device 204.
步骤602,AMF实体206向vSMF发送N11消息。N11消息可用于建立PDU会话(第一会话)。In step 602, the AMF entity 206 sends an N11 message to the vSMF. The N11 message can be used to establish a PDU session (first session).
步骤603,vSMF选择V-UPF2,与V-UPF2通过N4消息的交互,以建立PDU会话(第一会话)。例如,vSMF向V-UPF2发送N4会话建立请求消息,V-UPF2向vSMF返回N4会话建立响应消息。In step 603, the vSMF selects V-UPF2 to interact with the V-UPF2 through the N4 message to establish a PDU session (first session). For example, the vSMF sends an N4 Session Establishment Request message to V-UPF2, and V-UPF2 returns an N4 Session Setup Response message to the vSMF.
步骤604,vSMF向hSMF发送N16消息,以建立第一会话。In step 604, the vSMF sends an N16 message to the hSMF to establish a first session.
步骤605,hSMF与H-UPF1交互N4消息。In step 605, the hSMF interacts with the H-UPF1 to exchange the N4 message.
在一种可能的实现方式中,HPLMN和VPLMN之间的漫游能够得到支持,可实现正常的会话切换。在这样的情况下,可保持原H-UPF1作为锚点,以通过修改PDU会话的方式将V-UPF2加入H-UPF1的第一会话的数据路径。In a possible implementation, roaming between HPLMN and VPLMN can be supported to achieve normal session switching. In such a case, the original H-UPF1 can be kept as an anchor point to add V-UPF2 to the data path of the first session of H-UPF1 by modifying the PDU session.
在另一种可能的实现方式中,会话不能正常切换,需要在HPLMN内选择一个新的锚点UPF1’。在这样的情况下,可通过建立PDU会话的方式,形成以V-UPF2为N3 UPF,以UPF1’为锚点的第一会话的数据路径。In another possible implementation, the session cannot be switched normally, and a new anchor point UPF1' needs to be selected within the HPLMN. In this case, the data path of the first session with V-UPF2 as N3 UPF and UPF1' as anchor point can be formed by establishing a PDU session.
步骤606,hSMF向vSMF发送N16消息。In step 606, the hSMF sends an N16 message to the vSMF.
步骤607,vSMF向AMF实体206返回N11消息。该N11消息为建立PDU会话接受消息。In step 607, the vSMF returns an N11 message to the AMF entity 206. The N11 message is a setup PDU session accept message.
步骤608,AMF实体206向接入网设备204发送N2消息,以向接入网设备204转发步骤605的建立PDU会话接受消息。In step 608, the AMF entity 206 sends an N2 message to the access network device 204 to forward the establish PDU session accept message of step 605 to the access network device 204.
步骤609,接入网设备204收到N2消息后,建立DRB。Step 609: After receiving the N2 message, the access network device 204 establishes a DRB.
步骤610,接入网设备204向AMF实体返回N2消息。该N2消息为建立PDU会话接受消息。In step 610, the access network device 204 returns an N2 message to the AMF entity. The N2 message is a setup PDU session accept message.
步骤611,AMF实体206向vSMF发送N11消息,以向hSMF转发步骤609的建立PDU会话接受消息。In step 611, the AMF entity 206 sends an N11 message to the vSMF to forward the setup PDU session accept message of step 609 to the hSMF.
步骤612,vSMF与V-UPF2交互N4消息,以通过修改PDU会话的方式向UPF2转发接入网侧的隧道信息。Step 612: The vSMF exchanges the N4 message with the V-UPF2 to forward the tunnel information of the access network side to the UPF2 by modifying the PDU session.
步骤613,vSMF向AMF实体206返回N11消息,作为步骤611中N11消息的应答。In step 613, the vSMF returns an N11 message to the AMF entity 206 as a response to the N11 message in step 611.
以上步骤可参考图3A中步骤301至310的步骤。可以理解的是,由于V-UPF2和V-UPF3由vSMF控制,可直接通过vSMF实现;而H-UPF1由hSMF控制,对于涉及H-UPF1的消息需要hSMF和vSMF之间的转发。The above steps may refer to the steps of steps 301 to 310 in FIG. 3A. It can be understood that since V-UPF2 and V-UPF3 are controlled by vSMF, they can be directly implemented by vSMF; while H-UPF1 is controlled by hSMF, and forwarding between hSMF and vSMF is required for messages involving H-UPF1.
步骤614,当触发条件满足时,触发将上述第一会话转换至去激活态。此时,终端设备202向接入网设备204发送触发消息。接入网设备204收到触发消息后,向AMF实体206发送N2消息,以释放接入网设备204与AMF实体206之间的N2连接。Step 614: When the trigger condition is met, triggering to convert the first session to the deactivated state. At this time, the terminal device 202 transmits a trigger message to the access network device 204. Upon receiving the trigger message, the access network device 204 sends an N2 message to the AMF entity 206 to release the N2 connection between the access network device 204 and the AMF entity 206.
步骤615,AMF实体206向vSMF发送N11消息,以请求释放接入网设备204和V-UPF2之间的N3连接。In step 615, the AMF entity 206 sends an N11 message to the vSMF to request to release the N3 connection between the access network device 204 and the V-UPF2.
步骤616,vSMF根据预设条件,通知V-UPF2缓存第一会话的第二下行数据。其中,预设条件包括SSC信息指示第一会话具有SSC1模式。Step 616: The vSMF notifies the V-UPF2 to cache the second downlink data of the first session according to the preset condition. The preset condition includes the SSC information indicating that the first session has the SSC1 mode.
例如,vSMF与V-UPF2交互N4消息,以请求释放接入网设备204和V-UPF2之间的N3连接。可选的vSMF可通过请求释放N3连接的N4消息,通知V-UPF2缓存第一会话的第二下行数据。换句话说,步骤616的N4消息具有两个作用:(1)请求释放接入网设备204和V-UPF2之间的N3连接;(2)通知V-UPF2缓存第一会话的第二下行数据。For example, the vSMF interacts with V-UPF2 with an N4 message to request the release of the N3 connection between the access network device 204 and the V-UPF2. The optional vSMF may notify the V-UPF2 to cache the second downlink data of the first session by requesting to release the N4 message of the N3 connection. In other words, the N4 message of step 616 has two purposes: (1) requesting to release the N3 connection between the access network device 204 and the V-UPF2; (2) notifying the V-UPF2 to cache the second downlink data of the first session. .
步骤617,vSMF向AMF实体206返回N11消息,以确认释放接入网设备204和V-UPF2之间的N3连接。AMF实体206收到N11消息后,记录第一会话转换至去激活态。In step 617, the vSMF returns an N11 message to the AMF entity 206 to confirm release of the N3 connection between the access network device 204 and the V-UPF 2. After receiving the N11 message, the AMF entity 206 records the first session transition to the deactivated state.
由此,当H-UPF1(或UPF1’)收到第二下行数据后,将该第二下行数据向V-UPF2转发。Thus, when H-UPF1 (or UPF1') receives the second downlink data, the second downlink data is forwarded to V-UPF2.
步骤618,V-UPF2缓存第二下行数据。Step 618, V-UPF2 buffers the second downlink data.
之后,可通过步骤619a至步骤631触发建立终端设备202与V-UPF3的第一会话。步骤619a至步骤631可参考图3B中步骤402a至411的描述,差别在于,由于第二下行数据缓存在V-UPF2,数据通知消息由V-UPF2发送至控制V-UPF2的vSMF,图3B中SMF实体208的操作可由vSMF执行;且对于由hSMF控制的UPF1的操作,需要通过vSMF和hSMF的转发实现。Thereafter, the first session of the terminal device 202 and the V-UPF 3 can be triggered by steps 619a to 631. Steps 619a to 631 may refer to the description of steps 402a to 411 in FIG. 3B, with the difference that, since the second downlink data is buffered in V-UPF2, the data notification message is sent by V-UPF2 to the vSMF controlling V-UPF2, in FIG. 3B. The operation of the SMF entity 208 can be performed by the vSMF; and for the operation of the UPF1 controlled by the hSMF, it needs to be implemented by the forwarding of the vSMF and the hSMF.
在第一会话再次切换至去激活态的流程(可参考步骤614至617的描述)中,在步骤632中,vSMF还可更新第一会话转换至去激活态后缓存下行数据的缓存设备。举例来说,若移动性统计信息指示终端设备202将长时间停留在VPLMN(例如,终端设备202停留在VPLMN的时间大于第三阈值),可更新UPF3为缓存设备,并通知UPF3。或者,也可更新vSMF为缓存设备(例如,当UPF3不具备缓存下行数据的能力时)。In the process of switching the first session to the deactivated state again (refer to the description of steps 614 to 617), in step 632, the vSMF may also update the cache device that buffers the downlink data after the first session transitions to the deactivated state. For example, if the mobility statistics indicate that the terminal device 202 will stay in the VPLMN for a long time (eg, the time at which the terminal device 202 stays at the VPLMN is greater than a third threshold), the UPF3 may be updated as a cache device and notified to the UPF 3. Alternatively, the vSMF can be updated to be a cache device (eg, when UPF3 does not have the ability to buffer downstream data).
也就是说,在HR的漫游场景下,vSMF选择N3 UPF作为缓存设备。That is to say, in the roaming scenario of the HR, the vSMF selects the N3 UPF as the cache device.
此外,通过上述步骤,当漫游(LBO或HR)场景下的终端设备202的会话再次被触发切换至去激活态,都可更新缓存设备,避免了与HPLMN内的锚点频繁交互,从而进一步提升用户体验。In addition, through the above steps, when the session of the terminal device 202 in the roaming (LBO or HR) scenario is triggered to switch to the deactivated state again, the cache device can be updated, thereby avoiding frequent interaction with the anchor point in the HPLMN, thereby further improving user experience.
图7示出了根据本发明实施例的一种缓存数据的方法。该方法可由会话管理功能实体(例如上述SMF实体208、或LBO漫游场景下的vSMF)执行。图7将结合图2至图6进行描述。例如,该方法包括:FIG. 7 illustrates a method of caching data in accordance with an embodiment of the present invention. The method may be performed by a session management function entity (e.g., the SMF entity 208 described above, or a vSMF under an LBO roaming scenario). FIG. 7 will be described in conjunction with FIGS. 2 through 6. For example, the method includes:
步骤702,会话管理功能实体分别与第二用户面功能实体(例如,上述UPF2)和第一用户面功能实体(例如,上述UPF1)交互,以使得第一用户面功能实体经过第二用户面功能实体向接入网设备(例如,上述接入网设备204)发送第一会话的第一下行数据。第一用户面功能实体为第一会话的锚点。Step 702: The session management function entity interacts with the second user plane function entity (for example, the UPF2) and the first user plane function entity (for example, the UPF1), so that the first user plane function entity passes the second user plane function. The entity sends the first downlink data of the first session to the access network device (eg, the access network device 204). The first user plane function entity is an anchor point of the first session.
例如,步骤702可通过图3A中的步骤303和309b实现。For example, step 702 can be implemented by steps 303 and 309b in Figure 3A.
步骤704,会话管理功能实体根据预设条件,通知第一用户面功能实体缓存第一会话的第二下行数据。其中,预设条件包括SSC信息指示第一会话具有第一会话和业务连 续性SSC1模式。第二下行数据为第一会话转换至去激活态后第一用户面功能实体收到的下行数据。Step 704: The session management function entity notifies the first user plane function entity to cache the second downlink data of the first session according to the preset condition. The preset condition includes the SSC information indicating that the first session has the first session and the service continuity SSC1 mode. The second downlink data is downlink data received by the first user plane function entity after the first session is switched to the deactivated state.
例如,步骤704可通过图3A中的步骤315实现。For example, step 704 can be implemented by step 315 in Figure 3A.
根据上述缓存数据的方案,会话管理功能实体根据预设条件通知锚点用户面功能实体缓存第二下行数据。这样,当第一会话切换至激活态后,锚点用户面功能实体缓存的第二下行数据与第一会话再次切换至激活态新接收到的第三下行数据的传输路径相同。由此,避免了终端接收到的下行数据的乱序问题,提高了用户体验。此外,无需建立额外的转发隧道也无需再释放转发隧道即可获得缓存的下行数据,减少了UPF实体之间的信令交互,从而降低了时延,进一步提高了用户体验。According to the foregoing scheme of buffering data, the session management function entity notifies the anchor user plane function entity to cache the second downlink data according to the preset condition. In this way, after the first session is switched to the active state, the second downlink data buffered by the anchor user plane function entity is the same as the transmission path of the third downlink data newly received by the first session to the active state. Thereby, the out-of-order problem of the downlink data received by the terminal is avoided, and the user experience is improved. In addition, there is no need to establish an additional forwarding tunnel and no need to release the forwarding tunnel to obtain the buffered downlink data, which reduces the signaling interaction between the UPF entities, thereby reducing the delay and further improving the user experience.
可选的,预设条件包括以下中的至少一项:SSC信息指示第一会话具有第一会话和业务连续性SSC1模式;移动性信息指示终端设备为高移动性设备;会话管理功能实体和第一用户面功能实体属于同一运营商网络。其中,第一会话具有SSC1模式,表示在初始建立PDU会话时作为PDU会话锚点的UPF保持不变。换句话说,在终端设备的移动过程中,具有SSC1模式的第一会话的锚定UPF实体不变。会话管理功能实体和第一用户面功能实体属于同一运营商网络,可包括非漫游的场景或者本地疏导LBO漫游的场景。此外,缓存设备的选择还需要考虑终端设备的移动性。Optionally, the preset condition includes at least one of the following: the SSC information indicates that the first session has a first session and a service continuity SSC1 mode; the mobility information indicates that the terminal device is a high mobility device; the session management function entity and the A user plane functional entity belongs to the same carrier network. The first session has an SSC1 mode, indicating that the UPF that is the anchor of the PDU session remains unchanged when the PDU session is initially established. In other words, during the movement of the terminal device, the anchor UPF entity of the first session with the SSC1 mode does not change. The session management function entity and the first user plane function entity belong to the same carrier network, and may include non-roaming scenarios or local grooming LBO roaming scenarios. In addition, the choice of the cache device also needs to consider the mobility of the terminal device.
可选的,该方法还包括:会话管理功能实体分别与第三用户面功能实体(例如,上述UPF3)和第一用户面功能实体交互,以使得第一用户面功能实体经过第三用户面功能实体向接入网设备(可以是接入网设备204或其他接入网设备)发送第二下行数据和第三下行数据。其中,第三下行数据为第一会话转换至激活态后第一用户面功能实体收到的下行数据(例如,可参考图3B中的步骤406、407)。Optionally, the method further includes: the session management function entity interacts with the third user plane function entity (for example, the UPF3) and the first user plane function entity, respectively, so that the first user plane function entity passes the third user plane function. The entity sends the second downlink data and the third downlink data to the access network device (which may be the access network device 204 or other access network device). The third downlink data is downlink data received by the first user plane function entity after the first session is switched to the active state (for example, refer to steps 406 and 407 in FIG. 3B).
可选的,步骤704包括:会话管理功能实体根据预设条件,选择第一用户面功能实体作为缓存第二下行数据的用户面功能实体;会话管理功能实体通知第一用户面功能实体在收到第二下行数据后,缓存第二下行数据(例如,可参考图3A中的步骤313至315)。Optionally, the step 704 includes: the session management function entity selects the first user plane function entity as the user plane function entity that caches the second downlink data according to the preset condition; and the session management function entity notifies the first user plane function entity to receive the After the second downlink data, the second downlink data is buffered (for example, refer to steps 313 to 315 in FIG. 3A).
可选的,该方法还包括:会话管理功能实体获得终端设备的移动性信息。例如,会话管理功能实体可通过如下方式获得终端设备的移动性信息:会话管理功能实体从移动性管理功能实体(例如,AMF实体206)接收移动属性,移动性信息为移动属性;或者,会话管理功能实体获取移动性统计信息,移动性信息为移动性统计信息;或者,会话管理功能实体从移动性管理功能实体接收移动属性,获取移动性统计信息,根据移动属性和移动性统计信息确定移动性信息。其中,移动属性至少包括高移动属性或低移动属性,移动性统计信息用于指示终端设备的移动速度或停留时间(例如,可参考图3A中的步骤302、302a、302b)。Optionally, the method further includes: the session management function entity obtains mobility information of the terminal device. For example, the session management function entity may obtain mobility information of the terminal device by the session management function entity receiving the mobility attribute from the mobility management function entity (eg, the AMF entity 206), the mobility information being a mobile attribute; or, session management The functional entity obtains mobility statistics, and the mobility information is mobility statistics; or the session management function entity receives the mobility attribute from the mobility management function entity, obtains mobility statistics, and determines mobility according to the mobility attribute and the mobility statistics. information. The mobility attribute includes at least a high mobility attribute or a low mobility attribute, and the mobility statistics information is used to indicate a moving speed or a staying time of the terminal device (for example, refer to steps 302, 302a, and 302b in FIG. 3A).
例如,会话管理功能实体获取移动性统计信息,包括:会话管理功能实体从移动性管理功能实体接收移动性统计信息;或者,会话管理功能实体从网络数据分析NWDA设备(例如上述NWDA设备214)获取移动性统计信息。For example, the session management function entity obtains mobility statistics, including: the session management function entity receives mobility statistics from the mobility management function entity; or the session management function entity obtains from the network data analysis NWDA device (eg, the NWDA device 214 described above) Mobility statistics.
可选的,该方法还包括:在会话管理功能实体选择第一用户面功能实体作为缓存第二下行数据的用户面功能实体后,会话管理功能实体释放第二用户面功能实体(例如, 可参考图3A中的步骤314)。由此,当选择锚点用户面功能实体作为缓存设备时,可直接释放第二用户面功能实体,从而节省网络的资源。Optionally, the method further includes: after the session management function entity selects the first user plane function entity as the user plane function entity that caches the second downlink data, the session management function entity releases the second user plane function entity (for example, reference may be made. Step 314) in Figure 3A. Therefore, when the anchor user plane function entity is selected as the cache device, the second user plane function entity can be directly released, thereby saving network resources.
可选的,上述步骤702和704可被替换为:会话管理功能实体分别与第二用户面功能实体和第一用户面功能实体交互,以使得第一用户面功能实体经过第二用户面功能实体发送第一会话的第一下行数据。会话管理功能实体在所述第一会话进入去激活态时,释放第二用户面功能实体(例如,会话管理实体先确定释放第二用户面功能实体)。其中,第二用户面功能实体为第一会话的与接入网设备相连的用户面功能实体。第一用户面功能实体可以是锚点UPF,也可以是第二用户面功能实体与锚点UPF之间的UPF。Optionally, the foregoing steps 702 and 704 may be replaced by: the session management function entity interacting with the second user plane function entity and the first user plane function entity, respectively, such that the first user plane function entity passes the second user plane function entity Sending the first downlink data of the first session. The session management function entity releases the second user plane function entity when the first session enters the deactivated state (eg, the session management entity first determines to release the second user plane function entity). The second user plane function entity is a user plane function entity connected to the access network device in the first session. The first user plane function entity may be an anchor UPF or a UPF between the second user plane function entity and the anchor point UPF.
可选的,会话管理功能实体通知第一用户面功能实体缓存第一会话的第二下行数据。或者,会话管理功能网元通知第一用户面功能网元释放与第二户面功能网元之间的连接,使得上述第一用户面实体“自动”地成为了第一会话转换至去激活态后缓存第二下行数据的缓存设备。Optionally, the session management function entity notifies the first user plane function entity to cache the second downlink data of the first session. Or the session management function network element notifies the first user plane function network element to release the connection with the second household function network element, so that the first user plane entity "automatically" becomes the first session transition to the deactivated state. A cache device that caches the second downlink data.
根据上述方案,会话管理功能实体删除第二用户面功能实体后,第一用户面功能实体成为新的与接入网设备相连的用户面功能实体,并缓存第二下行数据。这样,当第一会话切换至激活态后,第一用户面功能实体缓存的第二下行数据与第一会话再次切换至激活态新接收到的第三下行数据的传输路径相同。由此,避免了终端接收到的下行数据的乱序问题。此外,无需建立额外的转发隧道也无需再释放转发隧道即可获得缓存的下行数据,减少了UPF实体之间的信令交互,从而降低了时延,提高了用户体验。According to the above solution, after the session management function entity deletes the second user plane function entity, the first user plane function entity becomes a new user plane function entity connected to the access network device, and caches the second downlink data. In this way, after the first session is switched to the active state, the second downlink data buffered by the first user plane function entity is the same as the transmission path of the third downlink data newly received by the first session to the active state. Thereby, the disorder of the downlink data received by the terminal is avoided. In addition, there is no need to establish an additional forwarding tunnel and no need to release the forwarding tunnel to obtain the buffered downlink data, which reduces the signaling interaction between the UPF entities, thereby reducing the delay and improving the user experience.
例如,会话管理实体先根据会话和业务连续性信息、移动性信息和策略信息中的至少一项,确定释放第二用户面功能实体。举例来说,当以下任一项满足时,会话管理实体判断释放第二用户面用能实体:For example, the session management entity first determines to release the second user plane functional entity according to at least one of session and business continuity information, mobility information, and policy information. For example, when any of the following is satisfied, the session management entity determines to release the second user plane energy entity:
上述会话和业务连续性信息指示所述第一会话具有第一会话和业务连续性模式;The session and service continuity information indicates that the first session has a first session and a business continuity mode;
上述移动性信息指示所述终端设备为高移动性设备;The mobility information indicates that the terminal device is a high mobility device;
上述本地策略指示释放所述第二用户面实体;The local policy indicates that the second user plane entity is released;
会话管理功能实体和第一用户面功能实体属于同一运营商网络(表示适用于非漫游的场景或者本地疏导LBO漫游的场景)。The session management function entity and the first user plane function entity belong to the same carrier network (representing a scenario suitable for non-roaming scenarios or local grooming LBO roaming).
可选的,上述方法都适用于归属地路由HR漫游场景。会话管理功能实体(例如上述vSMF)和第三用户面功能实体位于HR漫游场景下的VPLMN内,该方法还包括:会话管理功能实体调整缓存设备,所述缓存设备用于在第一会话转换至去激活态后缓存第一会话的第四下行数据(例如,可参考图6中的步骤632)。Optionally, the foregoing methods are all applicable to the home routing HR roaming scenario. The session management function entity (for example, the vSMF above) and the third user plane function entity are located in the VPLMN under the HR roaming scenario, the method further includes: the session management function entity adjusts the cache device, where the cache device is used to switch to the first session to After the deactivated state, the fourth downlink data of the first session is cached (for example, refer to step 632 in FIG. 6).
例如,会话管理功能实体调整缓存设备,包括:会话管理功能实体确定第三用户面功能实体为所述缓存设备;或者,会话管理功能实体确定该会话管理功能实体为缓存设备。由此,通过更新缓存设备,可避免与HPLMN内的锚点用户面实体的频繁交互,从而进一步提升用户体验。For example, the session management function entity adjusts the cache device, including: the session management function entity determines that the third user plane function entity is the cache device; or the session management function entity determines that the session management function entity is a cache device. Thus, by updating the cache device, frequent interaction with the anchor user plane entity within the HPLMN can be avoided, thereby further enhancing the user experience.
以下将结合图8A和图8B,介绍本申请另一实施例的一种缓存数据的方法。图8A示出了该方法的信令交互,图8B示出了终端设备202在移动过程中数据路径的变化。该方法可适用于具有SSC3模式的PDU会话。在SSC3模式下,同一时刻可能存在多个锚点UPF。在该场景下,可能存在多个“会话”(例如,multiple PDU sessions),或者,会话的多 个“会话分支”。以下,以多个“会话”为例进行描述。A method of buffering data according to another embodiment of the present application will be described below with reference to FIG. 8A and FIG. 8B. Figure 8A shows the signaling interaction of the method, and Figure 8B shows the change of the data path of the terminal device 202 during the move. This method is applicable to PDU sessions with SSC3 mode. In SSC3 mode, there may be multiple anchor points UPF at the same time. In this scenario, there may be multiple "sessions" (e.g., multiple PDU sessions), or multiple "session branches" of the session. Hereinafter, a description will be made by taking a plurality of "sessions" as an example.
在执行图8A所示的步骤之前(例如图8B中的时刻T1),终端设备与UPF1建立第一会话,并通过UPF1传输业务的数据。第一会话具有SSC3模式,且UPF1为第一会话的初始锚点。Before performing the step shown in FIG. 8A (for example, time T1 in FIG. 8B), the terminal device establishes a first session with UPF1 and transmits data of the service through UPF1. The first session has an SSC3 mode, and UPF1 is the initial anchor point of the first session.
在图8A中,步骤801至810可参考图3A中步骤301至310的描述,此处不再赘述。In FIG. 8A, steps 801 to 810 can refer to the description of steps 301 to 310 in FIG. 3A, and details are not described herein again.
需要说明的是,由于第一会话具有SSC3模式,步骤803的N4消息具有两个作用:(1)建立上述第一会话,即为上述锚点为UPF1的第一会话的数据路径添加UPF2作为N3 UPF;(2)以UPF2作为锚点建立新的第二会话。It should be noted that, since the first session has the SSC3 mode, the N4 message of step 803 has two functions: (1) establishing the first session, that is, adding UPF2 as the N3 for the data path of the first session where the anchor point is UPF1. UPF; (2) establish a new second session with UPF2 as an anchor point.
通过上述步骤,UPF1经过UPF2向接入网设备204发送上述第一会话的第一下行数据。如图8B所示,在时刻T2,第一会话的数据路径为:UPF1→UPF2→接入网设备(图中未示出)→终端设备202。Through the above steps, the UPF1 sends the first downlink data of the first session to the access network device 204 via the UPF2. As shown in FIG. 8B, at time T2, the data path of the first session is: UPF1 → UPF2 → access network device (not shown) → terminal device 202.
此外,以UPF2为锚点建立的第二会话的数据路径(图中未示出)为:UPF2→接入网设备→终端设备202。In addition, the data path (not shown) of the second session established with UPF2 as an anchor is: UPF2→access network device→terminal device 202.
步骤811,当触发条件满足时,触发将上述第一会话转换至去激活态。此时,终端设备202向接入网设备204发送触发消息。接入网设备204收到触发消息后,向AMF实体206发送N2消息,以释放接入网设备204与AMF实体206之间第一会话的N2连接。Step 811: When the trigger condition is met, the trigger converts the first session to the deactivated state. At this time, the terminal device 202 transmits a trigger message to the access network device 204. Upon receiving the trigger message, the access network device 204 sends an N2 message to the AMF entity 206 to release the N2 connection of the first session between the access network device 204 and the AMF entity 206.
步骤812,AMF实体206向SMF实体208发送N11消息,以请求释放接入网设备204和UPF2之间第一会话的N3连接。In step 812, the AMF entity 206 sends an N11 message to the SMF entity 208 requesting to release the N3 connection of the first session between the access network device 204 and the UPF 2.
步骤813,SMF实体208根据预设条件选择UPF2或者根据预设条件确定不删除UPF2,通知UPF2缓存第一会话的第二下行数据。其中,预设条件包括SSC信息指示第一会话具有SSC3模式。In step 813, the SMF entity 208 selects the UPF2 according to the preset condition or determines that the UPF2 is not deleted according to the preset condition, and notifies the UPF2 to cache the second downlink data of the first session. The preset condition includes the SSC information indicating that the first session has the SSC3 mode.
例如,SMF实体208与UPF2交互N4消息,以请求释放接入网设备204和UPF2之间第一会话的N3连接。可选的,SMF实体208可通过请求释放N3连接的N4消息,通知UPF2缓存第一会话的第二下行数据。换句话说,步骤813的N4消息具有两个作用:(1)请求释放接入网设备204和UPF2之间第一会话的N3连接;(2)通知UPF2缓存第一会话的第二下行数据。For example, the SMF entity 208 interacts with the UPF 2 with an N4 message to request the release of the N3 connection of the first session between the access network device 204 and the UPF 2. Optionally, the SMF entity 208 can notify the UPF2 to cache the second downlink data of the first session by requesting to release the N4 message of the N3 connection. In other words, the N4 message of step 813 has two purposes: (1) requesting release of the N3 connection of the first session between the access network device 204 and the UPF 2; (2) notifying the UPF 2 to cache the second downlink data of the first session.
步骤814,SMF实体208向AMF实体206返回N11消息,以确认释放接入网设备204和UPF2之间第一会话的N3连接。AMF实体206收到N11消息后,记录第一会话转换至去激活态。In step 814, the SMF entity 208 returns an N11 message to the AMF entity 206 to confirm the release of the N3 connection of the first session between the access network device 204 and the UPF 2. After receiving the N11 message, the AMF entity 206 records the first session transition to the deactivated state.
类似的,当触发条件满足时,可触发将上述第二会话转换至去激活态。若终端设备202上的所有会话都被转换至去激活态,该终端设备202相应转换至空闲(CM-CONNECTED)态。Similarly, when the trigger condition is met, the second session can be triggered to transition to the deactivated state. If all sessions on the terminal device 202 are switched to the deactivated state, the terminal device 202 switches to the CM-CONNECTED state accordingly.
在一种可能的实现方式中,可通过同一流程将上述第一会话和第二会话都转换至去激活态。In a possible implementation, the first session and the second session may be converted to a deactivated state by the same process.
在另一种可能的实现方式中,采用与第一会话独立的流程将第二会话转换至去激活态。对于第二会话,可选择与第一会话相同或不同的用于缓存下行数据的缓存设备。例如,对于第二会话,可选择初始锚点UPF1(可参考图3A至图7的描述)或当前的N3 UPF(即UPF2)作为缓存设备,本发明并不在此限制。对于SSC3模式,可能存在多个“会话”,或者,会话的多个“会话分支”。SMF实体208可分别为多个会话,或者,会话的多个会话分支选择不同的缓存设备,并通过N4消息通知各自的缓存设备缓存接收到的下行数 据。In another possible implementation, the second session is switched to the deactivated state using a process independent of the first session. For the second session, a cache device for buffering downstream data that is the same as or different from the first session may be selected. For example, for the second session, the initial anchor point UPF1 (refer to the description of FIGS. 3A through 7) or the current N3 UPF (ie, UPF2) may be selected as the cache device, and the present invention is not limited thereto. For the SSC3 mode, there may be multiple "sessions" or multiple "session branches" of the session. The SMF entity 208 can select different cache devices for multiple sessions, or multiple session branches of the session, and notify the respective cache devices to buffer the received downlink data through the N4 message.
以下依旧以第一会话(会话分支)为主线进行描述。The following is still described with the first session (session branch) as the main line.
在第一会话处于去激活态时,来自数据网络212的第一会话的第二下行数据到达UPF2。When the first session is in the deactivated state, the second downlink data from the first session of the data network 212 arrives at UPF2.
步骤815,UPF2缓存第二下行数据。In step 815, the UPF2 caches the second downlink data.
步骤816a,UPF2收到第二下行数据后,向SMF实体208发送数据通知消息。Step 816a: After receiving the second downlink data, the UPF2 sends a data notification message to the SMF entity 208.
本发明并不限定步骤815和步骤816a之间的执行顺序,可先执行步骤815后执行步骤816a,或者,也可先执行步骤816a再执行步骤815,或者,同时执行步骤815和步骤816a。The present invention does not limit the execution sequence between step 815 and step 816a. Step 815 may be performed after step 815, or step 816 may be performed first, or step 815 may be performed first, or step 815 and step 816a may be performed at the same time.
可选的,步骤816b,SMF实体208向UPF2返回数据通知确认消息。Optionally, in step 816b, the SMF entity 208 returns a data notification confirmation message to the UPF 2.
步骤817至819b可参考图3B中步骤403至405b的描述,此处不再赘述。Steps 817 to 819b may refer to the description of steps 403 to 405b in FIG. 3B, and details are not described herein again.
步骤820,SMF实体208与UPF3交互N4消息,以建立PDU会话。此处,通过N4消息交互,一方面,建立上述第一会话和第二会话;另一方面,以UPF3作为锚点UPF建立新的第三会话。In step 820, the SMF entity 208 interacts with the UPF 3 for the N4 message to establish a PDU session. Here, through the N4 message interaction, on the one hand, the above-mentioned first session and the second session are established; on the other hand, the UPF3 is used as the anchor UPF to establish a new third session.
步骤821,SMF实体208与UPF2交互N4消息,以修改PDU会话。例如,SMF实体208与UPF2通过N4消息交互,为已有会话(例如上述第一会话和第二会话)的数据路径添加UPF3作为N3 UPF,使得UPF2与UPF3相连。In step 821, the SMF entity 208 interacts with the UPF 2 with an N4 message to modify the PDU session. For example, the SMF entity 208 interacts with the UPF2 through the N4 message to add UPF3 to the data path of the existing session (for example, the first session and the second session) as the N3 UPF, so that the UPF2 is connected to the UPF3.
也就是说,通过步骤820和821,第一会话的新接收到的第三下行数据的数据路径变更为:UPF1→UPF2→UPF3→接入网设备→终端设备202。第二会话新接收到的下行数据的数据路径变更为:UPF2→UPF3→接入网设备→终端设备202。新建立的第三会话的下行数据的数据路径为:UPF3→接入网设备→终端设备202。That is, through steps 820 and 821, the data path of the newly received third downlink data of the first session is changed to: UPF1→UPF2→UPF3→access network device→terminal device 202. The data path of the newly received downlink data in the second session is changed to: UPF2→UPF3→access network device→terminal device 202. The data path of the downlink data of the newly established third session is: UPF3→access network device→terminal device 202.
此外,第一会话缓存的第二下行数据的数据路径为UPF2→UPF3→接入网设备→终端设备202。In addition, the data path of the second downlink data buffered by the first session is UPF2→UPF3→access network device→terminal device 202.
步骤822至824可参考图3B中步骤409至411的描述,此处不再赘述。Steps 822 to 824 may refer to the description of steps 409 to 411 in FIG. 3B, and details are not described herein again.
至此,对于第一会话,UPF3为N3 UPF。UPF2经过UPF3向终端设备202发送缓存的第二下行数据;UPF1依次经过UPF2和UPF3向终端设备202发送新接收到的第一会话的第三下行数据。例如,在时刻T3,缓存的第二下行数据的数据路径(图中未示出)为:UPF2→UPF3→接入网设备→终端设备202;如图8B所示,在时刻T3,第三下行数据的传输路径为:UPF1→UPF2→UPF3→接入网设备(图中未示出)→终端设备202。由此,从UPF2开始,传输第二下行数据和第三下行数据的数据路径相同,避免了终端接收到的下行数据的乱序问题,提高了用户体验。此外,采用图8A的方法,无需建立额外的转发隧道也无需再释放转发隧道即可获得缓存的下行数据,减少了UPF实体之间的信令交互,从而降低了时延,进一步提高了用户体验。So far, for the first session, UPF3 is N3 UPF. The UPF2 sends the buffered second downlink data to the terminal device 202 through the UPF3. The UPF1 sends the newly received third downlink data of the first session to the terminal device 202 through the UPF2 and the UPF3. For example, at time T3, the data path (not shown) of the buffered second downlink data is: UPF2→UPF3→access network device→terminal device 202; as shown in FIG. 8B, at time T3, the third downlink The transmission path of the data is: UPF1 → UPF2 → UPF3 → access network device (not shown) → terminal device 202. Therefore, starting from the UPF2, the data paths for transmitting the second downlink data and the third downlink data are the same, which avoids the disorder of the downlink data received by the terminal, and improves the user experience. In addition, the method of FIG. 8A can be used to obtain the buffered downlink data without the need to establish an additional forwarding tunnel and release the forwarding tunnel, thereby reducing signaling interaction between the UPF entities, thereby reducing the delay and further improving the user experience. .
可选的,当触发条件满足时,可再次触发第一会话转换至去激活态。该过程可参考步骤811至814的描述,此处不再赘述。类似的,在此过程中,释放了接入网设备204与AMF实体206之间的N2连接,以及,接入网设备204与UPF3之间的N3连接。可选的,SMF实体208还可更新缓存设备(例如锚点UPF3),并通知更新的缓存设备缓存下行数据。Optionally, when the trigger condition is met, the first session transition to the deactivated state may be triggered again. For the process, reference may be made to the description of steps 811 to 814, and details are not described herein again. Similarly, in this process, the N2 connection between the access network device 204 and the AMF entity 206, and the N3 connection between the access network device 204 and the UPF 3 are released. Optionally, the SMF entity 208 may also update the cache device (eg, anchor point UPF3) and notify the updated cache device to buffer the downlink data.
图9示出了根据本发明实施例的一种缓存数据的方法。该方法可由会话管理功能实体(例如上述SMF实体208)执行。图9将结合图2至图4,以及图8A和图8B进行描述。例 如,该方法包括:FIG. 9 illustrates a method of caching data in accordance with an embodiment of the present invention. The method can be performed by a session management function entity, such as the SMF entity 208 described above. Figure 9 will be described in conjunction with Figures 2 through 4, and Figures 8A and 8B. For example, the method includes:
步骤902,会话管理功能实体分别与第二用户面功能实体(例如,上述UPF2)和第一用户面功能实体(例如,上述UPF1)交互,以使得第一用户面功能实体经过第二用户面功能实体向接入网设备(例如,上述接入网设备204)发送第一会话的第一下行数据,其中,第一用户面功能实体为第一会话的锚点。Step 902: The session management function entity interacts with the second user plane function entity (for example, the UPF2) and the first user plane function entity (for example, the UPF1), so that the first user plane function entity passes the second user plane function. The entity sends the first downlink data of the first session to the access network device (for example, the foregoing access network device 204), where the first user plane function entity is an anchor point of the first session.
例如,步骤902可通过图8A中的步骤803和809b实现。For example, step 902 can be implemented by steps 803 and 809b in Figure 8A.
步骤904,会话管理功能实体根据预设条件,通知第二用户面功能实体缓存第一会话的第二下行数据。其中,预设条件包括SSC信息指示第一会话具有第三会话和业务连续性SSC3模式。第二下行数据为第一会话转换至去激活态后第二用户面功能实体收到的下行数据。Step 904: The session management function entity notifies the second user plane function entity to cache the second downlink data of the first session according to the preset condition. The preset condition includes the SSC information indicating that the first session has a third session and a service continuity SSC3 mode. The second downlink data is downlink data received by the second user plane function entity after the first session is switched to the deactivated state.
例如,步骤904可通过图8A中的步骤813实现。For example, step 904 can be implemented by step 813 in Figure 8A.
其中,第一会话具有SSC3模式,表示在SSC3模式下,同一时刻可能存在多个锚点UPF。换句话说,可能存在多个“会话”,或者,会话的多个“会话分支”。The first session has an SSC3 mode, indicating that in the SSC3 mode, multiple anchor points UPF may exist at the same time. In other words, there may be multiple "sessions" or multiple "session branches" of the session.
步骤906,会话管理功能实体分别与第三用户面功能实体和第二用户面功能实体交互,以使得第二用户面功能实体经过第三用户面功能实体向接入网设备(可以是接入网设备204或其他接入网设备)发送第二下行数据,且所述第一用户面功能实体经过第二用户面功能实体、第三用户面功能实体、向接入网设备(可以是接入网设备204或其他接入网设备)发送第三下行数据。其中,第三下行数据为第一会话转换至激活态后第一用户面功能实体收到的下行数据。Step 906: The session management function entity interacts with the third user plane function entity and the second user plane function entity, respectively, so that the second user plane function entity passes through the third user plane function entity to the access network device (which may be an access network) The device 204 or other access network device sends the second downlink data, and the first user plane function entity passes the second user plane function entity, the third user plane function entity, and the access network device (which may be an access network) The device 204 or other access network device transmits the third downlink data. The third downlink data is downlink data received by the first user plane function entity after the first session is switched to the active state.
例如,步骤906可通过图8A中的步骤820和821实现。For example, step 906 can be implemented by steps 820 and 821 in Figure 8A.
可选的,步骤904包括:会话管理功能实体根据预设条件,选择第二用户面功能实体作为缓存第二下行数据的缓存设备;会话管理功能实体通知第二用户面功能实体在收到第二下行数据后,缓存第二下行数据。Optionally, the step 904 includes: the session management function entity selects the second user plane function entity as a cache device for buffering the second downlink data according to the preset condition; and the session management function entity notifies the second user plane function entity to receive the second After the downlink data, the second downlink data is buffered.
可选的,由于第一会话具有SSC3模式,对于第二会话,可选择与第一会话相同或不同的用于缓存下行数据的缓存设备。例如,对于第二会话,可选择初始锚点UPF1(可参考图3A至图7的描述)或当前的N3 UPF(即UPF2)作为缓存设备,并通过N4消息通知各自的缓存设备缓存接收到的下行数据。Optionally, since the first session has the SSC3 mode, for the second session, the same or different cache device for buffering the downlink data may be selected. For example, for the second session, the initial anchor point UPF1 (refer to the description of FIG. 3A to FIG. 7) or the current N3 UPF (ie, UPF2) may be selected as the cache device, and the respective cache device is notified by the N4 message to buffer the received Downstream data.
此外,图8A所示的方法还可适用于多归属PDU会话(multi-homing PDU session)的场景或上行分类器(uplink classifier,ULCL)的场景。In addition, the method shown in FIG. 8A can also be applied to a scenario of a multi-homing PDU session or an uplink classifier (ULCL) scenario.
图10示出了多归属PDU会话场景下的示意图。接入网设备204与带有聚合点(branching point,BP)功能的UPF实体(简称为BP UPF)相连。BP UPF与各个PDU会话锚点相连(例如PDU会话锚点1和PDU会话锚点2)。多归属PDU会话通过多个PDU会话锚点,提供了到达接入网络212的多条路径。BP UPF能够向不同PDU会话锚点转发上行数据,并合并来自不同PDU会话锚点的下行数据。Figure 10 shows a schematic diagram of a multi-homed PDU session scenario. The access network device 204 is connected to a UPF entity (abbreviated as BP UPF) with a branching point (BP) function. The BP UPF is connected to each PDU session anchor (eg, PDU Session Anchor 1 and PDU Session Anchor 2). The multi-homed PDU session provides multiple paths to the access network 212 through multiple PDU session anchors. The BP UPF is capable of forwarding upstream data to different PDU session anchors and merging downlink data from different PDU session anchors.
例如,PDU会话锚点1可执行图8A中UPF1的操作。UPF2可用于实现BP UPF的功能,分别通过PDU会话锚点1的会话分支1和PDU会话锚点2的会话分支2连接至数据网络212。其中,PDU会话锚点2可以与BP UPF UPF2分开设置,也可与BP UPF UPF2合设。类似的,UPF3也可用于实现BP UPF的功能,分别通过PDU会话锚点1的会话分支1和PDU会话锚点2的会 话分支2连接至数据网络212。其中,PDU会话锚点2可以BP UPF UPF3分开设置,也可与BP UPF UPF3合设。For example, PDU session anchor 1 may perform the operations of UPF1 in Figure 8A. UPF2 can be used to implement the functionality of the BP UPF, which is connected to the data network 212 through the session branch 1 of the PDU session anchor 1 and the session branch 2 of the PDU session anchor 2, respectively. The PDU session anchor 2 can be set separately from the BP UPF UPF2, or can be combined with the BP UPF UPF2. Similarly, UPF3 can also be used to implement the functionality of BP UPF, which is connected to data network 212 via session branch 1 of PDU session anchor 1 and session branch 2 of PDU session anchor 2, respectively. The PDU session anchor 2 can be set separately from BP UPF UPF3, or can be combined with BP UPF UPF3.
例如,在T1时刻,创建具有SSC3模式的会话分支1,由锚点UPF1作为缓存下行数据的缓存设备。在T2时刻,通过多归属PDU会话的技术添加UPF2作为BP UPF,创建会话分支2,UPF2为会话分支1和会话分支2的聚合点。当会话分支进入去激活态后,更新UPF2作为缓存下行数据的缓存设备。在T2至T3的时间段内,终端设备202发生移动,发起下行业务后下行数据缓存于UPF2。寻呼响应后触发BP UPF迁移(relocation)。即,在时刻T3,BP UPF变更为UPF3。UPF3可从UPF2获取缓存的下行数据,并建立新的会话分支3。UPF3为会话分支1、会话分支2和会话分支3的聚合点。当会话分支再次进入去激活态后,更新UPF3作为缓存下行数据的缓存设备。For example, at time T1, session branch 1 with SSC3 mode is created, and anchor point UPF1 is used as a cache device for buffering downlink data. At time T2, UPF2 is added as a BP UPF by the technique of multi-homing PDU session, and session branch 2 is created, and UPF2 is an aggregation point of session branch 1 and session branch 2. After the session branch enters the deactivated state, UPF2 is updated as a cache device for buffering downlink data. During the period from T2 to T3, the terminal device 202 moves, and the downlink data is buffered in the UPF2 after the downlink service is initiated. A BP UPF migration (relocation) is triggered after the paging response. That is, at time T3, BP UPF is changed to UPF3. UPF3 can obtain cached downlink data from UPF2 and establish a new session branch 3. UPF3 is the aggregation point of session branch 1, session branch 2, and session branch 3. After the session branch enters the deactivated state again, UPF3 is updated as a cache device for buffering downlink data.
在多归属PDU会话场景下,可参考现有技术中的方式,N3 UPF与缓存下行数据的BP UPF建立转发隧道,通过转发隧道获取缓存的下行数据。缓存的下行数据获取完毕后,可删除该转发隧道。In the scenario of the multi-homed PDU session, the N3 UPF establishes a forwarding tunnel with the BP UPF that buffers the downlink data, and obtains the buffered downlink data through the forwarding tunnel. After the cached downlink data is obtained, the forwarding tunnel can be deleted.
需要说明的是,在上述场景下,当会话分支被触发切换至去激活态时,只需要释放BP UPF的N3连接,不需要删除该BP UPF。It should be noted that, in the above scenario, when the session branch is triggered to switch to the deactivated state, only the N3 connection of the BP UPF needs to be released, and the BP UPF does not need to be deleted.
因此,在多归属PDU会话场景下,可设置最近为终端设备202服务的BP UPF作为缓存设备。由此,BP UPF下的各个会话分支的下行数据都能缓存在聚合点BP UPF。任何一个会话分支的下行数据激活后,都会更新BP UPF。另外,即使没有下行业务激活任何会话分支,获取缓存数据的流程也随着BP UPF的迁移而被优化。Therefore, in the scenario of a multi-homed PDU session, the BP UPF that has recently served the terminal device 202 can be set as a cache device. Thus, the downlink data of each session branch under the BP UPF can be cached at the aggregation point BP UPF. The BP UPF is updated when the downlink data of any one of the session branches is activated. In addition, even if no downlink service activates any session branches, the process of obtaining cached data is optimized with the migration of BP UPF.
类似的,图11示出了ULCL场景下的示意图。接入网设备204与带有ULCL功能的UPF实体(简称为UPCL UPF)相连。ULCL UPF与各个PDU会话锚点相连(例如PDU会话锚点1和PDU会话锚点2)。ULCL技术通过多个PDU会话锚点,提供了到达接入网络212的多条会话分支。ULCL UPF能够向不同PDU会话锚点转发上行数据,并合并来自不同PDU会话锚点的下行数据。Similarly, Figure 11 shows a schematic diagram in a ULCL scenario. The access network device 204 is connected to a UPF entity (referred to as UPCL UPF) with ULCL functionality. The ULCL UPF is connected to each PDU session anchor (eg, PDU Session Anchor 1 and PDU Session Anchor 2). The ULCL technology provides multiple session branches to the access network 212 through multiple PDU session anchors. The ULCL UPF is capable of forwarding upstream data to different PDU session anchors and combining downstream data from different PDU session anchors.
例如,PDU会话锚点1可执行图8A中UPF1的操作。UPF2可用于实现ULCL UPF的功能,分别通过PDU会话锚点1的会话分支1和PDU会话锚点2的会话分支2连接至数据网络212。其中,PDU会话锚点2可以与ULCL UPF UPF2分开设置,也可与ULCL UPF UPF2合设。类似的,UPF3也可用于实现ULCL UPF的功能,分别通过PDU会话锚点1的会话分支1和PDU会话锚点2的会话分支2连接至数据网络212。其中,PDU会话锚点2可以ULCL UPF UPF3分开设置,也可与ULCL UPF UPF3合设。For example, PDU session anchor 1 may perform the operations of UPF1 in Figure 8A. UPF2 may be used to implement the functionality of the ULCL UPF, which is connected to the data network 212 through the session branch 1 of the PDU session anchor 1 and the session branch 2 of the PDU session anchor 2, respectively. The PDU session anchor 2 can be set separately from the ULCL UPF UPF2 or can be combined with the ULCL UPF UPF2. Similarly, UPF3 can also be used to implement the function of ULCL UPF, which is connected to data network 212 through session branch 1 of PDU session anchor 1 and session branch 2 of PDU session anchor 2, respectively. The PDU session anchor 2 can be set separately from ULCL UPF UPF3, or can be combined with ULCL UPF UPF3.
例如,在T1时刻,创建具有SSC3模式的会话分支1,由锚点UPF1作为缓存下行数据的缓存设备。在T2时刻,通过ULCL的技术添加UPF2作为ULCL UPF,创建会话分支2,UPF2为会话分支1和会话分支2的上行分类器。当会话分支进入去激活态后,更新UPF2作为缓存下行数据的缓存设备。在T2至T3的时间段内,终端设备202发生移动,发起下行业务后下行数据缓存于UPF2。寻呼响应后触发ULCL UPF迁移(relocation)。即,在时刻T3,ULCL UPF变更为UPF3。UPF3可从UPF2获取缓存的下行数据,并建立新的会话分支3。UPF3为会话分支1、会话分支2和会话分支3的上行分类器。当会话分支再次进入去激活态后,更新UPF3作为缓存下行数据的缓存设备。For example, at time T1, session branch 1 with SSC3 mode is created, and anchor point UPF1 is used as a cache device for buffering downlink data. At time T2, UPF2 is added as a ULCL UPF by the ULCL technique, and session branch 2 is created, and UPF2 is the uplink classifier of session branch 1 and session branch 2. After the session branch enters the deactivated state, UPF2 is updated as a cache device for buffering downlink data. During the period from T2 to T3, the terminal device 202 moves, and the downlink data is buffered in the UPF2 after the downlink service is initiated. The ULCL UPF migration (relocation) is triggered after the paging response. That is, at time T3, the ULCL UPF is changed to UPF3. UPF3 can obtain cached downlink data from UPF2 and establish a new session branch 3. UPF3 is an uplink classifier for session branch 1, session branch 2, and session branch 3. After the session branch enters the deactivated state again, UPF3 is updated as a cache device for buffering downlink data.
因此,在ULCL场景下,可设置最近为终端设备202服务的ULCL UPF作为缓存设备。Therefore, in the ULCL scenario, the ULCL UPF that has recently served the terminal device 202 can be set as a cache device.
此外,对于多归属PDU会话场景和ULCL场景下,可为各个会话分支设置不同的缓存设备。例如,为连接至UPF1的会话分支1设置PDU会话锚点1(UPF1)作为缓存设备,为会话分支2设置PDU会话锚点2作为缓存设备。由此,可实现各个会话分支的独立处理,使得各个会话分支之间的处理互不影响,满足不同的需求。In addition, for a multi-homed PDU session scenario and a ULCL scenario, different cache devices can be set for each session branch. For example, PDU Session Anchor 1 (UPF1) is set as a cache device for session branch 1 connected to UPF1, and PDU session anchor 2 is set as a cache device for session branch 2. Thereby, the independent processing of each session branch can be realized, so that the processing between the respective session branches does not affect each other and meet different requirements.
上述本申请提供的实施例中,分别从各个网元本身、以及从各个网元之间交互的角度对本申请实施例提供的短消息传输方法等各方案进行了介绍。可以理解的是,各个网元,例如上述会话管理功能实体等为了实现上述功能,其包含了执行各个功能相应的硬件结构和/或软件模块。本领域技术人员应该很容易意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,本申请能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。In the embodiment provided by the present application, the short message transmission methods and the like provided by the embodiments of the present application are introduced from the perspective of the interaction between the network elements and the network elements. It can be understood that each network element, such as the above-mentioned session management function entity, etc., in order to implement the above functions, includes hardware structures and/or software modules corresponding to the execution of the respective functions. Those skilled in the art will readily appreciate that the present application can be implemented in a combination of hardware or hardware and computer software in combination with the elements and algorithm steps of the various examples described in the embodiments disclosed herein. Whether a function is implemented in hardware or computer software to drive hardware depends on the specific application and design constraints of the solution. A person skilled in the art can use different methods to implement the described functions for each particular application, but such implementation should not be considered to be beyond the scope of the present application.
例如,当上述网元通过软件模块来实现相应的功能。会话管理功能实体可包括接收模块1201和发送模块1203,如图12A所示。For example, when the network element described above implements a corresponding function through a software module. The session management function entity may include a receiving module 1201 and a transmitting module 1203, as shown in FIG. 12A.
在一个实施例中,接收模块1201和发送模块1203用于分别与第二用户面功能实体和第一用户面功能实体交互,以使得第一用户面功能实体经过第二用户面功能实体向接入网设备发送第一会话的第一下行数据,第一用户面功能实体为第一会话的锚点。In an embodiment, the receiving module 1201 and the sending module 1203 are configured to interact with the second user plane function entity and the first user plane function entity, respectively, to enable the first user plane function entity to access through the second user plane function entity. The network device sends the first downlink data of the first session, where the first user plane function entity is an anchor point of the first session.
发送模块1203还用于根据预设条件,通知第一用户面功能实体缓存第一会话的第二下行数据。The sending module 1203 is further configured to notify the first user plane function entity to cache the second downlink data of the first session according to the preset condition.
可选的,预设条件包括以下中的至少一项:Optionally, the preset condition includes at least one of the following:
SSC信息指示第一会话具有第一会话和业务连续性SSC1模式;The SSC information indicates that the first session has a first session and a traffic continuity SSC1 mode;
移动性信息指示所述终端设备为高移动性设备;The mobility information indicates that the terminal device is a high mobility device;
会话管理功能实体和第一用户面功能实体属于同一运营商网络。The session management function entity and the first user plane function entity belong to the same carrier network.
可选的,接收模块1201和发送模块1203还用于分别与第三用户面功能实体和第一用户面功能实体交互,以使得第一用户面功能实体经过第三用户面功能实体向接入网设备发送第二下行数据和第三下行数据。第三下行数据为第一会话转换至激活态后第一用户面功能实体收到的下行数据。Optionally, the receiving module 1201 and the sending module 1203 are further configured to interact with the third user plane function entity and the first user plane function entity, respectively, so that the first user plane function entity passes through the third user plane function entity to the access network. The device sends the second downlink data and the third downlink data. The third downlink data is downlink data received by the first user plane function entity after the first session is switched to the active state.
可选的,为实现上述通知的功能,该会话管理功能实体还包括选择模块1205。选择模块1205用于根据预设条件,选择第一用户面功能实体作为缓存第二下行数据的缓存设备。由此,发送模块1203用于通知第一用户面功能实体在收到第二下行数据后,缓存第二下行数据。Optionally, the session management function entity further includes a selection module 1205 for implementing the function of the foregoing notification. The selecting module 1205 is configured to select the first user plane function entity as a cache device for buffering the second downlink data according to the preset condition. Therefore, the sending module 1203 is configured to notify the first user plane function entity to cache the second downlink data after receiving the second downlink data.
可选的,接收模块1201还用于获得终端设备的移动性信息。例如,接收模块1201用于从移动性管理功能实体接收移动属性,移动性信息为移动属性;或者,接收模块1201用于获取移动性统计信息,移动性信息为移动性统计信息;或者,会话管理功能实体还包括确定模块1207,接收模块1201用于从移动性管理功能实体接收移动属性,获取移动性统计信息,确定模块1207根据移动属性和移动性统计信息确定移动性信息。其中,移动属性至少包括高移动属性或低移动属性,移动性统计信息用于指示终端设备的移动速度或停留时间。例如,接收模块1201用于从移动性管理功能实体接收移动性统计信 息;或者从网络数据分析NWDA设备获取移动性统计信息。Optionally, the receiving module 1201 is further configured to obtain mobility information of the terminal device. For example, the receiving module 1201 is configured to receive a mobility attribute from the mobility management function entity, where the mobility information is a mobility attribute; or, the receiving module 1201 is configured to obtain mobility statistics information, and the mobility information is mobility statistics information; or, session management The functional entity further includes a determining module 1207, configured to receive the mobility attribute from the mobility management function entity, obtain mobility statistics, and the determining module 1207 determines the mobility information according to the mobility attribute and the mobility statistics. The mobile attribute includes at least a high mobility attribute or a low mobility attribute, and the mobility statistics information is used to indicate a moving speed or a staying time of the terminal device. For example, the receiving module 1201 is configured to receive mobility statistics information from the mobility management function entity; or obtain mobility statistics information from the network data analysis NWDA device.
可选的,该会话管理功能实体还包括还包括释放模块1209。释放模块1209用于在选择模块1205选择第一用户面功能实体作为缓存第二下行数据的缓存设备后,释放第二用户面功能实体。Optionally, the session management function entity further includes a release module 1209. The release module 1209 is configured to release the second user plane function entity after the selection module 1205 selects the first user plane function entity as the cache device that caches the second downlink data.
可选的,会话管理功能实体和第三用户面功能实体位于HR漫游场景下的VPLMN内,会话管理功能实体还包括调整模块1211。调整模块1211用于调整缓存设备,缓存设备用于在第一会话转换至激活态后缓存第一会话的第四下行数据。例如,调整模块1211用于确定第三用户面功能实体为缓存设备;或者,确定会话管理功能实体为缓存设备。Optionally, the session management function entity and the third user plane function entity are located in the VPLMN under the HR roaming scenario, and the session management function entity further includes an adjustment module 1211. The adjusting module 1211 is configured to adjust a cache device, where the cache device is configured to cache the fourth downlink data of the first session after the first session is switched to the active state. For example, the adjustment module 1211 is configured to determine that the third user plane function entity is a cache device; or determine that the session management function entity is a cache device.
由此,会话管理功能实体根据预设条件通知锚点用户面功能实体缓存第二下行数据。这样,当第一会话切换至激活态后,锚点用户面功能实体缓存的第二下行数据与第一会话再次切换至激活态新接收到的第三下行数据的传输路径相同。由此,避免了终端接收到的下行数据的乱序问题。此外,无需建立额外的转发隧道也无需再释放转发隧道即可获得缓存的下行数据,减少了UPF实体之间的信令交互,从而降低了时延,提高了用户体验。Thereby, the session management function entity notifies the anchor user plane function entity to cache the second downlink data according to the preset condition. In this way, after the first session is switched to the active state, the second downlink data buffered by the anchor user plane function entity is the same as the transmission path of the third downlink data newly received by the first session to the active state. Thereby, the disorder of the downlink data received by the terminal is avoided. In addition, there is no need to establish an additional forwarding tunnel and no need to release the forwarding tunnel to obtain the buffered downlink data, which reduces the signaling interaction between the UPF entities, thereby reducing the delay and improving the user experience.
在另一个实施例中,接收模块1201和发送模块1203用于分别与第二用户面功能实体和第一用户面功能实体交互,以使得第一用户面功能实体经过第二用户面功能实体向接入网设备发送第一会话的第一下行数据。第一用户面功能实体为第一会话的锚点。发送模块1203还用于通知第二用户面功能实体缓存第一会话的第二下行数据。预设条件包括SSC信息(例如,通过接收模块1201获取)指示第一会话具有第三会话和业务连续性SSC3模式。第二下行数据为第一会话转换至去激活态后第二用户面功能实体收到的下行数据。接收模块1201和发送模块1203还用于分别与第三用户面功能实体和第二用户面功能实体交互,以使得第二用户面功能实体经过第三用户面功能实体向接入网设备发送第二下行数据,且第一用户面功能实体经过第二用户面功能实体、第三用户面功能实体、向接入网设备发送第三下行数据。第三下行数据为第一会话转换至激活态后第一用户面功能实体收到的下行数据。In another embodiment, the receiving module 1201 and the sending module 1203 are configured to interact with the second user plane function entity and the first user plane function entity, respectively, so that the first user plane function entity is connected through the second user plane function entity. The network access device sends the first downlink data of the first session. The first user plane function entity is an anchor point of the first session. The sending module 1203 is further configured to notify the second user plane function entity to cache the second downlink data of the first session. The preset condition includes SSC information (eg, obtained by the receiving module 1201) indicating that the first session has a third session and a business continuity SSC3 mode. The second downlink data is downlink data received by the second user plane function entity after the first session is switched to the deactivated state. The receiving module 1201 and the sending module 1203 are further configured to respectively interact with the third user plane function entity and the second user plane function entity, so that the second user plane function entity sends the second user plane function entity to the access network device by using the third user plane function entity. Downstream data, and the first user plane function entity sends the third downlink data to the access network device through the second user plane function entity and the third user plane function entity. The third downlink data is downlink data received by the first user plane function entity after the first session is switched to the active state.
可选的,为实现上述通知的功能,该会话管理功能实体还包括选择模块1205。选择模块1205用于根据预设条件,选择第二用户面功能实体作为缓存第二下行数据的缓存设备。发送模块1203用于通知第二用户面功能实体在收到第二下行数据后,缓存第二下行数据。Optionally, the session management function entity further includes a selection module 1205 for implementing the function of the foregoing notification. The selecting module 1205 is configured to select a second user plane function entity as a cache device for buffering the second downlink data according to the preset condition. The sending module 1203 is configured to notify the second user plane function entity to cache the second downlink data after receiving the second downlink data.
由此,从第二用户面功能实体开始,传输第二下行数据和第三下行数据的数据路径相同,避免了终端接收到的下行数据的乱序问题,提高了用户体验。此外,无需建立额外的转发隧道也无需再释放转发隧道即可获得缓存的下行数据,减少了UPF实体之间的信令交互,从而降低了时延,进一步提高了用户体验。Therefore, starting from the second user plane function entity, the data paths for transmitting the second downlink data and the third downlink data are the same, thereby avoiding the out-of-order problem of the downlink data received by the terminal, and improving the user experience. In addition, there is no need to establish an additional forwarding tunnel and no need to release the forwarding tunnel to obtain the buffered downlink data, which reduces the signaling interaction between the UPF entities, thereby reducing the delay and further improving the user experience.
可选的,在另一个实施例中,会话管理功能实体可包括接收模块1201、发送模块1203和释放模块1209。接收模块1201和发送模块1203也可由收发模块实现。Optionally, in another embodiment, the session management function entity may include a receiving module 1201, a sending module 1203, and a releasing module 1209. The receiving module 1201 and the transmitting module 1203 can also be implemented by a transceiver module.
收发模块用于分别与第二用户面功能实体和第一用户面功能实体交互,以使得第一用户面功能实体经过第二用户面功能实体发送第一会话的第一下行数据。其中,第二用户面功能实体为所述第一会话的与接入网设备相连的用户面功能实体。The transceiver module is configured to interact with the second user plane function entity and the first user plane function entity, respectively, to enable the first user plane function entity to send the first downlink data of the first session by using the second user plane function entity. The second user plane function entity is a user plane function entity connected to the access network device in the first session.
释放模块1209用于在所述第一会话进入去激活态时,释放第二用户面功能实体。 例如,释放模块1209根据会话和业务连续性信息、移动性信息和策略信息中的至少一项,确定释放第二用户面功能实体。具体可参考前面的描述,不再赘述。The release module 1209 is configured to release the second user plane function entity when the first session enters the deactivated state. For example, the release module 1209 determines to release the second user plane functional entity based on at least one of session and business continuity information, mobility information, and policy information. For details, refer to the previous description, and no further details are provided.
可选的,上述收发模块还用于通知第一用户面功能实体缓存第一会话的第二下行数据。或者,上述收发模块还用于通知第一用户面功能网元释放与第二户面功能网元之间的连接,使得上述第一用户面实体“自动”地成为了第一会话转换至去激活态后缓存第二下行数据的缓存设备。Optionally, the transceiver module is further configured to notify the first user plane function entity to cache the second downlink data of the first session. Alternatively, the transceiver module is further configured to notify the first user plane function network element to release the connection with the second household function network element, so that the first user plane entity "automatically" becomes the first session transition to deactivate The cache device that caches the second downlink data after the state.
根据上述方案,会话管理功能实体删除第二用户面功能实体后,第一用户面功能实体成为新的与接入网设备相连的用户面功能实体,并缓存第二下行数据。这样,当第一会话切换至激活态后,第一用户面功能实体缓存的第二下行数据与第一会话再次切换至激活态新接收到的第三下行数据的传输路径相同。由此,避免了终端接收到的下行数据的乱序问题。此外,无需建立额外的转发隧道也无需再释放转发隧道即可获得缓存的下行数据,减少了UPF实体之间的信令交互,从而降低了时延,提高了用户体验。According to the above solution, after the session management function entity deletes the second user plane function entity, the first user plane function entity becomes a new user plane function entity connected to the access network device, and caches the second downlink data. In this way, after the first session is switched to the active state, the second downlink data buffered by the first user plane function entity is the same as the transmission path of the third downlink data newly received by the first session to the active state. Thereby, the disorder of the downlink data received by the terminal is avoided. In addition, there is no need to establish an additional forwarding tunnel and no need to release the forwarding tunnel to obtain the buffered downlink data, which reduces the signaling interaction between the UPF entities, thereby reducing the delay and improving the user experience.
以上的选择模块1205、确定模块1207、释放模块1209和调整模块1211均可由会话管理功能实体中的处理模块实现。The above selection module 1205, determination module 1207, release module 1209, and adjustment module 1211 may all be implemented by a processing module in the session management function entity.
此外,会话管理功能实体中的接收模块1201、发送模块1203还可实现上述方法中SMF设备206(或vSMF)的其他操作或功能,也还可包括执行其他功能的其他模块,此处不再赘述。In addition, the receiving module 1201 and the sending module 1203 in the session management function entity may also implement other operations or functions of the SMF device 206 (or vSMF) in the foregoing method, and may also include other modules that perform other functions, and details are not described herein. .
图12B示出了上述实施例中所涉及的会话管理功能实体的另一种可能的结构示意图。会话管理功能实体包括收发器1202和处理器1204,如图12B所示。例如,处理器1204被配置为处理会话管理功能实体执行上述方法中SMF设备206(或vSMF)相应的功能。收发器1202用于实现会话管理功能实体与上述移动性管理功能实体/用户面功能实体/其他会话管理功能实体之间的通信。所述会话管理功能实体还可以包括存储器1206,所述存储器用于与处理器耦合,其保存会话管理功能实体必要的程序指令和数据。FIG. 12B is a schematic diagram showing another possible structure of the session management function entity involved in the above embodiment. The session management function entity includes a transceiver 1202 and a processor 1204, as shown in Figure 12B. For example, the processor 1204 is configured to process the session management function entity to perform the corresponding functions of the SMF device 206 (or vSMF) in the above method. The transceiver 1202 is configured to implement communication between the session management function entity and the mobility management function entity/user plane function entity/other session management function entity. The session management function entity can also include a memory 1206 for coupling with a processor that holds program instructions and data necessary for the session management function entity.
可以理解的是,图12B仅仅示出了上述设备的简化设计。在实际应用中,上述每个设备可以包含任意数量的发射器,接收器,处理器,控制器,存储器,通信单元等,而所有可以实现本申请的设备都在本申请的保护范围之内。It will be appreciated that Figure 12B only shows a simplified design of the above described apparatus. In practical applications, each of the above devices may include any number of transmitters, receivers, processors, controllers, memories, communication units, etc., and all devices that can implement the present application are within the scope of the present application.
用于执行本申请上述上述会话管理功能实体的控制器/处理器可以是中央处理器(CPU),通用处理器、数字信号处理器(DSP)、专用集成电路(ASIC),现场可编程门阵列(FPGA)或者其他可编程逻辑器件、晶体管逻辑器件,硬件部件或者其任意组合。其可以实现或执行结合本申请公开内容所描述的各种示例性的逻辑方框,模块和电路。所述处理器也可以是实现计算功能的组合,例如包含一个或多个微处理器组合,DSP和微处理器的组合等等。The controller/processor for performing the above-described session management function entity of the present application may be a central processing unit (CPU), a general purpose processor, a digital signal processor (DSP), an application specific integrated circuit (ASIC), and a field programmable gate array. (FPGA) or other programmable logic device, transistor logic device, hardware component, or any combination thereof. It is possible to implement or carry out the various illustrative logical blocks, modules and circuits described in connection with the present disclosure. The processor may also be a combination of computing functions, for example, including one or more microprocessor combinations, a combination of a DSP and a microprocessor, and the like.
结合本申请公开内容所描述的方法或者算法的步骤可以硬件的方式来实现,也可以是由处理器执行软件指令的方式来实现。软件指令可以由相应的软件模块组成,软件模块可以被存放于RAM存储器、闪存、ROM存储器、EPROM存储器、EEPROM存储器、寄存器、硬盘、移动硬盘、CD-ROM或者本领域熟知的任何其它形式的存储介质中。一种示例性的存储介质耦合至处理器,从而使处理器能够从该存储介质读取信息,且可向该存储介质写入信息。当然,存储介质也可以是处理器的组成部分。处理器和存储介质可以位于ASIC中。另外,该ASIC可以位于会话管理功能实体中。当然,处理器和存储介质也可以作为 分立组件存在于会话管理功能实体中。The steps of a method or algorithm described in connection with the present disclosure may be implemented in a hardware or may be implemented by a processor executing software instructions. The software instructions may be comprised of corresponding software modules that may be stored in RAM memory, flash memory, ROM memory, EPROM memory, EEPROM memory, registers, hard disk, removable hard disk, CD-ROM, or any other form of storage well known in the art. In the medium. An exemplary storage medium is coupled to the processor to enable the processor to read information from, and write information to, the storage medium. Of course, the storage medium can also be an integral part of the processor. The processor and the storage medium can be located in an ASIC. Additionally, the ASIC can be located in a session management functional entity. Of course, the processor and the storage medium can also exist as discrete components in the session management function entity.
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。所述计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行所述计算机程序指令时,全部或部分地产生按照本发明实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线(DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质,(例如,软盘、硬盘、磁带)、光介质(例如,DVD)、或者半导体介质(例如固态硬盘Solid State Disk(SSD))等。In the above embodiments, it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented in software, it may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the processes or functions described in accordance with embodiments of the present invention are generated in whole or in part. The computer can be a general purpose computer, a special purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer readable storage medium or transferred from one computer readable storage medium to another computer readable storage medium, for example, the computer instructions can be from a website site, computer, server or data center Transfer to another website site, computer, server, or data center by wire (eg, coaxial cable, fiber optic, digital subscriber line (DSL), or wireless (eg, infrared, wireless, microwave, etc.). The computer readable storage medium can be any available media that can be accessed by a computer or a data storage device such as a server, data center, or the like that includes one or more available media. The usable medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a DVD), or a semiconductor medium (such as a solid state disk (SSD)).
以上所述的具体实施方式,对本申请的目的、技术方案和有益效果进行了进一步详细说明,所应理解的是,以上所述仅为本申请的具体实施方式而已,并不用于限定本申请的保护范围,凡在本申请的技术方案的基础之上,所做的任何修改、等同替换、改进等,均应包括在本申请的保护范围之内。The specific embodiments of the present invention have been described in detail with reference to the specific embodiments of the present application. It is to be understood that the foregoing description is only The scope of protection, any modifications, equivalent substitutions, improvements, etc. made on the basis of the technical solutions of the present application are included in the scope of protection of the present application.

Claims (33)

  1. 一种缓存数据的方法,其特征在于,包括:A method for caching data, comprising:
    会话管理功能实体分别与第二用户面功能实体和第一用户面功能实体交互,以使得所述第一用户面功能实体经过所述第二用户面功能实体向接入网设备发送第一会话的第一下行数据,所述第一用户面功能实体为所述第一会话的锚点;The session management function entity interacts with the second user plane function entity and the first user plane function entity, respectively, to enable the first user plane function entity to send the first session to the access network device via the second user plane function entity The first downlink data, where the first user plane function entity is an anchor point of the first session;
    所述会话管理功能实体根据预设条件,通知所述第一用户面功能实体缓存所述第一会话的第二下行数据,其中,所述第二下行数据为所述第一会话转换至去激活态后所述第一用户面功能实体收到的下行数据。The session management function entity notifies the first user plane function entity to cache the second downlink data of the first session according to a preset condition, where the second downlink data is the first session transition to deactivation The downlink data received by the first user plane function entity after the state.
  2. 根据权利要求1所述的方法,其特征在于,所述预设条件包括以下中的至少一项:The method of claim 1, wherein the predetermined condition comprises at least one of the following:
    会话和业务连续性信息指示所述第一会话具有第一会话和业务连续性模式;The session and service continuity information indicates that the first session has a first session and a business continuity mode;
    移动性信息指示所述终端设备为高移动性设备;The mobility information indicates that the terminal device is a high mobility device;
    所述会话管理功能实体和所述第一用户面功能实体属于同一运营商网络。The session management function entity and the first user plane function entity belong to the same carrier network.
  3. 根据权利要求1或2所述的方法,其特征在于,还包括:The method according to claim 1 or 2, further comprising:
    所述会话管理功能实体分别与第三用户面功能实体和所述第一用户面功能实体交互,以使得所述第一用户面功能实体经过所述第三用户面功能实体向接入网设备发送所述第二下行数据和第三下行数据;The session management function entity interacts with the third user plane function entity and the first user plane function entity, respectively, such that the first user plane function entity sends the third user plane function entity to the access network device The second downlink data and the third downlink data;
    其中,所述第三下行数据为所述第一会话转换至激活态后所述第一用户面功能实体收到的下行数据。The third downlink data is downlink data received by the first user plane function entity after the first session is switched to an active state.
  4. 根据权利要求1至3任一所述的方法,其特征在于,所述会话管理功能实体根据预设条件,通知所述第一用户面功能实体缓存所述第一会话的第二下行数据,包括:The method according to any one of claims 1 to 3, wherein the session management function entity notifies the first user plane function entity to cache the second downlink data of the first session according to a preset condition, including :
    所述会话管理功能实体根据所述预设条件,选择所述第一用户面功能实体作为缓存所述第二下行数据的缓存设备;The session management function entity selects the first user plane function entity as a cache device for buffering the second downlink data according to the preset condition;
    所述会话管理功能实体通知所述第一用户面功能实体在收到所述第二下行数据后,缓存所述第二下行数据。The session management function entity notifies the first user plane function entity to cache the second downlink data after receiving the second downlink data.
  5. 根据权利要求2至4任一所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 2 to 4, wherein the method further comprises:
    所述会话管理功能实体从移动性管理功能实体接收移动属性,所述移动性信息为所述移动属性;The session management function entity receives a mobility attribute from a mobility management function entity, and the mobility information is the mobility attribute;
    或者,所述会话管理功能实体获取移动性统计信息,所述移动性信息为所述移动性统计信息;Or the session management function entity acquires mobility statistics information, where the mobility information is the mobility statistics information;
    或者,所述会话管理功能实体从移动性管理功能实体接收移动属性,获取移动性统计信息,根据所述移动属性和所述移动性统计信息确定所述移动性信息;Or the session management function entity receives the mobility attribute from the mobility management function entity, acquires mobility statistics, and determines the mobility information according to the mobility attribute and the mobility statistics information;
    其中,所述移动属性至少包括高移动属性或低移动属性,所述移动性统计信息用于指示所述终端设备的移动速度或停留时间。The mobility attribute includes at least a high mobility attribute or a low mobility attribute, and the mobility statistics information is used to indicate a moving speed or a staying time of the terminal device.
  6. 根据权利要求5所述的方法,其特征在于,所述会话管理功能实体获取移动性统计信息,包括:The method according to claim 5, wherein the session management function entity obtains mobility statistics, including:
    所述会话管理功能实体从所述移动性管理功能实体接收所述移动性统计信息;或者The session management function entity receives the mobility statistics information from the mobility management function entity; or
    所述会话管理功能实体从网络数据分析设备获取所述移动性统计信息。The session management function entity acquires the mobility statistics information from a network data analysis device.
  7. 根据权利要求4至6任一所述的方法,其特征在于,还包括:The method according to any one of claims 4 to 6, further comprising:
    在所述会话管理功能实体选择所述第一用户面功能实体作为缓存所述第二下行数据的缓存设备后,所述会话管理功能实体释放所述第二用户面功能实体。After the session management function entity selects the first user plane function entity as a cache device that caches the second downlink data, the session management function entity releases the second user plane function entity.
  8. 根据权利要求3至7任一所述的方法,其特征在于,所述会话管理功能实体和所述第三用户面功能实体位于归属地路由漫游场景下的拜访公用陆地移动网VPLMN内,所述方法还包括:The method according to any one of claims 3 to 7, wherein the session management function entity and the third user plane function entity are located in a visited public land mobile network VPLMN under a home route roaming scenario, The method also includes:
    所述会话管理功能实体调整缓存设备,所述缓存设备用于在所述第一会话转换至去激活态后缓存所述第一会话的第四下行数据。The session management function entity adjusts a cache device, and the cache device is configured to cache fourth downlink data of the first session after the first session is switched to a deactivated state.
  9. 根据权利要求8所述的方法,其特征在于,所述会话管理功能实体调整缓存设备,包括:The method according to claim 8, wherein the session management function entity adjusts the cache device, including:
    所述会话管理功能实体确定所述第三用户面功能实体为所述缓存设备;The session management function entity determines that the third user plane function entity is the cache device;
    或者,所述会话管理功能实体确定所述第二会话管理功能实体为所述缓存设备。Alternatively, the session management function entity determines that the second session management function entity is the cache device.
  10. 一种缓存数据的方法,其特征在于,包括:A method for caching data, comprising:
    会话管理功能实体分别与第二用户面功能实体和第一用户面功能实体交互,以使得所述第一用户面功能实体经过所述第二用户面功能实体向接入网设备发送第一会话的第一下行数据,其中,所述第一用户面功能实体为所述第一会话的锚点;The session management function entity interacts with the second user plane function entity and the first user plane function entity, respectively, to enable the first user plane function entity to send the first session to the access network device via the second user plane function entity a first downlink data, where the first user plane function entity is an anchor point of the first session;
    所述会话管理功能实体根据预设条件,通知所述第二用户面功能实体缓存所述第一会话的第二下行数据,所述预设条件包括会话和业务连续性信息指示所述第一会话具有第三会话和业务连续性模式,所述第二下行数据为所述第一会话转换至去激活态后所述第二用户面功能实体收到的下行数据;The session management function entity notifies the second user plane function entity to cache the second downlink data of the first session according to the preset condition, where the preset condition includes the session and the service continuity information indicating the first session The third session data and the service continuity mode, where the second downlink data is downlink data received by the second user plane function entity after the first session is switched to the deactivated state;
    所述会话管理功能实体分别与第三用户面功能实体和所述第二用户面功能实体交互,以使得所述第二用户面功能实体经过所述第三用户面功能实体向接入网设备发送所述第二下行数据,且所述第一用户面功能实体经过所述第二用户面功能实体、所述第三用户面功能实体、向接入网设备发送第三下行数据;其中,所述第三下行数据为所述第一会话转换至激活态后所述第一用户面功能实体收到的下行数据。The session management function entity interacts with the third user plane function entity and the second user plane function entity, respectively, such that the second user plane function entity sends the third user plane function entity to the access network device The second downlink data, and the first user plane function entity sends the third downlink data to the access network device through the second user plane function entity, the third user plane function entity, where The third downlink data is downlink data received by the first user plane function entity after the first session is switched to an active state.
  11. 根据权利要求10所述的方法,其特征在于,所述会话管理功能实体根据预设条件,通知所述第二用户面功能实体缓存所述第一会话的第二下行数据,包括:The method according to claim 10, wherein the session management function entity notifies the second user plane function entity to cache the second downlink data of the first session according to a preset condition, including:
    所述会话管理功能实体根据所述预设条件,选择所述第二用户面功能实体作为缓存所述第二下行数据的缓存设备;The session management function entity selects the second user plane function entity as a cache device for buffering the second downlink data according to the preset condition;
    所述会话管理功能实体通知所述第二用户面功能实体在收到所述第二下行数据后,缓存所述第二下行数据。The session management function entity notifies the second user plane function entity to cache the second downlink data after receiving the second downlink data.
  12. 一种缓存数据的方法,其特征在于,包括:A method for caching data, comprising:
    会话管理功能网元分别与第二用户面功能网元和第一用户面功能网元交互,以使得所述第一用户面功能网元经过所述第二用户面功能网元发送第一会话的第一下行数据,所述第二用户面功能网元为所述第一会话的与接入网设备相连的用户面功能网元;The session management function network element interacts with the second user plane function network element and the first user plane function network element, respectively, so that the first user plane function network element sends the first session through the second user plane function network element. The first downlink data, the second user plane function network element is a user plane function network element connected to the access network device in the first session;
    在所述第一会话进入去激活态时,所述会话管理功能网元释放所述第二用户面功能网元。The session management function network element releases the second user plane function network element when the first session enters a deactivated state.
  13. 根据权利要求12所述的方法,其特征在于,还包括:The method of claim 12, further comprising:
    所述会话管理功能网元通知所述第一用户面功能网元在收到第二下行数据后,缓存 所述第二下行数据;The session management function network element notifies the first user plane function network element to cache the second downlink data after receiving the second downlink data.
    或者,or,
    所述会话管理功能网元通知所述第一用户面功能网元释放与所述第二户面功能网元之间的连接,以使所述第一用户面功能网元在收到第二下行数据后,缓存所述第二下行数据。The session management function network element notifies the first user plane function network element to release a connection with the second user plane function network element, so that the first user plane function network element receives the second downlink After the data, the second downlink data is buffered.
  14. 根据权利要求12或13所述的方法,其特征在于,所述会话管理功能网元释放所述第二用户面功能网元,包括:The method according to claim 12 or 13, wherein the session management function network element releases the second user plane function network element, including:
    所述会话管理功能网元根据会话和业务连续性信息、移动性信息和策略信息中的至少一项,确定释放所述第二用户面功能网元。The session management function network element determines to release the second user plane function network element according to at least one of session and service continuity information, mobility information, and policy information.
  15. 根据权利要求14所述的方法,其特征在于,所述会话管理功能网元释放所述第二用户面功能网元,包括:The method according to claim 14, wherein the session management function network element releases the second user plane function network element, including:
    所述会话管理功能网元根据以下中的至少一项确定释放所述第二用户面功能网元:The session management function network element determines to release the second user plane function network element according to at least one of the following:
    所述会话和业务连续性信息指示所述第一会话具有第一会话和业务连续性模式;The session and service continuity information indicates that the first session has a first session and a business continuity mode;
    所述移动性信息指示所述终端设备为高移动性设备;The mobility information indicates that the terminal device is a high mobility device;
    所述策略信息指示释放所述第二用户面功能网元;The policy information indicates that the second user plane function network element is released;
    所述会话管理功能实体和所述第一用户面功能实体属于同一运营商网络。The session management function entity and the first user plane function entity belong to the same carrier network.
  16. 一种会话管理功能实体,其特征在于,包括:A session management function entity, comprising:
    接收模块和发送模块,用于分别与第二用户面功能实体和第一用户面功能实体交互,以使得所述第一用户面功能实体经过所述第二用户面功能实体向接入网设备发送第一会话的第一下行数据,所述第一用户面功能实体为所述第一会话的锚点;a receiving module and a sending module, configured to respectively interact with the second user plane function entity and the first user plane function entity, so that the first user plane function entity sends the second user plane function entity to the access network device The first downlink data of the first session, where the first user plane function entity is an anchor point of the first session;
    所述发送模块还用于根据预设条件,通知所述第一用户面功能实体缓存所述第一会话的第二下行数据,其中,所述第二下行数据为所述第一会话转换至去激活态后所述第一用户面功能实体收到的下行数据。The sending module is further configured to notify the first user plane function entity to cache second downlink data of the first session according to a preset condition, where the second downlink data is converted to the first session The downlink data received by the first user plane function entity after the activation state.
  17. 根据权利要求16所述的会话管理功能实体,其特征在于,所述预设条件包括以下中的至少一项:The session management function entity according to claim 16, wherein the preset condition comprises at least one of the following:
    会话和业务连续性信息指示所述第一会话具有第一会话和业务连续性模式;The session and service continuity information indicates that the first session has a first session and a business continuity mode;
    移动性信息指示所述终端设备为高移动性设备;The mobility information indicates that the terminal device is a high mobility device;
    所述会话管理功能实体和所述第一用户面功能实体属于同一运营商网络。The session management function entity and the first user plane function entity belong to the same carrier network.
  18. 根据权利要求16或17所述的会话管理功能实体,其特征在于,A session management function entity according to claim 16 or 17, wherein
    所述接收模块和所述发送模块还用于分别与第三用户面功能实体和所述第一用户面功能实体交互,以使得所述第一用户面功能实体经过所述第三用户面功能实体向接入网设备发送所述第二下行数据和第三下行数据;The receiving module and the sending module are further configured to interact with the third user plane function entity and the first user plane function entity respectively, so that the first user plane function entity passes the third user plane function entity Transmitting the second downlink data and the third downlink data to the access network device;
    其中,所述第三下行数据为所述第一会话转换至激活态后所述第一用户面功能实体收到的下行数据。The third downlink data is downlink data received by the first user plane function entity after the first session is switched to an active state.
  19. 根据权利要求16至18任一所述的会话管理功能实体,其特征在于,还包括:The session management function entity according to any one of claims 16 to 18, further comprising:
    选择模块,用于根据所述预设条件,选择所述第一用户面功能实体作为缓存所述第二下行数据的缓存设备;a selection module, configured to select, according to the preset condition, the first user plane function entity as a cache device for buffering the second downlink data;
    所述发送模块,用于通知所述第一用户面功能实体在收到所述第二下行数据后,缓存所述第二下行数据。The sending module is configured to notify the first user plane function entity to cache the second downlink data after receiving the second downlink data.
  20. 根据权利要求17至19任一所述的会话管理功能实体,其特征在于,A session management function entity according to any one of claims 17 to 19, characterized in that
    所述接收模块用于从移动性管理功能实体接收移动属性,所述移动性信息为所述移动属性;或者,所述接收模块用于获取移动性统计信息,所述移动性信息为所述移动性统计信息;The receiving module is configured to receive a mobile attribute from the mobility management function entity, where the mobility information is the mobile attribute; or the receiving module is configured to acquire mobility statistics, where the mobility information is the mobile Sexual statistical information;
    或者,or,
    所述会话管理功能实体还包括确定模块,所述接收模块用于从移动性管理功能实体接收移动属性,获取移动性统计信息,所述确定模块用于根据所述移动属性和所述移动性统计信息确定所述移动性信息;The session management function entity further includes a determining module, configured to receive a mobility attribute from the mobility management function entity, and obtain mobility statistics, where the determining module is configured to perform statistics according to the mobility attribute and the mobility Information determining the mobility information;
    其中,所述移动属性至少包括高移动属性或低移动属性,所述移动性统计信息用于指示所述终端设备的移动速度或停留时间。The mobility attribute includes at least a high mobility attribute or a low mobility attribute, and the mobility statistics information is used to indicate a moving speed or a staying time of the terminal device.
  21. 根据权利要求20所述的会话管理功能实体,其特征在于,所述接收模块用于从所述移动性管理功能实体接收所述移动性统计信息;或者The session management function entity according to claim 20, wherein the receiving module is configured to receive the mobility statistics information from the mobility management function entity; or
    所述接收模块用于从网络数据分析设备获取所述移动性统计信息。The receiving module is configured to acquire the mobility statistics information from a network data analysis device.
  22. 根据权利要求19至21任一所述的会话管理功能实体,其特征在于,还包括:The session management function entity according to any one of claims 19 to 21, further comprising:
    释放模块,用于在所述选择模块选择所述第一用户面功能实体作为缓存所述第二下行数据的缓存设备后,释放所述第二用户面功能实体。And a releasing module, configured to release the second user plane function entity after the selecting module selects the first user plane function entity as a cache device that caches the second downlink data.
  23. 根据权利要求18至22任一所述的会话管理功能实体,其特征在于,所述会话管理功能实体和所述第三用户面功能实体位于归属地路由漫游场景下的拜访公用陆地移动网VPLMN内,所述会话管理功能实体还包括:The session management function entity according to any one of claims 18 to 22, wherein the session management function entity and the third user plane function entity are located in a visited public land mobile network VPLMN under a home route roaming scenario. The session management function entity further includes:
    调整模块,用于调整缓存设备,所述缓存设备用于在所述第一会话转换至去激活态后缓存所述第一会话的第四下行数据。And an adjustment module, configured to adjust a cache device, where the cache device is configured to cache fourth downlink data of the first session after the first session is switched to a deactivated state.
  24. 根据权利要求23所述的会话管理功能实体,其特征在于,所述调整模块用于确定所述第三用户面功能实体为所述缓存设备;The session management function entity according to claim 23, wherein the adjustment module is configured to determine that the third user plane function entity is the cache device;
    或者,所述调整模块用于确定所述会话管理功能实体为所述缓存设备。Alternatively, the adjusting module is configured to determine that the session management function entity is the cache device.
  25. 一种会话管理功能网元,其特征在于,包括:A session management function network element, comprising:
    收发模块,用于分别与第二用户面功能网元和第一用户面功能网元交互,以使得所述第一用户面功能网元经过所述第二用户面功能网元发送第一会话的第一下行数据,所述第二用户面功能网元为所述第一会话的与接入网设备相连的用户面功能网元;a transceiver module, configured to interact with the second user plane function network element and the first user plane function network element, respectively, to enable the first user plane function network element to send the first session by using the second user plane function network element The first downlink data, the second user plane function network element is a user plane function network element connected to the access network device in the first session;
    释放模块,用于在所述第一会话进入去激活态时,释放所述第二用户面功能网元。And a releasing module, configured to release the second user plane function network element when the first session enters a deactivated state.
  26. 根据权利要求25所述的会话管理功能网元,其特征在于,所述收发模块还用于通知所述第一用户面功能网元缓存所述第一会话的第二下行数据;The session management function network element according to claim 25, wherein the transceiver module is further configured to notify the first user plane function network element to cache second downlink data of the first session;
    或者,or,
    所述收发模块还用于通知所述第一用户面功能网元释放与所述第二户面功能网元之间的连接,以使所述第一用户面功能网元在收到第二下行数据后,缓存所述第二下行数据。The transceiver module is further configured to notify the first user plane function network element to release a connection with the second household function network element, so that the first user plane function network element receives the second downlink. After the data, the second downlink data is buffered.
  27. 根据权利要求25或26所述的会话管理功能网元,其特征在于,所述释放模块用于根据会话和业务连续性信息、移动性信息和策略信息中的至少一项,确定释放所述第二用户面功能网元。The session management function network element according to claim 25 or 26, wherein the release module is configured to determine release of the first part according to at least one of session and service continuity information, mobility information, and policy information. Two user plane function network elements.
  28. 根据权利要求27所述的会话管理功能网元,其特征在于,所述释放模块用于根 据以下中的至少一项,确定释放所述第二用户面功能网元:The session management function network element according to claim 27, wherein the release module is configured to determine to release the second user plane function network element according to at least one of the following:
    会话和业务连续性信息指示所述第一会话具有第一会话和业务连续性模式;The session and service continuity information indicates that the first session has a first session and a business continuity mode;
    移动性信息指示所述终端设备为高移动性设备;The mobility information indicates that the terminal device is a high mobility device;
    所述策略信息指示释放所述第二用户面功能网元:The policy information indicates that the second user plane function network element is released:
    所述会话管理功能网元和所述第一用户面功能网元属于同一运营商网络。The session management function network element and the first user plane function network element belong to the same carrier network.
  29. 一种缓存数据的会话管理功能实体,其特征在于,包括:A session management function entity for buffering data, comprising:
    接收模块和发送模块,用于分别与第二用户面功能实体和第一用户面功能实体交互,以使得所述第一用户面功能实体经过所述第二用户面功能实体向接入网设备发送第一会话的第一下行数据,其中,所述第一用户面功能实体为所述第一会话的锚点;a receiving module and a sending module, configured to respectively interact with the second user plane function entity and the first user plane function entity, so that the first user plane function entity sends the second user plane function entity to the access network device a first downlink data of the first session, where the first user plane function entity is an anchor point of the first session;
    所述发送模块还用于通知所述第二用户面功能实体缓存所述第一会话的第二下行数据,所述预设条件包括会话和业务连续性信息指示所述第一会话具有第三会话和业务连续性模式,所述第二下行数据为所述第一会话转换至去激活态后所述第二用户面功能实体收到的下行数据;The sending module is further configured to notify the second user plane function entity to cache the second downlink data of the first session, where the preset condition includes the session and the service continuity information indicating that the first session has a third session. And the service continuity mode, the second downlink data is downlink data received by the second user plane function entity after the first session is switched to the deactivated state;
    所述接收模块和所述发送模块还用于分别与第三用户面功能实体和所述第二用户面功能实体交互,以使得所述第二用户面功能实体经过所述第三用户面功能实体向接入网设备发送所述第二下行数据,且所述第一用户面功能实体经过所述第二用户面功能实体、所述第三用户面功能实体、向接入网设备发送第三下行数据;其中,所述第三下行数据为所述第一会话转换至激活态后所述第一用户面功能实体收到的下行数据。The receiving module and the sending module are further configured to interact with the third user plane function entity and the second user plane function entity respectively, so that the second user plane function entity passes the third user plane function entity Sending the second downlink data to the access network device, and the first user plane function entity sends the third downlink to the access network device through the second user plane function entity, the third user plane function entity, and the access network device Data; wherein the third downlink data is downlink data received by the first user plane function entity after the first session is switched to an active state.
  30. 根据权利要求29所述的会话管理功能实体,其特征在于,还包括:The session management function entity according to claim 29, further comprising:
    选择模块,用于根据所述预设条件,选择所述第二用户面功能实体作为缓存所述第二下行数据的缓存设备;a selection module, configured to select, according to the preset condition, the second user plane function entity as a cache device for buffering the second downlink data;
    所述发送模块用于通知所述第二用户面功能实体在收到所述第二下行数据后,缓存所述第二下行数据。The sending module is configured to notify the second user plane function entity to cache the second downlink data after receiving the second downlink data.
  31. 一种会话管理功能实体,其特征在于,包括:A session management function entity, comprising:
    通信接口,用于接收和发送数据;a communication interface for receiving and transmitting data;
    存储器,用于存储指令;a memory for storing instructions;
    至少一个处理器,用于执行所述存储器中的所述指令,使得所述会话管理功能实体执行如权利要求1至15中任一项所述的方法。At least one processor for executing the instructions in the memory, such that the session management function entity performs the method of any one of claims 1 to 15.
  32. 一种计算机可读存储介质,包括指令,当其在计算机上运行时,使得计算机执行如权利要求1-15任意一项所述的方法。A computer readable storage medium comprising instructions which, when executed on a computer, cause the computer to perform the method of any of claims 1-15.
  33. 一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行如权利要求1-15任意一项所述的方法。A computer program product comprising instructions which, when run on a computer, cause the computer to perform the method of any of claims 1-15.
PCT/CN2018/081803 2017-05-11 2018-04-04 Data buffering method and session management functional entity WO2018205775A1 (en)

Priority Applications (6)

Application Number Priority Date Filing Date Title
ES18799351T ES2907108T3 (en) 2017-05-11 2018-04-04 Data session management
KR1020197033643A KR102434608B1 (en) 2017-05-11 2018-04-04 Data Buffering Methods and Session Management Functional Entities
BR112019023265-6A BR112019023265A2 (en) 2017-05-11 2018-04-04 TEMPORARY DATA STORAGE METHOD AND SESSION MANAGEMENT FUNCTION ENTITY
EP18799351.4A EP3611904B1 (en) 2017-05-11 2018-04-04 Data session management
JP2019556835A JP7060613B2 (en) 2017-05-11 2018-04-04 Data buffering method and session management function entity
US16/661,101 US11464070B2 (en) 2017-05-11 2019-10-23 Data buffering method and session management function entity

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
CN201710331440.9 2017-05-11
CN201710331440 2017-05-11
CN201710470680.7A CN108881356B (en) 2017-05-11 2017-06-20 Method for caching data and session management function device
CN201710470680.7 2017-06-20

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US16/661,101 Continuation US11464070B2 (en) 2017-05-11 2019-10-23 Data buffering method and session management function entity

Publications (1)

Publication Number Publication Date
WO2018205775A1 true WO2018205775A1 (en) 2018-11-15

Family

ID=64104293

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/081803 WO2018205775A1 (en) 2017-05-11 2018-04-04 Data buffering method and session management functional entity

Country Status (1)

Country Link
WO (1) WO2018205775A1 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112438061A (en) * 2018-11-22 2021-03-02 Oppo广东移动通信有限公司 Wireless communication method, network node and terminal equipment
JPWO2021065012A1 (en) * 2019-10-04 2021-04-08
CN113225770A (en) * 2020-01-21 2021-08-06 华为技术有限公司 Data transmission method and device
CN113873680A (en) * 2021-10-18 2021-12-31 中国电信股份有限公司 Session management method, session management function network element and storage medium

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101563887A (en) * 2006-10-17 2009-10-21 松下电器产业株式会社 User plane entity selection in a mobile communication system having overlapping pool areas

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101563887A (en) * 2006-10-17 2009-10-21 松下电器产业株式会社 User plane entity selection in a mobile communication system having overlapping pool areas

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
"3rd Generation Partnership Project; Technical Specification Group Services and System Aspects; Procedures for the 5G System; Stage 2 (Release 15", 3GPP TS 23.502, 20 April 2017 (2017-04-20), XP055534831 *
"3rd Generation Partnership Project; Technical Specification Group Services and System Aspects; System Architecture for the 5G System; Stage 2 (Release 15", 3GPP TS 23.501, 20 April 2017 (2017-04-20), XP055534839 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112438061A (en) * 2018-11-22 2021-03-02 Oppo广东移动通信有限公司 Wireless communication method, network node and terminal equipment
CN112438061B (en) * 2018-11-22 2023-10-31 Oppo广东移动通信有限公司 Wireless communication method, network node and terminal equipment
JPWO2021065012A1 (en) * 2019-10-04 2021-04-08
JP7402887B2 (en) 2019-10-04 2023-12-21 株式会社Nttドコモ User plane equipment, communication system, and buffer method
CN113225770A (en) * 2020-01-21 2021-08-06 华为技术有限公司 Data transmission method and device
CN113873680A (en) * 2021-10-18 2021-12-31 中国电信股份有限公司 Session management method, session management function network element and storage medium

Similar Documents

Publication Publication Date Title
US11464070B2 (en) Data buffering method and session management function entity
US11805567B2 (en) Method and apparatus for initiating user plane path re-establishment and communications system
RU2764259C1 (en) Method for activating or deactivating user plane connection in each session
CN109219952B (en) Session management method and session management function network element
ES2545502T3 (en) Communications system and communications control method
WO2019029235A1 (en) Session information management method and device
WO2018205775A1 (en) Data buffering method and session management functional entity
WO2019137142A1 (en) Policy-related communication method, device, and system
WO2019100882A1 (en) Session processing method, device, and system
KR20110020161A (en) Server for control plane at mobile communication network and method for controlling sipto based session
KR102463970B1 (en) Redirection method, communication system and communication device
JP2019530334A (en) Connection management method and apparatus, computer storage medium
US10412640B2 (en) Switching control method, apparatus, and wireless communications network
JP2020524451A (en) Communication method and communication device
WO2019047935A1 (en) Session establishment method and apparatus
WO2019184721A1 (en) Redirection method and device
WO2018082517A1 (en) Method, network element and system for deleting user plane tunnel
WO2021139441A1 (en) Communication method, device and system for voice service
JP2022101705A (en) Anchor point control device and anchor point control method
CN113163514B (en) Session processing method and communication device
WO2021190513A1 (en) Data transmission method, apparatus and system
JP2020537830A (en) Route switching method and base station
WO2012129997A1 (en) Method and device for processing local access connection
WO2015131815A1 (en) Method and device for ensuring ip continuity

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18799351

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2019556835

Country of ref document: JP

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE

REG Reference to national code

Ref country code: BR

Ref legal event code: B01A

Ref document number: 112019023265

Country of ref document: BR

ENP Entry into the national phase

Ref document number: 20197033643

Country of ref document: KR

Kind code of ref document: A

ENP Entry into the national phase

Ref document number: 2018799351

Country of ref document: EP

Effective date: 20191113

ENP Entry into the national phase

Ref document number: 112019023265

Country of ref document: BR

Kind code of ref document: A2

Effective date: 20191105