[go: up one dir, main page]

CN110519809A - Manage the methods, devices and systems of PDU session - Google Patents

Manage the methods, devices and systems of PDU session Download PDF

Info

Publication number
CN110519809A
CN110519809A CN201810493181.4A CN201810493181A CN110519809A CN 110519809 A CN110519809 A CN 110519809A CN 201810493181 A CN201810493181 A CN 201810493181A CN 110519809 A CN110519809 A CN 110519809A
Authority
CN
China
Prior art keywords
pdu session
information
pdu
session
terminal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201810493181.4A
Other languages
Chinese (zh)
Other versions
CN110519809B (en
Inventor
刘睿智
周铮
吴义壮
熊春山
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201810493181.4A priority Critical patent/CN110519809B/en
Priority to PCT/CN2019/087861 priority patent/WO2019223702A1/en
Publication of CN110519809A publication Critical patent/CN110519809A/en
Application granted granted Critical
Publication of CN110519809B publication Critical patent/CN110519809B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/0005Control or signalling for completing the hand-off
    • H04W36/0011Control or signalling for completing the hand-off for data sessions of end-to-end connection
    • H04W36/0033Control or signalling for completing the hand-off for data sessions of end-to-end connection with transfer of context information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/11Allocation or use of connection identifiers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/30Connection release

Landscapes

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

Abstract

The embodiment of the present application discloses the methods, devices and systems of management PDU session, is related to field of communication technology, facilitates saving PDU session and enters the time required for activated state.This method comprises: session management network element initiates to determine that at least one PDU session, at least one PDU session are in activated state in the PDU session established from terminal;Session management network element sends the first information to access network equipment;The first information includes the identification information of at least one PDU session, the first information is used to indicate the user face interface-free resources that access network equipment discharges at least one PDU session, retains the configuration information of the user face interface-free resources of at least one PDU session and the context of at least one PDU session.

Description

管理PDU会话的方法、装置和系统Method, device and system for managing PDU sessions

技术领域technical field

本申请实施例涉及通信技术领域,尤其涉及管理协议数据单元(protocol dataunit,PDU)会话的方法、装置和系统。The embodiments of the present application relate to the field of communication technologies, and in particular, to a method, device, and system for managing a protocol data unit (protocol data unit, PDU) session.

背景技术Background technique

PDU会话是终端与数据网络(data network,DN)之间的连接,终端可以发起建立多个PDU会话,来连接到相同的DN或者不同的DN。在第五代(5rd generation,5G)网络架构中,PDU会话可以被设置为激活态或去激活态。当PDU会话处于激活态时,该PDU会话的用户面空口资源和控制面资源均已经建立,终端与DN之间可以通过该PDU会话传递数据。当PDU会话处于去激活态时,PDU会话的用户面空口资源和控制面资源均保留了部分信息,终端和DN之间不能通过该PDU会话传递数据。A PDU session is a connection between a terminal and a data network (DN), and the terminal can initiate and establish multiple PDU sessions to connect to the same DN or different DNs. In the fifth generation (5rd generation, 5G) network architecture, the PDU session can be set to be activated or deactivated. When the PDU session is in the active state, the user plane air interface resource and the control plane resource of the PDU session have been established, and data can be transmitted between the terminal and the DN through the PDU session. When the PDU session is in the deactivated state, the user plane air interface resources and control plane resources of the PDU session retain some information, and the terminal and the DN cannot transmit data through the PDU session.

当PDU会话处于去激活态时,若有数据需要通过该PDU会话进行传输,则网络中的功能网元例如无线接入网络(radio access network,RAN)设备、会话管理功能(sessionmanagement function,SMF)网元和用户面功能(user plane function,UPF)网元等,需要基于网络中保留的该PDU会话的部分信息,恢复该PDU会话的用户面资源和控制面资源,使得该PDU会话处于激活态。然而,PDU会话由去激活态进入激活态的过程,需要有较多的交互信令,因此需要的时间较长。When the PDU session is in the deactivated state, if there is data that needs to be transmitted through the PDU session, functional network elements in the network such as radio access network (radio access network, RAN) equipment, session management function (session management function, SMF) Network elements and user plane function (UPF) network elements, etc., need to restore the user plane resources and control plane resources of the PDU session based on the partial information of the PDU session retained in the network, so that the PDU session is in an active state . However, the process of the PDU session changing from the deactivated state to the activated state requires more interactive signaling, so it takes a long time.

发明内容Contents of the invention

本申请实施例提供了一种管理PDU会话的方法、装置和系统,有助于节省PDU会话进入激活态所需要的时间。The embodiments of the present application provide a method, device and system for managing a PDU session, which helps to save the time required for the PDU session to enter an active state.

第一方面,提供了一种管理PDU会话的方法。该方法可以包括:会话管理网元从终端发起建立的PDU会话中确定至少一个PDU会话;该至少一个PDU会话处于激活态;会话管理网元向接入网设备发送第一信息;第一信息包括该至少一个PDU会话的标识信息,第一信息用于指示接入网设备释放该至少一个PDU会话的用户面空口资源,保留用户面空口资源的配置信息和该至少一个PDU会话的上下文。In a first aspect, a method for managing PDU sessions is provided. The method may include: the session management network element determines at least one PDU session from the PDU session initiated and established by the terminal; the at least one PDU session is in an active state; the session management network element sends first information to the access network device; the first information includes The identification information of the at least one PDU session, the first information is used to instruct the access network device to release the user plane air interface resources of the at least one PDU session, and retain the configuration information of the user plane air interface resources and the context of the at least one PDU session.

其中,该至少一个PDU会话是终端发起建立的处于激活态的PDU会话中需要进入休眠态的PDU会话。关于如何确定一个PDU会话需要进入休眠态,本申请不进行限定,具体示例可以参考下文中的具体实施部分。可选的,该至少一个PDU会话的个数是小于终端发起建立的PDU会话的个数。可选的,该至少一个PDU会话的个数等于终端发起建立的PDU会话的个数。Wherein, the at least one PDU session is a PDU session that needs to enter a dormant state among the active PDU sessions initiated and established by the terminal. How to determine that a PDU session needs to enter the dormant state is not limited in this application, and for specific examples, please refer to the specific implementation part below. Optionally, the number of the at least one PDU session is less than the number of PDU sessions initiated and established by the terminal. Optionally, the number of the at least one PDU session is equal to the number of PDU sessions initiated and established by the terminal.

可见,该技术方案中,当PDU会话处于激活态时,会话管理网元可以指示接入网设备释放该PDU会话的用户面空口资源,并保留该用户面空口资源的配置信息和该PDU会话的上下文,这样,当有数据需要通过该PDU会话进行传输时,接入网设备根据保留的该PDU会话的用户面空口资源的配置信息可快速恢复该PDU会话的用户面空口资源,并且不需要重新获取PDU会话的上下文,因此有助于节省PDU会话进入激活态所需要的时间。另外该技术方案有助于实现根据需求选择将任意一个或多个PDU会话由激活态进入休眠态,增加了管理PDU会话的灵活性。It can be seen that in this technical solution, when the PDU session is in the active state, the session management network element can instruct the access network device to release the user plane air interface resource of the PDU session, and retain the configuration information of the user plane air interface resource and the PDU session In this way, when data needs to be transmitted through the PDU session, the access network device can quickly restore the user plane air interface resource of the PDU session according to the reserved configuration information of the user plane air interface resource of the PDU session, and there is no need to restart Get the context of the PDU session, thus helping to save the time required for the PDU session to enter the active state. In addition, the technical solution helps to select any one or more PDU sessions from the active state to the dormant state according to requirements, which increases the flexibility of managing PDU sessions.

在一种可能的设计中,会话管理网元从终端发起建立的PDU会话中确定至少一个PDU会话,可以包括:会话管理网元确定该至少一个PDU会话属于以下任一种PDU会话:预设时间段内没有数据需要传输的PDU会话;在切换流程中,所有服务质量流都被目标接入网设备(如目标下一代接入网设备)拒绝的PDU会话;终端移出了本地数据网络(local areadata network,LADN)时的LADN PDU会话;终端需要由连接态进入暂停态时,处于激活态的PDU会话;终端移出了允许的范围时,处于激活态的PDU会话。In a possible design, the session management network element determines at least one PDU session from the PDU sessions initiated and established by the terminal, which may include: the session management network element determines that the at least one PDU session belongs to any of the following PDU sessions: preset time A PDU session in which there is no data to be transmitted in the segment; a PDU session in which all quality of service flows are rejected by the target access network device (such as the target next-generation access network device) during the handover process; the terminal moves out of the local data network (local areadata network, LADN); the PDU session in the active state when the terminal needs to enter the suspended state from the connection state; the PDU session in the active state when the terminal moves out of the allowed range.

在一种可能的设计中,会话管理网元从终端发起建立的PDU会话中确定至少一个PDU会话,可以包括:会话管理网元根据终端的会话管理签约数据、终端的策略和会话管理网元的本地配置中的至少一种,从终端发起建立的PDU会话中确定至少一个PDU会话。In a possible design, the session management network element determines at least one PDU session from the PDU sessions initiated and established by the terminal, which may include: the session management network element according to the terminal's session management subscription data, the terminal's policy and the session management network element's In at least one of the local configurations, at least one PDU session is determined from the PDU sessions initiated and established by the terminal.

在一种可能的设计中,会话管理网元从终端发起建立的PDU会话中确定至少一个PDU会话,可以包括:会话管理网元接收终端发送的第二信息,根据第二信息从终端发起建立的PDU会话中确定至少一个PDU会话;其中,第二信息包括该至少一个PDU会话的标识信息和表示该至少一个PDU会话能够进入休眠态的信息。In a possible design, the session management network element determines at least one PDU session from the PDU session initiated and established by the terminal, which may include: the session management network element receives the second information sent by the terminal, and the session management network element receives the second information sent by the terminal, and the session management network element initiates and establishes from the terminal according to the second information. At least one PDU session is determined in the PDU session; wherein, the second information includes identification information of the at least one PDU session and information indicating that the at least one PDU session can enter a dormant state.

在一种可能的设计中,会话管理网元从终端发起建立的PDU会话中确定至少一个PDU会话,可以包括:会话管理网元接收终端发送的第二信息,根据终端的会话管理签约数据、终端的策略和会话管理网元的本地配置中的至少一种以及第二信息,从终端发起建立的PDU会话中确定至少一个PDU会话;其中,第二信息包括该至少一个PDU会话的标识信息和表示该至少一个PDU会话能够进入休眠态的信息。In a possible design, the session management network element determines at least one PDU session from the PDU sessions initiated and established by the terminal, which may include: the session management network element receives the second information sent by the terminal, and according to the session management subscription data of the terminal, the terminal At least one of the policy and the local configuration of the session management network element and the second information, determine at least one PDU session from the PDU session initiated and established by the terminal; wherein the second information includes the identification information and representation of the at least one PDU session Information that the at least one PDU session can enter a dormant state.

在一种可能的设计中,该至少一个PDU会话能够进入休眠态。基于该可能的设计,可以认为:该至少一个PDU会话是终端发起建立的PDU会话中的需要、且能够进入休眠态的PDU会话。In a possible design, the at least one PDU session can enter a dormant state. Based on this possible design, it can be considered that the at least one PDU session is a PDU session that is required in the PDU sessions initiated and established by the terminal and that can enter a dormant state.

在一种可能的设计中,该至少一个PDU会话能够进入休眠态。该方法还可以包括:会话管理网元根据终端的会话管理签约数据、终端的策略和会话管理网元的本地配置中的至少一种,确定该至少一个PDU会话为能够进入休眠态的PDU会话。In a possible design, the at least one PDU session can enter a dormant state. The method may further include: the session management network element determines the at least one PDU session as a PDU session capable of entering a dormant state according to at least one of the terminal's session management subscription data, the terminal's policy, and the local configuration of the session management network element.

在一种可能的设计中,该至少一个PDU会话能够进入休眠态。该方法还可以包括:会话管理网元接收终端发送的第二信息,根据第二信息确定该至少一个PDU会话为能够进入休眠态的PDU会话;其中,第二信息包括该至少一个PDU会话的标识信息和表示该至少一个PDU会话能够进入休眠态的信息。In a possible design, the at least one PDU session can enter a dormant state. The method may further include: the session management network element receives the second information sent by the terminal, and determines the at least one PDU session as a PDU session capable of entering a dormant state according to the second information; wherein the second information includes the identifier of the at least one PDU session information and information indicating that the at least one PDU session can enter a dormant state.

在一种可能的设计中,该至少一个PDU会话能够进入休眠态。该方法还可以包括:会话管理网元接收终端发送的第二信息,根据终端的会话管理签约数据、终端的策略和会话管理网元的本地配置中的至少一种以及第二信息确定该至少一个PDU会话为能够进入休眠态的PDU会话;其中,第二信息包括该至少一个PDU会话的标识信息和表示该至少一个PDU会话能够进入休眠态的信息。In a possible design, the at least one PDU session can enter a dormant state. The method may further include: the session management network element receives the second information sent by the terminal, and determines the at least one information according to at least one of the terminal's session management subscription data, the terminal's policy and the local configuration of the session management network element, and the second information. The PDU session is a PDU session capable of entering a dormant state; wherein, the second information includes identification information of the at least one PDU session and information indicating that the at least one PDU session can enter a dormant state.

在一种可能的设计中,该方法还可以包括:会话管理网元在接收到接入网设备发送的第一信息的响应信息之后,将该至少一个PDU会话的状态由激活态修改为休眠态。In a possible design, the method may further include: after the session management network element receives the response information of the first information sent by the access network device, modifying the state of the at least one PDU session from the active state to the dormant state .

在一种可能的设计中,该方法还可以包括:会话管理网元接收接入网设备发送的第三信息;其中,第三信息包括一个或多个PDU会话的标识信息,该一个或多个PDU会话是终端从该至少一个PDU会话中确定的;第三信息用于指示接入网设备已建立该一个或多个PDU会话的用户面空口资源。换句话说,第三信息用于指示接入网设备已恢复该该一个或多个PDU会话的用户面空口资源。该可能的设计给出了PDU会话从休眠态恢复到激活态的过程中,会话管理网元所执行的步骤。In a possible design, the method may further include: the session management network element receives third information sent by the access network device; where the third information includes identification information of one or more PDU sessions, and the one or more The PDU session is determined by the terminal from the at least one PDU session; the third information is used to indicate that the access network device has established user plane air interface resources of the one or more PDU sessions. In other words, the third information is used to indicate that the access network device has recovered the user plane air interface resources of the one or more PDU sessions. This possible design provides the steps performed by the session management network element during the restoration of the PDU session from the dormant state to the active state.

在一种可能的设计中,该方法还可以包括:会话管理网元在接收到第三信息之后,将第三信息所包括的一个或多个PDU会话的标识信息所标记的一个或多个PDU会话的状态由休眠态修改为激活态。In a possible design, the method may further include: after receiving the third information, the session management network element marks one or more PDUs included in the identification information of one or more PDU sessions included in the third information The state of the session is changed from dormant state to active state.

第二方面,提供了一种管理PDU会话的方法。该方法可以包括:接入网设备接收会话管理网元发送的第一信息;其中,第一信息包括至少一个PDU会话的标识信息,该至少一个PDU会话是会话管理网元从终端发起建立的PDU会话中确定的,该至少一个PDU会话处于激活态;接入网设备根据第一信息,释放该至少一个PDU会话的用户面空口资源,保留用户面空口资源的配置信息和该至少一个PDU会话的上下文。In the second aspect, a method for managing PDU sessions is provided. The method may include: the access network device receives first information sent by the session management network element; wherein the first information includes identification information of at least one PDU session, and the at least one PDU session is a PDU initiated and established by the session management network element from the terminal Determined in the session, the at least one PDU session is in an active state; the access network device releases the user plane air interface resources of the at least one PDU session according to the first information, and retains the configuration information of the user plane air interface resources and the at least one PDU session context.

可见,该技术方案中,当PDU会话处于激活态时,接入网设备可以释放该PDU会话的用户面空口资源,并保留该用户面空口资源的配置信息和该PDU会话的上下文,这样,当有数据需要通过该PDU会话进行传输时,接入网设备根据保留的该PDU会话的用户面空口资源的配置信息可快速恢复该PDU会话的用户面空口资源,并且不需要重新获取PDU会话的上下文,因此有助于节省PDU会话进入激活态所需要的时间。另外该技术方案有助于实现根据需求选择将任意一个或多个PDU会话由激活态进入休眠态,增加了管理PDU会话的灵活性。It can be seen that in this technical solution, when the PDU session is in the active state, the access network device can release the user plane air interface resource of the PDU session, and retain the configuration information of the user plane air interface resource and the context of the PDU session. In this way, when When data needs to be transmitted through the PDU session, the access network device can quickly restore the user plane air interface resources of the PDU session according to the reserved configuration information of the user plane air interface resource of the PDU session, and does not need to reacquire the context of the PDU session , thus helping to save the time required for the PDU session to enter the active state. In addition, the technical solution helps to select any one or more PDU sessions from the active state to the dormant state according to requirements, which increases the flexibility of managing PDU sessions.

在一种可能的设计中,接入网设备根据第一信息,向终端发送第四信息;其中,第四信息包括该至少一个PDU会话的标识信息,第四信息用于指示终端释放该至少一个PDU会话的用户面空口资源,保留用户面空口资源的配置信息和该至少一个PDU会话的上下文。In a possible design, the access network device sends fourth information to the terminal according to the first information; wherein, the fourth information includes identification information of the at least one PDU session, and the fourth information is used to instruct the terminal to release the at least one PDU session. The user plane air interface resource of the PDU session retains the configuration information of the user plane air interface resource and the context of the at least one PDU session.

可见,该技术方案中,当PDU会话处于激活态时,接入网设备可以指示终端释放该PDU会话的用户面空口资源,并保留该用户面空口资源的配置信息和该PDU会话的上下文,这样,当有数据需要通过该PDU会话进行传输时,终端根据保留的该PDU会话的用户面空口资源的配置信息可快速恢复该PDU会话的用户面空口资源,并且不需要重新获取PDU会话的上下文,因此有助于节省PDU会话进入激活态所需要的时间。It can be seen that in this technical solution, when the PDU session is in the active state, the access network device can instruct the terminal to release the user plane air interface resource of the PDU session, and retain the configuration information of the user plane air interface resource and the context of the PDU session, so that , when data needs to be transmitted through the PDU session, the terminal can quickly recover the user plane air interface resources of the PDU session according to the reserved configuration information of the user plane air interface resources of the PDU session, and does not need to reacquire the context of the PDU session, Therefore, it helps to save the time required for the PDU session to enter the active state.

在一种可能的设计中,该方法还可以包括:接入网设备接收终端发送的第五信息;其中,第五信息包括一个或多个PDU会话的标识信息,该一个或多个PDU会话是终端从该至少一个PDU会话中确定的;接入网设备根据第五信息和该一个或多个PDU会话的用户面空口资源的配置信息,建立该一个或多个PDU会话的用户面空口资源。该可能的设计给出了PDU会话从休眠态恢复到激活态的过程中,接入网设备所执行的步骤。In a possible design, the method may further include: the access network device receiving fifth information sent by the terminal; where the fifth information includes identification information of one or more PDU sessions, and the one or more PDU sessions are The terminal determines from the at least one PDU session; the access network device establishes the user plane air interface resources of the one or more PDU sessions according to the fifth information and the configuration information of the user plane air interface resources of the one or more PDU sessions. This possible design provides the steps performed by the access network device during the recovery process of the PDU session from the dormant state to the active state.

在一种可能的设计中,该方法还可以包括:接入网设备向会话管理网元发送第三信息;其中,第三信息包括该一个或多个PDU会话的标识信息;第三信息用于指示接入网设备已建立该一个或多个PDU会话的用户面空口资源。该可能的设计给出了PDU会话从休眠态恢复到激活态的过程中,接入网设备所执行的步骤。In a possible design, the method may further include: the access network device sending third information to the session management network element; where the third information includes identification information of the one or more PDU sessions; the third information is used to Indicates that the access network device has established the user plane air interface resources of the one or more PDU sessions. This possible design provides the steps performed by the access network device during the recovery process of the PDU session from the dormant state to the active state.

在一种可能的设计中,在切换流程中,上述接入网设备是源接入网设备;该方法还可以包括:源接入网设备向目标接入网设备发送该一个或多个PDU会话的上下文。基于该可能的设计,可选的,上述接入网设备接收终端发送的第五信息,具体为:目标接入网设备接收终端发送的第五信息。In a possible design, in the handover process, the above-mentioned access network device is a source access network device; the method may further include: the source access network device sends the one or more PDU sessions to the target access network device context. Based on this possible design, optionally, the above access network device receives the fifth information sent by the terminal, specifically: the target access network device receives the fifth information sent by the terminal.

第三方面,提供了一种管理PDU会话的方法。该方法可以包括:终端接收接入网设备发送的第四信息;其中,第四信息包括至少一个PDU会话的标识信息,该至少一个PDU会话是会话管理网元从终端发起建立的PDU会话中确定的,该至少一个PDU会话处于激活态;终端根据第四信息释放该至少一个PDU会话的用户面空口资源,保留用户面空口资源的配置信息和该至少一个PDU会话的上下文。In a third aspect, a method for managing PDU sessions is provided. The method may include: the terminal receives fourth information sent by the access network device; wherein the fourth information includes identification information of at least one PDU session, and the at least one PDU session is determined by the session management network element from the PDU session established by the terminal , the at least one PDU session is in an active state; the terminal releases the user plane air interface resources of the at least one PDU session according to the fourth information, and retains the configuration information of the user plane air interface resources and the context of the at least one PDU session.

可见,该技术方案中,当PDU会话处于激活态时,接入网设备可以指示终端释放该PDU会话的用户面空口资源,并保留该用户面空口资源的配置信息和该PDU会话的上下文,这样,当有数据需要通过该PDU会话进行传输时,终端根据保留的该PDU会话的用户面空口资源的配置信息可快速恢复该PDU会话的用户面空口资源,并且不需要重新获取PDU会话的上下文,因此有助于节省PDU会话进入激活态所需要的时间。It can be seen that in this technical solution, when the PDU session is in the active state, the access network device can instruct the terminal to release the user plane air interface resource of the PDU session, and retain the configuration information of the user plane air interface resource and the context of the PDU session, so that , when data needs to be transmitted through the PDU session, the terminal can quickly recover the user plane air interface resources of the PDU session according to the reserved configuration information of the user plane air interface resources of the PDU session, and does not need to reacquire the context of the PDU session, Therefore, it helps to save the time required for the PDU session to enter the active state.

在一种可能的设计中,该方法还可以包括:终端向会话管理网元发送第二信息;其中,第二信息包括该至少一个PDU会话的标识信息和表示该至少一个PDU会话能够进入休眠态的信息,第二信息用于会话管理网元从终端发起建立的PDU会话中确定该至少一个PDU会话。可选的,该可能的设计可以发生在终端建立PDU会话的流程中,当然不限于此。可见,本申请实施例支持终端向会话管理网元上报PDU会话能够进入休眠态的技术方案。In a possible design, the method may further include: the terminal sends second information to the session management network element; wherein the second information includes identification information of the at least one PDU session and indicates that the at least one PDU session can enter a dormant state The second information is used by the session management network element to determine the at least one PDU session from the PDU sessions initiated and established by the terminal. Optionally, this possible design may occur in the process of establishing a PDU session at the terminal, but of course it is not limited thereto. It can be seen that the embodiment of the present application supports the technical solution that the terminal reports to the session management network element that the PDU session can enter the dormant state.

在一种可能的设计中,该方法还可以包括:终端根据该一个或多个PDU会话的用户面空口资源的配置信息,建立该一个或多个PDU会话的用户面空口资源;其中,该一个或多个PDU会话是终端从至少一个PDU会话中确定的;终端向接入网设备发送第五信息;其中,第五信息包括该一个或多个PDU会话的标识信息,第五信息用于指示接入网设备建立该一个或多个PDU会话的用户面空口资源。该可能的设计给出了PDU会话从休眠态恢复到激活态的过程中,终端所执行的步骤。In a possible design, the method may further include: the terminal establishes user plane air interface resources of the one or more PDU sessions according to configuration information of the user plane air interface resources of the one or more PDU sessions; wherein, the one or multiple PDU sessions are determined by the terminal from at least one PDU session; the terminal sends fifth information to the access network device; where the fifth information includes identification information of the one or more PDU sessions, and the fifth information is used to indicate The access network device establishes user plane air interface resources of the one or more PDU sessions. This possible design provides the steps performed by the terminal in the process of restoring the PDU session from the dormant state to the active state.

第四方面,提供了一种会话管理网元,例如SMF网元。该会话管理网元可以用于执行上述第一方面提供的任一种方法。该会话管理网元具体可以是上述第一方面中描述的会话管理网元。In a fourth aspect, a session management network element, such as an SMF network element, is provided. The session management network element may be used to execute any one of the methods provided in the first aspect above. Specifically, the session management network element may be the session management network element described in the above first aspect.

在一种可能的设计中,可以根据上述第一方面提供的方法对会话管理网元进行功能模块的划分,例如,可以对应各个功能划分各个功能模块,也可以将两个或两个以上的功能集成在一个处理模块中。In a possible design, the session management network element can be divided into functional modules according to the method provided in the first aspect above. For example, each functional module can be divided corresponding to each function, or two or more functions can be divided into integrated in one processing module.

在另一种可能的设计中,该会话管理网元可以包括:存储器和处理器,存储器用于存储计算机程序,该计算机程序被处理器执行时,使得第一方面提供的任一方法被执行。In another possible design, the session management network element may include: a memory and a processor, the memory is used to store a computer program, and when the computer program is executed by the processor, any method provided in the first aspect is executed.

第五方面,本申请实施例提供了一种接入网设备,如RAN设备。该接入网设备可以用于执行上述第二方面提供的任一种方法。该接入网设备具体可以是上述第二方面中描述的接入网设备。In a fifth aspect, the embodiment of the present application provides an access network device, such as a RAN device. The access network device may be used to execute any one of the methods provided in the second aspect above. The access network device may specifically be the access network device described in the second aspect above.

在一种可能的设计中,可以根据上述第二方面提供的方法对接入网设备进行功能模块的划分,例如,可以对应各个功能划分各个功能模块,也可以将两个或两个以上的功能集成在一个处理模块中。In a possible design, the functional modules of the access network device can be divided according to the method provided in the second aspect above, for example, each functional module can be divided corresponding to each function, or two or more functional modules can be divided into integrated in one processing module.

在另一种可能的设计中,该接入网设备可以包括:存储器和处理器,存储器用于存储计算机程序,该计算机程序被处理器执行时,使得第二方面提供的任一方法被执行。In another possible design, the access network device may include: a memory and a processor, the memory is used to store a computer program, and when the computer program is executed by the processor, any method provided in the second aspect is executed.

第六方面,本申请实施例提供了一种终端装置。该终端装置可以用于执行上述第三方面提供的任一种方法。该终端装置具体可以是上述第三方面中描述的终端,或该终端装置可以是芯片。In a sixth aspect, the embodiment of the present application provides a terminal device. The terminal device may be used to execute any one of the methods provided in the third aspect above. Specifically, the terminal device may be the terminal described in the third aspect above, or the terminal device may be a chip.

在一种可能的设计中,可以根据上述第三方面提供的方法对终端装置进行功能模块的划分,例如,可以对应各个功能划分各个功能模块,也可以将两个或两个以上的功能集成在一个处理模块中。In a possible design, the functional modules of the terminal device can be divided according to the method provided in the third aspect above, for example, each functional module can be divided corresponding to each function, or two or more functions can be integrated into one in a processing module.

在另一种可能的设计中,该终端装置可以包括:存储器和处理器,存储器用于存储计算机程序,该计算机程序被处理器执行时,使得第三方面提供的任一方法被执行。In another possible design, the terminal device may include: a memory and a processor, the memory is used to store a computer program, and when the computer program is executed by the processor, any method provided by the third aspect is executed.

第七方面,本申请实施例提供了一种管理PDU会话的系统,该系统可以包括上述第四方面提供的任一种会话管理网元,上述第五方面提供的任一种接入网设备,以及上述第六方面提供的任一种终端装置。In the seventh aspect, the embodiment of the present application provides a system for managing PDU sessions, the system may include any session management network element provided in the fourth aspect above, any access network device provided in the fifth aspect above, And any terminal device provided in the sixth aspect above.

本申请实施例还提供了一种处理装置,用以实现上述装置(例如会话管理网元、接入网设备或终端装置)的功能,该处理装置可以包括处理器和接口;处理装置可以是一个芯片,处理器可以通过硬件来实现也可以通过软件来实现,当通过硬件实现时,该处理器可以是逻辑电路、集成电路等;当通过软件来实现时,该处理器可以是一个通用处理器,通过读取存储器中存储的软件代码来实现,该存储器可以集成在处理器中,可以位于处理器之外,独立存在。The embodiment of the present application also provides a processing device, which is used to implement the functions of the above-mentioned device (such as a session management network element, an access network device, or a terminal device). The processing device may include a processor and an interface; the processing device may be a Chip, the processor can be implemented by hardware or software, when implemented by hardware, the processor can be a logic circuit, integrated circuit, etc.; when implemented by software, the processor can be a general-purpose processor , implemented by reading software codes stored in a memory, which may be integrated in the processor or located outside the processor and exist independently.

本申请实施例还提供了一种计算机可读存储介质,该计算机可读存储介质上储存有计算机指令,当该计算机指令在计算机上运行时,使得计算机执行上述第一方面至第三方面的任一种可能的方法。The embodiment of the present application also provides a computer-readable storage medium, where computer instructions are stored on the computer-readable storage medium, and when the computer instructions are run on the computer, the computer is made to perform any of the above first to third aspects. One possible way.

本申请实施例还提供了一种计算机程序产品,当该计算机程序产品在计算机上运行时,使得第一方面至第三方面提供的任一方法被执行。The embodiment of the present application also provides a computer program product, which enables any one of the methods provided in the first aspect to the third aspect to be executed when the computer program product is run on a computer.

本申请还提供了一种芯片系统,该芯片系统可以包括处理器,用于通信装置实现上述各方面中所涉及的功能,例如,生成,接收,发送,或处理上述方法中所涉及的数据和/或信息。在一种可能的设计中,所述芯片系统还包括存储器,所述存储器,用于保存通信装置必要的程序指令和数据。该芯片系统,可以由芯片构成,也可以包括芯片和其他分立器件。该芯片系统也可以为一种装置。The present application also provides a chip system, which may include a processor, used for the communication device to implement the functions involved in the above aspects, for example, generate, receive, send, or process the data and and/or information. In a possible design, the chip system further includes a memory, and the memory is configured to store necessary program instructions and data of the communication device. The system-on-a-chip may consist of chips, or may include chips and other discrete devices. The system-on-a-chip can also be a device.

可以理解的,上述提供的任一种装置或系统或计算机存储介质或计算机程序产品均用于执行上文所提供的对应的方法,因此,其所能达到的有益效果可参考对应的方法中的有益效果,此处不再赘述。It can be understood that any device or system or computer storage medium or computer program product provided above is used to execute the corresponding method provided above. Therefore, the beneficial effects that it can achieve can refer to the corresponding method. Beneficial effects are not repeated here.

应注意,本申请实施例提供的上述用于存储计算机指令或者计算机程序的器件,例如但不限于,上述存储器、计算机可读存储介质和通信芯片等,均具有非易失性(non-transitory)。It should be noted that the above-mentioned devices for storing computer instructions or computer programs provided in the embodiments of the present application, such as but not limited to, the above-mentioned memory, computer-readable storage medium, and communication chip, etc., all have non-transitory .

附图说明Description of drawings

图1为本申请实施例提供的技术方案所适用的一种通信系统的架构示意图;FIG. 1 is a schematic structural diagram of a communication system to which the technical solution provided by the embodiment of the present application is applicable;

图2为本申请实施例提供的一种PDU会话的示意图;FIG. 2 is a schematic diagram of a PDU session provided by an embodiment of the present application;

图3为本申请实施例提供的一种管理PDU会话的方法的交互示意图一;FIG. 3 is an interactive schematic diagram 1 of a method for managing a PDU session provided by an embodiment of the present application;

图4为本申请实施例提供的一种管理PDU会话的方法的交互示意图二;FIG. 4 is a second interactive schematic diagram of a method for managing a PDU session provided by an embodiment of the present application;

图5A为本申请实施例提供的一种终端由连接态进入暂停态的流程即ConnectionSuspend流程的示意图;FIG. 5A is a schematic diagram of a process of a terminal entering a suspended state from a connected state, that is, a ConnectionSuspend process provided by an embodiment of the present application;

图5B为本申请实施例提供的一种终端由暂停态进入连接态的流程即ConnectionResume流程的示意图;FIG. 5B is a schematic diagram of a process of a terminal entering a connection state from a suspended state, that is, a ConnectionResume process provided by an embodiment of the present application;

图6A为本申请实施例提供的一种PDU会话由激活态进入休眠态的流程的示意图;FIG. 6A is a schematic diagram of a flow of a PDU session from an active state to a dormant state provided by an embodiment of the present application;

图6B为本申请实施例提供的一种PDU会话由休眠态进激活入态的流程的示意图;FIG. 6B is a schematic diagram of a PDU session transition from a dormant state to an active state according to an embodiment of the present application;

图7为本申请实施例提供的一种建立PDU会话的流程的示意图;FIG. 7 is a schematic diagram of a process for establishing a PDU session provided by an embodiment of the present application;

图8为本申请实施例提供的一种会话管理网元的结构示意图;FIG. 8 is a schematic structural diagram of a session management network element provided by an embodiment of the present application;

图9为本申请实施例提供的一种接入网设备的结构示意图;FIG. 9 is a schematic structural diagram of an access network device provided in an embodiment of the present application;

图10为本申请实施例提供的一种终端装置的结构示意图;FIG. 10 is a schematic structural diagram of a terminal device provided in an embodiment of the present application;

图11为本申请实施例提供的技术方案所适用的一种通信设备的结构示意图。FIG. 11 is a schematic structural diagram of a communication device to which the technical solution provided by the embodiment of the present application is applied.

具体实施方式Detailed ways

本申请实施例提供的技术方案可以应用于无线通信系统中,该无线通信系统可以是5G系统,或者是未来的其他通信系统中。当然也可以是长期演进(long term evolution,LTE)系统、LTE演进(LTE-Advanced,LTE-A)系统等。以无线通信系统是5G系统为例,如图1所示,为本申请实施例提供的技术方案所适用的一种通信系统的架构示意图。The technical solutions provided by the embodiments of the present application may be applied to a wireless communication system, and the wireless communication system may be a 5G system or other future communication systems. Of course, it may also be a long term evolution (long term evolution, LTE) system, an LTE evolution (LTE-Advanced, LTE-A) system, and the like. Taking the wireless communication system as an example of a 5G system, as shown in FIG. 1 , it is a schematic structural diagram of a communication system to which the technical solution provided by the embodiment of the present application is applicable.

在图1中,通信系统可以包括:终端10、RAN设备20、核心网30,以及数据网络(datanetwork,DN)40。其中,RAN设备也可以称为接入网络(access network,AN)设备。核心网30中的核心网网元(或者称为核心网功能网元)可以包括:接入和移动性管理功能(accessand mobility management function,AMF)网元301、SMF网元302、策略控制功能(policycontrol function,PCF)网元303、UPF网元304和统一数据管理(unified datamanagement,UDM)网元305等。In FIG. 1 , the communication system may include: a terminal 10 , a RAN device 20 , a core network 30 , and a data network (data network, DN) 40 . Wherein, the RAN device may also be called an access network (access network, AN) device. The core network elements (or called core network functional network elements) in the core network 30 may include: an access and mobility management function (accessand mobility management function, AMF) network element 301, an SMF network element 302, a policy control function ( policycontrol function (PCF) network element 303, UPF network element 304, unified data management (unified data management, UDM) network element 305, etc.

UE10通过下一代网络(next generation,N)接口1(简称N1)与AMF网元301通信。RAN设备通过N2接口(简称N2)与AMF网元301通信,通过N3接口(简称N3)与UPF网元304通信。AMF网元301通过N11接口(简称N11)与SMF网元302通信,通过N15接口(简称N15)与PCF网元303通信。SMF网元302通过N7接口(简称N7)与PCF网元303通信,通过N4接口(简称N4)与UPF网元304通信,通过N10接口(简称N10)与UDM网元305通信。UPF网元304通过N6接口(简称N6)与DN40通信。上述各个网元之间的连接可以为无线连接或者有线连接,为了方便直观地表示各个网元之间的连接关系,图1中采用实线示意。The UE 10 communicates with the AMF network element 301 through a next generation network (next generation, N) interface 1 (N1 for short). The RAN device communicates with the AMF network element 301 through the N2 interface (N2 for short), and communicates with the UPF network element 304 through the N3 interface (N3 for short). The AMF network element 301 communicates with the SMF network element 302 through the N11 interface (N11 for short), and communicates with the PCF network element 303 through the N15 interface (N15 for short). The SMF network element 302 communicates with the PCF network element 303 through the N7 interface (N7 for short), communicates with the UPF network element 304 through the N4 interface (N4 for short), and communicates with the UDM network element 305 through the N10 interface (N10 for short). The UPF network element 304 communicates with the DN40 through the N6 interface (N6 for short). The connection between the foregoing network elements may be a wireless connection or a wired connection. In order to conveniently and intuitively represent the connection relationship between various network elements, solid lines are used in FIG. 1 for illustration.

终端10可以包括各种具有无线通信功能的手持设备、车载设备、可穿戴设备、计算设备或连接到无线调制解调器的其它处理设备;还可以包括用户单元(subscriber unit)、蜂窝电话(cellular phone)、智能电话(smart phone)、无线数据卡、个人数字助理(personal digital assistant,PDA)电脑、平板型电脑、无线调制解调器(modem)、手持设备(handheld)、膝上型电脑(laptop computer)、无绳电话(cordless phone)或者无线本地环路(wireless local loop,WLL)台、机器类型通信(machine type communication,MTC)终端、用户设备(user equipment,UE),移动台(mobile station,MS),终端设备(terminaldevice)或者中继用户设备等。其中,中继用户设备例如可以是5G家庭网关(residentialgateway,RG)。为方便描述,本申请中,将这些设备统称为终端(terminal)。Terminal 10 may include various handheld devices, vehicle-mounted devices, wearable devices, computing devices or other processing devices connected to wireless modems with wireless communication functions; it may also include subscriber units, cellular phones, Smart phone, wireless data card, personal digital assistant (PDA) computer, tablet computer, wireless modem (modem), handheld device (handheld), laptop computer (laptop computer), cordless phone (cordless phone) or wireless local loop (wireless local loop, WLL) station, machine type communication (machine type communication, MTC) terminal, user equipment (user equipment, UE), mobile station (mobile station, MS), terminal equipment (terminaldevice) or relay user equipment, etc. Wherein, the relay user equipment may be, for example, a 5G residential gateway (residential gateway, RG). For convenience of description, in this application, these devices are collectively referred to as terminals (terminal).

RAN设备20可以用于提供无线连接,位于终端10和核心网30之间。RAN设备20可以但不限于包括基站、演进型基站(evolved node base station,eNB)、下一代基站(nextgeneration node base station,gNB)、新型无线电基站(new radio eNB)、宏基站、微基站、高频基站或发送和接收点(transmission and reception point,TRP)、非3GPP接入网络(如WiFi)和/或非3GPP互通功能(non-3GPP interworking function,N3IWF)等设备。需要说明的是,下文中的RAN设备20可以理解为RAN中的网元,在此统一说明,下文不再赘述。The RAN device 20 can be used to provide wireless connection, and is located between the terminal 10 and the core network 30 . The RAN device 20 may include, but is not limited to, a base station, an evolved base station (evolved node base station, eNB), a next generation base station (next generation node base station, gNB), a new radio base station (new radio eNB), a macro base station, a micro base station, a high Frequency base station or transmission and reception point (transmission and reception point, TRP), non-3GPP access network (such as WiFi) and/or non-3GPP interworking function (non-3GPP interworking function, N3IWF) and other equipment. It should be noted that the RAN device 20 hereinafter may be understood as a network element in the RAN, which will be described in a unified manner here, and will not be described in detail below.

AMF网元301可以用于连接管理、移动性管理、注册管理、接入认证和授权、可达性管理、安全上下文管理以及SMF网元302的选择等。SMF网元302可以用于会话管理如会话的建立、修改和释放等、UPF网元304的选择和控制、业务和会话连续性(service and sessioncontinuity)模式的选择以及漫游服务等。PCF网元303可以用于提供策略控制服务以及获取策略决策的签约信息等。UPF网元304可以用于处理与用户面的事件,例如传输或路由数据包、检测数据包、上报业务量、处理服务质量(quality of service,QoS)、合法监听、存储下行数据包等。UDM网元305可以用于存储用户的签约数据等。The AMF network element 301 can be used for connection management, mobility management, registration management, access authentication and authorization, reachability management, security context management, selection of the SMF network element 302, and the like. The SMF network element 302 can be used for session management such as session establishment, modification and release, selection and control of the UPF network element 304, service and session continuity (service and session continuity) mode selection, and roaming services. The PCF network element 303 may be used to provide policy control services and acquire subscription information for policy decisions. The UPF network element 304 can be used to process events on the user plane, such as transmitting or routing data packets, detecting data packets, reporting traffic, processing quality of service (QoS), lawful interception, and storing downlink data packets. The UDM network element 305 can be used to store user subscription data and the like.

DN40,例如可以是运营商服务,互联网接入或者第三方服务等。DN40, for example, may be operator services, Internet access or third-party services.

可以理解的,虽然未示出,上述5G网络还可能包括其他的网元,例如网络切片选择功能(network slice selection function,NSSF)网元、网络存储功能(networkrepository function,NRF)网元、认证服务功能(authentication server function,AUSF)网元、应用功能(application function,AF)网元,以及能力开放功能网元(networkexposure function,NEF)网元等,本申请对此不作具体限定。It can be understood that although not shown, the above-mentioned 5G network may also include other network elements, such as network slice selection function (network slice selection function, NSSF) network elements, network storage function (network repository function, NRF) network elements, authentication service Function (authentication server function, AUSF) network elements, application function (application function, AF) network elements, and capability exposure function network elements (network exposure function, NEF) network elements, etc., are not specifically limited in this application.

需要说明的是,图1中的各个网元之间的接口名字只是一个示例,具体实现中接口名字可能为其他名字,本申请实施例对此不进行限定。It should be noted that the name of the interface between network elements in FIG. 1 is just an example, and the name of the interface may be another name in a specific implementation, which is not limited in this embodiment of the present application.

需要说明的是,图1中的各网元,如终端、RAN设备、AMF网元、SMF网元、PCF网元、UPF网元以及UDM网元等仅是一个名字,名字对设备本身不构成限定。在5G网络以及未来其它的网络中,这些网元还可以是其他的名字,本申请实施例对此不作具体限定。例如,AMF网元还有可能被替换为AMF或者AMF实体等,SMF网元还有可能被替换为SMF或者SMF实体等,在此进行统一说明,以下不再赘述。It should be noted that each network element in Figure 1, such as terminal, RAN device, AMF network element, SMF network element, PCF network element, UPF network element, and UDM network element, is just a name, and the name does not constitute a device itself. limited. In the 5G network and other networks in the future, these network elements may also have other names, which are not specifically limited in this embodiment of the present application. For example, an AMF network element may be replaced by an AMF or an AMF entity, and an SMF network element may also be replaced by an SMF or an SMF entity, etc., which are described in a unified manner here and will not be described in detail below.

为了方便理解本申请提供的技术方案,以下对本申请中涉及的技术和术语进行介绍。In order to facilitate the understanding of the technical solutions provided in this application, the technologies and terms involved in this application are introduced below.

终端的状态包括连接(connected)态和空闲(idle)态。其中,4G网络架构中的用户面传输增强技术中提出了暂停(suspend)态。暂停态是空闲态的一种。具体的,在连接暂停(Connection Suspend)流程中,保留终端的上下文和承载的上下文,使得终端进入暂停态。当终端有数据需要发送时,可以通过连接恢复(Connection Resume)流程恢复承载,使得终端进入连接态,而不需要发起服务请求(Service Request)流程,从而可以快速恢复承载。The state of the terminal includes a connected (connected) state and an idle (idle) state. Among them, a suspend state is proposed in the user plane transmission enhancement technology in the 4G network architecture. The pause state is a kind of idle state. Specifically, in the connection suspend (Connection Suspend) process, the context of the terminal and the context of the bearer are reserved, so that the terminal enters a suspended state. When the terminal has data to send, the bearer can be resumed through the Connection Resume process, so that the terminal enters the connected state without initiating a service request (Service Request) process, so that the bearer can be quickly resumed.

PDU会话,是终端和DN(即图1中的DN40)之间的连接,用于提供PDU连接服务。其中,连接类型可以是网络之间互连的协议(internet protocol,IP)连接、以太网连接或者非结构数据连接等。5G核心网支持的PDU连接服务,是指提供终端和由数据网络名称(datanetwork name,DNN)确定的DN之间PDU交换的服务。终端可以发起建立一个或多个PDU会话,来连接到相同的DN或者不同的DN。终端可以基于一组核心网网元(如SMF网元、PCF网元和UPF网元等)发起建立PDU会话。A PDU session is a connection between a terminal and a DN (ie, DN40 in FIG. 1 ), and is used to provide a PDU connection service. Wherein, the connection type may be an internet protocol (internet protocol, IP) connection, an Ethernet connection, or an unstructured data connection between networks. The PDU connection service supported by the 5G core network refers to the service that provides PDU exchange between the terminal and the DN determined by the data network name (DNN). The terminal can initiate the establishment of one or more PDU sessions to connect to the same DN or different DNs. The terminal can initiate the establishment of a PDU session based on a group of core network elements (such as SMF network elements, PCF network elements, and UPF network elements, etc.).

如图2所示,为本申请实施例提供的一种PDU会话的示意图。在图2中,终端发起建立了PDU会话1、PDU会话2和PDU会话3。其中,PDU会话1和PDU会话2通过不同的UPF网元连接到DN1,PDU会话3连接到DN2。本申请中描述的终端发起建立的PDU会话,可以理解为由终端触发建立的PDU会话。As shown in FIG. 2 , it is a schematic diagram of a PDU session provided by the embodiment of the present application. In FIG. 2 , the terminal initiates the establishment of PDU session 1, PDU session 2 and PDU session 3. Among them, PDU session 1 and PDU session 2 are connected to DN1 through different UPF network elements, and PDU session 3 is connected to DN2. The PDU session initiated by the terminal described in this application can be understood as a PDU session triggered by the terminal.

PDU会话的状态包括激活态、休眠态和去激活态。其中,休眠态是本申请实施例提出的一种可以但不限于应用于5G通信系统的PDU会话的状态。PDU会话的状态的名字不对PDU会话的状态本身构成限定。PDU会话的休眠态这一名字只是一个示例,具体实现中,PDU会话的休眠态也可能为其他名字,例如,可以是PDU会话的暂停态(Suspend State orSuspend Status or Pause Status)等。The states of the PDU session include active state, dormant state and deactivated state. Wherein, the dormant state is a state proposed by the embodiment of the present application that can be applied to, but not limited to, a PDU session in a 5G communication system. The name of the state of the PDU session does not define the state of the PDU session itself. The name of the dormant state of the PDU session is just an example. In a specific implementation, the dormant state of the PDU session may also have other names, for example, it may be the suspend state of the PDU session (Suspend State or Suspend Status or Pause Status).

PDU会话处于激活态时,PDU会话的用户面资源(也可以称为用户面连接)和控制面资源均已经建立,终端和DN可以通过该PDU会话传递数据。其中,用户面资源可以包括用户面空口资源例如数据无线承载(data radio bearer,DRB)。控制面资源可以包括控制面空口资源例如信令无线承载(signaling radio bearer,SRB)。一个PDU会话的用户面资源可以包括隧道标识,PDU会话的隧道标识可以包括该PDU会话所经过的RAN设备的隧道信息和该PDU会话所经过的UPF网元的隧道信息,PDU会话所经过的RAN设备和UPF网元可以参考图2。通常,RAN设备中保存UPF网元的隧道信息,UPF网元中保存RAN设备的隧道信息。这样,RAN设备和UPF网元可以实现通过所保存的对端的隧道信息向对端发送数据。When the PDU session is in the active state, the user plane resources (also called user plane connection) and control plane resources of the PDU session have been established, and the terminal and DN can transmit data through the PDU session. Wherein, the user plane resource may include a user plane air interface resource such as a data radio bearer (data radio bearer, DRB). The control plane resource may include a control plane air interface resource such as a signaling radio bearer (signaling radio bearer, SRB). The user plane resources of a PDU session may include a tunnel identifier, and the tunnel identifier of the PDU session may include tunnel information of the RAN device that the PDU session passes through and tunnel information of the UPF network element that the PDU session passes through, and the RAN device that the PDU session passes through Refer to Figure 2 for equipment and UPF network elements. Usually, the RAN device stores the tunnel information of the UPF network element, and the UPF network element stores the tunnel information of the RAN device. In this way, the RAN device and the UPF network element can send data to the opposite end through the saved tunnel information of the opposite end.

PDU会话处于休眠态时,PDU会话的用户面空口资源被释放,UPF网元中存储的RAN设备的隧道信息被释放,终端和DN不可以通过该PDU会话传递数据,并且,RAN设备和终端中保留了用户面空口资源的配置信息和PDU会话的上下文。其中,用户面空口资源的配置信息,是指用于建立该用户面空口资源的配置信息,例如可以包括DRB的配置信息等。RAN设备中保留的PDU会话的上下文可以但不限于包括以下至少一种:QoS信息、PDU会话的标识信息、UPF网元的隧道信息、单网络切片选择辅助信息(single network slice selectionassistance information,S-NSSAI)、会话聚合最大比特率(aggregate maximum bitrate,AMBR)、PDU会话的类型等。终端中保留的PDU会话的上下文可以但不限于包括以下至少一种:QoS信息、PDU会话的标识信息、分配的互联网协议第4版(internet protocolversion 4,IPv4)地址或IPv6前缀、会话和服务连续性(wession and wervicecontinuity,SSC)模式、PDU会话的类型等。关于PDU会话处于休眠态时,SMF网元和UPF网元中保存的PDU会话的上下文,与PDU会话处于去激活态时,SMF网元和UPF网元中保存的PDU会话的上下文可以对应相同,具体可以参考下文。When the PDU session is in the dormant state, the user plane air interface resources of the PDU session are released, the tunnel information of the RAN device stored in the UPF network element is released, the terminal and the DN cannot transmit data through the PDU session, and the RAN device and the terminal The configuration information of the user plane air interface resource and the context of the PDU session are reserved. Wherein, the configuration information of the user plane air interface resource refers to the configuration information used to establish the user plane air interface resource, and may include, for example, the configuration information of the DRB. The context of the PDU session retained in the RAN device may include, but is not limited to, at least one of the following: QoS information, identification information of the PDU session, tunnel information of the UPF network element, single network slice selection assistance information (single network slice selection assistance information, S- NSSAI), session aggregate maximum bit rate (aggregate maximum bitrate, AMBR), type of PDU session, etc. The context of the PDU session retained in the terminal may include, but is not limited to, at least one of the following: QoS information, identification information of the PDU session, assigned Internet protocol version 4 (internet protocol version 4, IPv4) address or IPv6 prefix, session and service continuity Sex (wession and wervicecontinuity, SSC) mode, type of PDU session, etc. When the PDU session is in the dormant state, the context of the PDU session saved in the SMF network element and the UPF network element can be the same as that of the PDU session stored in the SMF network element and the UPF network element when the PDU session is in the deactivated state. For details, please refer to the following.

PDU会话处于去激活态时,PDU会话的用户面资源和控制面资源均保留了部分信息,终端和DN不可以通过该PDU会话传递数据。例如,SMF网元和UPF网元中保留了PDU会话的上下文,例如可以但不限于包括以下至少一种:QoS信息、S-NSSA、DNN、PDU会话的类型等。PDU会话处于去激活态时,RAN设备通常不保留该PDU会话的上下文。When the PDU session is in the deactivated state, the user plane resources and control plane resources of the PDU session retain some information, and the terminal and DN cannot transmit data through the PDU session. For example, the context of the PDU session is reserved in the SMF network element and the UPF network element, which may include but not limited to at least one of the following: QoS information, S-NSSA, DNN, type of PDU session, and the like. When the PDU session is in the deactivated state, the RAN device generally does not retain the context of the PDU session.

由上文中的描述可知,PDU会话处于不同状态时,不同网元中保留的PDU会话的上下文可以不同。在此统一说明,下文不再赘述。通常,下文中所描述的PDU会话的上下文是RAN设备和终端中保存的PDU会话的上下文。需要说明的是,本申请中,网元(如RAN设备或终端等)保留某一信息,可以理解为:该网元中本身就保存有该信息,且不释放(或不删除)该信息。或者,可以理解为网元没有针对该信息执行任何操作。It can be seen from the above description that when the PDU session is in different states, the contexts of the PDU session reserved in different network elements may be different. It is described here in a unified manner, and will not be described in detail below. Generally, the context of the PDU session described below is the context of the PDU session stored in the RAN device and the terminal. It should be noted that, in this application, a network element (such as a RAN device or a terminal, etc.) retains certain information, which can be understood as: the network element itself stores the information, and does not release (or delete) the information. Or, it can be understood that the network element does not perform any operation on the information.

为了清楚对比PDU会话的不同状态,表1中以网元管理的信息包括信息1~5为例,说明了PDU处于不同状态下,网络中的部分网元(如终端、RAN设备和UPF网元)管理的信息。其中,网元管理的信息2~4,具体可以认为是网元保存的信息2~4。其中,信息1表示PDU会话的用户面空口资源。信息2表示PDU会话的用户面空口资源的配置信息。信息3表示RAN设备或终端保留的PDU会话的上下文。信息4表示UPF网元的隧道信息。信息5表示RAN设备的隧道信息。In order to clearly compare the different states of PDU sessions, Table 1 takes the network element management information including information 1 to 5 as an example to illustrate that some network elements in the network (such as terminals, RAN devices, and UPF network elements) are in different states. ) managed information. Among them, the information 2-4 managed by the network element can be specifically considered as the information 2-4 stored by the network element. Wherein, information 1 indicates user plane air interface resources of the PDU session. Information 2 indicates configuration information of user plane air interface resources of the PDU session. Information 3 indicates the context of the PDU session reserved by the RAN device or the terminal. Information 4 indicates the tunnel information of the UPF network element. Information 5 represents the tunnel information of the RAN device.

表1Table 1

需要说明的是,表1仅为示例,其不构成本申请中涉及的PDU会话的状态下网络中管理的信息的限定。例如,PDU会话处于去激活态时,并不代表终端、RAN设备和UPF网元中不管理该PDU会话的任何信息,而是代表不管理上述信息1~5。例如,PDU会话处于上述任一状态时,不代表终端、RAN设备和UPF网元中不管理该PDU会话的其他信息,例如还可以管理PDU会话的标识信息、状态等。例如,PDU会话处于上述任一状态时,不代表终端中的其他网元中不管理该PDU会话的信息,例如SMF网元中还可以管理PDU会话的状态等。It should be noted that Table 1 is only an example, which does not constitute a limitation of the information managed in the network in the state of the PDU session involved in this application. For example, when the PDU session is in the deactivated state, it does not mean that the terminal, the RAN device and the UPF network element do not manage any information of the PDU session, but it means that the above information 1-5 are not managed. For example, when the PDU session is in any of the above states, it does not mean that other information of the PDU session is not managed in the terminal, RAN device and UPF network element, for example, the identification information and status of the PDU session can also be managed. For example, when the PDU session is in any of the above states, it does not mean that other network elements in the terminal do not manage the information of the PDU session, for example, the SMF network element can also manage the state of the PDU session.

终端处于连接态时,终端和核心网之间存在信令连接,该终端发起建立的任一PDU会话可以处于激活态、休眠态或去激活态。终端处于空闲时,该终端发起建立的任一PDU会话可以处于休眠态或去激活态。终端的状态与PDU会话的状态之间的关系,可以如表2所示。When the terminal is in the connected state, there is a signaling connection between the terminal and the core network, and any PDU session initiated by the terminal can be in the active state, dormant state or deactivated state. When the terminal is idle, any PDU session initiated and established by the terminal may be in a dormant state or a deactivated state. The relationship between the state of the terminal and the state of the PDU session can be shown in Table 2.

表2Table 2

以下,结合上文中的描述及附图对本申请实施例提供的管理PDU会话的方法进行说明。具体的,下文中均是以本申请实施例应用于如图1所示的系统架构为例进行说明的。基于此,本申请中描述的会话管理网元具体可以是图1中的SMF网元,本申请中描述的接入网设备具体可以是图1中的RAN设备。Hereinafter, the method for managing a PDU session provided by the embodiment of the present application will be described in combination with the above description and the accompanying drawings. Specifically, the following descriptions are made by taking the application of the embodiment of the present application to the system architecture shown in FIG. 1 as an example. Based on this, the session management network element described in this application may specifically be the SMF network element in FIG. 1 , and the access network device described in this application may specifically be the RAN device in FIG. 1 .

如图3所示,为本申请实施例提供的一种管理PDU会话的方法的交互示意图。图3所示的方法具体提供了使PDU会话由激活态进入休眠态的方法。该方法可以包括如下步骤:As shown in FIG. 3 , it is an interactive schematic diagram of a method for managing a PDU session provided by the embodiment of the present application. The method shown in FIG. 3 specifically provides a method for making the PDU session enter the dormant state from the active state. The method may include the steps of:

S101:SMF网元从终端发起建立的PDU会话中确定至少一个(即一个或多个)PDU会话。该至少一个PDU会话处于激活态。该至少一个PDU会话可以是该终端发起建立的部分或全部PDU会话。该至少一个PDU会话,可以理解为:待进入休眠态的至少一个PDU会话。S101: The SMF network element determines at least one (that is, one or more) PDU sessions from the PDU sessions initiated and established by the terminal. The at least one PDU session is in an active state. The at least one PDU session may be part or all of the PDU sessions initiated and established by the terminal. The at least one PDU session may be understood as: at least one PDU session to be entered into a dormant state.

本实施例提供的技术方案可以应用于终端处于连接态的场景中。例如,可以应用于终端一直处于连接态(具体是指执行本实施例的过程中终端一直处于连接态)的场景中,也可以应用于终端从连接态进入暂停态的场景中。The technical solution provided in this embodiment can be applied to a scenario where the terminal is in a connected state. For example, it may be applied to a scenario where the terminal is always in the connected state (specifically, the terminal is always in the connected state during the execution of this embodiment), and may also be applied to a scenario where the terminal enters the suspended state from the connected state.

SMF网元管理有终端发起建立的每个PDU会话的状态,因此,SMF网元可以确定终端发起建立的每个PDU会话是否是处于激活态的PDU会话。The SMF network element manages the status of each PDU session initiated and established by the terminal. Therefore, the SMF network element can determine whether each PDU session initiated by the terminal is an active PDU session.

对于终端发起建立的任一处于激活态的PDU会话来说,在一种可能的实现方式中,当SMF网元确定该PDU会话需要进入休眠态,可以将该PDU会话作为该至少一个PDU会话中的一个PDU会话。该实现方式中,可以认为(或者默认):该终端发起建立的每个PDU会话(或者每个处于激活态的PDU会话)均能够进入休眠态。其中,本申请实施例对如何确定一个PDU会话是否需要进入休眠态不进行限定。以下列举几种可能的示例:For any active PDU session initiated and established by the terminal, in a possible implementation, when the SMF network element determines that the PDU session needs to enter the dormant state, the PDU session can be used as the PDU session in the at least one PDU session. of a PDU session. In this implementation manner, it may be considered (or defaulted): each PDU session initiated and established by the terminal (or each PDU session in an active state) can enter a dormant state. Wherein, the embodiment of the present application does not limit how to determine whether a PDU session needs to enter the sleep state. Here are a few possible examples:

作为一个示例,当该PDU会话在预设时间段内(或者一定时间内)没有数据需要传输时,可以认为该PDU会话需要进入休眠态。例如,UPF网元检测到PDU会话在规定的不活跃周期(inactivity period/inactivity timer)内没有数据传输,然后将检测结果通知给SMF网元。As an example, when the PDU session has no data to be transmitted within a preset period of time (or within a certain period of time), it may be considered that the PDU session needs to enter a dormant state. For example, the UPF network element detects that the PDU session has no data transmission within a specified inactivity period (inactivity period/inactivity timer), and then notifies the SMF network element of the detection result.

作为一个示例,在切换流程中,若一个PDU会话的所有QoS流(QoS flow)都被目标RAN设备如目标下一代RAN(next generation RAN,NG-RAN)设备拒绝,则该PDU会话需要进入休眠态。As an example, in the handover process, if all QoS flows (QoS flow) of a PDU session are rejected by the target RAN device, such as the target next generation RAN (next generation RAN, NG-RAN) device, then the PDU session needs to enter dormancy state.

作为一个示例,对于LADNPDU会话来说,若终端移出了LADN服务区域,则该PDU会话需要进入休眠态,其中,AMF网元可以通知SMF网元终端移出了LADA服务区域。可以理解的,LADN PDU会话是PDU会话的一种类型。As an example, for a LADN PDU session, if the terminal moves out of the LADN service area, the PDU session needs to enter a dormant state, wherein the AMF network element can notify the SMF network element that the terminal has moved out of the LADA service area. It can be understood that the LADN PDU session is a type of PDU session.

作为一个示例,在终端进入暂停态的流程中(即连接暂停流程(ConnectionSuspend procedure)),该终端发起建立的处于激活态的PDU会话需要进入休眠态。这是由于终端处于暂停态时,该终端发起建立的每个PDU会话均不处于激活态,因此,该情况下,可以认为该终端发起建立的每个处于激活态的PDU会话均需要进入休眠态。其中,RAN设备向AMF网元发起连接暂停流程,指示终端的RRC连接将被暂停。AMF网元将这一消息发送给SMF网元。As an example, during the process in which the terminal enters the suspend state (that is, the connection suspend procedure (ConnectionSuspend procedure)), the PDU session initiated and established by the terminal needs to enter the dormant state. This is because when the terminal is in the suspended state, each PDU session initiated by the terminal is not in the active state. Therefore, in this case, it can be considered that each PDU session in the active state initiated by the terminal needs to enter the dormant state . Wherein, the RAN device initiates a connection suspension process to the AMF network element, indicating that the RRC connection of the terminal will be suspended. The AMF network element sends this message to the SMF network element.

作为一个示例,若终端移出了允许的区域,则该终端发起建立的每个处于激活态的PDU会话均需要进入休眠态,其中,AMF网元可以通知SMF网元终端移出了允许的区域。As an example, if the terminal moves out of the allowed area, each active PDU session initiated and established by the terminal needs to enter the dormant state, wherein the AMF network element can notify the SMF network element that the terminal has moved out of the allowed area.

对于终端发起建立的任一处于激活态的PDU会话来说,在另一种可能的实现方式中,当SMF网元确定该PDU会话需要进入休眠态,且能够进入休眠态(即具有进入休眠态的属性/功能)时,可以将该PDU会话作为该至少一个PDU会话中的一个PDU会话。换句话说,该至少一个PDU会话中的每个PDU会话均是能够进入休眠态的PDU会话。该实现方式中,可以认为每个PDU会话(或者每个处于激活态的PDU会话)能够进入休眠态是需要在执行S101之前设置的。For any PDU session in the active state initiated and established by the terminal, in another possible implementation, when the SMF network element determines that the PDU session needs to enter the dormant state and can enter the dormant state (that is, it has the ability to enter the dormant state attribute/function), the PDU session can be used as a PDU session in the at least one PDU session. In other words, each PDU session in the at least one PDU session is a PDU session capable of entering a dormant state. In this implementation manner, it can be considered that each PDU session (or each active PDU session) can enter the dormant state, which needs to be set before executing S101.

本申请实施例对如何设置PDU会话能够进入休眠态的具体实现方式不进行限定。以下列举几种可能的实现方式:The embodiment of the present application does not limit the specific implementation manner of how to set the PDU session to be able to enter the dormant state. Here are a few possible implementations:

方式1:SMF网元根据终端的会话管理(session management,SM)签约数据、终端的策略和SMF网元的本地配置中的至少一种,确定一个PDU会话能够进入休眠态。Mode 1: The SMF network element determines that a PDU session can enter a dormant state according to at least one of the terminal's session management (session management, SM) subscription data, the terminal's policy, and the local configuration of the SMF network element.

例如,SMF网元根据终端的SM签约数据,确定一个PDU会话能够进入休眠态。例如,SMF网元根据终端的策略,确定一个PDU会话能够进入休眠态。例如,SMF网元根据SMF网元的本地配置,确定一个PDU会话能够进入休眠态。例如,SMF网元根据终端的SM签约数据和终端的策略,确定一个PDU会话能够进入休眠态。例如,SMF网元根据终端的SM签约数据和SMF网元的本地配置,确定一个PDU会话能够进入休眠态。例如,SMF网元根据终端的策略和SMF网元的本地配置,确定一个PDU会话能够进入休眠态。例如,SMF网元根据终端的SM签约数据、终端的策略和SMF网元的本地配置,确定一个PDU会话能够进入休眠态。For example, the SMF network element determines that a PDU session can enter a dormant state according to the SM subscription data of the terminal. For example, the SMF network element determines that a PDU session can enter a dormant state according to the policy of the terminal. For example, the SMF network element determines that a PDU session can enter the dormant state according to the local configuration of the SMF network element. For example, the SMF network element determines that a PDU session can enter a dormant state according to the SM subscription data of the terminal and the policy of the terminal. For example, the SMF network element determines that a PDU session can enter a dormant state according to the SM subscription data of the terminal and the local configuration of the SMF network element. For example, the SMF network element determines that a PDU session can enter the dormant state according to the policy of the terminal and the local configuration of the SMF network element. For example, the SMF network element determines that a PDU session can enter a dormant state according to the terminal's SM subscription data, the terminal's policy, and the local configuration of the SMF network element.

终端的SM签约数据可以包括SMF网元本地存储的SM签约数据,以及SMF网元通过与UDM网元之间进行信息交互,获得的终端的SM签约数据。终端的策略可以包括SMF网元的本地策略(例如运营商在SMF网元配置的策略),以及PCF网元向SMF网元配置的策略等。若终端的策略是PCF网元向SMF网元配置的策略,则SMF网元可以通过与PCF网元之间进行信息交互,获得该策略。SMF网元的本地配置可以包括SMF网元本地存储的策略(即SMF网元的本地策略)以及SMF网元本地存储的签约数据等。The SM subscription data of the terminal may include the SM subscription data stored locally by the SMF network element, and the SM subscription data of the terminal obtained by the SMF network element through information interaction with the UDM network element. The policy of the terminal may include the local policy of the SMF network element (for example, the policy configured by the operator on the SMF network element), and the policy configured by the PCF network element to the SMF network element. If the policy of the terminal is a policy configured by the PCF network element to the SMF network element, the SMF network element can obtain the policy through information exchange with the PCF network element. The local configuration of the SMF network element may include the locally stored policy of the SMF network element (that is, the local policy of the SMF network element), the locally stored subscription data of the SMF network element, and the like.

可选的,若终端的SM签约数据、终端的策略和SMF网元的本地配置中的至少一种包含用于表示该终端的某个PDU会话能够进入休眠态的信息,则SMF网元可以认为该PDU会话能够进入休眠态。也就是说,本申请支持在终端的SMF签约数据、终端的策略和SMF网元的本地配置的任一种或多种中增加用于表示PDU会话能够进入休眠态(或者用于表示PDU会话是否能够进入休眠态)的信息。Optionally, if at least one of the terminal's SM subscription data, the terminal's policy, and the local configuration of the SMF network element contains information indicating that a certain PDU session of the terminal can enter the dormant state, the SMF network element can consider that The PDU session can enter a dormant state. That is to say, the present application supports adding in any one or more of the SMF subscription data of the terminal, the policy of the terminal, and the local configuration of the SMF network element to indicate that the PDU session can enter the dormant state (or to indicate whether the PDU session able to enter the dormant state) information.

需要说明的是,表示PDU会话能够进入休眠态的信息可以是基于终端粒度的,也可以是基于PDU会话粒度的;若表示PDU会话能够进入休眠态的信息是基于终端粒度的,说明该终端发起建立的所有PDU会话均能够进入休眠态(例如,若终端具有用户面传输增强的能力,则该终端发起建立的所有PDU会话均能够进入休眠);若表示PDU会话能够进入休眠态的信息是基于PDU会话粒度的,则说明该PDU会话能够进入休眠态。It should be noted that the information indicating that the PDU session can enter the dormant state can be based on the granularity of the terminal or the granularity of the PDU session; if the information indicating that the PDU session can enter the dormant state is based on the granularity of the terminal, it means that the terminal initiated All established PDU sessions can enter the dormant state (for example, if the terminal has the ability to enhance user plane transmission, all PDU sessions initiated by the terminal can enter the dormant state); if the information indicating that the PDU session can enter the dormant state is based on If the PDU session granularity is set, it means that the PDU session can enter the dormant state.

方式2:SMF网元接收终端发送的第二信息,根据第二信息确定一个PDU会话能够进入休眠态。第二信息包括该PDU会话的标识信息和表示该PDU会话能够进入休眠态的信息。Mode 2: The SMF network element receives the second information sent by the terminal, and determines according to the second information that a PDU session can enter a dormant state. The second information includes identification information of the PDU session and information indicating that the PDU session can enter a sleep state.

本申请对方式2具体发生在哪个流程中,以及第二信息具体携带在该流程的哪个信令(或消息)中均不进行限定。例如,方式2可以发生在建立该PDU会话的流程中,该情况下,第二信息可以携带在PDU会话建立(PDU Session Establishment)消息中。The present application does not limit the specific process in which the mode 2 occurs, nor the specific signaling (or message) in which the second information is carried in the process. For example, manner 2 may occur during the process of establishing the PDU session, and in this case, the second information may be carried in a PDU session establishment (PDU Session Establishment) message.

表示PDU会话能够进入休眠态的信息,可以理解为是用于指示该PDU会话能够进入休眠态的指示信息。其中,本申请对表示PDU会话能够进入休眠态的信息的具体实现方式不进行限定。例如,可以通过二进制数“1”来表示该PDU会话能够进入休眠态,或者通过二进制数“0”来表示该PDU会话能够进入休眠态。又如,可以通过指示PDU会话具有用户面增强特征,来指示该PDU会话能够进入休眠态。当然本申请不限于此。The information indicating that the PDU session can enter the dormant state can be understood as indication information for indicating that the PDU session can enter the dormant state. Wherein, the present application does not limit the specific implementation manner of the information indicating that the PDU session can enter the dormant state. For example, the binary number "1" can be used to indicate that the PDU session can enter the dormant state, or the binary number "0" can be used to indicate that the PDU session can enter the dormant state. For another example, it may indicate that the PDU session can enter the dormant state by indicating that the PDU session has a user plane enhancement feature. Of course, the present application is not limited thereto.

需要说明的是,此处是以第二信息包括一个PDU会话的标识信息和表示该PDU会话能够进入休眠态的指示信息,为例进行说明的。具体实现时,第二信息可以包括多个PDU会话的标识信息,以及表示该多个PDU会话能够进入休眠态的信息。其中,表示多个PDU会话能够进入休眠态的信息可以是多个表示单个PDU会话能够进入休眠态的信息的集合,也可以是其他信息。例如,假设使用通过二进制数“1”来表示单个PDU会话能够进入休眠态,则第二信息可以包括:PDU会话1、2、3的标识信息,以及表示PDU会话1、2、3均能够进入休眠态的信息可以是二进制数“111”。又如,第二信息可以包括:PDU会话1、2、3的标识信息,以及二进制数“1”,其中,二进制数“1”是表示PDU会话1、2、3均能够进入休眠态的信息。其他示例不再一一列举。It should be noted that, it is described here by taking an example in which the second information includes identification information of a PDU session and indication information indicating that the PDU session can enter a dormant state. During specific implementation, the second information may include identification information of multiple PDU sessions, and information indicating that the multiple PDU sessions can enter a dormant state. Wherein, the information indicating that multiple PDU sessions can enter the dormant state may be a collection of multiple information indicating that a single PDU session may enter the dormant state, or may be other information. For example, assuming that the binary number "1" is used to indicate that a single PDU session can enter the dormant state, the second information may include: identification information of PDU sessions 1, 2, and 3, and the information indicating that PDU sessions 1, 2, and 3 can all enter The information of the dormant state may be a binary number "111". For another example, the second information may include: identification information of PDU sessions 1, 2, and 3, and a binary number "1", wherein the binary number "1" is information indicating that PDU sessions 1, 2, and 3 can all enter a dormant state . Other examples are not listed one by one.

方式3:SMF网元接收终端发送的第二信息,根据终端的SMF签约数据、终端的策略和SMF网元的本地配置中的至少一种以及第二信息,确定一个PDU会话能够进入休眠态。其中,第二信息包括该PDU会话的标识信息和表示该PDU会话能够进入休眠态的信息。方式3中相关内容的解释可以参考上文,此处不再赘述。Method 3: The SMF network element receives the second information sent by the terminal, and determines that a PDU session can enter a dormant state according to at least one of the terminal's SMF subscription data, the terminal's policy, and the local configuration of the SMF network element and the second information. Wherein, the second information includes identification information of the PDU session and information indicating that the PDU session can enter a sleep state. For the explanation of relevant content in method 3, refer to the above, and will not repeat them here.

可以理解的,SMF网元可以在例如但不限于通过上述方式1~3任意一种方式确定PDU会话能够进入休眠态之后,保存该PDU会话能够进入休眠态这一信息,从而在后续需要确定PDU会话是否能够进入休眠态时,直接查询所保存的该信息。例如,SMF网元可以为所管理的每个PDU会话增加一个标志位,以标记该PDU会话是否能够进入休眠态,基于此,在执行S101时,SMF网元通过查询PDU会话的该标志位,即可获知该PDU会话是否能够进入休眠态。It can be understood that the SMF network element can save the information that the PDU session can enter the dormant state after determining that the PDU session can enter the dormant state, for example but not limited to, through any of the above methods 1 to 3, so that the PDU session needs to be determined later. When the session can enter the dormant state, directly query the stored information. For example, the SMF network element can add a flag bit for each PDU session managed to mark whether the PDU session can enter the dormant state. Based on this, when executing S101, the SMF network element queries the flag bit of the PDU session, It can be learned whether the PDU session can enter the dormant state.

基于上文中的描述,可选的,S101可以包括:SMF网元根据终端的SMF签约数据、终端的策略、SMF网元的本地配置以及第二信息中的至少一种,从终端发起建立的PDU会话中确定至少一个PDU会话。Based on the above description, optionally, S101 may include: the SMF network element initiates and establishes a PDU from the terminal according to at least one of the terminal's SMF subscription data, the terminal's policy, the local configuration of the SMF network element, and the second information At least one PDU session is identified in the session.

S102:SMF网元向RAN设备发送第一信息。其中,第一信息可以包括该至少一个PDU会话的标识信息,第一信息用于指示RAN设备释放该至少一个PDU会话的用户面空口资源,保留该至少一个PDU会话的该用户面空口资源的配置信息和该至少一个PDU会话的上下文。S102: The SMF network element sends first information to the RAN device. Wherein, the first information may include identification information of the at least one PDU session, and the first information is used to instruct the RAN device to release the user plane air interface resource of the at least one PDU session, and reserve the configuration of the user plane air interface resource of the at least one PDU session information and context of the at least one PDU session.

可以理解的,SMF网元与RAN设备之间的信息交互通常需要通过AMF网元进行转发。It can be understood that the information exchange between the SMF network element and the RAN device usually needs to be forwarded by the AMF network element.

S103:RAN设备接收第一信息。S103: The RAN device receives first information.

S104:RAN设备根据第一信息,释放该至少一个PDU会话的用户面空口资源,保留该至少一个PDU会话的用户面空口资源的配置信息和该至少一个PDU会话的上下文。S104: The RAN device releases the user plane air interface resources of the at least one PDU session according to the first information, and reserves configuration information of the user plane air interface resources of the at least one PDU session and the context of the at least one PDU session.

可选的,在执行S104之后,RAN设备可以将该至少一个PDU会话的状态由激活态修改为休眠态。Optionally, after performing S104, the RAN device may modify the state of the at least one PDU session from the active state to the dormant state.

S105:RAN设备根据第一信息,向终端发送第四信息。其中,第四信息可以包括该至少一个PDU会话的标识信息,第四信息用于指示终端释放该至少一个PDU会话的用户面空口资源,保留该至少一个PDU会话的用户面空口资源的配置信息和该至少一个PDU会话的上下文。S105: The RAN device sends fourth information to the terminal according to the first information. Wherein, the fourth information may include identification information of the at least one PDU session, and the fourth information is used to instruct the terminal to release the user plane air interface resources of the at least one PDU session, and to reserve the configuration information of the user plane air interface resources of the at least one PDU session and The context of the at least one PDU session.

S106:终端接收第四信息。S106: The terminal receives fourth information.

S107:终端根据第四信息,释放该至少一个PDU会话的用户面空口资源,保留用户面空口资源的配置信息和该至少一个PDU会话的上下文。S107: The terminal releases the user plane air interface resource of the at least one PDU session according to the fourth information, and retains configuration information of the user plane air interface resource and the context of the at least one PDU session.

可选的,在执行S107之后,终端可以将该至少一个PDU会话的状态由激活态修改为休眠态。Optionally, after performing S107, the terminal may modify the state of the at least one PDU session from the active state to the dormant state.

上述S101~S107描述了处于PDU会话由激活态进入休眠态的流程中,SMF网元、RAN设备和终端所执行的步骤。另外该流程还可以包括SMF网元和UPF网元所执行的步骤,该过程可以参考PDU会话由激活态进入去激活态的流程中SMF网元和UPF网元所执行的步骤。The above S101-S107 describe the steps performed by the SMF network element, RAN device and terminal in the process of the PDU session changing from the active state to the dormant state. In addition, the process may also include steps performed by the SMF network element and the UPF network element. This process may refer to the steps performed by the SMF network element and the UPF network element in the process of the PDU session changing from the active state to the deactivated state.

本实施例提供了PDU会话由激活态进入休眠态的流程,在PDU会话进入休眠态时,终端和/或RAN设备中保留了该PDU会话的用户面空口资源的配置信息和该PDU会话的上下文,这样,当有数据需要通过该PDU会话进行传输时,根据保留的该PDU会话的用户面空口资源的配置信息可快速恢复该PDU会话的用户面空口资源,并且不需要重新获取PDU会话的上下文,因此有助于节省PDU会话进入激活态所需要的时间。进一步地,本实施例中由SMF网元从终端发起建立的PDU会话中确定至少一个处于激活态的PDU会话,然后触发该至少一个PDU会话进入休眠态。也就是说,可以基于PDU会话粒度实现PDU会话由激活态进入休眠态。这样,有助于实现根据需求选择将任意一个或多个PDU会话由激活态进入休眠态,增加了管理PDU会话的灵活性。This embodiment provides a process for a PDU session to enter a dormant state from an active state. When a PDU session enters a dormant state, the configuration information of the user plane air interface resources of the PDU session and the context of the PDU session are retained in the terminal and/or RAN device , so that when data needs to be transmitted through the PDU session, the user plane air interface resource of the PDU session can be quickly restored according to the reserved configuration information of the user plane air interface resource of the PDU session, and the context of the PDU session does not need to be acquired again , thus helping to save the time required for the PDU session to enter the active state. Further, in this embodiment, the SMF network element determines at least one active PDU session from among the PDU sessions initiated and established by the terminal, and then triggers the at least one PDU session to enter the dormant state. That is to say, the PDU session can be changed from the active state to the dormant state based on the granularity of the PDU session. In this way, it is helpful to select any one or more PDU sessions from the active state to the dormant state according to requirements, which increases the flexibility of managing PDU sessions.

如图4所示,为本申请实施例提供的一种管理PDU会话的方法的交互示意图。图4所示的方法具体提供了使PDU会话由休眠态进入激活态的方法。该方法可以包括如下步骤:As shown in FIG. 4 , it is an interactive schematic diagram of a method for managing a PDU session provided by the embodiment of the present application. The method shown in FIG. 4 specifically provides a method for making the PDU session enter the active state from the dormant state. The method may include the steps of:

S201:终端根据PDU会话的用户面空口资源的配置信息,建立(或恢复)该PDU会话的用户面空口资源。其中,该PDU会话是终端发起建立的且处于休眠态的PDU会话,例如可以是图3所示的实施例中的至少一个PDU会话中的任意一个PDU会话。该配置信息是该PDU会话进入休眠态时,保留在终端中的该PDU会话的用户面空口资源的配置信息。S201: The terminal establishes (or recovers) the user plane air interface resource of the PDU session according to configuration information of the user plane air interface resource of the PDU session. Wherein, the PDU session is a PDU session initiated and established by the terminal and is in a dormant state, for example, it may be any one of the at least one PDU session in the embodiment shown in FIG. 3 . The configuration information is configuration information of user plane air interface resources of the PDU session reserved in the terminal when the PDU session enters a dormant state.

可选的,终端可以在确定需要通过处于休眠态的PDU会话传递数据,例如终端需要通过处于休眠态的PDU会话向DN发送数据或者接收DN发送的数据时,确定该PDU会话需要进入激活态,从而触发执行S201。Optionally, the terminal may determine that the PDU session needs to enter the active state when determining that it needs to transmit data through the PDU session in the dormant state, for example, when the terminal needs to send data to the DN or receive data sent by the DN through the PDU session in the dormant state, Thus triggering the execution of S201.

本实施例中是以将一个PDU会话由休眠态进入激活态为例进行说明的,当然还可以同时将多个PDU会话由休眠态进入激活态。In this embodiment, one PDU session is changed from the dormant state to the active state as an example for illustration. Of course, multiple PDU sessions can also be changed from the dormant state to the active state at the same time.

可选的,在执行S201之后,终端可以将该PDU会话的状态由休眠态修改为激活态。Optionally, after performing S201, the terminal may change the state of the PDU session from the dormant state to the active state.

S202:终端向RAN设备发送第五信息;其中,第五信息包括该PDU会话的标识信息,第五信息用于指示RAN设备建立该PDU会话的用户面空口资源。S202: The terminal sends fifth information to the RAN device; wherein, the fifth information includes identification information of the PDU session, and the fifth information is used to instruct the RAN device to establish user plane air interface resources of the PDU session.

S203:RAN设备接收第五信息。S203: The RAN device receives fifth information.

S204:RAN设备根据第五信息和该PDU会话的用户面空口资源的配置信息,建立该PDU会话的用户面空口资源。其中,该配置信息是该PDU会话进入休眠态时,保留在RAN设备中的该PDU会话的用户面空口资源的配置信息。S204: The RAN device establishes the user plane air interface resource of the PDU session according to the fifth information and the configuration information of the user plane air interface resource of the PDU session. Wherein, the configuration information is the configuration information of the user plane air interface resource of the PDU session reserved in the RAN device when the PDU session enters the dormant state.

可选的,在执行S204之后,RAN设备可以将该PDU会话的状态由休眠态修改为激活态。Optionally, after performing S204, the RAN device may change the state of the PDU session from the dormant state to the active state.

S205:RAN设备向SMF网元发送第三信息,第三信息包括该PDU会话的标识信息。第三信息用于指示接入网设备已建立该PDU会话的用户面空口资源。S205: The RAN device sends third information to the SMF network element, where the third information includes identification information of the PDU session. The third information is used to indicate that the access network device has established the user plane air interface resource of the PDU session.

S206:SMF网元接收第三信息。可选的,执行S206之后,SMF网元可以将该PDU会话的状态由休眠态修改为激活态。S206: The SMF network element receives the third information. Optionally, after performing S206, the SMF network element may modify the state of the PDU session from the dormant state to the active state.

上述S201~S206描述了处于PDU会话由休眠态进入激活态的流程中,SMF网元、RAN设备和终端所执行的步骤。另外该流程还可以包括SMF网元和UPF网元所执行的步骤,该过程可以参考PDU会话由去激活态进入激活态的流程中SMF网元和UPF网元所执行的步骤。The above S201-S206 describe the steps performed by the SMF network element, the RAN device and the terminal in the process of the PDU session changing from the dormant state to the active state. In addition, the process may also include steps performed by the SMF network element and the UPF network element. This process may refer to the steps performed by the SMF network element and the UPF network element in the process of the PDU session changing from the deactivated state to the activated state.

本实施例提供了PDU会话由休眠态进入激活态的流程,当有数据需要通过处于休眠态的PDU会话进行传输时,网络根据保留的该PDU会话的用户面空口资源的配置信息可快速恢复该PDU会话的用户面空口资源,并且不需要重新获取PDU会话的上下文,因此有助于节省PDU会话进入激活态所需要的时间。本实施例提供了可以基于PDU会话粒度实现PDU会话由休眠态进入激活态。这样,有助于实现根据需求选择将任意一个或多个PDU会话由休眠态进入激活态,相比基于终端粒度将PDU会话由休眠态进入激活态的技术方案,可以节省资源开销,并且增加了管理PDU会话的灵活性。This embodiment provides a process for a PDU session to enter an active state from a dormant state. When data needs to be transmitted through a PDU session in a dormant state, the network can quickly restore the PDU session according to the reserved configuration information of the user plane air interface resources of the PDU session. The user plane air interface resource of the PDU session does not need to reacquire the context of the PDU session, so it helps to save the time required for the PDU session to enter the active state. This embodiment provides that a PDU session can be changed from a dormant state to an active state based on the PDU session granularity. In this way, it is helpful to select any one or more PDU sessions from the dormant state to the active state according to the requirements. Compared with the technical solution of changing the PDU session from the dormant state to the active state based on the terminal granularity, it can save resource overhead and increase Flexibility in managing PDU sessions.

可以理解的,当终端处于连接态时,可能需要执行切换流程,即源RAN设备触发的需要将“终端与源RAN设备连接”切换成“终端与目标RAN设备连接”的过程,该情况下,存储有处于休眠态的PDU会话的上下文的RAN设备具体是源RAN设备。可选的,执行切换流程时,源RAN设备可以先确定终端发起建立的且处于休眠态的PDU会话,然后,将所确定的PDU会话的上下文发送给目标RAN设备。可以理解的,当需要将该PDU会话由休眠态进入激活态时,终端可以向目标RAN设备发送用于指示建立该PDU会话的用户面空口资源的信息(如上述第五信息)。如果没有明显冲突,该可选的实现方式可以应用于本申请提供的任一实施例中。It can be understood that when the terminal is in the connected state, it may be necessary to perform a switching process, that is, the process triggered by the source RAN device needs to switch from "connecting the terminal to the source RAN device" to "connecting the terminal to the target RAN device". In this case, The RAN device storing the context of the PDU session in the dormant state is specifically the source RAN device. Optionally, when performing the handover process, the source RAN device may first determine that the terminal initiates the established PDU session that is in a dormant state, and then sends the determined context of the PDU session to the target RAN device. It can be understood that when the PDU session needs to be changed from the dormant state to the active state, the terminal may send information (such as the fifth information above) used to indicate the user plane air interface resource for establishing the PDU session to the target RAN device. If there is no obvious conflict, this optional implementation manner can be applied to any embodiment provided in this application.

以下通过具体示例对上文提供的管理PDU会话的方法进行说明。The method for managing the PDU session provided above will be described below through a specific example.

如图5A所示,为本申请实施例提供的一种终端由连接态进入暂停态的流程即Connection Suspend流程的示意图。该流程可以包括将终端发起建立的至少一个PDU会话由激活态进入休眠态的流程,和/或,将终端发起建立的其他的PDU会话由激活态进入去激活态的流程。下文中是以该流程中包括:将终端发起建立的至少一个PDU会话由激活态进入休眠态,并且将终端发起建立的其他PDU会话由激活态进入去激活态的流程为例进行说明的。图5A所示的方法可以包括如下步骤:As shown in FIG. 5A , it is a schematic diagram of a flow of a terminal entering a suspended state from a connection state, that is, a Connection Suspend flow, provided by an embodiment of the present application. The process may include a process of changing at least one PDU session initiated by the terminal from an active state to a dormant state, and/or a process of changing other PDU sessions initiated by the terminal from an active state to a deactivated state. The following is an example of a process including: changing at least one PDU session initiated by the terminal from the active state to the dormant state, and changing other PDU sessions initiated by the terminal from the active state to the deactivated state. The method shown in Figure 5A may include the following steps:

S301:RAN设备向AMF网元发送终端上下文暂停请求(UE Context SuspendRequest)消息。其中,终端上下文暂停请求消息用于请求将终端的状态由激活态进入暂停态。终端上下文暂停请求消息可以携带PDU会话标识(identity,ID)列表,另外还可以携带原因值(Cause)等,该原因值可以是终端需要进入暂停态。该PDU会话ID列表中包括终端发起建立的处于激活态的PDU会话的ID。PDU会话的ID可以认为是PDU会话的标识信息的一种具体实现。S301: The RAN device sends a UE Context Suspend Request (UE Context SuspendRequest) message to the AMF network element. Wherein, the terminal context suspend request message is used to request to change the state of the terminal from the activated state to the suspended state. The terminal context suspend request message may carry a PDU session identification (identity, ID) list, and may also carry a cause value (Cause), etc. The cause value may be that the terminal needs to enter the suspend state. The PDU session ID list includes IDs of active PDU sessions initiated and established by the terminal. The ID of the PDU session can be regarded as a specific realization of the identification information of the PDU session.

S302:AMF网元根据终端上下文暂停请求消息,保留该终端的上下文。AMF网元向SMF(s)网元(即一个或多个SMF网元)发送更新会话管理上下文(Nsmf_PDUSession_UpdateSMContext)消息。更新会话管理上下文消息可以携带一个或多个PDU会话的ID,该一个或多个PDU会话的ID属于S301中描述的PDU会话ID列表;另外还可以携带原因值等,该原因值可以是终端需要进入暂停态。S302: The AMF network element reserves the context of the terminal according to the terminal context suspension request message. The AMF network element sends an update session management context (Nsmf_PDUSession_UpdateSMContext) message to the SMF(s) network element (ie, one or more SMF network elements). The update session management context message can carry the ID of one or more PDU sessions, and the ID of the one or more PDU sessions belongs to the PDU session ID list described in S301; in addition, it can also carry a reason value, etc., and the reason value can be required by the terminal. into a pause state.

具体的,AMF网元向管理该PDU会话ID列表所指示的PDU会话的各SMF网元分别发送更新会话管理上下文消息。例如,若PDU会话ID列表中包含PDU会话1~4的ID,且PDU会话1、2是由SMF网元1管理的,PDU会话3是由SMF网元2管理的,则AMF网元向SMF网元1发送更新会话管理上下文消息,该消息中包含PDU会话1~3的ID以及原因值(如终端需要进入暂停态),并向SMF网元2发送更新会话管理上下文消息,该消息中包含PDU会话4的ID以及原因值(如终端需要进入暂停态)。Specifically, the AMF network element sends an update session management context message to each SMF network element managing the PDU session indicated by the PDU session ID list. For example, if the PDU session ID list contains IDs of PDU sessions 1 to 4, and PDU sessions 1 and 2 are managed by SMF NE 1, and PDU session 3 is managed by SMF NE 2, the AMF NE sends the SMF Network element 1 sends an update session management context message, which contains the IDs and cause values of PDU sessions 1 to 3 (such as the terminal needs to enter the pause state), and sends an update session management context message to SMF network element 2, which includes ID and cause value of PDU session 4 (for example, the terminal needs to enter the pause state).

例如,结合图3所示的示例,上述S101,可以认为S101中的“至少一个PDU会话”具体是本实施例中的“PDU会话ID列表”,即认为终端发起建立的每个处于激活态的PDU会话均需要进入休眠态。但是,可选的,并非每个PDU会话均能够进入PDU会话,因此,需要通过执行S303确定哪个PDU会话能够进入休眠态。For example, in combination with the example shown in FIG. 3 , in the above S101, it can be considered that "at least one PDU session ID" in S101 is specifically the "PDU session ID list" in this embodiment, that is, it is considered that each session initiated by the terminal is in an active state. All PDU sessions need to enter the dormant state. However, optionally, not every PDU session can enter a PDU session, therefore, it is necessary to determine which PDU session can enter a dormant state by performing S303.

S303:SMF(s)网元确定更新会话管理上下文消息携带的PDU会话是否能够进入休眠态。S303: The SMF(s) network element determines whether the PDU session carried in the update session management context message can enter a dormant state.

具体的,对于任一PDU会话,SMF网元可以通过查询该PDU会话的用于标记该PDU会话是否能够进入休眠态的标志位(下文中称为目标标志位),来确定该PDU会话是否能够进入休眠态。例如,基于S302中的示例,SMF网元1可以查询PDU会话1~3的目标标志位,从而确定PDU会话1~3是否能够进入休眠态;SMF网元2可以查询PDU会话4的目标标志位,从而确定PDU会话4是否能够进入休眠态。Specifically, for any PDU session, the SMF network element can determine whether the PDU session can into sleep mode. For example, based on the example in S302, SMF network element 1 can query the target flags of PDU sessions 1-3 to determine whether PDU sessions 1-3 can enter the dormant state; SMF network element 2 can query the target flags of PDU session 4 , so as to determine whether the PDU session 4 can enter the dormant state.

S304:SMF(s)网元向UPF网元发送N4会话修改请求(N4Session ModificationRequest)消息。N4会话修改请求消息可以指示UPF网元删除隧道标识,具体是一个或多个PDU会话所经的RAN设备隧道信息。该一个或多个PDU会话的ID属于S301中的PDU会话ID列表。S304: The SMF(s) network element sends an N4 session modification request (N4Session ModificationRequest) message to the UPF network element. The N4 session modification request message may instruct the UPF network element to delete the tunnel identifier, specifically, the RAN equipment tunnel information passed by one or more PDU sessions. The IDs of the one or more PDU sessions belong to the PDU session ID list in S301.

例如,基于S302中的示例,SMF网元1可以向管理PDU会话1~3的隧道标识的UPF网元发送N4会话修改请求消息,该N4会话修改请求消息携带PDU会话1~3所经的RAN设备的隧道信息;SMF网元2可以向管理PDU会话4的隧道标识的UPF网元发送N4会话修改请求消息,该N4会话修改请求消息携带PDU会话4所经的RAN设备的隧道信息。其中,管理PDU会话1~3的隧道标识的UPF网元与管理PDU会话4的隧道标识的UPF网元,可以相同也可以不相同。管理PDU会话1~4的RAN设备是上述S301中的RAN设备。For example, based on the example in S302, SMF network element 1 may send an N4 session modification request message to the UPF network element that manages the tunnel identifiers of PDU sessions 1-3, and the N4 session modification request message carries the RAN Tunnel information of the device; the SMF network element 2 can send an N4 session modification request message to the UPF network element managing the tunnel identifier of the PDU session 4, and the N4 session modification request message carries the tunnel information of the RAN device through which the PDU session 4 passes. Wherein, the UPF network element managing the tunnel ID of PDU sessions 1-3 and the UPF network element managing the tunnel ID of PDU session 4 may be the same or different. The RAN device managing PDU sessions 1-4 is the RAN device in S301 above.

S305:UPF网元删除N4会话修改请求所请求删除的隧道标识,然后向SMF(s)网元发送N4会话修改响应(N4Session Modification Response)消息。S305: The UPF network element deletes the tunnel identifier requested to be deleted by the N4 session modification request, and then sends an N4 session modification response (N4Session Modification Response) message to the SMF(s) network element.

由于无论PDU会话由激活态进入去激活态,还是由激活态进入休眠态,对于管理该PDU会话的UPF网元来说,均需要删除该PDU会话的隧道标识(即该PDU会话所经的RAN设备的隧道信息),因此,本申请对S304~S305与S303的先后顺序不进行限定。例如,可以先执行S304~S305再执行S303,也可以先执行S304~S305再执行S303,还可以在执行S304~S305的过程中执行S303等。No matter whether the PDU session enters the deactivated state from the active state or enters the dormant state from the active state, for the UPF network element that manages the PDU session, it is necessary to delete the tunnel identifier of the PDU session (that is, the RAN that the PDU session passes through Tunnel information of the device), therefore, this application does not limit the sequence of S304-S305 and S303. For example, S304-S305 may be executed first, and then S303 may be executed, or S304-S305 may be executed first, and then S303 may be executed, or S303 may be executed during the execution of S304-S305.

S306:SMF(s)网元向AMF网元发送更新会话管理上下文响应(Nsmf_PDUSession_UpdateSMContext Response)消息。其中,更新会话管理上下文响应消息携带需要进入休眠态的PDU会话的ID,以及需要进入去激活态的PDU会话的ID。其中,这些PDU会话的ID属于S301中描述的PDU会话ID列表。S306: The SMF(s) network element sends an update session management context response (Nsmf_PDUSession_UpdateSMContext Response) message to the AMF network element. Wherein, the update session management context response message carries the ID of the PDU session that needs to enter the dormant state, and the ID of the PDU session that needs to enter the deactivated state. Wherein, the IDs of these PDU sessions belong to the PDU session ID list described in S301.

需要说明的是,在本申请的任一实施例中,“消息中携带需要进入某一状态的PDU会话的ID”与“该消息中携带该PDU会话的ID以及表示该PDU会话需要进入该状态的指示信息”的含义相同,二者可以互换使用,或者也可以通过消息名称来表示PDU会话需要进入某种状态,本申请对此不作限定。在本申请的任一实施例中,“消息中携带需要由一个状态进入另一个状态的PDU会话的ID”与“该消息中携带该PDU会话的ID以及表示该PDU会话需要由该一个状态进入该另一个状态的PDU会话的指示信息的含义相同,二者可以互换使用,或者也可以通过消息名称来表示PDU会话需要由某种状态进入某种状态,本申请对此不作限定。其中,这里的消息可以例如但不限于是更新会话管理上下文响应消息、终端上下文暂停响应消息等,这里的状态可以是激活态、休眠态、去激活态等。It should be noted that, in any embodiment of the present application, "the message carries the ID of the PDU session that needs to enter a certain state" and "the message carries the ID of the PDU session and indicates that the PDU session needs to enter the state The meaning of the "indication information" is the same, and the two can be used interchangeably, or the message name can also be used to indicate that the PDU session needs to enter a certain state, which is not limited in this application. In any embodiment of the present application, "the message carries the ID of the PDU session that needs to enter another state from one state" and "the message carries the ID of the PDU session and indicates that the PDU session needs to enter from the one state The indication information of the PDU session in another state has the same meaning, and the two can be used interchangeably, or the message name can also be used to indicate that the PDU session needs to enter a certain state from a certain state, which is not limited by the present application. Wherein, The message here may be, for example but not limited to, an update session management context response message, a terminal context suspension response message, etc., and the state here may be an active state, a dormant state, or a deactivated state.

基于S303中的示例,若SMF网元1确定PDU会话1、2能够进入休眠态,PDU会话3不能进入休眠态,则在S306中,SMF网元1向AMF网元发送的更新会话管理上下文响应消息携带以下信息:能够进入休眠态的PDU会话是PDU会话1、2,不能进入休眠态的PDU会话是PDU会话。若SMF网元2确定PDU会话4能够进入休眠态,则在S306中,SMF网元1向AMF网元发送的更新会话管理上下文响应消息携带以下信息:能够进入休眠态的PDU会话是PDU会话4。Based on the example in S303, if SMF network element 1 determines that PDU sessions 1 and 2 can enter the dormant state, and PDU session 3 cannot enter the dormant state, then in S306, the update session management context response sent by SMF network element 1 to the AMF network element The message carries the following information: the PDU sessions that can enter the sleep state are PDU sessions 1 and 2, and the PDU sessions that cannot enter the sleep state are PDU sessions. If the SMF network element 2 determines that the PDU session 4 can enter the dormant state, then in S306, the update session management context response message sent by the SMF network element 1 to the AMF network element carries the following information: the PDU session that can enter the dormant state is the PDU session 4 .

S307:AMF网元向RAN设备发送终端上下文暂停响应(UE Context SuspendResponse)消息。其中,终端上下文暂停响应消息携带需要进入休眠态的PDU会话的ID,以及需要进入去激活态的PDU会话的ID。S307: The AMF network element sends a UE Context Suspend Response (UE Context Suspend Response) message to the RAN device. Wherein, the terminal context suspension response message carries the ID of the PDU session that needs to enter the dormant state, and the ID of the PDU session that needs to enter the deactivated state.

例如,结合图3所示的示例,可以认为S306~S307是上述S102的具体实现,具体的,可以认为第一信息携带在更新会话管理上下文响应消息中由SMF网元发送给AMF网元,再携带在终端上下文暂停响应消息中由AMF网元发送给RAN设备。For example, in combination with the example shown in Figure 3, it can be considered that S306-S307 are the specific implementation of the above S102. Specifically, it can be considered that the first information is carried in the update session management context response message and sent by the SMF network element to the AMF network element, and then It is carried in the terminal context suspension response message and sent by the AMF network element to the RAN device.

S308:RAN设备根据上下文暂停响应消息,对于需要进入休眠态的每一PDU会话(例如上述PDU会话1、2、4),释放该PDU会话的用户面空口资源,保留该用户面空口资源的配置信息和该PDU会话的上下文,可选的,将该PDU会话的状态由激活态修改为休眠态。以及,对于需要进入去激活态的每一PDU会话(例如上述PDU会话3),释放该PDU会话的用户面空口资源、该用户面空口资源的配置信息以及该PDU会话的上下文,可选的,将该PDU会话的状态由激活态修改为去激活态。S308: According to the context suspension response message, the RAN device releases the user plane air interface resources of the PDU session for each PDU session that needs to enter the dormant state (such as the above PDU session 1, 2, 4), and retains the configuration of the user plane air interface resources information and the context of the PDU session, and optionally, modify the state of the PDU session from the active state to the dormant state. And, for each PDU session that needs to enter the deactivated state (such as the above-mentioned PDU session 3), release the user plane air interface resource of the PDU session, the configuration information of the user plane air interface resource and the context of the PDU session, optionally, Change the state of the PDU session from the activated state to the deactivated state.

具体实现时,RAN设备根据上下文暂停响应消息,还可以保留终端的上下文,并生成针对该终端的Resume ID,其中,针对该终端的Resume ID用于标识该终端的上下文。后续,RAN设备可以将针对该终端的Resume ID发送给该终端。这样,在后续执行ConnectionResume流程时,终端可以将针对该终端的Resume ID发送给RAN设备,从而使得RAN设备可以根据针对该终端的Resume ID获得该终端的上下文。可选的,若在执行Connection Resume流程时,新RAN设备与旧RAN设备不同,则新RAN设备通常需要向旧RAN设备发送该终端的Resume ID以获取旧RAN上的终端的上下文。During specific implementation, the RAN device may retain the context of the terminal according to the context suspension response message, and generate a Resume ID for the terminal, wherein the Resume ID for the terminal is used to identify the context of the terminal. Subsequently, the RAN device may send the Resume ID for the terminal to the terminal. In this way, when executing the ConnectionResume process subsequently, the terminal can send the Resume ID for the terminal to the RAN device, so that the RAN device can obtain the context of the terminal according to the Resume ID for the terminal. Optionally, if the new RAN device is different from the old RAN device when executing the Connection Resume process, the new RAN device usually needs to send the terminal's Resume ID to the old RAN device to obtain the context of the terminal on the old RAN.

S309:RAN设备向终端发送无线资源控制(radio resource control,RRC)连接暂停(Connection Suspend)消息。其中,RRC连接暂停消息可以携带需要进入休眠态的PDU会话的ID,以及需要进入去激活态的PDU会话的ID。S309: The RAN device sends a radio resource control (radio resource control, RRC) connection suspend (Connection Suspend) message to the terminal. Wherein, the RRC connection suspension message may carry the ID of the PDU session that needs to enter the dormant state, and the ID of the PDU session that needs to enter the deactivated state.

例如,结合图3所示的示例,可以认为S309是S105的具体实现,具体的,可以认为第四信息携带在RRC连接暂停消息中由RAN设备发送给终端。For example, referring to the example shown in FIG. 3 , it can be considered that S309 is a specific implementation of S105. Specifically, it can be considered that the fourth information is carried in the RRC connection suspension message and sent to the terminal by the RAN device.

S310:终端根据RRC连接暂停消息,对于需要进入休眠态的每一PDU会话,释放该PDU会话的用户面空口资源,保留该用户面空口资源的配置信息和该PDU会话的上下文,可选的,将该PDU会话的状态由激活态修改为休眠态。以及,对于需要进入去激活态的每一PDU会话,释放该PDU会话的用户面空口资源、该用户面空口资源的配置信息以及该PDU会话的上下文,可选的,将该PDU会话的状态由激活态修改为去激活态。S310: According to the RRC connection suspend message, for each PDU session that needs to enter the dormant state, the terminal releases the user plane air interface resources of the PDU session, and retains the configuration information of the user plane air interface resources and the context of the PDU session. Optionally, Change the state of the PDU session from the active state to the dormant state. And, for each PDU session that needs to enter the deactivated state, release the user plane air interface resource of the PDU session, the configuration information of the user plane air interface resource and the context of the PDU session, optionally, the state of the PDU session is changed by The activated state is changed to the deactivated state.

本实施例可以实现在终端由连接态进入暂停态的流程中,将终端发起建立的任意一个或多个PDU会话由激活态进入休眠态。关于本实施例有益效果的描述可以参考上文。In this embodiment, any one or more PDU sessions initiated and established by the terminal can be changed from the active state to the dormant state during the process of the terminal entering the suspended state from the connected state. For the description about the beneficial effect of this embodiment, reference may be made to the above.

可选的,在本申请提供的另一个实施例中,上述S301中的PDU会话ID列表中包括的是能够进入休眠态的PDU会话的ID。该实施例中,SMF网元可以预先将PDU会话是否能够进入休眠态的结果通知给RAN设备,这样,RAN设备在执行S301时,PDU会话ID列表中可以设置包含能够进入休眠态的PDU会话的ID。该情况下,不需要执行上述S303。另外可选的,由于SMF网元可以预先将PDU会话是否能够进入休眠态的结果通知给RAN设备,因此当RAN设备确认终端需要进入暂停态后,且确定PDU会话ID列表之后,释放该列表所指示的每一PDU会话的用户面空口资源,保留该用户面空口资源的配置信息和该PDU会话的上下文,而不需要如S308所示,在接收到上下文暂停响应消息,才释放该PDU会话的用户面空口资源,保留该用户面空口资源的配置信息和该PDU会话的上下文。Optionally, in another embodiment provided by this application, the PDU session ID list in S301 above includes IDs of PDU sessions that can enter a dormant state. In this embodiment, the SMF network element can notify the RAN device in advance of whether the PDU session can enter the dormant state. In this way, when the RAN device executes S301, the PDU session ID list can be set to include the PDU session that can enter the dormant state. ID. In this case, the above S303 does not need to be executed. Optionally, since the SMF network element can notify the RAN device in advance of whether the PDU session can enter the dormant state, after the RAN device confirms that the terminal needs to enter the suspended state and determines the PDU session ID list, release the list. Indicate the user plane air interface resources of each PDU session, retain the configuration information of the user plane air interface resources and the context of the PDU session, and do not need to release the PDU session after receiving the context suspension response message as shown in S308 The user plane air interface resource, retains the configuration information of the user plane air interface resource and the context of the PDU session.

如图5B所示,为本申请实施例提供的一种终端由暂停态进入连接态的流程即Connection Resume流程的示意图。该流程可以包括将终端发起建立的至少一个PDU会话由休眠态进入激活态的流程,和/或,将终端发起建立的其他的PDU会话由去激活态进入激活态的流程。下文中是以该流程中包括:将终端发起建立的至少一个PDU会话由休眠态进入激活态为例进行说明的。图5B所示的方法可以包括如下步骤:As shown in FIG. 5B , it is a schematic diagram of a flow of a terminal entering a connection state from a suspend state, that is, a Connection Resume flow, provided by the embodiment of the present application. The process may include a process of changing at least one PDU session initiated by the terminal from a dormant state to an active state, and/or a process of changing other PDU sessions initiated by the terminal from a deactivated state to an active state. In the following, the process includes: changing at least one PDU session initiated and established by the terminal from the dormant state to the active state as an example for illustration. The method shown in Figure 5B may include the following steps:

S401:终端确定需要由暂停态进入连接态。例如,当有数据需要传输如需要向DN发送数据或者需要接收DN发送的数据时,确定需要由暂停态进入连接态。S401: The terminal determines that it needs to enter the connection state from the pause state. For example, when there is data to be transmitted, such as sending data to the DN or receiving data sent by the DN, it is determined that it needs to enter the connection state from the pause state.

S402:终端确定需要传输数据的一个或多个PDU会话的当前处于休眠态还是去激活态。其中,该一个或多个PDU会话可以是终端发起建立的部分或全部PDU会话。当前处于休眠态的PDU会话是需要由休眠态进入激活态的PDU会话。S402: The terminal determines whether one or more PDU sessions that need to transmit data are currently in a dormant state or a deactivated state. Wherein, the one or more PDU sessions may be part or all of the PDU sessions initiated and established by the terminal. The PDU session currently in the dormant state is a PDU session that needs to enter the active state from the dormant state.

可以理解的,终端由暂停态进入连接态的流程中,还可以包括将需要传输数据且处于去激活态的PDU会话进入激活态,其具体实现方式可以参考现有技术,此处不再赘述。It can be understood that the process for the terminal to enter the connection state from the suspended state may also include entering the PDU session that needs to transmit data and is in the deactivated state into the active state. The specific implementation method can refer to the existing technology, and will not be repeated here.

S403:终端向RAN设备发送RRC连接恢复请求(Connection Resume Request)消息。其中,RRC连接恢复请求消息可以携带该一个或多个PDU会话的ID以及将该一个或多个PDU会话由休眠态进入激活态的指示信息。RRC连接恢复请求消息用于请求恢复终端和RAN设备之间的控制面空口资源以及该一个或多个PDU会话的用户面空口资源。S403: The terminal sends an RRC connection resume request (Connection Resume Request) message to the RAN device. Wherein, the RRC connection recovery request message may carry the ID of the one or more PDU sessions and the indication information of the one or more PDU sessions from the dormant state to the active state. The RRC connection recovery request message is used to request recovery of the control plane air interface resources between the terminal and the RAN device and the user plane air interface resources of the one or more PDU sessions.

S404:对于该一个或多个PDU会话中的每一PDU会话,终端和RAN设备通过进行信息交互,分别根据自身保留的该PDU会话的用户面空口资源的配置信息建立(或恢复)该PDU会话的用户面空口资源,终端和RAN设备通过进行信息交互建立控制面空口资源。可选的,终端和RAN设备还可以分别将每个需要由休眠态进入激活态的PDU会话的状态由休眠态修改为激活态。S404: For each PDU session in the one or more PDU sessions, the terminal and the RAN device exchange information, respectively establish (or restore) the PDU session according to the configuration information of the user plane air interface resources of the PDU session reserved by itself The air interface resources of the user plane, the terminal and the RAN device establish the air interface resources of the control plane by exchanging information. Optionally, the terminal and the RAN device may respectively change the state of each PDU session that needs to change from the dormant state to the active state from the dormant state to the active state.

例如,结合图4所示的实施例,可以认为终端与RAN设备之间进行信息交互,包括图4中的终端向RAN设备发送第五信息。例如,S404与S403可以是同时执行,也可以是先后执行的。本申请对此不进行限定。For example, with reference to the embodiment shown in FIG. 4 , it can be considered that information exchange is performed between the terminal and the RAN device, including that the terminal in FIG. 4 sends fifth information to the RAN device. For example, S404 and S403 may be executed simultaneously or sequentially. This application does not limit this.

S405:RAN设备向终端发送RRC连接恢复响应(Connection Resume Response)消息。S405: The RAN device sends an RRC connection resume response (Connection Response Response) message to the terminal.

执行S405之后,终端与DN之间可以通过该一个或多个PDU会话进行上行数据传输,即终端可以通过该一个或多个PDU会话向DN发送数据。After S405 is executed, uplink data transmission can be performed between the terminal and the DN through the one or more PDU sessions, that is, the terminal can send data to the DN through the one or more PDU sessions.

S406:RAN设备向AMF网元发送终端上下文恢复请求(UE Context ResumeRequest)消息。其中,终端上下文恢复请求消息可以携带该一个或多个PDU会话的ID以及将该一个或多个PDU会话由休眠态进入激活态的指示信息。终端上下文恢复请求消息用于指示已经恢复了该一个或多个PDU会话的用户面空口资源。该消息中还可以携带该一个或多个PDU会话所经的RAN设备的隧道信息。S406: The RAN device sends a UE Context Resume Request (UE Context ResumeRequest) message to the AMF network element. Wherein, the terminal context recovery request message may carry the ID of the one or more PDU sessions and the indication information of the one or more PDU sessions from the dormant state to the active state. The terminal context recovery request message is used to indicate that the user plane air interface resources of the one or more PDU sessions have been recovered. The message may also carry tunnel information of the RAN device through which the one or more PDU sessions pass.

S407:AMF网元向SMF(s)网元发送更新会话管理上下文(Nsmf_PDUSession_UpdateSMContext)消息。其中,更新会话管理上下文消息可以携带需要由休眠态进入激活态的PDU会话的ID。更新会话管理上下文消息用于指示已经恢复了该一个或多个PDU会话的用户面空口资源。SMF(s)网元接收到更新会话管理上下文消息之后,可以将该一个或多个PDU会话所经的RAN设备的隧道信息发送给UPF网元。S407: The AMF network element sends an update session management context (Nsmf_PDUSession_UpdateSMContext) message to the SMF(s) network element. Wherein, the update session management context message may carry the ID of the PDU session that needs to enter the active state from the dormant state. The update session management context message is used to indicate that the user plane air interface resources of the one or more PDU sessions have been restored. After the SMF(s) network element receives the update session management context message, it can send the tunnel information of the RAN device through which the one or more PDU sessions pass to the UPF network element.

S408:SMF(s)网元向UPF网元发送N4会话修改请求消息。其中,N4会话修改请求消息可以携带待恢复隧道标识,具体是更新会话管理上下文消息携带的一个或多个PDU会话的所经的RAN设备的隧道信息。S408: The SMF(s) network element sends an N4 session modification request message to the UPF network element. Wherein, the N4 session modification request message may carry the identifier of the tunnel to be restored, specifically, the tunnel information of the RAN device through which one or more PDU sessions carried by the update session management context message.

S409:UPF网元恢复(或保存)N4会话修改请求消息所请求的待恢复隧道标识,并向SMF(s)网元发送N4会话修改响应消息。S409: The UPF network element restores (or saves) the identifier of the tunnel to be restored requested by the N4 session modification request message, and sends an N4 session modification response message to the SMF(s) network element.

执行S409之后,终端与DN之间可以通过该一个或多个PDU会话进行下行数据传输,即DN可以通过该一个或多个PDU会话向终端发送数据。After S409 is executed, downlink data transmission can be performed between the terminal and the DN through the one or more PDU sessions, that is, the DN can send data to the terminal through the one or more PDU sessions.

S410:SMF(s)网元将该一个或多个PDU会话的状态由休眠态修改为激活态。S410: The SMF(s) network element modifies the state of the one or more PDU sessions from a dormant state to an active state.

S411:SMF(s)网元向AMF网元发送更新会话管理上下文响应(Nsmf_PDUSession_UpdateSMContext Response)消息。S411: The SMF(s) network element sends an update session management context response (Nsmf_PDUSession_UpdateSMContext Response) message to the AMF network element.

S412:AMF网元向RAN设备发送终端上下文恢复响应(UE Context ResumeResponse)消息。S412: The AMF network element sends a UE Context Resume Response (UE Context Response Response) message to the RAN device.

本实施例可以实现在终端由暂停态进入连接态的流程中,将终端发起建立的任意一个或多个PDU会话由休眠态进入激活态。关于本实施例有益效果的描述可以参考上文。In this embodiment, any one or more PDU sessions initiated and established by the terminal can be changed from the dormant state to the active state during the process of the terminal entering the connected state from the suspended state. For the description about the beneficial effect of this embodiment, reference may be made to the above.

如图6A所示,为本申请实施例提供的一种PDU会话由激活态进入休眠态的流程的示意图。该流程中终端一直处于连接态。图6A所示的方法可以包括如下步骤:As shown in FIG. 6A , it is a schematic diagram of a flow of a PDU session from an active state to a dormant state according to an embodiment of the present application. During this process, the terminal is always in the connected state. The method shown in Figure 6A may include the following steps:

S501:SMF网元确定一个或多个PDU会话需要且能够进入休眠态。其中,该一个或多个PDU会话是终端发起建立的部分或全部处于激活态的PDU会话。S501: The SMF network element determines that one or more PDU sessions need and can enter a dormant state. Wherein, the one or more PDU sessions are part or all of the active PDU sessions initiated and established by the terminal.

关于SMF网元如何确定一个PDU会话需要由连接态进入休眠态,以及能够由连接态进入休眠态的具体实现方式均可以参考上文,此处不再赘述。可以理解的,在不具有明显冲突的情况下,上文中提供的一种具体实现方式均可以适用于本实施例。For how the SMF network element determines that a PDU session needs to enter the dormant state from the connected state, and the specific implementation method that can enter the dormant state from the connected state can refer to the above, and will not be repeated here. It can be understood that, in the case of no obvious conflict, any of the specific implementation manners provided above may be applicable to this embodiment.

S502:SMF网元向UPF网元发送N4会话修改请求消息。N4会话修改请求消息可以指示UPF网元删除隧道标识,具体是该一个或多个PDU会话所经的RAN设备的隧道信息。S502: The SMF network element sends an N4 session modification request message to the UPF network element. The N4 session modification request message may instruct the UPF network element to delete the tunnel identifier, specifically, the tunnel information of the RAN device through which the one or more PDU sessions pass.

S503:UPF网元删除N4会话修改请求消息所请求删除的隧道标识,然后向SMF网元发送N4会话修改响应消息。S503: The UPF network element deletes the tunnel identifier requested to be deleted by the N4 session modification request message, and then sends an N4 session modification response message to the SMF network element.

S504:SMF网元向AMF网元发送N1N2消息传输(Namf_Communication_N1N2MessageTransfer)信令。其中,N1N2消息传输信令可以携带该一个或多个PDU会话的ID,以及将该一个或多个PDU会话需要进入休眠态的指示信息。S504: The SMF network element sends N1N2 message transfer (Namf_Communication_N1N2MessageTransfer) signaling to the AMF network element. Wherein, the N1N2 message transmission signaling may carry IDs of the one or more PDU sessions, and indication information that the one or more PDU sessions need to enter a dormant state.

S505:AMF网元根据向RAN设备发送N2会话请求(N2Session Request)消息。其中,N2会话请求消息可以携带该一个或多个PDU会话的ID,以及将该一个或多个PDU会话进入休眠态的指示信息。S505: The AMF network element sends an N2 session request (N2Session Request) message to the RAN device. Wherein, the N2 session request message may carry IDs of the one or more PDU sessions, and indication information for the one or more PDU sessions to enter a dormant state.

例如,结合图3所示的实施例,可以认为S504~S505是上述S102的具体实现,具体的,可以认为第一信息携带在N1N2消息传输信令中由SMF网元发送给AMF网元,再携带在N2会话请求消息中由AMF网元发送给RAN设备。For example, in combination with the embodiment shown in FIG. 3 , it can be considered that S504-S505 are the specific implementations of the above S102. Specifically, it can be considered that the first information is carried in the N1N2 message transmission signaling and sent by the SMF network element to the AMF network element, and then It is carried in the N2 session request message and sent by the AMF network element to the RAN device.

S506:对于该一个或多个PDU会话中的每一PDU会话,RAN设备释放该PDU会话的用户面空口资源,保留该用户面空口资源的配置信息和该PDU会话的上下文。RAN设备将该PDU会话的状态由激活态修改为休眠态。S506: For each PDU session in the one or more PDU sessions, the RAN device releases the user plane air interface resource of the PDU session, and retains the configuration information of the user plane air interface resource and the context of the PDU session. The RAN device modifies the state of the PDU session from the active state to the dormant state.

S507:RAN设备向终端发送RRC连接重配置(RRC Connection Reconfiguration)消息。其中,RRC连接重配置消息可以携带该一个或多个PDU会话的ID,以及将该一个或多个PDU会话进入休眠态的指示信息。S507: The RAN device sends an RRC Connection Reconfiguration (RRC Connection Reconfiguration) message to the terminal. Wherein, the RRC connection reconfiguration message may carry IDs of the one or more PDU sessions, and indication information for the one or more PDU sessions to enter a dormant state.

例如,结合图3所示的示例,可以认为S507是S105的具体实现,具体的,可以认为第四信息携带在RRC连接重配置消息中由RAN设备发送给终端。For example, referring to the example shown in FIG. 3 , it can be considered that S507 is a specific implementation of S105. Specifically, it can be considered that the fourth information is carried in the RRC connection reconfiguration message and sent to the terminal by the RAN device.

S508:对于该一个或多个PDU会话中的每一PDU会话,终端释放该PDU会话的用户面空口资源,保留该用户面空口资源的配置信息和该PDU会话的上下文。终端将该PDU会话的状态由激活态修改为休眠态。S508: For each PDU session in the one or more PDU sessions, the terminal releases the user plane air interface resource of the PDU session, and retains the configuration information of the user plane air interface resource and the context of the PDU session. The terminal changes the state of the PDU session from the active state to the dormant state.

S509:终端向RAN设备发送RRC连接重配置响应消息。S509: The terminal sends an RRC connection reconfiguration response message to the RAN device.

S510:RAN设备向AMF网元发送N2会话响应(N2Session Response)消息。S510: The RAN device sends an N2 session response (N2Session Response) message to the AMF network element.

S511:AMF网元向SMF网元发送更新会话管理上下文响应(Nsmf_PDUSession_UpdateSMContext)消息。S511: The AMF network element sends an update session management context response (Nsmf_PDUSession_UpdateSMContext) message to the SMF network element.

S512:SMF网元保留该PDU会话的上下文。SMF网元将该PDU会话的状态由激活态修改为休眠态。S512: The SMF network element reserves the context of the PDU session. The SMF network element changes the state of the PDU session from the active state to the dormant state.

本实施例可以实现在终端处于连接态时,将终端发起建立的任意一个或多个PDU会话由激活态进入休眠态。关于本实施例有益效果的描述可以参考上文。In this embodiment, when the terminal is in the connected state, any one or more PDU sessions initiated and established by the terminal can be changed from the active state to the dormant state. For the description about the beneficial effect of this embodiment, reference may be made to the above.

如图6B所示,为本申请实施例提供的一种PDU会话由休眠态进激活入态的流程的示意图。该流程中终端一直处于连接态。图6B所示的方法可以包括如下步骤:As shown in FIG. 6B , it is a schematic diagram of a flow of a PDU session from a dormant state to an active state according to an embodiment of the present application. During this process, the terminal is always in the connected state. The method shown in Figure 6B may include the following steps:

S601:终端确定需要将一个或多个PDU会话由休眠态进入激活态,例如,当有数据需要通过该一个或多个处于休眠态的PDU会话传输时,确定需要将该一个或多个PDU会话由休眠态进入激活态。S601: The terminal determines that one or more PDU sessions need to be changed from the dormant state to the active state, for example, when data needs to be transmitted through the one or more PDU sessions in the dormant state, it is determined that the one or more PDU sessions need to be From dormant state to active state.

S602:终端向RAN设备发送PDU会话恢复请求消息。PDU会话恢复请求消息可以携带该一个或多个PDU会话的ID,以及将该一个或多个PDU会话由休眠态进入激活态的指示信息。PDU会话恢复请求消息用于请求恢复该一个或多个PDU会话的用户面空口资源。S602: The terminal sends a PDU session recovery request message to the RAN device. The PDU session recovery request message may carry the ID of the one or more PDU sessions, and indication information for the one or more PDU sessions from the dormant state to the active state. The PDU session recovery request message is used to request recovery of the user plane air interface resources of the one or more PDU sessions.

S603:对于该一个或多个PDU恢复中的每一PDU会话,终端和RAN设备通过进行信息交互,分别根据自身保留的该PDU会话的用户面空口资源的配置信息建立该PDU会话的用户面空口资源。另外,终端和RAN设备还可以分别将每个需要由休眠态进入激活态的PDU会话的状态由休眠态修改为激活态。S603: For each PDU session in the recovery of the one or more PDUs, the terminal and the RAN device respectively establish the user plane air interface of the PDU session according to the configuration information of the user plane air interface resources of the PDU session retained by the terminal through information exchange resource. In addition, the terminal and the RAN device can respectively change the state of each PDU session that needs to change from the dormant state to the active state from the dormant state to the active state.

例如,结合图4所示的实施例,可以认为终端与RAN设备之间进行信息交互,包括图4中的终端向RAN设备发送第五信息。上述S603与S602可以是同时执行,也可以是先后执行的。本申请对此不进行限定。For example, with reference to the embodiment shown in FIG. 4 , it can be considered that information exchange is performed between the terminal and the RAN device, including that the terminal in FIG. 4 sends fifth information to the RAN device. The above S603 and S602 may be executed simultaneously or sequentially. This application does not limit this.

S604:RAN设备向终端发送PDU会话恢复响应消息。S604: The RAN device sends a PDU session recovery response message to the terminal.

执行S604之后,终端与DN之间可以通过该一个或多个PDU会话进行上行数据传输,即终端可以通过该一个或多个PDU会话向DN发送数据。After S604 is executed, uplink data transmission can be performed between the terminal and the DN through the one or more PDU sessions, that is, the terminal can send data to the DN through the one or more PDU sessions.

S605:RAN设备向AMF网元发送PDU会话上下文恢复请求消息。其中,PDU会话上下文恢复请求消息可以携带该一个或多个PDU会话的ID,以及将该一个或多个PDU会话由休眠态进入激活态的指示信息。PDU会话上下文恢复请求消息用于请求恢复该一个或多个PDU会话的上下文。S605: The RAN device sends a PDU session context recovery request message to the AMF network element. Wherein, the PDU session context recovery request message may carry the ID of the one or more PDU sessions, and the indication information of the one or more PDU sessions from the dormant state to the active state. The PDU session context restore request message is used to request to restore the context of the one or more PDU sessions.

S606:AMF网元向SMF(s)网元发送更新会话管理上下文消息。其中,更新会话管理上下文消息可以携带该一个或多个PDU会话的ID,以及将该一个或多个PDU会话由休眠态进入激活态的指示信息。更新会话管理上下文消息用于指示已经恢复了该一个或多个PDU会话的用户面空口资源,SMF(s)网元接收到更新会话管理上下文消息之后,可以将该一个或多个PDU会话所经的RAN设备的隧道信息发送给UPF网元。S606: The AMF network element sends an update session management context message to the SMF(s) network element. Wherein, the update session management context message may carry the ID of the one or more PDU sessions, and the indication information of the one or more PDU sessions from the dormant state to the active state. The update session management context message is used to indicate that the user plane air interface resources of the one or more PDU sessions have been restored. After the SMF(s) network element receives the update session management context message, it can The tunnel information of the RAN device is sent to the UPF network element.

S607:SMF(s)网元向UPF网元发送N4会话修改请求消息。其中,N4会话修改请求消息可以携带待恢复的隧道标识,具体是更新会话管理上下文消息携带的PDU会话的所经的RAN设备的隧道信息。S607: The SMF(s) network element sends an N4 session modification request message to the UPF network element. Wherein, the N4 session modification request message may carry the identifier of the tunnel to be restored, specifically, the tunnel information of the RAN device through which the PDU session carried by the update session management context message is carried.

S608:UPF网元恢复(或保存)N4会话修改请求消息所请求的待恢复的隧道标识,并向SMF(s)网元发送N4会话修改响应消息。S608: The UPF network element restores (or saves) the tunnel identifier to be restored requested by the N4 session modification request message, and sends an N4 session modification response message to the SMF(s) network element.

执行S608之后,终端与DN之间可以通过该一个或多个PDU会话进行上行数据传输,即终端可以通过该一个或多个PDU会话向DN发送数据。After S608 is executed, uplink data transmission can be performed between the terminal and the DN through the one or more PDU sessions, that is, the terminal can send data to the DN through the one or more PDU sessions.

S609:SMF(s)网元将该一个或多个PDU会话中的每一PDU会话的状态由休眠态修改为激活态。S609: The SMF(s) network element modifies the state of each PDU session in the one or more PDU sessions from the dormant state to the active state.

S610:SMF(s)网元向AMF网元发送更新会话管理上下文响应消息。S610: The SMF(s) network element sends an update session management context response message to the AMF network element.

S611:AMF网元向RAN设备发送PDU会话上下文恢复响应消息。S611: The AMF network element sends a PDU session context recovery response message to the RAN device.

本实施例可以实现在终端处于连接态时,将终端发起建立的任意一个或多个PDU会话由休眠态进入激活态。关于本实施例有益效果的描述可以参考上文。In this embodiment, when the terminal is in the connected state, any one or more PDU sessions initiated and established by the terminal can be changed from the dormant state to the active state. For the description about the beneficial effect of this embodiment, reference may be made to the above.

如图7所示,为本申请实施例提供的一种建立PDU会话的流程。该方法可包括如下步骤:As shown in FIG. 7 , it is a process of establishing a PDU session provided by the embodiment of this application. The method may include the steps of:

S701:终端向AMF网元发送PDU会话建立消息。其中,PDU会话建立消息可以携带PDU会话的ID以及用户面传输增强指示,用户面传输增强指示用于指示该PDU会话能够进入休眠态,或者不能进入休眠态。S701: The terminal sends a PDU session establishment message to the AMF network element. Wherein, the PDU session establishment message may carry the ID of the PDU session and the user plane transmission enhancement indication, and the user plane transmission enhancement indication is used to indicate that the PDU session can enter the dormant state or cannot enter the dormant state.

S702:AMF网元向SMF网元发送建立会话管理上下文(Nsmf_PDUSession_CreateSMContext)的消息。建立会话管理上下文的消息携带PDU会话的ID以及用户面传输增强指示。S702: The AMF network element sends a message of establishing a session management context (Nsmf_PDUSession_CreateSMContext) to the SMF network element. The message of establishing the session management context carries the ID of the PDU session and the user plane transmission enhancement instruction.

S703:SMF网元从UDM网元中获取终端的会话管理签约数据。该签约数据中可以包含该PDU会话是否能够进入休眠态的指示。S703: The SMF network element obtains the session management subscription data of the terminal from the UDM network element. The subscription data may include an indication of whether the PDU session can enter a dormant state.

S704:SMF网元从PCF网元中获取终端的策略。该终端的策略中可以包含与该PDU会话是否能够进入休眠态相关的策略。S704: The SMF network element obtains the terminal policy from the PCF network element. The strategy of the terminal may include a strategy related to whether the PDU session can enter a dormant state.

上述S703和S704中的任一步骤是可选的。Any one of the steps above S703 and S704 is optional.

S705:SMF网元根据终端的SM签约数据、终端的策略和SMF网元的本地配置中的至少一种以及用户面传输增强指示,确定该PDU会话是否能够进入休眠态。其中,该步骤的具体实现方式,以及可以SM签约数据等信息均可以参考上文,此处不再赘述。S705: The SMF network element determines whether the PDU session can enter a dormant state according to at least one of the terminal's SM subscription data, the terminal's policy, the local configuration of the SMF network element, and the user plane transmission enhancement instruction. Wherein, the specific implementation manner of this step and information such as the SM subscription data can be referred to above, and will not be repeated here.

S706:SMF网元记录该PDU会话是否能够进入休眠态。SMF网元如何记录该PDU会话是否能够进入休眠态可以参考上文,此处不再赘述。S706: The SMF network element records whether the PDU session can enter a dormant state. How the SMF network element records whether the PDU session can enter the dormant state can refer to the above, and will not be repeated here.

本实施例提供了一种建立PDU会话的方法,该方法中,终端可以在发起建立PDU会话的流程中向SMF网元发送该PDU会话能够进入休眠态的指示(或者不能进入休眠态的指示),这样,当SMF网元需要确定该PDU会话是否能够进入休眠态时,可以直接查询所记录的信息。直接查询所记录的信息可以但不限于应用于上述任一相关实施例中。This embodiment provides a method for establishing a PDU session. In this method, the terminal can send an indication that the PDU session can enter the sleep state (or an indication that the PDU session cannot enter the sleep state) to the SMF network element during the process of initiating the establishment of the PDU session. , so that when the SMF network element needs to determine whether the PDU session can enter the dormant state, it can directly query the recorded information. Directly querying the recorded information may, but is not limited to, be applied to any of the above-mentioned related embodiments.

需要说明的是,上文中描述了将PDU会话由激活态进入休眠态的流程,以及将PDU会话由休眠态恢复成(或进入)激活态的流程。可以理解的,在具体实现的过程中,PDU会话也可以由休眠态进入去激活态,还可以由去激活态进入休眠态。例如但不限于当终端的签约数据更改等原因,使得某个或某些PDU会话由能够进入休眠态变为不能进入休眠态时,若该PDU会话当前处于休眠态,则可选的,可以将该PDU会话由休眠态进入去激活态。例如但不限于当终端的签约数据更改等原因,使得某个或某些PDU会话由不能进入休眠态变为能够进入休眠态时,若该PDU会话当前处于去激活态,则可选的可以将该PDU会话由去激活态进入休眠态。其他示例不再一一列举。另外,本申请实施例对PDU会话由休眠态进入去激活态的流程,以及由去激活态进入休眠态的流程不进行限定。It should be noted that the above describes the process of changing the PDU session from the active state to the dormant state, and the process of restoring (or entering) the PDU session from the dormant state to the active state. It can be understood that in a specific implementation process, the PDU session can also enter the deactivated state from the dormant state, and can also enter the dormant state from the deactivated state. For example, but not limited to, when the subscription data of the terminal is changed and other reasons make one or some PDU sessions change from being able to enter the dormant state to being unable to enter the dormant state, if the PDU session is currently in the dormant state, then optionally, the The PDU session enters the deactivated state from the dormant state. For example, but not limited to, when one or some PDU sessions are changed from being unable to enter the dormant state to being able to enter the dormant state due to reasons such as changes in the subscription data of the terminal, if the PDU session is currently in the deactivated state, the The PDU session enters the dormant state from the deactivated state. Other examples are not listed one by one. In addition, the embodiment of the present application does not limit the process of the PDU session entering the deactivated state from the dormant state, and the process of entering the dormant state from the deactivated state.

上述主要从方法的角度对本申请实施例提供的方案进行了介绍。为了实现上述功能,其包含了执行各个功能相应的硬件结构和/或软件模块。本领域技术人员应该很容易意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,本申请能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。The foregoing mainly introduces the solutions provided by the embodiments of the present application from the perspective of methods. In order to realize the above functions, it includes corresponding hardware structures and/or software modules for performing various functions. Those skilled in the art should easily realize that the present application can be implemented in the form of hardware or a combination of hardware and computer software in combination with the units and algorithm steps of each example described in the embodiments disclosed herein. Whether a certain function is executed by hardware or computer software drives hardware depends on the specific application and design constraints of the technical solution. Skilled artisans may use different methods to implement the described functions for each specific application, but such implementation should not be regarded as exceeding the scope of the present application.

本申请实施例可以根据上述方法示例对管理PDU会话的装置(包括会话管理网元如SMF网元、接入网设备如RAN设备和终端装置如终端等)进行功能模块的划分,例如,可以对应各个功能划分各个功能模块,也可以将两个或两个以上的功能集成在一个处理模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。需要说明的是,本申请实施例中对模块的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。The embodiment of the present application can divide the functional modules of the device for managing PDU sessions (including session management network elements such as SMF network elements, access network equipment such as RAN equipment, and terminal devices such as terminals) according to the above-mentioned method examples. For example, it can correspond to Each function is divided into each function module, and two or more functions can also be integrated into one processing module. The above-mentioned integrated modules can be implemented in the form of hardware or in the form of software function modules. It should be noted that the division of modules in the embodiment of the present application is schematic, and is only a logical function division, and there may be other division methods in actual implementation.

如图8所示,为本申请实施例提供的一种会话管理网元的结构示意图。图8所示的会话管理网元8可以用于执行上文提供的任一种方法中SMF网元执行的步骤。该会话管理网元8可以包括:处理单元801和收发单元802。其中:As shown in FIG. 8 , it is a schematic structural diagram of a session management network element provided by the embodiment of the present application. The session management network element 8 shown in FIG. 8 can be used to perform the steps performed by the SMF network element in any of the methods provided above. The session management network element 8 may include: a processing unit 801 and a transceiver unit 802 . in:

处理单元801,用于从终端发起建立的PDU会话中确定至少一个PDU会话;其中,至少一个PDU会话处于激活态。The processing unit 801 is configured to determine at least one PDU session from the PDU sessions initiated and established by the terminal; where at least one PDU session is in an active state.

收发单元802,用于向接入网设备发送第一信息;第一信息包括至少一个PDU会话的标识信息,第一信息用于指示接入网设备释放至少一个PDU会话的用户面空口资源,保留用户面空口资源的配置信息和至少一个PDU会话的上下文。The transceiver unit 802 is configured to send first information to the access network device; the first information includes identification information of at least one PDU session, and the first information is used to instruct the access network device to release the user plane air interface resources of at least one PDU session, and reserve Configuration information of user plane air interface resources and context of at least one PDU session.

例如,结合图3或图4,会话管理网元8可以是图3或图4中的SMF网元,处理单元801可以用于执行图3中的S101,收发单元802可以用于执行图3中的S102。For example, with reference to FIG. 3 or FIG. 4, the session management network element 8 may be the SMF network element in FIG. 3 or FIG. 4, the processing unit 801 may be used to execute S101 in FIG. 3, and the transceiver unit 802 may be used to execute S102.

可选的,处理单元801具体可以用于:确定该至少一个PDU会话属于以下任一种PDU会话:预设时间段内没有数据需要传输的PDU会话;在切换流程中,所有服务质量流都被目标接入网设备拒绝的PDU会话;终端移出了LADN时的LADN PDU会话;终端需要由连接态进入暂停态时,处于激活态的PDU会话;终端移出了允许的范围时,处于激活态的PDU会话。Optionally, the processing unit 801 may be specifically configured to: determine that the at least one PDU session belongs to any of the following PDU sessions: a PDU session with no data to be transmitted within a preset time period; The PDU session rejected by the target access network device; the LADN PDU session when the terminal moves out of LADN; the PDU session in the active state when the terminal needs to enter the suspended state from the connected state; the PDU in the active state when the terminal moves out of the allowed range session.

可选的,处理单元801具体可以用于:根据终端的会话管理签约数据、终端的策略和会话管理网元8的本地配置中的至少一种,从终端发起建立的PDU会话中确定至少一个PDU会话。Optionally, the processing unit 801 may be specifically configured to: determine at least one PDU from the PDU session initiated and established by the terminal according to at least one of the terminal's session management subscription data, the terminal's policy, and the local configuration of the session management network element 8 session.

可选的,收发单元802还可以用于,接收终端发送的第二信息。该情况下,处理单元801具体可以用于:根据第二信息从终端发起建立的PDU会话中确定至少一个PDU会话;其中,第二信息包括至少一个PDU会话的标识信息和表示至少一个PDU会话能够进入休眠态的信息。Optionally, the transceiving unit 802 may also be configured to receive second information sent by the terminal. In this case, the processing unit 801 can be specifically configured to: determine at least one PDU session from the PDU sessions initiated and established by the terminal according to the second information; wherein, the second information includes identification information of at least one PDU session and indicates that at least one PDU session can Information about entering the dormant state.

可选的,收发单元802还可以用于,接收终端发送的第二信息。该情况下,处理单元801具体可以用于:根据终端的会话管理签约数据、终端的策略和会话管理网元8的本地配置中的至少一种以及第二信息,从终端发起建立的PDU会话中确定至少一个PDU会话;其中,第二信息包括至少一个PDU会话的标识信息和表示至少一个PDU会话能够进入休眠态的信息。Optionally, the transceiving unit 802 may also be configured to receive second information sent by the terminal. In this case, the processing unit 801 can be specifically configured to: initiate and establish the PDU session from the terminal according to at least one of the terminal's session management subscription data, the terminal's policy, the local configuration of the session management network element 8, and the second information. Determine at least one PDU session; wherein, the second information includes identification information of at least one PDU session and information indicating that at least one PDU session can enter a dormant state.

可选的,该至少一个PDU会话能够进入休眠态。处理单元801具体可以用于:根据终端的会话管理签约数据、终端的策略和会话管理网元的本地配置中的至少一种,确定该至少一个PDU会话为能够进入休眠态的PDU会话。Optionally, the at least one PDU session can enter a dormant state. The processing unit 801 may specifically be configured to: determine the at least one PDU session as a PDU session capable of entering a dormant state according to at least one of the session management subscription data of the terminal, the policy of the terminal, and the local configuration of the session management network element.

可选的,该至少一个PDU会话能够进入休眠态。收发单元802还可以用于,接收终端发送的第二信息,处理单元801具体可以用于,根据第二信息确定该至少一个PDU会话为能够进入休眠态的PDU会话;其中,第二信息包括该至少一个PDU会话的标识信息和表示该至少一个PDU会话能够进入休眠态的信息;Optionally, the at least one PDU session can enter a dormant state. The transceiver unit 802 may also be configured to receive second information sent by the terminal, and the processing unit 801 may specifically be configured to determine the at least one PDU session as a PDU session capable of entering a dormant state according to the second information; wherein the second information includes the Identification information of at least one PDU session and information indicating that the at least one PDU session can enter a dormant state;

可选的,该至少一个PDU会话能够进入休眠态。收发单元802还可以用于,接收终端发送的第二信息,处理单元801具体可以用于,根据终端的会话管理签约数据、终端的策略和会话管理网元的本地配置中的至少一种以及第二信息确定该至少一个PDU会话为能够进入休眠态的PDU会话;其中,第二信息包括该至少一个PDU会话的标识信息和表示该至少一个PDU会话能够进入休眠态的信息。Optionally, the at least one PDU session can enter a dormant state. The transceiver unit 802 may also be configured to receive the second information sent by the terminal, and the processing unit 801 may specifically be configured to, according to at least one of the terminal's session management subscription data, the terminal's policy, and the local configuration of the session management network element, and the first The second information determines that the at least one PDU session is a PDU session capable of entering a dormant state; wherein, the second information includes identification information of the at least one PDU session and information indicating that the at least one PDU session can enter a dormant state.

可选的,收发单元802还可以用于,接收接入网设备发送的第三信息;其中,第三信息包括一个或多个PDU会话的标识信息,一个或多个PDU会话是终端从至少一个PDU会话中确定的;第三信息用于指示接入网设备已建立一个或多个PDU会话的用户面空口资源。例如,结合图4,收发单元802可以用于执行S206。Optionally, the transceiver unit 802 may also be configured to receive third information sent by the access network device; wherein, the third information includes identification information of one or more PDU sessions, and the one or more PDU sessions are information from the terminal at least one Determined in the PDU session; the third information is used to indicate that the access network device has established one or more user plane air interface resources of the PDU session. For example, referring to FIG. 4 , the transceiver unit 802 may be used to execute S206.

本申请实施例提供的会话管理网元中的相关内容的解释及所能获得的技术效果可参考上述方法实施例,在此不再赘述。For the explanation of the relevant content in the session management network element provided in the embodiment of the present application and the technical effects that can be obtained, reference may be made to the above method embodiment, and details are not repeated here.

如图9所示,为本申请实施例提供的一种接入网设备的结构示意图。图9所示的接入网设备9可以用于执行上文提供的任一种方法中RAN设备执行的步骤。接入网设备9可以包括:收发单元901和处理单元902。其中:As shown in FIG. 9 , it is a schematic structural diagram of an access network device provided in an embodiment of the present application. The access network device 9 shown in FIG. 9 can be used to execute the steps performed by the RAN device in any of the methods provided above. The access network device 9 may include: a transceiver unit 901 and a processing unit 902 . in:

收发单元901,用于接收会话管理网元发送的第一信息;其中,第一信息包括至少一个PDU会话的标识信息,至少一个PDU会话是会话管理网元从终端发起建立的PDU会话中确定的,至少一个PDU会话处于激活态。The transceiver unit 901 is configured to receive the first information sent by the session management network element; wherein, the first information includes identification information of at least one PDU session, and at least one PDU session is determined by the session management network element from the PDU session established by the terminal , at least one PDU session is active.

处理单元902,用于根据第一信息,释放至少一个PDU会话的用户面空口资源,保留用户面空口资源的配置信息和至少一个PDU会话的上下文。The processing unit 902 is configured to release user plane air interface resources of at least one PDU session according to the first information, and retain configuration information of user plane air interface resources and context of at least one PDU session.

例如,结合图3或图4,接入网设备9可以是图3或图4中的RAN设备,收发单元901可以用于执行图3中的S103,处理单元902可以用于执行图3中的S104。For example, referring to FIG. 3 or FIG. 4, the access network device 9 may be the RAN device in FIG. 3 or FIG. 4, the transceiver unit 901 may be used to execute S103 in FIG. 3, and the processing unit 902 may be used to execute the S104.

可选的,收发单元901还可以用于,根据第一信息,向终端发送第四信息;其中,第四信息包括至少一个PDU会话的标识信息,第四信息用于指示终端释放至少一个PDU会话的用户面空口资源,保留用户面空口资源的配置信息和至少一个PDU会话的上下文。例如,结合图3,收发单元901可以用于执行S105。Optionally, the transceiver unit 901 may also be configured to send fourth information to the terminal according to the first information; wherein, the fourth information includes identification information of at least one PDU session, and the fourth information is used to instruct the terminal to release at least one PDU session The user plane air interface resource, retains the configuration information of the user plane air interface resource and the context of at least one PDU session. For example, referring to FIG. 3 , the transceiver unit 901 may be used to execute S105.

可选的,收发单元901还可以用于,接收终端发送的第五信息;其中,第五信息包括一个或多个PDU会话的标识信息,一个或多个PDU会话是终端从至少一个PDU会话中确定的。该情况下,处理单元902还可以用于,根据第五信息和一个或多个PDU会话的用户面空口资源的配置信息,建立一个或多个PDU会话的用户面空口资源。例如,结合图4,收发单元901可以用于执行S203,处理单元902可以用于执行S204。Optionally, the transceiver unit 901 may also be configured to receive fifth information sent by the terminal; wherein, the fifth information includes identification information of one or more PDU sessions, and the one or more PDU sessions are information obtained by the terminal from at least one PDU session definite. In this case, the processing unit 902 may be further configured to, according to the fifth information and the configuration information of the user plane air interface resources of the one or more PDU sessions, establish the user plane air interface resources of the one or more PDU sessions. For example, referring to FIG. 4 , the transceiver unit 901 may be used to perform S203, and the processing unit 902 may be used to perform S204.

可选的,收发单元901还可以用于,向会话管理网元发送第三信息。第三信息包括该一个或多个PDU会话的标识信息;第三信息用于指示所述接入网设备9已建立该一个或多个PDU会话的用户面空口资源。例如,结合图4,收发单元901还可以用于执行S205。Optionally, the transceiving unit 901 may also be configured to send the third information to the session management network element. The third information includes identification information of the one or more PDU sessions; the third information is used to indicate that the access network device 9 has established user plane air interface resources of the one or more PDU sessions. For example, referring to FIG. 4 , the transceiver unit 901 may also be used to execute S205.

可选的,在切换流程中,接入网设备9是源接入网设备。该情况下,收发单元901还用于,向目标接入网设备发送该一个或多个PDU会话的上下文。基于该可选的实现方式,收发单元901还可以用于,接收终端发送的第五信息,具体为:目标接入网设备接收终端发送第五信息。收发单元901还可以用于,向会话管理网元发送第三信息,具体为:目标接入网设备向会话管理网元发送第三信息。Optionally, in the handover process, the access network device 9 is the source access network device. In this case, the transceiving unit 901 is further configured to send the context of the one or more PDU sessions to the target access network device. Based on this optional implementation manner, the transceiving unit 901 may also be configured to receive fifth information sent by the terminal, specifically: the target access network device receives the fifth information sent by the terminal. The transceiving unit 901 may also be configured to send the third information to the session management network element, specifically: the target access network device sends the third information to the session management network element.

本申请实施例提供的接入网设备中的相关内容的解释及所能获得的技术效果可参考上述方法实施例,在此不再赘述。For the explanation of the relevant content in the access network device provided in the embodiment of the present application and the technical effects that can be obtained, reference may be made to the foregoing method embodiment, and details are not repeated here.

如图10所示,为本申请实施例提供的一种终端装置的结构示意图。图10所示的终端装置10可以用于执行上文提供的任一种方法中终端执行的步骤。终端装置10可以包括:收发单元1001和处理单元1002。其中:As shown in FIG. 10 , it is a schematic structural diagram of a terminal device provided in an embodiment of the present application. The terminal device 10 shown in FIG. 10 may be used to perform the steps performed by the terminal in any of the methods provided above. The terminal device 10 may include: a transceiver unit 1001 and a processing unit 1002 . in:

收发单元1001,用于接收接入网设备发送的第四信息;其中,第四信息包括至少一个PDU会话的标识信息,至少一个PDU会话是会话管理网元从终端装置10发起建立的PDU会话中确定的,至少一个PDU会话处于激活态。The transceiver unit 1001 is configured to receive the fourth information sent by the access network device; wherein the fourth information includes identification information of at least one PDU session, and at least one PDU session is a PDU session initiated and established by the session management network element from the terminal device 10 It is determined that at least one PDU session is active.

处理单元1002,用于根据第四信息释放至少一个PDU会话的用户面空口资源,保留用户面空口资源的配置信息和至少一个PDU会话的上下文。The processing unit 1002 is configured to release user plane air interface resources of at least one PDU session according to the fourth information, and retain configuration information of user plane air interface resources and context of at least one PDU session.

例如,结合图3或图4,终端装置10可以是图3或图4中的终端,收发单元1001可以用于执行图3中的S106,处理单元1002可以用于执行S107。For example, referring to FIG. 3 or FIG. 4 , the terminal device 10 may be the terminal in FIG. 3 or 4 , the transceiver unit 1001 may be used to execute S106 in FIG. 3 , and the processing unit 1002 may be used to execute S107.

可选的,收发单元1001还可以用于,向会话管理网元发送第二信息;第二信息包括至少一个PDU会话的标识信息和表示至少一个PDU会话能够进入休眠态的信息,第二信息用于会话管理网元从终端装置10发起建立的PDU会话中确定至少一个PDU会话。Optionally, the transceiver unit 1001 may also be configured to send second information to the session management network element; the second information includes identification information of at least one PDU session and information indicating that at least one PDU session can enter a dormant state, and the second information uses At least one PDU session is determined from the PDU sessions established by the session management network element from the terminal device 10 .

可选的,处理单元1002还可以用于,根据一个或多个PDU会话的用户面空口资源的配置信息,建立一个或多个PDU会话的用户面空口资源;其中,一个或多个PDU会话是终端装置10从至少一个PDU会话中确定的。该情况下,收发单元1001还可以用于,向接入网设备发送第五信息;其中,第五信息包括一个或多个PDU会话的标识信息,第五信息用于指示接入网设备建立一个或多个PDU会话的用户面空口资源。例如,结合图4,处理单元1002可以用于执行S201,收发单元1001可以用于执行S202。Optionally, the processing unit 1002 may also be configured to, according to configuration information of user plane air interface resources of one or more PDU sessions, establish user plane air interface resources of one or more PDU sessions; wherein, one or more PDU sessions are The terminal device 10 is determined from at least one PDU session. In this case, the transceiver unit 1001 can also be configured to send fifth information to the access network device; wherein, the fifth information includes identification information of one or more PDU sessions, and the fifth information is used to instruct the access network device to establish a or user plane air interface resources for multiple PDU sessions. For example, referring to FIG. 4 , the processing unit 1002 may be used to execute S201, and the transceiver unit 1001 may be used to execute S202.

本申请实施例提供的终端装置中的相关内容的解释及所能获得的技术效果可参考上述方法实施例,在此不再赘述。For the explanation of the relevant content in the terminal device provided in the embodiment of the present application and the technical effects that can be obtained, reference may be made to the foregoing method embodiment, and details are not repeated here.

如图11所示,为本申请实施例提供的技术方案所适用的一种通信设备的结构示意图。该通信设备11可以包括:至少一个处理器1101,通信线路1102,存储器1103以及至少一个通信接口1104。该通信设备11具体可以是上文提供的任一种会话管理网元8、接入网设备9或终端装置10。例如,结合图8~图10任一种,收发单元可以是图11中的通信接口1104,处理单元可以对应图11中的处理器1101或处理器1107。As shown in FIG. 11 , it is a schematic structural diagram of a communication device to which the technical solution provided in the embodiment of the present application is applicable. The communication device 11 may include: at least one processor 1101 , a communication line 1102 , a memory 1103 and at least one communication interface 1104 . The communication device 11 may specifically be any session management network element 8 , access network device 9 or terminal device 10 provided above. For example, referring to any one of FIGS. 8 to 10 , the transceiver unit may be the communication interface 1104 in FIG. 11 , and the processing unit may correspond to the processor 1101 or the processor 1107 in FIG. 11 .

处理器1101可以是一个通用中央处理器(central processing unit,CPU),微处理器,特定应用集成电路(application-specific integrated circuit,ASIC),或一个或多个用于控制本申请方案程序执行的集成电路。The processor 1101 may be a general-purpose central processing unit (central processing unit, CPU), a microprocessor, an application-specific integrated circuit (application-specific integrated circuit, ASIC), or one or more devices used to control the program execution of the application program integrated circuit.

通信线路1102可包括一通路,在上述组件之间传送信息。Communications link 1102 may include a pathway for communicating information between the components described above.

存储器1103可以是只读存储器(read-only memory,ROM)或可存储静态信息和指令的其他类型的静态存储设备,随机存取存储器(random access memory,RAM)或者可存储信息和指令的其他类型的动态存储设备,也可以是电可擦可编程只读存储器(electrically erasable programmable read-only memory,EEPROM)、只读光盘(compactdisc read-only memory,CD-ROM)或其他光盘存储、光碟存储(包括压缩光碟、激光碟、光碟、数字通用光碟、蓝光光碟等)、磁盘存储介质或者其他磁存储设备、或者能够用于携带或存储具有指令或数据结构形式的期望的程序代码并能够由计算机存取的任何其他介质,但不限于此。The memory 1103 may be a read-only memory (read-only memory, ROM) or other types of static storage devices that can store static information and instructions, a random access memory (random access memory, RAM) or other types that can store information and instructions The dynamic storage device can also be an electrically erasable programmable read-only memory (electrically erasable programmable read-only memory, EEPROM), a read-only disc (compactdisc read-only memory, CD-ROM) or other optical disc storage, optical disc storage ( including compact discs, laser discs, optical discs, digital versatile discs, blu-ray discs, etc.), magnetic disk storage media or other magnetic storage devices, or can be used to carry or store desired program code in the form of instructions or data structures and can be stored by a computer Any other medium, but not limited to.

通信接口1104,使用任何收发器一类的装置,用于与其他设备或通信网络通信,如以太网,RAN,无线局域网(wireless local area networks,WLAN)等。The communication interface 1104 uses any device such as a transceiver to communicate with other devices or communication networks, such as Ethernet, RAN, wireless local area networks (wireless local area networks, WLAN) and so on.

其中,存储器1103用于存储执行本申请方案的计算机执行指令,并由处理器1101来控制执行。处理器1101用于执行存储器1103中存储的计算机执行指令,从而实现本申请下述实施例提供的方法。Wherein, the memory 1103 is used to store computer-executed instructions for implementing the solutions of the present application, and the execution is controlled by the processor 1101 . The processor 1101 is configured to execute computer-executed instructions stored in the memory 1103, so as to implement the methods provided in the following embodiments of the present application.

可选的,本申请实施例中的计算机执行指令也可以称之为应用程序代码,本申请实施例对此不作具体限定。Optionally, the computer-executed instructions in the embodiments of the present application may also be referred to as application program codes, which is not specifically limited in the embodiments of the present application.

可选的,存储器1103可以是独立存在,通过通信线路1102与处理器1101相连接。存储器1103也可以和处理器1101集成在一起。Optionally, the memory 1103 may exist independently and be connected to the processor 1101 through the communication line 1102 . The memory 1103 may also be integrated with the processor 1101 .

在具体实现中,作为一种实施例,处理器1101可以包括一个或多个CPU,例如图11中的CPU0和CPU1。In a specific implementation, as an embodiment, the processor 1101 may include one or more CPUs, for example, CPU0 and CPU1 in FIG. 11 .

在具体实现中,作为一种实施例,通信设备11可以包括多个处理器,例如图11中的处理器1101和处理器1107。这些处理器中的每一个可以是一个单核(single-CPU)处理器,也可以是一个多核(multi-CPU)处理器。这里的处理器可以指一个或多个设备、电路、和/或用于处理数据(例如计算机程序指令)的处理核。In a specific implementation, as an embodiment, the communication device 11 may include multiple processors, for example, the processor 1101 and the processor 1107 in FIG. 11 . Each of these processors may be a single-core (single-CPU) processor or a multi-core (multi-CPU) processor. A processor herein may refer to one or more devices, circuits, and/or processing cores for processing data (eg, computer program instructions).

在具体实现中,作为一种实施例,通信设备11还可以包括输出设备1105和输入设备1106。输出设备1105和处理器1101通信,可以以多种方式来显示信息。例如,输出设备1105可以是液晶显示器(liquid crystal display,LCD),发光二级管(light emittingdiode,LED)显示设备,阴极射线管(cathode ray tube,CRT)显示设备,或投影仪(projector)等。输入设备1106和处理器1101通信,可以以多种方式接收用户的输入。例如,输入设备1106可以是鼠标、键盘、触摸屏设备或传感设备等。In a specific implementation, as an embodiment, the communication device 11 may further include an output device 1105 and an input device 1106 . Output device 1105 is in communication with processor 1101 and can display information in a variety of ways. For example, the output device 1105 may be a liquid crystal display (liquid crystal display, LCD), a light emitting diode (light emitting diode, LED) display device, a cathode ray tube (cathode ray tube, CRT) display device, or a projector (projector), etc. . The input device 1106 communicates with the processor 1101 and can receive user input in various ways. For example, the input device 1106 may be a mouse, a keyboard, a touch screen device, or a sensing device, among others.

上述的通信设备11可以是一个通用设备或者是一个专用设备。在具体实现中,通信设备11可以是台式机、便携式电脑、网络服务器、掌上电脑(personal digitalassistant,PDA)、移动手机、平板电脑、无线终端设备、嵌入式设备或有图11中类似结构的设备。本申请实施例不限定通信设备11的类型。The aforementioned communication device 11 may be a general-purpose device or a special-purpose device. In a specific implementation, the communication device 11 can be a desktop computer, a portable computer, a network server, a palm computer (personal digital assistant, PDA), a mobile phone, a tablet computer, a wireless terminal device, an embedded device or a device having a similar structure in FIG. 11 . The embodiment of the present application does not limit the type of the communication device 11 .

本申请实施例提供的通信设备中处理器所执行的相关步骤及解释及所能获得的技术效果可参考上述方法实施例,在此不再赘述。For the relevant steps executed by the processor in the communication device provided in the embodiment of the present application, as well as explanations and technical effects that can be obtained, reference may be made to the foregoing method embodiments, and details are not repeated here.

本申请实施例还提供了一种管理PDU会话的系统。该系统可以包括:会话管理网元、接入网设备和终端。The embodiment of the present application also provides a system for managing PDU sessions. The system may include: a session management network element, an access network device and a terminal.

可选的,会话管理网元用于从终端发起建立的PDU会话中确定至少一个PDU会话;该至少一个PDU会话处于激活态;以及,向接入网设备发送第一信息;第一信息包括该至少一个PDU会话的标识信息。接入网设备用于接收第一信息,并根据第一信息,释放该至少一个PDU会话的用户面空口资源,保留用户面空口资源的配置信息和该至少一个PDU会话的上下文。Optionally, the session management network element is used to determine at least one PDU session from the PDU session initiated and established by the terminal; the at least one PDU session is in an active state; and, send the first information to the access network device; the first information includes the Identification information of at least one PDU session. The access network device is configured to receive the first information, release the user plane air interface resources of the at least one PDU session according to the first information, and retain the configuration information of the user plane air interface resources and the context of the at least one PDU session.

可选的,会话管理网元执行从终端发起建立的PDU会话中确定至少一个PDU会话,可以包括:会话管理网元根据终端的会话管理签约数据、终端的策略和会话管理网元的本地配置中的至少一种,从终端发起建立的PDU会话中确定该至少一个PDU会话。Optionally, the session management network element executes determining at least one PDU session from the PDU sessions initiated and established by the terminal, which may include: the session management network element determines the session according to the terminal's session management subscription data, the terminal's policy, and the local configuration of the session management network element. The at least one PDU session is determined from the PDU session initiated and established by the terminal.

可选的,终端还可以用于向会话管理网元发送第二信息,第二信息包括该至少一个PDU会话的标识信息和表示该至少一个PDU会话能够进入休眠态的信息。会话管理网元还可以用于接收终端发送的第二信息。该情况下,会话管理网元执行从终端发起建立的PDU会话中确定至少一个PDU会话,可以包括:会话管理网元根据第二信息从终端发起建立的PDU会话中确定该至少一个PDU会话。Optionally, the terminal may also be configured to send second information to the session management network element, where the second information includes identification information of the at least one PDU session and information indicating that the at least one PDU session can enter a dormant state. The session management network element can also be used to receive the second information sent by the terminal. In this case, the session management network element determining at least one PDU session from the PDU sessions initiated and established by the terminal may include: the session management network element determines the at least one PDU session from the PDU sessions initiated and established by the terminal according to the second information.

可选的,终端还可以用于向会话管理网元发送第二信息;第二信息包括该至少一个PDU会话的标识信息和表示该至少一个PDU会话能够进入休眠态的信息。会话管理网元还可以用于接收终端发送的第二信息。该情况下,会话管理网元执行从终端发起建立的PDU会话中确定至少一个PDU会话,可以包括:会话管理网元根据终端的会话管理签约数据、终端的策略和会话管理网元的本地配置中的至少一种以及第二信息,从终端发起建立的PDU会话中确定该至少一个PDU会话。Optionally, the terminal may also be configured to send second information to the session management network element; the second information includes identification information of the at least one PDU session and information indicating that the at least one PDU session can enter a dormant state. The session management network element can also be used to receive the second information sent by the terminal. In this case, the session management network element executes determining at least one PDU session from the PDU sessions initiated and established by the terminal, which may include: the session management network element determines the session according to the terminal's session management subscription data, the terminal's policy, and the local configuration of the session management network element. At least one of the and the second information, the at least one PDU session is determined from the PDU session initiated and established by the terminal.

可选的,接入网设备还可以用于根据第一信息,向终端发送第四信息;第四信息包括该至少一个PDU会话的标识信息。终端还用于接收接入网设备发送的第四信息,以及根据第四信息释放该至少一个PDU会话的用户面空口资源,保留用户面空口资源的配置信息和该至少一个PDU会话的上下文。Optionally, the access network device may also be configured to send fourth information to the terminal according to the first information; the fourth information includes identification information of the at least one PDU session. The terminal is further configured to receive fourth information sent by the access network device, release user plane air interface resources of the at least one PDU session according to the fourth information, and retain configuration information of user plane air interface resources and the context of the at least one PDU session.

可选的,该至少一个PDU会话能够进入休眠态。Optionally, the at least one PDU session can enter a dormant state.

可选的,终端还可以用于根据一个或多个PDU会话的用户面空口资源的配置信息,建立该一个或多个PDU会话的用户面空口资源;该一个或多个PDU会话是终端从该至少一个PDU会话中确定的;以及,向接入网设备发送第五信息;其中,第五信息包括该一个或多个PDU会话的标识信息。接入网设备还可以用于接收终端发送的第五信息,以及根据第五信息和该一个或多个PDU会话的用户面空口资源的配置信息,建立该一个或多个PDU会话的用户面空口资源。Optionally, the terminal may also be configured to establish the user plane air interface resources of the one or more PDU sessions according to the configuration information of the user plane air interface resources of the one or more PDU sessions; the one or more PDU sessions are obtained by the terminal from the determined in at least one PDU session; and, sending fifth information to the access network device; where the fifth information includes identification information of the one or more PDU sessions. The access network device may also be configured to receive fifth information sent by the terminal, and establish the user plane air interface of the one or more PDU sessions according to the fifth information and the configuration information of the user plane air interface resources of the one or more PDU sessions resource.

可选的,接入网设备还可以用于向会话管理网元发送第三信息;第三信息包括该一个或多个PDU会话的标识信息;第三信息用于指示接入网设备已建立该一个或多个PDU会话的用户面空口资源。会话管理网元还可以用于接收接入网设备发送的第三信息。Optionally, the access network device may also be used to send third information to the session management network element; the third information includes identification information of the one or more PDU sessions; the third information is used to indicate that the access network device has established the User plane air interface resources for one or more PDU sessions. The session management network element can also be used to receive the third information sent by the access network device.

本申请实施例提供的PDU会话管理系统中的相关内容的解释及所能获得的技术效果可参考上述方法实施例,在此不再赘述。For the explanation of the relevant content in the PDU session management system provided by the embodiment of the present application and the technical effects that can be obtained, refer to the above method embodiment, and details are not repeated here.

在本申请的描述中,除非另有说明,“/”表示或的意思,例如,A/B可以表示A或B;本文中的“和/或”仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。In the description of this application, unless otherwise specified, "/" means or means, for example, A/B can mean A or B; "and/or" in this article is just a description of the relationship between associated objects, Indicates that there may be three relationships, for example, A and/or B, may indicate: A exists alone, A and B exist simultaneously, and B exists alone.

在本申请的描述中,除非另有说明,“多个”是指两个或多于两个。In the description of the present application, unless otherwise specified, "plurality" means two or more than two.

另外,为了便于清楚描述本申请实施例的技术方案,在本申请的实施例中,采用了“第一”、“第二”等字样对功能和作用基本相同的相同项或相似项进行区分。本领域技术人员可以理解“第一”、“第二”等字样并不对数量和执行次序进行限定,并且“第一”、“第二”等字样也并不限定一定不同。In addition, in order to clearly describe the technical solutions of the embodiments of the present application, in the embodiments of the present application, words such as "first" and "second" are used to distinguish the same or similar items with basically the same function and effect. Those skilled in the art can understand that words such as "first" and "second" do not limit the number and execution order, and words such as "first" and "second" do not necessarily limit the difference.

另外,在本申请的描述中,除非另有说明,“至少一种”是指任意一种或者任意多种的组合,“至少一个”是指任意一个或者任意多个的组合。例如,A、B和C中的至少一种,可以包括以下情况:①A;②B;③C;④A和B;⑤A和C;⑥B和C;⑦A、B和C。In addition, in the description of the present application, unless otherwise specified, "at least one" means any one or any combination of multiples, and "at least one" means any one or any combination of multiples. For example, at least one of A, B and C may include the following situations: ①A; ②B; ③C; ④A and B; ⑤A and C; ⑥B and C; ⑦A, B and C.

本申请实施例描述的网络架构以及应用场景是为了更加清楚的说明本申请实施例的技术方案,并不构成对本申请实施例提供的技术方案的限定,本领域技术人员可知,随着网络架构的演变和新应用场景的出现,本申请实施例提供的技术方案对于类似的技术问题同样适用。The network architecture and application scenarios described in the embodiments of the present application are for more clearly illustrating the technical solutions of the embodiments of the present application, and do not constitute limitations on the technical solutions provided by the embodiments of the present application. With the evolution and emergence of new application scenarios, the technical solutions provided by the embodiments of the present application are also applicable to similar technical problems.

在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件程序实现时,可以全部或部分地以计算机程序产品的形式来实现。该计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行计算机执行指令时,全部或部分地产生按照本申请实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或者数据中心通过有线(例如同轴电缆、光纤、数字用户线(digital subscriber line,DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可以用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质(例如,软盘、硬盘、磁带),光介质(例如,DVD)、或者半导体介质(例如固态硬盘(solid state disk,SSD))等。In the above embodiments, all or part of them may be implemented by software, hardware, firmware or any combination thereof. When implemented using a software program, 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 computer-executed instructions are loaded and executed on a computer, the processes or functions described in the embodiments of the present application 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 devices. The computer instructions may be stored in or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from a website, computer, server, or data center Transmission to another website site, computer, server or data center by wired (such as coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (such as infrared, wireless, microwave, etc.). The computer-readable storage medium may be any available medium that can be accessed by a computer, or may be a data storage device including one or more servers, data centers, etc. that can be integrated with the medium. The available medium may be a magnetic medium (such as a floppy disk, a hard disk, or a magnetic tape), an optical medium (such as a DVD), or a semiconductor medium (such as a solid state disk (solid state disk, SSD)), etc.

尽管在此结合各实施例对本申请进行了描述,然而,在实施所要求保护的本申请过程中,本领域技术人员通过查看所述附图、公开内容、以及所附权利要求书,可理解并实现所述公开实施例的其他变化。在权利要求中,“包括”(comprising)一词不排除其他组成部分或步骤,“一”或“一个”不排除多个的情况。单个处理器或其他单元可以实现权利要求中列举的若干项功能。相互不同的从属权利要求中记载了某些措施,但这并不表示这些措施不能组合起来产生良好的效果。Although the present application has been described in conjunction with various embodiments here, however, in the process of implementing the claimed application, those skilled in the art can understand and Other variations of the disclosed embodiments are implemented. In the claims, the word "comprising" does not exclude other components or steps, and "a" or "an" does not exclude a plurality. A single processor or other unit may fulfill the functions of several items recited in the claims. The mere fact that certain measures are recited in mutually different dependent claims does not indicate that these measures cannot be combined to advantage.

尽管结合具体特征及其实施例对本申请进行了描述,显而易见的,在不脱离本申请的精神和范围的情况下,可对其进行各种修改和组合。相应地,本说明书和附图仅仅是所附权利要求所界定的本申请的示例性说明,且视为已覆盖本申请范围内的任意和所有修改、变化、组合或等同物。显然,本领域的技术人员可以对本申请进行各种改动和变型而不脱离本申请的精神和范围。这样,倘若本申请的这些修改和变型属于本申请权利要求及其等同技术的范围之内,则本申请也意图包含这些改动和变型在内。Although the application has been described in conjunction with specific features and embodiments thereof, it will be apparent that various modifications and combinations can be made thereto without departing from the spirit and scope of the application. Accordingly, the specification and drawings are merely illustrative of the application as defined by the appended claims and are deemed to cover any and all modifications, variations, combinations or equivalents within the scope of this application. Obviously, those skilled in the art can make various changes and modifications to the application without departing from the spirit and scope of the application. In this way, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalent technologies, the present application is also intended to include these modifications and variations.

Claims (26)

1. a kind of method of management agreement data cell PDU session, which is characterized in that the described method includes:
Session management network element initiates to determine at least one PDU session in the PDU session established from terminal;Wherein, described at least one A PDU session is in activated state;
The session management network element sends the first information to access network equipment;The first information includes at least one described PDU The identification information of session, the first information are used to indicate the use that the access network equipment discharges at least one PDU session Family face interface-free resources retain the configuration information of user face interface-free resources and the context of at least one PDU session.
2. the method according to claim 1, wherein the session management network element initiates the PDU established from terminal At least one PDU session is determined in session, comprising:
The session management network element determines that at least one described PDU session belongs to following any PDU session:
The PDU session for needing to transmit without data in preset time period;
In switching flow, all service quality streams are all by the PDU session of target access network equipment refusal;
LADN PDU session when the terminal is out of local data network coverage LADN;
When the terminal needs to be entered by connected state pause state, the PDU session in activated state;
The terminal out of permission range when, the PDU session in activated state.
3. method according to claim 1 or 2, which is characterized in that at least one described PDU session is to be able to enter suspend mode The PDU session of state, the method also includes:
The session management network element is according to the session management subscription data of the terminal, the tactful and described session pipe of the terminal At least one of being locally configured for network element is managed, determines that at least one described PDU session is to be able to enter the PDU meeting of dormant state Words;
Alternatively, the session management network element receives the second information that the terminal is sent, according to second information determination At least one PDU session is to be able to enter the PDU session of dormant state;Wherein, second information includes at least one described PDU The identification information of session and at least one described PDU session of expression are able to enter the information of dormant state;
Alternatively, the session management network element receives the second information that the terminal is sent, according to the session management label of the terminal About the tactful and described session management network element of data, the terminal at least one of be locally configured and second information Determine that at least one described PDU session is to be able to enter the PDU session of dormant state;Wherein, second information include it is described extremely The identification information of a few PDU session and at least one described PDU session of expression are able to enter the information of dormant state.
4. method according to any one of claims 1 to 3, which is characterized in that the method also includes:
The session management network element receives the third information that the access network equipment is sent;Wherein, the third information includes one The identification information of a or multiple PDU sessions, one or more of PDU sessions are the terminals from least one described PDU meeting It is determined in words;The third information is used to indicate the use that one or more of PDU sessions have been established in the access network equipment Family face interface-free resources.
5. a kind of method of management agreement data cell PDU session, which is characterized in that the described method includes:
Access network equipment receives the first information that session management network element is sent;Wherein, the first information includes at least one PDU The identification information of session, at least one described PDU session are that the session management network element is initiated in the PDU session established from terminal Determining, at least one described PDU session is in activated state;
The access network equipment discharges the user face interface-free resources of at least one PDU session, protects according to the first information Stay the configuration information of user face interface-free resources and the context of at least one PDU session.
6. according to the method described in claim 5, it is characterized in that, the method also includes:
The access network equipment sends the 4th information according to the first information, Xiang Suoshu terminal;Wherein, the 4th packet The identification information of at least one PDU session is included, the 4th information is used to indicate at least one described in the terminal release The user face interface-free resources of PDU session, retain user face interface-free resources configuration information and at least one described PDU session Context.
7. method according to claim 5 or 6, which is characterized in that the method also includes:
The access network equipment receives the 5th information that the terminal is sent;Wherein, the 5th information includes one or more The identification information of PDU session, one or more of PDU sessions are that the terminal is determined from least one described PDU session 's;
The access network equipment is matched according to the 5th information and the user face interface-free resources of one or more of PDU sessions Confidence breath, establishes the user face interface-free resources of one or more of PDU sessions.
8. the method according to the description of claim 7 is characterized in that the method also includes:
The access network equipment sends third information to the session management network element;Wherein, the third information includes described one The identification information of a or multiple PDU sessions;The third information be used to indicate the access network equipment have been established it is one or The user face interface-free resources of multiple PDU sessions.
9. according to the described in any item methods of claim 5 to 8, which is characterized in that in switching flow, the access network equipment It is source access network equipment;The method also includes:
The source access network equipment sends the context of one or more of PDU sessions to target access network equipment.
10. a kind of method of management agreement data cell PDU session, which is characterized in that the described method includes:
Terminal receives the 4th information that access network equipment is sent;Wherein, the 4th information includes the mark of at least one PDU session Know information, at least one described PDU session is that session management network element initiates to determine in the PDU session established from terminal, described At least one PDU session is in activated state;
The terminal discharges the user face interface-free resources of at least one PDU session according to the 4th information, described in reservation The context of the configuration information of user face interface-free resources and at least one PDU session.
11. according to the method described in claim 10, it is characterized in that, the method also includes:
The terminal sends the second information to the session management network element;Wherein, second information include it is described at least one The identification information of PDU session and at least one described PDU session of expression are able to enter the information of dormant state, and second information is used It initiates to determine at least one described PDU session in the PDU session established from the terminal in the session management network element.
12. method described in 0 or 11 according to claim 1, which is characterized in that the method also includes:
The terminal is established one or more according to the configuration information of the user face interface-free resources of one or more PDU sessions The user face interface-free resources of a PDU session;Wherein, one or more of PDU sessions be the terminal from it is described at least one It is determined in PDU session;
The terminal sends the 5th information to the access network equipment;Wherein, the 5th information includes one or more of The identification information of PDU session, the 5th information are used to indicate the access network equipment and establish one or more of PDU sessions User face interface-free resources.
13. a kind of session management network element, which is characterized in that the session management network element includes:
Processing unit determines at least one PDU session for initiating from terminal in the PDU session established;Wherein, described at least one A PDU session is in activated state;
Transmit-Receive Unit, for sending the first information to access network equipment;The first information includes at least one described PDU session Identification information, the first information is used to indicate the user face that the access network equipment discharges at least one PDU session Interface-free resources retain the configuration information of user face interface-free resources and the context of at least one PDU session.
14. session management network element according to claim 13, which is characterized in that
The processing unit is specifically used for: determine that at least one described PDU session belongs to following any PDU session:
The PDU session for needing to transmit without data in preset time period;
In switching flow, all service quality streams are all by the PDU session of target access network equipment refusal;
LADN PDU session when the terminal is out of local data network coverage LADN;
When the terminal needs to be entered by connected state pause state, the PDU session in activated state;
The terminal out of permission range when, the PDU session in activated state.
15. session management network element described in 3 or 14 according to claim 1, which is characterized in that at least one described PDU session is It is able to enter the PDU session of dormant state;
The processing unit is specifically used for: according to the session management subscription data of the terminal, the strategy of the terminal and described Session management network element at least one of is locally configured, and determines that at least one described PDU session is to be able to enter dormant state PDU session;
Alternatively, the Transmit-Receive Unit is also used to, the second information that the terminal is sent is received, the processing unit is specifically used for, Determine that at least one described PDU session is to be able to enter the PDU session of dormant state according to second information;Wherein, described Two information include the identification information of at least one PDU session and indicate that at least one described PDU session is able to enter suspend mode The information of state;
Alternatively, the Transmit-Receive Unit is also used to, the second information that the terminal is sent is received, the processing unit is specifically used for, According to the session management subscription data of the terminal, the terminal being locally configured of tactful and described session management network element in At least one and described second information determines that at least one described PDU session is to be able to enter the PDU session of dormant state;Its In, second information includes the identification information of at least one PDU session and indicates that at least one described PDU session can Into the information of dormant state.
16. 3 to 15 described in any item session management network elements according to claim 1, which is characterized in that
The Transmit-Receive Unit is also used to, and receives the third information that the access network equipment is sent;Wherein, the third information includes The identification information of one or more PDU sessions, one or more of PDU sessions are the terminals from least one described PDU It is determined in session;The third information is used to indicate the access network equipment and one or more of PDU sessions has been established User face interface-free resources.
17. a kind of access network equipment, which is characterized in that the access network equipment includes:
Transmit-Receive Unit, for receiving the first information of session management network element transmission;Wherein, the first information includes at least one The identification information of PDU session, at least one described PDU session are that the session management network element initiates the PDU meeting established from terminal It is determined in words, at least one described PDU session is in activated state;
Processing unit, for discharging the user face interface-free resources of at least one PDU session, protecting according to the first information Stay the configuration information of user face interface-free resources and the context of at least one PDU session.
18. access network equipment according to claim 17, which is characterized in that
The Transmit-Receive Unit is also used to, and according to the first information, Xiang Suoshu terminal sends the 4th information;Wherein, the described 4th Information includes the identification information of at least one PDU session, and it is described extremely that the 4th information is used to indicate the terminal release The user face interface-free resources of a few PDU session, retain user face interface-free resources configuration information and it is described at least one The context of PDU session.
19. access network equipment described in 7 or 18 according to claim 1, which is characterized in that
The Transmit-Receive Unit is also used to, and receives the 5th information that the terminal is sent;Wherein, the 5th information include one or The identification information of multiple PDU sessions, one or more of PDU sessions are the terminals from least one described PDU session Determining;
The processing unit is also used to, and eats dishes without rice or wine to provide according to the user face of the 5th information and one or more of PDU sessions The configuration information in source establishes the user face interface-free resources of one or more of PDU sessions.
20. access network equipment according to claim 19, which is characterized in that
The Transmit-Receive Unit is also used to, and Xiang Suoshu session management network element sends third information;Wherein, the third information includes institute State the identification information of one or more PDU sessions;The third information is used to indicate the access network equipment and has been established described one The user face interface-free resources of a or multiple PDU sessions.
21. 7 to 20 described in any item access network equipments according to claim 1, which is characterized in that described in switching flow Access network equipment is source access network equipment;The Transmit-Receive Unit is also used to, and is sent to target access network equipment one or more The context of a PDU session.
22. a kind of terminal installation, which is characterized in that the terminal installation includes:
Transmit-Receive Unit, for receiving the 4th information of access network equipment transmission;Wherein, the 4th information includes at least one The identification information of PDU session, at least one described PDU session are that session management network element is initiated in the PDU session established from terminal Determining, at least one described PDU session is in activated state;
Processing unit retains for discharging the user face interface-free resources of at least one PDU session according to the 4th information The context of the configuration information of user face interface-free resources and at least one PDU session.
23. terminal installation according to claim 22, which is characterized in that
The Transmit-Receive Unit is also used to, and Xiang Suoshu session management network element sends the second information;Second information include it is described extremely The identification information of a few PDU session and indicate that at least one described PDU session is able to enter the information of dormant state, described second Information is initiated to determine at least one described PDU session in the PDU session established from the terminal for the session management network element.
24. the terminal installation according to claim 22 or 23, which is characterized in that
The processing unit is also used to, and according to the configuration information of the user face interface-free resources of one or more PDU sessions, establishes institute State the user face interface-free resources of one or more PDU sessions;Wherein, one or more of PDU sessions are the terminals from institute State determination at least one PDU session;
The Transmit-Receive Unit is also used to, and Xiang Suoshu access network equipment sends the 5th information;Wherein, the 5th information includes described The identification information of one or more PDU sessions, the 5th information be used to indicate the access network equipment establish it is one or The user face interface-free resources of multiple PDU sessions.
25. a kind of system of management agreement data cell PDU session, which is characterized in that any including such as claim 13 to 16 Session management network element described in, such as the described in any item access network equipments of claim 17 to 21, and such as claim 22 To 24 described in any item terminal installations.
26. a kind of computer readable storage medium, which is characterized in that including computer instruction, when the computer instruction is being counted When being run on calculation machine, so that as the described in any item methods of claim 1 to 12 are performed.
CN201810493181.4A 2018-05-21 2018-05-21 Method, network element, device, apparatus, system and storage medium for managing PDU session Active CN110519809B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201810493181.4A CN110519809B (en) 2018-05-21 2018-05-21 Method, network element, device, apparatus, system and storage medium for managing PDU session
PCT/CN2019/087861 WO2019223702A1 (en) 2018-05-21 2019-05-21 Pdu session management method, apparatus and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810493181.4A CN110519809B (en) 2018-05-21 2018-05-21 Method, network element, device, apparatus, system and storage medium for managing PDU session

Publications (2)

Publication Number Publication Date
CN110519809A true CN110519809A (en) 2019-11-29
CN110519809B CN110519809B (en) 2020-12-15

Family

ID=68617134

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810493181.4A Active CN110519809B (en) 2018-05-21 2018-05-21 Method, network element, device, apparatus, system and storage medium for managing PDU session

Country Status (2)

Country Link
CN (1) CN110519809B (en)
WO (1) WO2019223702A1 (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111278139A (en) * 2020-02-13 2020-06-12 展讯通信(上海)有限公司 Method, device and storage medium for managing PDU session
CN113133063A (en) * 2019-12-30 2021-07-16 中兴通讯股份有限公司 Session release method, electronic device and storage medium
WO2021168862A1 (en) * 2020-02-29 2021-09-02 华为技术有限公司 Communication method and device
CN113810950A (en) * 2020-06-15 2021-12-17 华为技术有限公司 Communication method and device
CN113839981A (en) * 2020-06-24 2021-12-24 中兴通讯股份有限公司 Session management method, device and storage medium
CN116601993A (en) * 2020-12-09 2023-08-15 高通股份有限公司 Method and apparatus for prolonging UE fast dormancy at upper layers

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109246853A (en) * 2017-06-08 2019-01-18 华为技术有限公司 A kind of conversation processing method, apparatus and system
US12471171B2 (en) * 2019-07-15 2025-11-11 Qualcomm Incorporated RRC layer based suspend and resume for multi-SIM UE

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107690161A (en) * 2016-08-05 2018-02-13 电信科学技术研究院 A kind of processing method and equipment of PDU sessions
WO2018034337A1 (en) * 2016-08-19 2018-02-22 Nec Corporation Method for user plane connection activation or deactivation per session
WO2018038503A1 (en) * 2016-08-22 2018-03-01 삼성전자 주식회사 Method and apparatus for operating wireless communication system having separated mobility management and session management

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9998980B2 (en) * 2016-03-29 2018-06-12 Lg Electronics Inc. Wireless power transmitter and receiver
US10506550B2 (en) * 2016-07-22 2019-12-10 Lg Electronics Inc. Method of delivering downlink signaling and device supporting the same
US20180077682A1 (en) * 2016-09-15 2018-03-15 Huawei Technologies Co., Ltd. Method and apparatus for application aware notifications in a wireless communication network

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107690161A (en) * 2016-08-05 2018-02-13 电信科学技术研究院 A kind of processing method and equipment of PDU sessions
WO2018034337A1 (en) * 2016-08-19 2018-02-22 Nec Corporation Method for user plane connection activation or deactivation per session
WO2018038503A1 (en) * 2016-08-22 2018-03-01 삼성전자 주식회사 Method and apparatus for operating wireless communication system having separated mobility management and session management

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
LG ELECTRONICS,SAMSUNG: "TS 23.502: PDU Session deactivation during N2 handover procedure;S2-179064", 《SA WG2 MEETING #124》 *
QUALCOMM INCORPORATED: "23.502: PDU session release procedure update;S2-178700", 《SA WG2 MEETING #124》 *

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113133063A (en) * 2019-12-30 2021-07-16 中兴通讯股份有限公司 Session release method, electronic device and storage medium
CN113133063B (en) * 2019-12-30 2024-04-26 中兴通讯股份有限公司 A session release method, electronic device and storage medium
CN111278139A (en) * 2020-02-13 2020-06-12 展讯通信(上海)有限公司 Method, device and storage medium for managing PDU session
CN111278139B (en) * 2020-02-13 2023-04-28 展讯通信(上海)有限公司 Method, device and storage medium for managing PDU session
WO2021168862A1 (en) * 2020-02-29 2021-09-02 华为技术有限公司 Communication method and device
CN114902609A (en) * 2020-02-29 2022-08-12 华为技术有限公司 Communication method and device
CN114902609B (en) * 2020-02-29 2023-07-18 华为技术有限公司 A communication method, device, system and storage medium
CN113810950A (en) * 2020-06-15 2021-12-17 华为技术有限公司 Communication method and device
CN113839981A (en) * 2020-06-24 2021-12-24 中兴通讯股份有限公司 Session management method, device and storage medium
CN116601993A (en) * 2020-12-09 2023-08-15 高通股份有限公司 Method and apparatus for prolonging UE fast dormancy at upper layers

Also Published As

Publication number Publication date
WO2019223702A1 (en) 2019-11-28
CN110519809B (en) 2020-12-15

Similar Documents

Publication Publication Date Title
US12096510B2 (en) Session establishment method and system, and device
US11871283B2 (en) Service continuity implementation method, device, and service continuity implementation system
CN110519809B (en) Method, network element, device, apparatus, system and storage medium for managing PDU session
EP4009694B1 (en) Information transmission method and apparatus
CN110662270B (en) Communication method and device
CN110049485B (en) Method, device and system for configuring strategy of UE
KR20220034855A (en) Data transmission methods and related devices
US11824783B2 (en) Maximum data burst volume (MDBV) determining method, apparatus, and system
WO2020103834A1 (en) Time sensitive networking communication method and apparatus thereof
US11134436B2 (en) Method for selecting access network type, device, and system
CN110366144A (en) Method and device for subscribing service
WO2018232570A1 (en) Registration and session establishment methods, terminal, and amf entity
CN108462735A (en) A method, device and system for selecting a session management functional entity
CN110381554B (en) Communication method, apparatus, system and computer storage medium
WO2022001761A1 (en) Communication method and apparatus
WO2017166221A1 (en) Radio access control method, device and system
CN113746585A (en) Time service method and communication device
WO2020177632A1 (en) Security protection method and apparatus
WO2022237505A1 (en) Communication method, device and system
US20240365265A1 (en) Time service method, communication apparatus, and communication system
CN111491370A (en) A communication method, network element, system and storage medium
CN110708727B (en) Relocation management method and device
CN114430592A (en) Communication method and corresponding device
WO2020216083A1 (en) Communication method, communication apparatus, and terminal device
WO2021056574A1 (en) Communication method and device

Legal Events

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