CN110140333B - Method and terminal for session management - Google Patents

Method and terminal for session management Download PDF

Info

Publication number
CN110140333B
CN110140333B CN201780081870.8A CN201780081870A CN110140333B CN 110140333 B CN110140333 B CN 110140333B CN 201780081870 A CN201780081870 A CN 201780081870A CN 110140333 B CN110140333 B CN 110140333B
Authority
CN
China
Prior art keywords
ladn
terminal
smf
information
pdu session
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201780081870.8A
Other languages
Chinese (zh)
Other versions
CN110140333A (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
Publication of CN110140333A publication Critical patent/CN110140333A/en
Application granted granted Critical
Publication of CN110140333B publication Critical patent/CN110140333B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/40Network security protocols

Landscapes

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

Abstract

本申请实施例涉及一种会话管理的方法及终端。该方法包括:终端接收接入与移动管理功能实体AMF发送的第一消息,该第一消息包括或者不包括LADN的信息;终端根据第一消息确定LADN的可用状态发生变化;终端修改或者释放所述PDU会话。通过本申请实施例,减少了由于终端处于空闲态时,网络修改或释放PDU会话造成的数据丢失,也减少了网络设备因为该接入LADN的PDU会话有下行数据到达而寻呼终端造成的信令浪费。

Figure 201780081870

The embodiments of the present application relate to a method and a terminal for session management. The method includes: the terminal receives a first message sent by the access and mobility management function entity AMF, the first message includes or does not include information of the LADN; the terminal determines according to the first message that the available state of the LADN changes; the terminal modifies or releases the described PDU session. Through the embodiments of the present application, the data loss caused by the network modifying or releasing the PDU session when the terminal is in an idle state is reduced, and the information caused by the network device paging the terminal due to the arrival of downlink data in the PDU session accessing the LADN is also reduced. to waste.

Figure 201780081870

Description

一种会话管理的方法及终端Method and terminal for session management

技术领域technical field

本申请实施例涉及通信技术领域,尤其涉及一种会话管理的方法及终端。The embodiments of the present application relate to the field of communication technologies, and in particular, to a method and terminal for session management.

背景技术Background technique

在5G网络中,中引入了本地区域数据网络(Local Area Data Network,LADN)的概念,终端在注册过程(Registration Procedure)时,接入与移动功能实体(access andmobility management function,AMF)向终端提供LADN信息(例如,LADN可用信息(LADNavailability information)),LADN availability information包括LADN数据网络名称(LADN data network name,LADN DNN)和LADN的服务区域内(LADN Service Area),该LADN的服务区域为终端注册区域内的一组特定的跟踪域(tracking area,TA),当终端位于LADNService Area之内时,才可以建立与该LADN的协议数据单元(Packet Data Unit,PDU)会话,当终端移出LADN Servcie Area后,将无法实现基于LADN的数据的传输。In the 5G network, the concept of Local Area Data Network (LADN) is introduced into the terminal. During the registration procedure (Registration Procedure) of the terminal, the access and mobility management function (AMF) provides the terminal with LADN information (for example, LADN availability information), the LADN availability information includes the LADN data network name (LADN data network name, LADN DNN) and the LADN service area (LADN Service Area), the LADN service area is the terminal A set of specific tracking areas (TA) in the registration area. When the terminal is located in the LADN Service Area, a protocol data unit (PDU) session with the LADN can be established. When the terminal moves out of the LADN Servcie After Area, data transmission based on LADN cannot be realized.

通常接入与移动功能实体(Access and Mobility Management Function,AMF)向会话管理实体(Session Management Function,SMF)提供终端是否在LADNService Area的信息,以便SMF确定终端能否建立接入LADN的会话,或者对当前已经建立的LADN的会话进行管理,从而保证终端只有在LADN Service Area内时才能传输基于LADN的数据。Usually the Access and Mobility Management Function (AMF) provides the Session Management Function (SMF) with information about whether the terminal is in the LADN Service Area, so that the SMF can determine whether the terminal can establish a session to access the LADN, or Manage the currently established LADN session, so as to ensure that the terminal can transmit LADN-based data only when it is in the LADN Service Area.

在SMF确定终端移出LADN的服务区域后,可以通知用户面功能(user planefunction,UPF)丢弃该接入LADN的会话的下行数据或者停止向SMF发送该会话相关的下行数据通知(Downlink Data Notification,DDN),但是,当终端处于空闲态时,则可能会造成数据丢失。在SMF确定终端移出LADN的服务区域后,SMF不通知UPF丢弃该会话的下行数据或者停止向SMF发送该会话相关的DDN,此时,则可能会浪费信令资源。After the SMF determines that the terminal moves out of the service area of the LADN, it can notify the user plane function (UPF) to discard the downlink data of the session accessing the LADN or stop sending the downlink data notification (DDN) related to the session to the SMF. ), however, data loss may occur when the terminal is in an idle state. After the SMF determines that the terminal moves out of the LADN service area, the SMF does not notify the UPF to discard the downlink data of the session or stop sending the DDN related to the session to the SMF. In this case, signaling resources may be wasted.

发明内容SUMMARY OF THE INVENTION

本申请实施例提供了一种会话管理的方法及设备。以实现对于接入LADN的会话的管理,降低数据丢失或者信令浪费的问题。Embodiments of the present application provide a method and device for session management. In order to realize the management of the session accessing the LADN, the problem of data loss or signaling waste is reduced.

第一方面,提供了一种会话管理的方法。其中,终端存在接入LADN的PDU会话,该方法包括:终端在第一注册区域(registration area,RA)内接收接入与移动管理功能实体AMF发送的第一消息,所述第一消息包括或者不包括所述LADN的信息;其中,所述第一RA为所述终端的当前注册区域;所述终端根据第一消息确定所述LADN的可用状态发生变化;终端修改或者释放所述PDU会话。其中,第一消息可以为注册接受消息(RegistrationAccept)或者UE配置更新命令消息(UE Configration Update Command),LADN的信息可以为LADN的可用信息。通过本申请实施例,对于LADN的会话,当终端从由支持LADN的信息的注册区域进入到不支持LADN的信息注册区域时,由终端修改或释放PDU会话,或者,终端由不支持LADN的信息的注册区域进入到支持LADN的信息的注册区域时,由终端修改PDU会话,从而减少了由于终端处于空闲态时,由于所述的注册区域不包括LADN信息,网络设备因为该接入LADN的PDU会话有下行数据到达而寻呼终端造成的信令浪费。In a first aspect, a method for session management is provided. Wherein, the terminal has a PDU session accessing the LADN, and the method includes: the terminal receives, in a first registration area (registration area, RA), a first message sent by the access and mobility management function entity AMF, where the first message includes or The information of the LADN is not included; wherein, the first RA is the current registration area of the terminal; the terminal determines that the availability state of the LADN has changed according to the first message; the terminal modifies or releases the PDU session. The first message may be a registration accept message (RegistrationAccept) or a UE configuration update command message (UE Configration Update Command), and the information of the LADN may be available information of the LADN. Through the embodiments of this application, for a LADN session, when a terminal enters a registration area for information that does not support LADN from a registration area that supports LADN, the terminal modifies or releases the PDU session, or the terminal uses information that does not support LADN to modify or release the PDU session. When the registration area of the LADN enters the registration area that supports LADN information, the terminal modifies the PDU session, thereby reducing the need for the network device to access the LADN because the registration area does not include LADN information when the terminal is in an idle state. There is a waste of signaling caused by paging the terminal due to the arrival of downlink data in the session.

可以理解的是,第一消息中不包括LADN的信息,具体可以为第一消息中无LADN信息,或者第一消息中LADN的信息为空,或者第一消息中包括其他指示信息指示无LADN的信息,本发明不做具体限制。It can be understood that the first message does not include LADN information, specifically, there may be no LADN information in the first message, or the LADN information in the first message is empty, or the first message includes other indication information indicating that there is no LADN. information, the present invention is not specifically limited.

需要说明的是,终端存在接入LADN的PDU会话,可以指终端保存有接入LADN的PDU会话的上下文,其中PDU会话的上下文可以包括下述的一项或者多项:PDU会话的标识;PDU会话的会话服务连续性(session service continuity,SSC)模式;PDU会话的类型(例如IP类型),以太(ethernet)类型,非结构化(unstructured)类型等;PDU会话对应的数据网络名称(data network name,DNN);PDU会话对应的网络切片信息(例如单一网络切片选择辅助信息(single network slice selection information,S-NSSAI)),网络切片标识(NSI)等;PDU会话的服务质量流标识(QoS flow identifier,QFI),QoS流对应的QoS参数,例如5G服务质量指示(5G QoS indicator,5QI),保证流比特率(guaranteed flow bit rate,GFBR),最大流比特率(maximum flow bit rate,MFBR),会话聚合最大比特速率(sessionaggregate maximum bit rate,Session-AMBR),PDU会话对应的无线承载信息,例如数据无线承载(data radio bearer,DRB),也可以指UE建立有接入LADN的PDU会话,终端可以通过该PDU会话传输上下行数据。具体地,接入LAND的PDU会话是指PDU会话对应的DNN属性为LADN DNN。It should be noted that the existence of a PDU session for the terminal to access the LADN may mean that the terminal saves the context of the PDU session for access to the LADN, where the context of the PDU session may include one or more of the following: the identifier of the PDU session; The session service continuity (SSC) mode of the session; the type of the PDU session (eg IP type), ethernet type, unstructured type, etc.; the data network name (data network) corresponding to the PDU session name, DNN); network slice information corresponding to the PDU session (such as single network slice selection information (S-NSSAI)), network slice identifier (NSI), etc.; the quality of service flow identifier (QoS) of the PDU session flow identifier, QFI), QoS parameters corresponding to the QoS flow, such as 5G quality of service indicator (5G QoS indicator, 5QI), guaranteed flow bit rate (GFBR), maximum flow bit rate (maximum flow bit rate, MFBR) ), the session aggregate maximum bit rate (Session-AMBR), the radio bearer information corresponding to the PDU session, such as the data radio bearer (DRB), which can also refer to the UE establishing a PDU session accessing the LADN , the terminal can transmit uplink and downlink data through the PDU session. Specifically, the PDU session accessing the LAND means that the DNN attribute corresponding to the PDU session is LADN DNN.

在第一方面的第一个可选地实现中,终端根据第一消息确定所述LADN的可用状态发生变化,包括:当所述第一消息不包括所述LADN的信息,进一步地,所述终端判断第二注册区域包括所述LADN的信息时,所述终端确定注册区域内所述LADN的信息发生变化;或者,当所述第一消息不包括所述LADN的信息,并且第一注册区域在收到所述第一消息之前包括所述LADN的信息时,所述终端确定注册区域内所述LADN的信息发生变化;其中,所述第一注册区域为所述终端的当前注册区域,所述第二注册区域为所述终端进入当前注册区域前的注册区域。In a first optional implementation of the first aspect, the terminal determines that the availability state of the LADN changes according to the first message, including: when the first message does not include the information of the LADN, further, the When the terminal determines that the second registration area includes the LADN information, the terminal determines that the LADN information in the registration area has changed; or, when the first message does not include the LADN information, and the first registration area When the information of the LADN is included before receiving the first message, the terminal determines that the information of the LADN in the registration area has changed; wherein, the first registration area is the current registration area of the terminal, and the The second registration area is the registration area before the terminal enters the current registration area.

在第一方面的第二种可选地实现中,终端修改PDU会话,包括:终端向SMF发送第一会话修改请求消息,该第一会话修改请求消息包括第一指示,该第一指示用于指示当第一RA不包括LADN的信息。可以理解的是,终端还需要向SMF接入到该LADN的PDU会话的标识,该PDU会话的标识可以包括在第一会话修改请求消息中,也可以包括在终端向AMF发送的NAS消息中,再由AMF转发给SMF。通过本申请实施例可以实现,基于当前注册区域和LADN的服务区域,来对PDU会话进行管理,粒度较细。In a second optional implementation of the first aspect, modifying the PDU session by the terminal includes: the terminal sends a first session modification request message to the SMF, where the first session modification request message includes a first indication, and the first indication is used for Information indicating when the first RA does not include the LADN. It can be understood that the terminal also needs to access to the SMF the identifier of the PDU session of the LADN, and the identifier of the PDU session may be included in the first session modification request message, or may be included in the NAS message sent by the terminal to the AMF, It is then forwarded by AMF to SMF. The embodiment of the present application can realize that the PDU session is managed based on the current registration area and the service area of the LADN, and the granularity is relatively fine.

在第一方面的第三个可选地实现中,终端释放所述PDU会话,包括:终端向会话管理实体SMF发送会话释放请求消息。通过本申请实施例可以实现,在终端位于LADN的服务区域以外时,由终端发起PDU会话的释放,从而降低了由于PDU会话的存在,但是终端不处于LADN的服务区域时,寻呼终端造成的信令浪费。In a third optional implementation of the first aspect, releasing the PDU session by the terminal includes: the terminal sending a session release request message to the session management entity SMF. The embodiments of the present application can realize that when the terminal is located outside the service area of the LADN, the terminal initiates the release of the PDU session, thereby reducing the occurrence of paging the terminal due to the existence of the PDU session but the terminal is not located in the service area of the LADN. Signaling waste.

在第一方面的第四个可选地实现中,该方法还包括:终端接收SMF发送的第一会话修改命令消息,该第一会话修改命令消息包括PDU会话的标识和第一参数,该第一参数用于指示PDU会话不可用,PDU会话的标识用于识别所述PDU会话。其中,PDU会话不可用包括以下的一项或者多项的组合:LADN会话的用户面连接已释放;已通知UPF丢弃LADN会话的下行数据;已通知UPF停止向SMF发送该会话相关的下行数据通知(downlink data notification,DDN),和LADN会话对应的门控设置为关闭。通过本申请实施例可以实现,在网络侧修改或释放PDU会话后,通知终端,以便终端同步修改或释放该PDU会话,从而降低了由于PDU会话的存在,但是终端确不处于LADN的服务区域时,寻呼终端造成的信令浪费。In a fourth optional implementation of the first aspect, the method further includes: the terminal receiving a first session modification command message sent by the SMF, where the first session modification command message includes an identifier of the PDU session and a first parameter, the first session modification command message A parameter is used to indicate that the PDU session is not available, and the identity of the PDU session is used to identify the PDU session. The PDU session unavailable includes one or a combination of the following: the user plane connection of the LADN session has been released; the UPF has been notified to discard the downlink data of the LADN session; the UPF has been notified to stop sending downlink data notifications related to the session to the SMF (downlink data notification, DDN), and the gate corresponding to the LADN session is set to off. The embodiment of the present application can realize that after the network side modifies or releases the PDU session, the terminal is notified, so that the terminal can synchronously modify or release the PDU session, thereby reducing the situation when the terminal is not in the service area of the LADN due to the existence of the PDU session. , the signaling waste caused by paging the terminal.

在第一方面的第五个可选地实现中,该方法还包括:终端将PDU会话标记为不可用。通过本申请实施例可以实现,终端通过对PDU会话进行标记,可以统计终端连续进入不包括LADN的服务区域的注册区域次数,从而设置规则,在连续进入不包括LADN的服务区域的注册区域小于或等于设定次数的情况下,终端修改该PDU会话,当达到或超过该设定次数的情况下,终端释放该PDU会话,对接入LADN的PDU会话的管理粒度更细。In a fifth optional implementation of the first aspect, the method further includes: the terminal marking the PDU session as unavailable. The embodiment of the present application can realize that by marking the PDU session, the terminal can count the number of times that the terminal continuously enters the registration area of the service area that does not include LADN, so as to set a rule. In the case of equal to the set number of times, the terminal modifies the PDU session, and when the set number of times is reached or exceeded, the terminal releases the PDU session, and the management granularity of the PDU session accessing the LADN is finer.

在第一方面的第六个可选地实现中,终端根据第一消息确定LADN的可用状态发生变化,包括:当所述第一消息包括所述LADN的信息、且在所述终端接收所述第一消息之前所述第一RA内不包括所述LADN的信息时,所述终端确定所述LADN的可用状态发生变化;或者,当所述第一消息包括所述LADN的信息、且第二RA内不包括所述LADN的信息时,所述终端确定所述LADN的可用状态发生变化;所述第二RA为所述终端进入所述第一RA之前的RA。In a sixth optional implementation of the first aspect, the terminal determines that the availability state of the LADN changes according to the first message, including: when the first message includes the information of the LADN, and the terminal receives the When the information of the LADN is not included in the first RA before the first message, the terminal determines that the availability state of the LADN has changed; or, when the first message includes the information of the LADN and the second When the information of the LADN is not included in the RA, the terminal determines that the availability state of the LADN has changed; the second RA is the RA before the terminal enters the first RA.

在第一方面的第七个可选地实现中,该方法还包括:终端向SMF发送第二会话修改请求消息,该第二会话修改请求消息包括第二指示,该第二指示用于指示所述第一RA内不包括所述LADN的信息。通过本申请实施例可以实现,在终端重新进入包括LADN的服务区域的RA时,重新启用该接入LADN的PDU会话,以便进行数据传输,从而从更细的粒度对PDU会话进行管理,并且使得网络设备对于终端的寻呼更合理,节省了信令,提高了效率。In a seventh optional implementation of the first aspect, the method further includes: the terminal sends a second session modification request message to the SMF, where the second session modification request message includes a second indication, where the second indication is used to indicate the The information of the LADN is not included in the first RA. Through the embodiments of the present application, when the terminal re-enters the RA of the service area including the LADN, the PDU session accessing the LADN is re-enabled for data transmission, so that the PDU session can be managed from a finer granularity, and the The network equipment is more reasonable for paging of the terminal, saving signaling and improving efficiency.

在第一方面的第八个可选地实现中,该方法还包括:终端接收SMF发送的第二会话修改命令消息,该第二会话修改命令消息包括第二参数,该第二参数用于指示PDU会话可用。通过本申请实施例可以实现,网络侧与终端侧关于PDU会话状态的同步,从而降低了出现数据丢失的可能。In an eighth optional implementation of the first aspect, the method further includes: the terminal receives a second session modification command message sent by the SMF, where the second session modification command message includes a second parameter, and the second parameter is used to indicate PDU session is available. The embodiment of the present application can realize the synchronization of the PDU session state between the network side and the terminal side, thereby reducing the possibility of data loss.

在第一方面的第九个可选地实现中,该方法还包括:终端将PDU会话标记为可用。通过本申请实施例可以实现,终端通过对PDU会话进行标记,可以统计终端连续进入不包括LADN的服务区域的注册区域次数,从而设置规则,在连续进入不包括LADN的服务区域的注册区域小于或等于设定次数的情况下,终端修改该PDU会话,当达到或超过该设定次数的情况下,终端释放该PDU会话,对接入LADN的PDU会话的管理粒度更细。In a ninth optional implementation of the first aspect, the method further includes: the terminal marking the PDU session as available. The embodiment of the present application can realize that by marking the PDU session, the terminal can count the number of times that the terminal continuously enters the registration area of the service area that does not include LADN, so as to set a rule. In the case of equal to the set number of times, the terminal modifies the PDU session, and when the set number of times is reached or exceeded, the terminal releases the PDU session, and the management granularity of the PDU session accessing the LADN is finer.

通过本申请实施例,对于LADN的会话,当终端进入到不支持LADN的注册区域时,由终端修改或释放PDU会话,从而减少了网络设备因为该接入LADN的PDU会话有下行数据到达而寻呼终端造成的信令浪费。还可以基于当前注册区域和LADN的服务区域,来对PDU会话进行管理,粒度较细。According to the embodiment of the present application, for a LADN session, when a terminal enters a registration area that does not support LADN, the terminal modifies or releases the PDU session, thereby reducing the number of network devices searching for the LADN access PDU session due to the arrival of downlink data. Signaling waste caused by calling the terminal. The PDU session can also be managed based on the current registration area and the service area of the LADN with finer granularity.

第二方面,提供了一种会话管理的方法。其中,SMF存在终端接入LADN的PDU会话,该方法包括:SMF接收终端发送的会话修改请求消息,该会话修改请求消息包括指示,该指示用于指示注册区域包括或者不包括所述LADN的信息;SMF根据指示修改所述PDU会话,LADN的信息可以为LADN的可用信息。通过本申请实施例可以实现,基于当前注册区域和LADN的服务区域,来对PDU会话进行管理,粒度较细。In a second aspect, a method for session management is provided. The SMF has a PDU session in which the terminal accesses the LADN, and the method includes: the SMF receives a session modification request message sent by the terminal, where the session modification request message includes an indication, and the indication is used to indicate that the registration area includes or does not include the LADN information ; The SMF modifies the PDU session according to the instruction, and the information of the LADN may be the available information of the LADN. The embodiment of the present application can realize that the PDU session is managed based on the current registration area and the service area of the LADN, and the granularity is relatively fine.

在第二方面的第一个可选地实现中,当所述指示用于指示RA不包括LADN的信息时,SMF根据指示修改所述PDU会话,包括:SMF向终端发送第一会话修改命令消息,该第一会话修改命令消息包括PDU会话的标识和第一参数,该第一参数用于指示PDU会话不可用。通过本申请实施例可以实现,基于当前注册区域和LADN的服务区域,来对PDU会话进行管理,粒度较细。In a first optional implementation of the second aspect, when the indication is used to indicate that the RA does not include LADN information, the SMF modifies the PDU session according to the indication, including: the SMF sends a first session modification command message to the terminal , the first session modification command message includes an identifier of the PDU session and a first parameter, where the first parameter is used to indicate that the PDU session is unavailable. The embodiment of the present application can realize that the PDU session is managed based on the current registration area and the service area of the LADN, and the granularity is relatively fine.

在第二方面的第二个可选地实现中,SMF根据指示修改PDU会话,包括下述一项或多项:SMF将所述PDU会话标记为不可用;SMF通知用户面功能实体UPF丢弃所述PDU会话对应的下行数据;SMF通知UPF停止向所述SMF发送下行数据通知DDN。In a second optional implementation of the second aspect, the SMF modifies the PDU session according to the instruction, including one or more of the following: the SMF marks the PDU session as unavailable; the SMF notifies the user plane function entity UPF to discard the The downlink data corresponding to the PDU session; the SMF notifies the UPF to stop sending the downlink data to the SMF to notify the DDN.

在第二方面的第三个可选地实现中,当所述指示用于指示RA不包括LADN的信息时,所述SMF根据指示修改所述PDU会话,包括:SMF向终端发送第二会话修改命令消息,该第二会话修改命令消息包括PDU会话的标识和第二参数,该第二参数用于指示PDU会话可用。通过本申请实施例可以实现,在终端重新进入包括LADN的服务区域的RA时,重新启用该接入LADN的PDU会话,以便进行数据传输,从而从更细的粒度对PDU会话进行管理,并且使得网络设备对于终端的寻呼更合理,节省了信令,提高了效率。In a third optional implementation of the second aspect, when the indication is used to indicate that the RA does not include LADN information, the SMF modifies the PDU session according to the indication, including: the SMF sends a second session modification to the terminal The command message, the second session modification command message includes an identifier of the PDU session and a second parameter, where the second parameter is used to indicate that the PDU session is available. Through the embodiments of the present application, when the terminal re-enters the RA of the service area including the LADN, the PDU session accessing the LADN is re-enabled for data transmission, so that the PDU session can be managed from a finer granularity, and the The network equipment is more reasonable for paging of the terminal, saving signaling and improving efficiency.

可以理解的是,SMF根据指示修改所述PDU会话,SMF根据接收到的所述PDU会话的标识和所述指示修改所述PDU会话。It can be understood that the SMF modifies the PDU session according to the instruction, and the SMF modifies the PDU session according to the received identifier of the PDU session and the instruction.

第三方面,提供了一种服务订阅的方法。其中,SMF存在终端接入LADN的PDU会话,该方法包括:SMF向AMF订阅通知服务,该通知服务用于当预设事件发生时,AMF通知SMF,其中,LADN的可用状态发生变化。通过本申请实施例可以实现,通过本申请实施例可以实现SMF向AMF订阅终端移动到的RA包括LADN的服务区域的变化通知,当满足条件时,AMF通知SMF。对于PDU会话管理的粒度更细。In a third aspect, a method for service subscription is provided. The SMF has a PDU session in which the terminal accesses the LADN, and the method includes: the SMF subscribes to the AMF for a notification service, where the notification service is used to notify the SMF when a preset event occurs, wherein the available state of the LADN changes. The embodiment of the present application can realize the change notification of the service area of the RA including the LADN to which the AMF subscribes the terminal to be moved by the SMF to the AMF. When the conditions are met, the AMF notifies the SMF. More granularity for PDU session management.

在第三方面的第一个可选地实现中,SMF向AMF订阅通知服务,包括:SMF向AMF发送LADN的数据网络名称和预设事件,以向AMF订阅通知服务。通过本申请实施例可以实现SMF向AMF订阅终端移动到的RA包括LADN的服务区域的变化通知。对于PDU会话管理的粒度更细。In a first optional implementation of the third aspect, the SMF subscribes the notification service to the AMF, including: the SMF sends the data network name of the LADN and a preset event to the AMF to subscribe the notification service to the AMF. The embodiment of the present application can realize the change notification of the service area of the RA including the LADN to which the SMF moves to the AMF subscription terminal. More granularity for PDU session management.

在第三方面的第二个可选地实现中,LADN的可用状态发生变化,包括下述至少一种:第一注册区域内不包括所述LADN的信息,第二注册区域内包括所述LADN的信息;第一注册区域内从包括所述LADN的信息改变为不包括所述LADN的信息;第一注册区域内包括所述LADN的信息,第二注册区域内不包括所述LADN的信息;或者,第一注册区域内从不包括所述LADN的信息改变为包括所述LADN的信息;其中,所述第一注册区域是所述终端的当前注册区域,所述第二注册区域是所述终端进入到所述第一注册区域之前的注册区域,LADN的信息可以为LADN的可用信息。In a second optional implementation of the third aspect, the change in the available state of the LADN includes at least one of the following: the first registration area does not include the information of the LADN, and the second registration area includes the LADN The information of the LADN is changed from the information including the LADN in the first registration area to the information not including the LADN; the information of the LADN is included in the first registration area, and the information of the LADN is not included in the second registration area; Or, the first registration area is changed from information not including the LADN to information including the LADN; wherein the first registration area is the current registration area of the terminal, and the second registration area is the The terminal enters the registration area before the first registration area, and the information of the LADN may be the available information of the LADN.

在第三方面的第三个可选地实现中,SMF接收AMF发送的通知信息,该通知信息用于通知终端的注册区域包括或者不包括LADN的信息。SMF根据通知信息修改PDU会话。AMF通知终端移动到的RA包括LADN的服务区域的变化通知,由SMF发起LADN会话的释放或者修改,从而减少了网络设备因为该接入LADN的PDU会话有下行数据到达而寻呼终端造成的信令浪费。In a third optional implementation of the third aspect, the SMF receives notification information sent by the AMF, where the notification information is used to notify that the registration area of the terminal includes or does not include the information of the LADN. The SMF modifies the PDU session according to the notification information. The AMF notifies the RA that the terminal moves to, including the change notification of the service area of the LADN, and the SMF initiates the release or modification of the LADN session, thereby reducing the information caused by the network device paging the terminal due to the arrival of downlink data in the PDU session accessing the LADN. to waste.

在第三方面的第四个可选地实现中,SMF根据所述通知信息修改所述PDU会话,包括:当所述通知信息用于通知所述终端的注册区域不包括所述LADN的信息时,所述SMF执行下述一项或多项:通知用户面功能实体UPF丢弃所述PDU会话对应的下行数据;通知UPF停止向所述SMF发送所述PDU会话对应的下行数据通知DDN;或者,当所述通知信息用于通知所述终端的注册区域包括所述LADN的信息时,所述SMF执行下述一项或多项:通知所述UPF发送所述PDU会话对应的下行数据;通知所述UPF发送所述PDU会话对应的下行数据通知DDN。通过本申请实施例可以实现,由SMF根据注册区域对LADN的支持情况,来确定是否发起LADN会话的释放或者修改,管理粒度细,减少了网络设备因为该接入LADN的PDU会话有下行数据到达而寻呼终端造成的信令浪费,从而不必再寻呼终端,节省了信令。In a fourth optional implementation of the third aspect, the SMF modifies the PDU session according to the notification information, including: when the notification information is used to notify that the registration area of the terminal does not include the information of the LADN , the SMF performs one or more of the following: notifying the user plane functional entity UPF to discard the downlink data corresponding to the PDU session; notifying the UPF to stop sending the downlink data corresponding to the PDU session to the SMF and notifying the DDN; or, When the notification information is used to notify that the registration area of the terminal includes the information of the LADN, the SMF performs one or more of the following: notifying the UPF to send downlink data corresponding to the PDU session; notifying all The UPF notifies the DDN of the downlink data corresponding to the PDU session. The embodiment of the present application can realize that the SMF determines whether to initiate the release or modification of the LADN session according to the support of the LADN in the registration area, and the management granularity is fine, which reduces the network equipment because the PDU session accessing the LADN has downlink data arriving However, the signaling waste caused by paging the terminal makes it unnecessary to page the terminal and saves signaling.

通过本申请实施例可以实现,AMF通知SMF关于终端移动到的RA包括LADN的服务区域的变化通知,由SMF发起LADN会话的释放或者修改,从而减少了网络设备因为该接入LADN的PDU会话有下行数据到达而寻呼终端造成的信令浪费。或者,SMF在不修改PDU会话时,即可实现将下行数据丢弃,从而不必再寻呼终端,节省了信令。It can be achieved through the embodiments of the present application that the AMF notifies the SMF of the change notification of the service area of the RA including the LADN to which the terminal moves, and the SMF initiates the release or modification of the LADN session, thereby reducing network equipment because the PDU session accessing the LADN has The signaling waste caused by paging the terminal when downlink data arrives. Alternatively, the SMF can discard the downlink data without modifying the PDU session, so that the terminal does not need to be paged and signaling is saved.

第四方面,提供了一种服务订阅的方法。AMF存在终端接入LADN的PDU会话,该方法包括:AMF接收SMF发送的订阅通知服务请求,该通知服务用于当预设事件发生时,所述AMF通知所述SMF,其中,所述预设事件为LADN的可用状态发生变化,其中,LADN的信息可以为LADN的可用信息。通过本申请实施例可以实现SMF向AMF订阅终端移动到的RA包括LADN的服务区域的变化通知,当满足条件时,AMF通知SMF。In a fourth aspect, a service subscription method is provided. The AMF has a PDU session in which the terminal accesses the LADN. The method includes: the AMF receives a subscription notification service request sent by the SMF, and the notification service is used for the AMF to notify the SMF when a preset event occurs, wherein the preset The event is that the availability state of the LADN changes, wherein the information of the LADN may be the availability information of the LADN. Through the embodiment of the present application, the SMF can realize the change notification of the service area of the RA including the LADN to which the AMF subscribes the terminal to move. When the conditions are met, the AMF notifies the SMF.

在第四方面的第一个可选地实现中,AMF接收SMF发送的订阅通知服务请求,包括:In a first optional implementation of the fourth aspect, the AMF receives a subscription notification service request sent by the SMF, including:

AMF接收SMF发送LADN的数据网络名称DNN和预设事件,以接受SMF订阅通知服务。The AMF receives the data network name DNN and preset events of the LADN sent by the SMF to accept the SMF subscription notification service.

在第四方面的第二个可选地实现中,LADN的可用状态发生变化,包括下述至少一种:第一注册区域不包括LADN的信息,第二注册区域包括LADN的信息,第一注册区域从包括LADN的信息改变为不包括LADN的信息;第一注册区域包括所述LADN的信息,第二注册区域不包括所述LADN的信息;第一注册区域从不包括所述LADN的信息改变为包括所述LADN的信息;其中,所述第一注册区域是所述终端的当前注册区域,所述第二注册区域是所述终端进入所述第一注册区域之前的注册区域。In a second optional implementation of the fourth aspect, the change in the available state of the LADN includes at least one of the following: the first registration area does not include information about the LADN, the second registration area includes information about the LADN, and the first registration area includes information about the LADN. The area is changed from the information including the LADN to the information not including the LADN; the first registration area includes the information of the LADN, the second registration area does not include the information of the LADN; the first registration area is changed from not including the information of the LADN is the information including the LADN; wherein the first registration area is the current registration area of the terminal, and the second registration area is the registration area before the terminal enters the first registration area.

在第四方面的第三个可选地实现中,在AMF接收SMF发送的订阅通知服务请求之后,还包括:AMF向SMF发送通知信息,该通知信息用于通知所述终端的注册区域包括或者不包括所述LADN的信息。所述通知信息具体可以包括LADN DNN和指示,所述指示用于指示注册区域不包括LADN的信息In a third optional implementation of the fourth aspect, after the AMF receives the subscription notification service request sent by the SMF, the method further includes: the AMF sends notification information to the SMF, where the notification information is used to notify that the registration area of the terminal includes or Information on the LADN is not included. The notification information may specifically include the LADN DNN and an indication, and the indication is used to indicate that the registration area does not include the LADN information

通过本申请实施例可以实现,SMF在不修改PDU会话时,即可实现将下行数据丢弃,从而不必再寻呼终端,节省了信令。It can be realized by the embodiments of the present application that the SMF can realize that the downlink data can be discarded when the PDU session is not modified, so that the terminal does not need to be paged, and signaling is saved.

第五方面,提供了一种会话管理方法。SMF存在接入LADN的PDU会话,该方法包括:所述SMF接收UPF发送的所述PDU会话对应的下行数据通知;所述SMF调用AMF提供的第一服务,所述第一服务用于所述SMF请求所述AMF向接入节点AN发送消息或者信息,例如N2 SMinformation。所述SMF接收AMF发送的指示参数,所述指示参数用于指示当前注册区域内不包括所述LADN的信息;所述SMF根据所述指示参数修改所述PDU会话。通过本申请实施例可以实现,SMF在不修改PDU会话时,即可实现将下行数据丢弃,从而不必再寻呼终端,节省了信令。In a fifth aspect, a session management method is provided. The SMF has a PDU session accessing the LADN, and the method includes: the SMF receives a downlink data notification corresponding to the PDU session sent by the UPF; the SMF invokes a first service provided by the AMF, and the first service is used for the The SMF requests the AMF to send a message or information, such as N2 SMinformation, to the access node AN. The SMF receives an indication parameter sent by the AMF, where the indication parameter is used to indicate that the current registration area does not include the information of the LADN; the SMF modifies the PDU session according to the indication parameter. It can be realized by the embodiments of the present application that the SMF can realize that the downlink data can be discarded when the PDU session is not modified, so that the terminal does not need to be paged, and signaling is saved.

第六方面,提供了一种会话管理方法。SMF存在接入LADN的PDU会话,该方法包括:AMF接收所述SMF调用的第一服务请求,所述第一服务请求用于所述SMF请求所述AMF向接入节点AN发送消息或者信息;当所述终端的注册区域内不包括LADN的服务区域时,所述AMF向SMF发送指示参数,所述指示参数用于指示注册区域内不包括所述LADN的信息。所述指示参数具体可以包括LADN DNN和指示,所述指示用于指示注册区域不包括LADN的信息。通过本申请实施例可以实现,SMF在不修改PDU会话时,即可实现将下行数据丢弃,从而不必再寻呼终端,节省了信令。In a sixth aspect, a session management method is provided. The SMF has a PDU session accessing the LADN, and the method includes: the AMF receives a first service request invoked by the SMF, where the first service request is used by the SMF to request the AMF to send a message or information to the access node AN; When the registration area of the terminal does not include the service area of the LADN, the AMF sends an indication parameter to the SMF, where the indication parameter is used to indicate that the registration area does not include the information of the LADN. The indication parameter may specifically include the LADN DNN and an indication, where the indication is used to indicate that the registration area does not include the LADN information. It can be realized by the embodiments of the present application that the SMF can realize that the downlink data can be discarded when the PDU session is not modified, so that the terminal does not need to be paged, and signaling is saved.

第七方面,提供了一种终端,该终端具有实现上述第一方面以及其可选地实现中的终端行为的功能。所述功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。所述硬件或软件包括一个或多个与上述功能相对应的模块。通过本申请实施例,对于接入LADN的PDU会话,当终端进入到不支持LADN的注册区域时,由终端修改或释放PDU会话,从而减少了网络设备因为该接入LADN的PDU会话有下行数据到达而寻呼终端造成的信令浪费。还可以基于当前注册区域和LADN的服务区域,来对PDU会话进行管理,粒度较细。解决了在终端位于LADN的服务区域以外时,由终端发起PDU会话的释放,从而降低了由于PDU会话的存在,但是终端确不处于LADN的服务区域时,寻呼终端造成的信令浪费。还可以在网络侧修改或释放PDU会话后,通知终端,以便终端同步修改或释放该PDU会话,从而降低了由于PDU会话的存在,但是终端确不处于LADN的服务区域时,寻呼终端造成的信令浪费。终端通过对PDU会话进行标记,可以统计终端连续进入不包括LADN的服务区域的注册区域次数,从而设置规则,在连续进入不包括LADN的服务区域的注册区域小于或等于设定次数的情况下,终端修改该PDU会话,当达到或超过该设定次数的情况下,终端释放该PDU会话,对接入LADN的PDU会话的管理粒度更细。在终端重新进入包括LADN的服务区域的RA时,重新启用该接入LADN的PDU会话,以便进行数据传输,从而从更细的粒度对PDU会话进行管理,并且使得网络设备对于终端的寻呼更合理,节省了信令,提高了效率。In a seventh aspect, a terminal is provided, the terminal having the function of implementing the above-mentioned first aspect and the terminal behavior in the optional implementation thereof. The functions can be implemented by hardware, or can be implemented by hardware executing corresponding software. The hardware or software includes one or more modules corresponding to the above functions. Through the embodiments of the present application, for a PDU session accessing LADN, when a terminal enters a registration area that does not support LADN, the terminal modifies or releases the PDU session, thereby reducing network equipment because the PDU session accessing LADN has downlink data Signaling waste caused by arriving and paging the terminal. The PDU session can also be managed based on the current registration area and the service area of the LADN with finer granularity. It solves the problem that when the terminal is outside the service area of the LADN, the terminal initiates the release of the PDU session, thereby reducing the signaling waste caused by paging the terminal when the terminal is not in the service area of the LADN due to the existence of the PDU session. It is also possible to notify the terminal after the PDU session is modified or released on the network side, so that the terminal can modify or release the PDU session synchronously, thereby reducing the problem of paging the terminal due to the existence of the PDU session but the terminal is not in the service area of the LADN. Signaling waste. By marking the PDU session, the terminal can count the number of times that the terminal continuously enters the registration area of the service area that does not include LADN, so as to set rules. The terminal modifies the PDU session, and when the set number of times is reached or exceeded, the terminal releases the PDU session, and the management granularity of the PDU session accessing the LADN is finer. When the terminal re-enters the RA of the service area including the LADN, the PDU session accessing the LADN is re-enabled for data transmission, so that the PDU session is managed from a finer granularity and the paging of the terminal by the network device is improved. Reasonable, saving signaling and improving efficiency.

第八方面,提供了一种SMF实体,该SMF实体具有实现上述第二方面以及其可选地实现中的SMF实体行为的功能。所述功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。所述硬件或软件包括一个或多个与上述功能相对应的模块。通过本申请实施例,基于当前注册区域和LADN的服务区域,来对PDU会话进行管理,粒度较细。在终端重新进入包括LADN的服务区域的RA时,重新启用该接入LADN的PDU会话,以便进行数据传输,从而从更细的粒度对PDU会话进行管理,并且使得网络设备对于终端的寻呼更合理,节省了信令,提高了效率。In an eighth aspect, an SMF entity is provided, and the SMF entity has the function of implementing the second aspect and the SMF entity behavior in the optional implementation thereof. The functions can be implemented by hardware, or can be implemented by hardware executing corresponding software. The hardware or software includes one or more modules corresponding to the above functions. Through the embodiment of the present application, the PDU session is managed based on the current registration area and the service area of the LADN, and the granularity is relatively fine. When the terminal re-enters the RA of the service area including the LADN, the PDU session accessing the LADN is re-enabled for data transmission, so that the PDU session is managed from a finer granularity and the paging of the terminal by the network device is improved. Reasonable, saving signaling and improving efficiency.

第九方面,提供了一种SMF实体,该SMF实体具有实现上述第三方面以及其可选地实现中或第五方面中的SMF实体行为的功能。所述功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。所述硬件或软件包括一个或多个与上述功能相对应的模块。通过本申请实施例,AMF通知SMF关于终端移动到的RA包括LADN的服务区域的变化通知,由SMF发起LADN会话的释放或者修改,从而减少了网络设备因为该接入LADN的PDU会话有下行数据到达而寻呼终端造成的信令浪费。SMF可以通过向AMF订阅终端移动到的RA包括LADN的服务区域的变化通知,当满足条件时,AMF通知SMF。或者,SMF在不修改PDU会话时,即可实现将下行数据丢弃,从而不必再寻呼终端,节省了信令。In a ninth aspect, an SMF entity is provided, and the SMF entity has the function of implementing the third aspect and the SMF entity behavior in the optional implementation thereof or the fifth aspect. The functions can be implemented by hardware, or can be implemented by hardware executing corresponding software. The hardware or software includes one or more modules corresponding to the above functions. Through the embodiment of this application, the AMF notifies the SMF about the change notification of the RA to which the terminal moves, including the service area of the LADN, and the SMF initiates the release or modification of the LADN session, thereby reducing network equipment because the PDU session accessing the LADN has downlink data Signaling waste caused by arriving and paging the terminal. The SMF can subscribe to the AMF to notify the change of the service area of the RA including the LADN to which the terminal moves. When the conditions are met, the AMF notifies the SMF. Alternatively, the SMF can discard the downlink data without modifying the PDU session, so that the terminal does not need to be paged and signaling is saved.

第十方面,提供了一种AMF实体,该AMF实体具有实现上述第四方面以及其可选地实现中或第六方面中的AMF实体行为的功能。所述功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。所述硬件或软件包括一个或多个与上述功能相对应的模块。通过本申请实施例,AMF通知SMF关于终端移动到的RA包括LADN的服务区域的变化通知,由SMF发起LADN会话的释放或者修改,从而减少了网络设备因为该接入LADN的PDU会话有下行数据到达而寻呼终端造成的信令浪费。SMF可以通过向AMF订阅终端移动到的RA包括LADN的服务区域的变化通知,当满足条件时,AMF通知SMF。或者,SMF在不修改PDU会话时,即可实现将下行数据丢弃,从而不必再寻呼终端,节省了信令。In a tenth aspect, an AMF entity is provided, and the AMF entity has the function of implementing the fourth aspect and the AMF entity behavior in the optional implementation or the sixth aspect. The functions can be implemented by hardware, or can be implemented by hardware executing corresponding software. The hardware or software includes one or more modules corresponding to the above functions. Through the embodiment of this application, the AMF notifies the SMF about the change notification of the RA to which the terminal moves, including the service area of the LADN, and the SMF initiates the release or modification of the LADN session, thereby reducing network equipment because the PDU session accessing the LADN has downlink data Signaling waste caused by arriving and paging the terminal. The SMF can subscribe to the AMF to notify the change of the service area of the RA including the LADN to which the terminal moves. When the conditions are met, the AMF notifies the SMF. Alternatively, the SMF can discard the downlink data without modifying the PDU session, so that the terminal does not need to be paged and signaling is saved.

第十一方面,提供了一种计算机可读存储介质,该计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现上述第一方面、第二方面、第三方面、第四方面、第五方面和第六方面中任意一方面或多方面所述的方法。In an eleventh aspect, a computer-readable storage medium is provided, and a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the above-mentioned first aspect, second aspect, third aspect, and first aspect are realized. The method of any one or more of the fourth, fifth and sixth aspects.

第十二方面,提供了一种包含指令的计算机程序产品,当所述指令在计算机上运行时,使得计算机执行上述第一方面、第二方面、第三方面、第四方面、第五方面和第六方面中任意一方面或多方面所述的方法。A twelfth aspect provides a computer program product comprising instructions that, when executed on a computer, cause the computer to perform the first, second, third, fourth, fifth, and The method of any one or more of the sixth aspects.

通过本申请实施例可以实现,对于LADN的会话,当终端进入到不支持LADN的注册区域时,由终端修改或释放PDU会话,从而减少了网络设备因为该接入LADN的PDU会话有下行数据到达而寻呼终端造成的信令浪费。还可以基于当前注册区域和LADN的服务区域,来对PDU会话进行管理,粒度较细。解决了在终端位于LADN的服务区域以外时,由终端发起PDU会话的释放,从而降低了由于PDU会话的存在,但是终端确不处于LADN的服务区域时,寻呼终端造成的信令浪费。The embodiments of the present application can realize that, for a LADN session, when a terminal enters a registration area that does not support LADN, the terminal modifies or releases the PDU session, thereby reducing network equipment because the LADN access PDU session has downlink data arriving And the signaling waste caused by paging the terminal. The PDU session can also be managed based on the current registration area and the service area of the LADN with finer granularity. It solves the problem that when the terminal is outside the service area of the LADN, the terminal initiates the release of the PDU session, thereby reducing the signaling waste caused by paging the terminal when the terminal is not in the service area of the LADN due to the existence of the PDU session.

附图说明Description of drawings

图1为一种5G通信网络结构示意图;Figure 1 is a schematic diagram of a 5G communication network structure;

图2为一种LADN的服务区域的示意图。FIG. 2 is a schematic diagram of a service area of a LADN.

图3为本申请实施例提供的一种会话管理的方法的信令交互示意图;3 is a schematic diagram of signaling interaction of a method for session management provided by an embodiment of the present application;

图4为本申请实施例提供的另一种会话管理的方法的信令交互示意图;4 is a schematic diagram of signaling interaction of another session management method provided by an embodiment of the present application;

图5为本申请实施例提供的另一种会话管理的方法的信令交互示意图;5 is a schematic diagram of signaling interaction of another session management method provided by an embodiment of the present application;

图6为本申请实施例提供的一个示例;FIG. 6 provides an example of an embodiment of the present application;

图7为本申请实施例提供的一种服务订阅的方法的信令交互示意图;7 is a schematic diagram of signaling interaction of a service subscription method provided by an embodiment of the present application;

图8为本申请实施例提供的另一种会话管理的方法的信令交互示意图;FIG. 8 is a schematic diagram of signaling interaction of another session management method provided by an embodiment of the present application;

图9为本申请实施例提供的另一种会话管理的方法的信令交互示意图;FIG. 9 is a schematic diagram of signaling interaction of another session management method provided by an embodiment of the present application;

图10为本申请实施例提供的另一个示例;FIG. 10 provides another example of the embodiment of the present application;

图11为本申请实施例提供的一种终端的结构示意图;FIG. 11 is a schematic structural diagram of a terminal according to an embodiment of the present application;

图12为本申请实施例提供的一种SMF的结构示意图;FIG. 12 is a schematic structural diagram of an SMF provided by an embodiment of the present application;

图13为本申请实施例提供的另一种SMF的结构示意图;FIG. 13 is a schematic structural diagram of another SMF provided by an embodiment of the present application;

图14为本申请实施例提供的一种AMF的结构示意图;14 is a schematic structural diagram of an AMF provided by an embodiment of the present application;

图15本申请实施例提供的另一种SMF的结构示意图;FIG. 15 is a schematic structural diagram of another SMF provided by an embodiment of the present application;

图16为本申请实施例提供的另一种AMF的结构示意图;16 is a schematic structural diagram of another AMF provided by an embodiment of the present application;

图17为本申请实施例提供的另一种终端的结构示意图;FIG. 17 is a schematic structural diagram of another terminal provided by an embodiment of the present application;

图18为本申请实施例提供的另一种SMF的结构示意图;FIG. 18 is a schematic structural diagram of another SMF provided by an embodiment of the present application;

图19为本申请实施例提供的另一种SMF的结构示意图;FIG. 19 is a schematic structural diagram of another SMF provided by an embodiment of the present application;

图20为本申请实施例提供的另一种AMF的结构示意图;20 is a schematic structural diagram of another AMF provided by an embodiment of the present application;

图21为本申请实施例提供的另一种SMF的结构示意图;FIG. 21 is a schematic structural diagram of another SMF provided by an embodiment of the present application;

图22为本申请实施例提供的另一种AMF的结构示意图。FIG. 22 is a schematic structural diagram of another AMF provided by an embodiment of the present application.

具体实施方式Detailed ways

下面将结合本申请实施例中的附图,对本申请实施例进行描述。The embodiments of the present application will be described below with reference to the accompanying drawings in the embodiments of the present application.

本申请实施例提供了一种会话管理的方法及设备,应用于5G通信网络。The embodiments of the present application provide a method and device for session management, which are applied to a 5G communication network.

在本申请实施例中,终端(terminal)也可以称为用户设备(user equipment),可以是指向用户提供语音和/或数据连通性的设备,具有无线连接功能的手持式设备、或连接到无线调制解调器的其他处理设备。无线终端可以经无线接入网络(Radio AccessNetwork,RAN)与一个或多个核心网进行通信,无线终端可以是移动终端,如移动电话(或称为“蜂窝”电话)和具有移动终端设备的计算机,例如,可以是便携式、袖珍式、手持式、计算机内置的或者车载的移动装置,它们与无线接入网交换语言和/或数据。例如,个人通信业务(personal communication service,PCS)电话、无绳电话、会话发起协议(sessioninitiated protocol,SIP)话机、无线本地环路(wireless local loop,WLL)站、个人数字助理(personal digital assistant,PDA)等设备。无线终端也可以称为系统、订户单元(subscriber unit)、订户站(subscriber station),移动站(mobile station)、移动台(mobile)、远程站(remote station)、接入点(access point)、远程终端(remoteterminal)、接入终端(access terminal)、用户终端(user terminal)、用户代理(useragent)、用户设备(user device)、或终端设备(terminal equipment),本申请实施例中并不限定。按照业务类型划分,本发明实施例涉及的终端,可以是上文中对速率和移动性有较高需求的终端设备,例如手机、多媒体设备等,也可以是物联网的终端,还可以是车联网的终端。In this embodiment of the present application, a terminal may also be referred to as user equipment, which may be a device that provides voice and/or data connectivity to a user, a handheld device with a wireless connection function, or a device connected to a wireless Other processing equipment for the modem. A wireless terminal may communicate with one or more core networks via a Radio Access Network (RAN), and the wireless terminal may be a mobile terminal such as a mobile phone (or "cellular" phone) and a computer with mobile terminal equipment Mobile devices, which may be portable, pocket-sized, hand-held, computer-embedded, or vehicle-mounted, for example, exchange language and/or data with the wireless access network. For example, personal communication service (PCS) phones, cordless phones, session initiated protocol (SIP) phones, wireless local loop (WLL) stations, personal digital assistants (PDAs) ) and other equipment. A wireless terminal may also be referred to as a system, subscriber unit, subscriber station, mobile station, mobile, remote station, access point, A remote terminal (remote terminal), an access terminal (access terminal), a user terminal (user terminal), a user agent (useragent), a user device (user device), or a terminal equipment (terminal equipment), which are not limited in the embodiments of this application . Divided according to service types, the terminals involved in the embodiments of the present invention may be terminal devices that have higher requirements for speed and mobility, such as mobile phones, multimedia devices, etc., or terminals of the Internet of Things, or Internet of Vehicles. terminal.

图1为本申请实施例提供的一种5G通信网络结构示意图。FIG. 1 is a schematic structural diagram of a 5G communication network according to an embodiment of the present application.

结合图1所示,认证服务功能实体(authentication server function,AUSF)、AMF、SMF、统一数据管理实体(unified data management,UDM)、应用程序功能实体(application function,AF)、策略控制功能实体(policy control function,PCF)和UPF可以为5G通信网络的核心网中的一个或多个服务器。终端通过接入通信网络可以实现网络互联。例如,可以通过接入通信网络建立PDU会话与UPF进行数据传输,该PDU会话可以由SMF进行管理。As shown in Figure 1, authentication service function entity (authentication server function, AUSF), AMF, SMF, unified data management entity (unified data management, UDM), application function entity (application function, AF), policy control function entity ( The policy control function, PCF) and the UPF may be one or more servers in the core network of the 5G communication network. The terminal can realize network interconnection by accessing the communication network. For example, a PDU session can be established for data transmission with the UPF by accessing the communication network, and the PDU session can be managed by the SMF.

下面对5G通信网络中的各个模块的功能进行简单介绍。The function of each module in the 5G communication network is briefly introduced below.

AUSF主要用于身份验证。AUSF is mainly used for authentication.

AMF具有终端的移动管理、注册管理、连接管理、合法监听、支持传输终端和SMF之间的会话管理(session management,SM)信息、接入认证和接入授权等功能。该AMF可以确定终端的TA、RA和LADN等信息。The AMF has functions such as terminal mobility management, registration management, connection management, legal interception, support for transmitting session management (session management, SM) information between the terminal and the SMF, access authentication and access authorization. The AMF can determine information such as TA, RA, and LADN of the terminal.

SMF具有会话管理、漫游等功能。其中,会话管理功能,例如,会话建立、修改和释放,包括UPF和接入网(access network,AN)节点(node)的隧道维护。漫游功能可以包括计费数据收集、支持与外部(external)数据网络(data network,DN)进行认证/授权的信令传输。例如,该SMF可以用于管理接入LADN的PDU会话,包括修改或释放接入LADN的PDU会话,接收接入LADN的PDU会话对应的DDN等等。SMF has functions such as session management and roaming. Among them, session management functions, such as session establishment, modification and release, include tunnel maintenance for UPF and access network (access network, AN) nodes (nodes). Roaming functions may include billing data collection, signaling to support authentication/authorization with an external data network (DN). For example, the SMF can be used to manage the PDU session accessing the LADN, including modifying or releasing the PDU session accessing the LADN, receiving the DDN corresponding to the PDU session accessing the LADN, and so on.

UPF具有数据包路由和合法监听等功能。该UPF可以对接入LADN的PDU会话对应的数据包路由和合法监听。UPF has functions such as packet routing and lawful interception. The UPF can route and legally monitor the data packets corresponding to the PDU session accessing the LADN.

UDM具有认证证书的处理,用户识别处理,访问授权,注册和移动性管理,订阅管理以及短信管理等功能。UDM has functions such as authentication certificate processing, user identification processing, access authorization, registration and mobility management, subscription management, and SMS management.

AF可以与3GPP核心网络进行交互。The AF can interact with the 3GPP core network.

PCF能够支持政策框架以及策略规则。PCF can support policy frameworks as well as policy rules.

其中,各个实体间的接口具体可参见3GPP标准。应该知道的是,图1所示的5G通信网络结构仅为示例,本发明实施例中使用的5G通信网络结构可以包括更多或更少的网络设备。The specific interface between the various entities may refer to the 3GPP standard. It should be known that the 5G communication network structure shown in FIG. 1 is only an example, and the 5G communication network structure used in the embodiment of the present invention may include more or less network devices.

本申请的申请人通过分析发现,在5G网络中的LADN与RA存在一定的关系,RA中的跟踪区(tracking area,TA)可以全部或者部分支持LADN,或者,RA中的TA可以全部不支持LADN。当RA中的TA全部或者部分支持LADN时,即LADN Service Area与Registration Area有交集时,则认为该RA中包括LADN的服务区域。当,RA中的TA全部不支持LADN时,即LADNServcie Area与RA无交集时,则认为该RA中不包括LADN的服务区域。The applicant of the present application found through analysis that there is a certain relationship between LADN and RA in a 5G network, and the tracking area (TA) in RA may support LADN in whole or in part, or TA in RA may not support all LADN. When all or part of the TAs in the RA support LADN, that is, when the LADN Service Area and the Registration Area have an intersection, it is considered that the RA includes the LADN service area. When all the TAs in the RA do not support the LADN, that is, when the LADNServcie Area and the RA have no intersection, it is considered that the RA does not include the service area of the LADN.

可以理解的是,TA支持LADN是指当终端处在TA的覆盖范围内时,可以通过TA下的基站建立接入到LADN的PDU会话并且在该LADN的PDU会话上进行数据传输。TA不支持LADN是指当终端处于TA的覆盖范围内时,不能建立接入到LADN的PDU会话,对于已经建立的LADN的PDU会话,也不能激活对应的用户面连接进行数据传输。It can be understood that the TA supporting LADN means that when the terminal is within the coverage of the TA, a PDU session to access the LADN can be established through the base station under the TA and data transmission can be performed on the LADN PDU session. The TA does not support LADN means that when the terminal is within the coverage of the TA, it cannot establish a PDU session accessing the LADN, and for the established LADN PDU session, the corresponding user plane connection cannot be activated for data transmission.

例如,如图2所示,图2为一种LADN的服务区域的示意图。TA1-TA16共构成四个RA(RA1-RA4),其中,TA1-TA5支持LADN。此时,RA1中的TA全部支持LADN,则认为该RA1中包括LADN的服务区域;RA2中的TA只有TA5支持LADN,则认为该RA1中包括LADN的服务区域;RA3和RA4中的TA全部不支持LADN,则认为该RA3和RA4中不包括LADN的服务区域。For example, as shown in FIG. 2 , FIG. 2 is a schematic diagram of a service area of a LADN. TA1-TA16 constitute a total of four RAs (RA1-RA4), of which TA1-TA5 support LADN. At this time, if all the TAs in RA1 support LADN, it is considered that the RA1 includes the service area of LADN; if only TA5 in RA2 supports LADN, it is considered that the RA1 includes the service area of LADN; all TAs in RA3 and RA4 do not support LADN. If LADN is supported, it is considered that the RA3 and RA4 do not include the service area of LADN.

下面结合附图,对本申请实施例进行进一步介绍。The embodiments of the present application will be further introduced below with reference to the accompanying drawings.

图3为本申请实施例提供的一种会话管理的方法的信令交互示意图。其中,终端存在接入LADN的PDU会话。FIG. 3 is a schematic diagram of signaling interaction of a method for session management provided by an embodiment of the present application. The terminal has a PDU session accessing the LADN.

其中,终端存在接入LADN的PDU会话,可以指终端保存有接入LADN的PDU会话的上下文,其中PDU会话的上下文可以包括下述的一项或者多项:PDU会话的标识;PDU会话的SSC模式;PDU会话的类型(例如IP类型),以太(ethernet)类型,非结构化(unstructured)类型等;PDU会话对应的DNN;PDU会话对应的网络切片信息,例如S-NSSAI,网络切片标识(NSI)等;PDU会话的QFI,QoS流对应的QoS参数(例如5QI),GFBR,MFBR,Session-AMBR,PDU会话对应的无线承载信息,例如DRB,也可以指UE建立有接入LADN的PDU会话,终端可以通过该PDU会话传输上下行数据。具体地,接入LAND的PDU会话是指PDU会话对应的DNN属性为LADNDNN。Wherein, the terminal has a PDU session accessing the LADN, which may mean that the terminal saves the context of the PDU session accessing the LADN, where the context of the PDU session may include one or more of the following: the identifier of the PDU session; the SSC of the PDU session Mode; type of PDU session (such as IP type), Ethernet (ethernet) type, unstructured (unstructured) type, etc.; DNN corresponding to PDU session; network slice information corresponding to PDU session, such as S-NSSAI, network slice identifier ( NSI), etc.; the QFI of the PDU session, the QoS parameters corresponding to the QoS flow (such as 5QI), GFBR, MFBR, Session-AMBR, the radio bearer information corresponding to the PDU session, such as DRB, can also refer to the PDU that the UE has established to access the LADN session, the terminal can transmit uplink and downlink data through the PDU session. Specifically, the PDU session accessing the LAND means that the DNN attribute corresponding to the PDU session is LADNDNN.

如图3所示,该方法具体包括:As shown in Figure 3, the method specifically includes:

S310,终端接收AMF发送的第一消息。终端注册的AMF会将终端所在注册区域内的LADN的信息通过第一消息发送给终端。LADN信息包括LADN DNN和LADN Service Area。当然,发送给终端的LADN信息是终端签约的LADN对应的LADN信息的集合。如果终端签约了多个LADN的话,发送给终端的是多个LADN对应的LADN信息。其中,当终端所在的注册区域RA支持LADN信息时,第一消息可以携带LADN的信息,例如,LADN的信息可以为LADN的可用信息(LADN availability info)。例如,第一消息可以为注册接受消息(Registrationaccept),该注册接受消息包括LADN的信息;或者,第一消息可以为UE配置更新命令消息(UEconfiguration update command),该终端配置更新命令消息包括LADN的信息等等。其中,终端执行注册过程,AMF会向终端发送注册接受消息。S310, the terminal receives the first message sent by the AMF. The AMF registered by the terminal will send the information of the LADN in the registration area where the terminal is located to the terminal through the first message. LADN information includes LADN DNN and LADN Service Area. Of course, the LADN information sent to the terminal is a set of LADN information corresponding to the LADN subscribed by the terminal. If the terminal subscribes to multiple LADNs, the LADN information corresponding to the multiple LADNs is sent to the terminal. Wherein, when the registration area RA where the terminal is located supports LADN information, the first message may carry LADN information, for example, the LADN information may be LADN availability information (LADN availability info). For example, the first message may be a registration accept message (Registrationaccept), and the registration accept message includes the information of the LADN; or, the first message may be a UE configuration update command message (UE configuration update command), and the terminal configuration update command message includes the information of the LADN. information and more. The terminal performs the registration process, and the AMF sends a registration acceptance message to the terminal.

当终端所在的注册区域不支持LADN信息时,第一消息可以不携带LADN的信息。When the registration area where the terminal is located does not support the LADN information, the first message may not carry the LADN information.

在一个LADN的信息的例子中,LADN的信息包括LADN数据网络名称(LADN DNN)和LADN服务区域(LADN service area)。其中,LADN服务区域可以指该LADN的TA集合。In an example of the LADN information, the LADN information includes the LADN data network name (LADN DNN) and the LADN service area (LADN service area). The LADN service area may refer to the TA set of the LADN.

其中,在5G网络中可以包括多个LADN,该多个LADN对终端来说并不一定都是可用的。终端接收到的LADN的信息包括终端可以接入的LADN的LADN DNN,以及对应的LADN服务区域。Wherein, the 5G network may include multiple LADNs, and the multiple LADNs are not necessarily all available to the terminal. The LADN information received by the terminal includes the LADN DNN of the LADN that the terminal can access, and the corresponding LADN service area.

具体的,AMF保存有终端可用的LADN的服务区域,AMF可以根据终端的当前RA以及对于终端可用的LADN的服务区域,确定终端当前RA是否包括LADN的信息,也就是终端的当前RA与对于终端可用的LADN的服务区域是否有重叠。当终端的当前RA包括LADN的信息,也就是终端的当前RA与对于终端可用的LADN的服务区域有重叠时,第一消息中可以携带LADN的信息,该LADN的信息指示当前RA包括的LADN(LADN DNN)和该LADN的服务区域;当终端的当前RA不包括LADN的信息,也就是终端的当前RA与对于终端可用的LADN的服务区域没有重叠时,第一消息中可以不携带LADN的信息。Specifically, the AMF stores the service area of the LADN available to the terminal, and the AMF can determine whether the current RA of the terminal includes the information of the LADN according to the current RA of the terminal and the service area of the LADN available to the terminal, that is, the current RA of the terminal and the service area of the LADN available to the terminal. Whether the service areas of the available LADNs overlap. When the current RA of the terminal includes the information of the LADN, that is, when the current RA of the terminal overlaps the service area of the LADN available to the terminal, the first message may carry the information of the LADN, and the information of the LADN indicates the LADN ( LADN DNN) and the service area of the LADN; when the current RA of the terminal does not include the information of the LADN, that is, when the current RA of the terminal does not overlap with the service area of the LADN available to the terminal, the information of the LADN may not be carried in the first message .

作为一个示例,结合图2所示,TA1-TA5属于对于终端可用的LADN的服务区域,如果终端的当前RA为RA1,由于RA1包括TA1-TA4,那么第一消息中可以携带LADN的信息。如果终端的当前RA为RA3,由于RA3与对于终端可用的LADN的服务区域没有重叠,那么第一消息中可以不携带LADN的信息。如果终端的当前RA为RA2,由于RA2包括TA5,那么第一消息中可以携带LADN的信息。As an example, as shown in FIG. 2 , TA1-TA5 belong to the service area of LADN available to the terminal. If the current RA of the terminal is RA1, since RA1 includes TA1-TA4, the first message can carry LADN information. If the current RA of the terminal is RA3, since RA3 does not overlap with the service area of the LADN available to the terminal, the information of the LADN may not be carried in the first message. If the current RA of the terminal is RA2, since RA2 includes TA5, the first message may carry LADN information.

S320,终端确定第一消息中不包括LADN的信息。S320, the terminal determines that the first message does not include the information of the LADN.

在终端接收到第一消息后,可以根据第一消息确定注册区域内LADN的状态发生变化,从而触发修改或释放接入LADN的PDU会话。After receiving the first message, the terminal may determine that the state of the LADN in the registration area changes according to the first message, thereby triggering modification or release of the PDU session accessing the LADN.

具体地,当终端收到的第一消息中不包括LADN的信息时,所述终端确定第一RA内不包括所述LADN的信息,进一步地,所述终端判断在接收所述第一消息之前所述第一RA内包括所述LADN的信息时,即终端当前保存有LADN的信息,所述终端确定所述RA内的所述LADN的可用状态发生变化,从而触发修改或释放接入LADN的PDU会话,所述第一RA为所述终端的当前RA。Specifically, when the first message received by the terminal does not include the LADN information, the terminal determines that the first RA does not include the LADN information. Further, the terminal determines that before receiving the first message When the information of the LADN is included in the first RA, that is, the terminal currently saves the information of the LADN, the terminal determines that the available state of the LADN in the RA has changed, thereby triggering modification or release of the access LADN. PDU session, the first RA is the current RA of the terminal.

另一种场景中,当终端收到的第一消息中不包括LADN的信息时,所述终端确定第一RA内不包括所述LADN的信息,进一步地,所述终端判断第二RA内包括所述LADN的信息时,即终端当前保存有LADN的信息,所述终端确定所述RA内的所述LADN的可用状态发生变化。所述第一RA位所述终端的当前RA,所述第二RA为所述终端进入所述第一RA之前的RA。In another scenario, when the first message received by the terminal does not include the LADN information, the terminal determines that the first RA does not include the LADN information, and further, the terminal determines that the second RA includes the LADN information. When the information of the LADN is obtained, that is, the terminal currently saves the information of the LADN, the terminal determines that the availability state of the LADN in the RA has changed. The first RA is the current RA of the terminal, and the second RA is the RA before the terminal enters the first RA.

在另一个实施例中,终端可以根据第一消息,确定是否达到预设条件,如果达到,则释放接入LADN的PDU会话。如果未达到,则修改接入LADN的PDU会话。In another embodiment, the terminal may determine whether the preset condition is met according to the first message, and if so, release the PDU session accessing the LADN. If not reached, modify the PDU session accessing the LADN.

例如,预设条件可以为终端连续处于不支持LADN的RA的次数。也就是终端的当前RA连续不包括LADN的信息的次数。例如,终端第一次处于不支持LADN的RA时,可以将接入LADN的PDU会话标记为不可用。接着,终端连续第二次处于不支持LADN的RA时,终端确定接入LADN的PDU会话已经标记为不可用,则释放该接入LADN的PDU会话。其中,不可用可以包括挂起状态。For example, the preset condition may be the number of times that the terminal is continuously in the RA that does not support LADN. That is, the number of times that the current RA of the terminal does not continuously include the information of the LADN. For example, when the terminal is in an RA that does not support LADN for the first time, the PDU session accessing the LADN may be marked as unavailable. Next, when the terminal is in an RA that does not support LADN for the second time in a row, the terminal determines that the PDU session for accessing the LADN has been marked as unavailable, and releases the PDU session for accessing the LADN. Among them, unavailable may include a pending state.

对于修改接入LADN的PDU会话,结合图3所示,具体可以包括S330-S360:For modifying the PDU session accessing the LADN, as shown in FIG. 3, it may specifically include S330-S360:

S330,终端向SMF发送第一会话修改请求消息(PDU session Modificationrequest)。该第一会话修改请求消息包括第一指示,该第一指示可以用于指示当前RA不包括LADN的信息(no LADN available info indication in current RA)。其中,LADN信息包括LADN DNN和LADN Service Area中的至少一种。S330, the terminal sends a first session modification request message (PDU session Modificationrequest) to the SMF. The first session modification request message includes a first indication, where the first indication may be used to indicate that the current RA does not include LADN information (no LADN available info indication in current RA). The LADN information includes at least one of LADN DNN and LADN Service Area.

其中,终端还需要向SMF发送PDU会话标识,该PDU会话标识可以包括在第一会话修改请求消息中,也可以包括在终端发送给AMF的NAS消息中,由AMF将PDU会话ID发送给SMF,该PDU会话ID标识终端接入LADN的PDU会话。The terminal also needs to send the PDU session ID to the SMF, and the PDU session ID may be included in the first session modification request message, or may be included in the NAS message sent by the terminal to the AMF, and the AMF sends the PDU session ID to the SMF, The PDU session ID identifies the PDU session in which the terminal accesses the LADN.

S340,SMF根据第一会话修改请求消息修改接入LADN的PDU会话。S340, the SMF modifies the PDU session accessing the LADN according to the first session modification request message.

SMF根据第一会话修改请求消息修改接入LADN的PDU会话包括下述一项或多项:The SMF modifies the PDU session accessing the LADN according to the first session modification request message, including one or more of the following:

SMF指示UPF将该接入LADN的PDU会话对应的门控设置为关闭,例如,SMF可以向PDU发送门关闭命令(GATE OFF);The SMF instructs the UPF to set the gate corresponding to the PDU session accessing the LADN to be closed, for example, the SMF can send a gate close command (GATE OFF) to the PDU;

SMF通知UPF停止发送与接入LADN的PDU会话相关的DDN;SMF informs UPF to stop sending DDNs related to PDU sessions accessing LADN;

SMF通知UPF丢弃与接入LADN的PDU会话相应下行数据;The SMF informs the UPF to discard the downlink data corresponding to the PDU session accessing the LADN;

SMF将接入LADN的PDU会话标记为不可用或者挂起状态。其中,不可用或者挂起状态包括下述一项或多项:The SMF marks the PDU session accessing the LADN as unavailable or suspended. Among them, the unavailable or suspended state includes one or more of the following:

PDU会话的用户面连接不存在;The user plane connection of the PDU session does not exist;

SMF不能触发激活PDU会话的用户面连接;SMF cannot trigger a user plane connection that activates a PDU session;

SMF不能接受终端请求的激活PDU会话的用户面连接请求。The SMF cannot accept the user plane connection request to activate the PDU session requested by the terminal.

另外,SMF在接收到第一会话修改请求消息后,可以确定该第一会话修改请求消息对应的PDU会话的状态是否为可用状态,例如,该第一会话修改请求消息对应的PDU会话为不可用或者挂起状态,则代表该PDU会话在接收第一会话修改请求消息之前即为不可用,此时可以直接将该PDU会话释放,即删除PDU会话的上下文。如果该第一会话修改请求消息对应的PDU会话为可用状态,则代表该PDU会话在接收第一会话修改请求消息之前即为可用,此时,在接收第一会话修改请求消息之后,将该PDU会话标记为不可用或者挂起状态。其中,PDU会话的可用状态包括下述一项或多项:In addition, after receiving the first session modification request message, the SMF may determine whether the state of the PDU session corresponding to the first session modification request message is available, for example, the PDU session corresponding to the first session modification request message is unavailable Or in the suspended state, it means that the PDU session is unavailable before receiving the first session modification request message, and at this time, the PDU session can be directly released, that is, the context of the PDU session is deleted. If the PDU session corresponding to the first session modification request message is available, it means that the PDU session is available before receiving the first session modification request message. At this time, after receiving the first session modification request message, the PDU session is available The session is marked as unavailable or suspended. The available states of the PDU session include one or more of the following:

PDU会话的用户面连接存在;The user plane connection of the PDU session exists;

SMF可以触发激活PDU会话的用户面连接;SMF can trigger a user plane connection that activates a PDU session;

SMF可以接受终端请求的激活PDU会话的用户面连接请求;The SMF can accept the user plane connection request to activate the PDU session requested by the terminal;

SMF可以向其他网元发送有关该PDU会话的消息。The SMF can send messages about the PDU session to other network elements.

S350,SMF向终端发送第一会话修改命令消息(PDU session modificationcommand)。该第一会话修改命令消息包括PDU会话的标识和第一参数,该第一参数可以用于指示PDU会话不可用或者挂起。S350, the SMF sends a first session modification command message (PDU session modificationcommand) to the terminal. The first session modification command message includes an identifier of the PDU session and a first parameter, where the first parameter may be used to indicate that the PDU session is unavailable or suspended.

其中,SMF在将PDU会话标记为不可用或者挂起后,还可以指示终端将该PDU会话标记为不可用或者挂起状态。Wherein, after marking the PDU session as unavailable or suspended, the SMF may further instruct the terminal to mark the PDU session as unavailable or suspended.

S360,终端将PDU会话标记为不可用或者挂起状态。S360, the terminal marks the PDU session as unavailable or suspended.

终端将接入LADN的PDU会话标记为不可用或者挂起状态。The terminal marks the PDU session accessing the LADN as unavailable or suspended.

在另一种实现方式中,终端还可以保存已向SMF发送第一指示的记录。其中,对于PDU会话,若终端存在已向SMF发送第一指示的记录,则可以表示该PDU会话被标记为不可用。In another implementation manner, the terminal may also save a record that the first indication has been sent to the SMF. Wherein, for the PDU session, if there is a record that the terminal has sent the first indication to the SMF, it may indicate that the PDU session is marked as unavailable.

其中,S350和S360为可选的步骤。例如,终端将PDU会话标记为不可用的过程也可以由终端本地执行,此时,终端可以在接收第一会话修改命令消息之前执行,或者,SMF无需发送第一会话修改命令消息。Among them, S350 and S360 are optional steps. For example, the process of marking the PDU session as unavailable by the terminal may also be performed locally by the terminal. In this case, the terminal may perform the process before receiving the first session modification command message, or the SMF does not need to send the first session modification command message.

通过S360,终端还可以实现连续处于不支持LADN的RA的次数的统计。进一步地,可以设置规则,在连续进入不包括LADN的服务区域的注册区域小于或等于设定次数的情况下,终端修改该PDU会话,当达到或超过该设定次数的情况下,终端释放该PDU会话,对接入LADN的PDU会话的管理粒度更细。Through S360, the terminal may also implement statistics on the number of times that the terminal is continuously in the RA that does not support LADN. Further, a rule can be set so that the terminal modifies the PDU session when the registration area that continuously enters the service area that does not include the LADN is less than or equal to the set number of times, and when it reaches or exceeds the set number of times, the terminal releases the PDU session, the management granularity of the PDU session accessing the LADN is finer.

由此可以实现,在网络侧修改或释放PDU会话后,通知终端,以便终端同步修改或释放该PDU会话,从而降低了由于PDU会话的存在,但是终端确不处于LADN的服务区域时,寻呼终端造成的信令浪费。。In this way, after the network side modifies or releases the PDU session, the terminal is notified, so that the terminal can synchronously modify or release the PDU session, thereby reducing the paging process when the terminal is not in the service area of the LADN due to the existence of the PDU session. Signaling waste caused by the terminal. .

在接入LADN的PDU会话被标记为不可用的情况下,当终端确定再次进入支持LADN的RA时,终端还可以将接入LADN的PDU会话标记为可用。图4为本申请实施例提供的另一种会话管理的方法的信令交互示意图。结合图4所示,具体可以包括S410-S460:In the case that the PDU session accessing the LADN is marked as unavailable, when the terminal determines to re-enter the RA supporting the LADN, the terminal may further mark the PDU session accessing the LADN as available. FIG. 4 is a schematic diagram of signaling interaction of another session management method provided by an embodiment of the present application. With reference to Fig. 4, it can specifically include S410-S460:

S410,终端接收AMF发送的第二消息。S410, the terminal receives the second message sent by the AMF.

AMF还根据终端的当前RA以及对于终端可用的LADN的服务区域,确定终端的当前RA是否包括LADN的信息。当终端的当前RA包括LADN的信息时,第二消息中可以携带LADN的信息,该LADN的信息指示当前RA包括的LADN和LADN的服务区域;当终端的当前RA不包括LADN的信息时,第二消息中可以不携带LADN的信息。其中,第二消息可以为注册接受消息,或者终端配置更新命令消息。例如,LADN的信息可以为LADN的可用信息。The AMF also determines whether the current RA of the terminal includes the information of the LADN according to the current RA of the terminal and the service area of the LADN available to the terminal. When the current RA of the terminal includes the information of the LADN, the second message may carry the information of the LADN, and the information of the LADN indicates the LADN and the service area of the LADN included in the current RA; when the current RA of the terminal does not include the information of the LADN, the first The LADN information may not be carried in the second message. The second message may be a registration acceptance message or a terminal configuration update command message. For example, the information of the LADN may be the available information of the LADN.

作为一个示例,结合图2所示,TA1-TA5属于对于终端可用的LADN的服务区域,如果终端的当前RA为RA1,由于RA1包括TA1-TA4,那么第二消息中可以携带LADN的信息。如果终端的当前RA为RA3,由于RA3与对于终端可用的LADN的服务区域没有重叠,那么第二消息中可以不携带LADN的信息。如果终端的当前RA为RA2,由于RA2包括TA5,那么第二消息中可以携带LADN的信息。As an example, as shown in FIG. 2 , TA1-TA5 belong to the service area of LADN available to the terminal. If the current RA of the terminal is RA1, since RA1 includes TA1-TA4, the second message can carry LADN information. If the current RA of the terminal is RA3, since RA3 does not overlap with the service area of the LADN available to the terminal, the second message may not carry the information of the LADN. If the current RA of the terminal is RA2, since RA2 includes TA5, the second message may carry LADN information.

S420,终端确定第二消息中包括LADN的信息。S420, the terminal determines that the second message includes the information of the LADN.

终端在接收到第二消息后,可以根据第二消息携带的信息LADN的可用状态发生变化确定LADN的可用状态发生变化。从而触发修改接入LADN的PDU会话。After receiving the second message, the terminal may determine that the availability state of the LADN changes according to the change in the availability state of the LADN carried in the second message. This triggers the modification of the PDU session accessing the LADN.

具体地,当终端收到的第一消息中包括LADN的信息时,所述终端确定第一RA包括LADN的信息,进一步地、所述终端在接收所述第二消息之前所述第一RA内不包括所述LADN的信息时,即终端当前无LADN的信息,所述终端确定所述LADN的可用状态发生变化;或者Specifically, when the first message received by the terminal includes the LADN information, the terminal determines that the first RA includes the LADN information. Further, before the terminal receives the second message, the first RA includes the LADN information. When the information of the LADN is not included, that is, the terminal currently does not have the information of the LADN, the terminal determines that the availability state of the LADN has changed; or

当所述第二息包括所述LADN的信息、且第二RA内不包括所述LADN的信息时,即终端当前无LADN的信息,所述终端确定所述LADN的可用状态发生变化;When the second information includes the information of the LADN and the second RA does not include the information of the LADN, that is, the terminal does not currently have the information of the LADN, the terminal determines that the availability state of the LADN has changed;

其中,所述第一RA为终端的当前注册区域,所述第二RA为所述终端进入所述第一RA之前的RA。The first RA is the current registration area of the terminal, and the second RA is the RA before the terminal enters the first RA.

S430,终端向SMF发送第二会话修改请求消息(PDU session Modificationrequest)。该第二会话修改请求消息包括第二指示,该第二指示可以用于指示当前RA包括LADN的信息(no LADN available info indication in current RA)。S430, the terminal sends a second session modification request message (PDU session Modificationrequest) to the SMF. The second session modification request message includes a second indication, and the second indication may be used to indicate that the current RA includes LADN information (no LADN available info indication in current RA).

其中,终端还需要向SMF发送PDU会话的标识,PDU会话的标识可以包括在第二会话修改请求消息中,也可以包括在终端发送给AMF的NAS消息中,由AMF发送给SMF,该PDU会话ID标识终端接入LADN的PDU会话。The terminal also needs to send the identifier of the PDU session to the SMF. The identifier of the PDU session may be included in the second session modification request message, or may be included in the NAS message sent by the terminal to the AMF, which is sent by the AMF to the SMF. The ID identifies the PDU session in which the terminal accesses the LADN.

S440,SMF根据第二会话修改请求消息修改接入LADN的PDU会话。S440, the SMF modifies the PDU session accessing the LADN according to the second session modification request message.

SMF根据第二会话修改请求消息修改接入LADN的PDU会话包括下述一项或多项:The SMF modifies the PDU session accessing the LADN according to the second session modification request message, including one or more of the following:

SMF指示UPF将该接入LADN的PDU会话对应的门控设置为开,例如,SMF可以向PDU发送门开启命令(GATE ON);The SMF instructs the UPF to set the gate corresponding to the PDU session accessing the LADN to on, for example, the SMF can send a gate open command (GATE ON) to the PDU;

SMF通知UPF发送与接入LADN的PDU会话相关的DDN;The SMF informs the UPF to send the DDN associated with the PDU session accessing the LADN;

SMF通知UPF发送与接入LADN的PDU会话相应下行数据;The SMF notifies the UPF to send the downlink data corresponding to the PDU session accessing the LADN;

SMF将接入LADN的PDU会话标记为可用。The SMF marks the PDU session to the LADN as available.

另外,SMF在接收到第二会话修改请求消息后,可以确定第二会话修改请求消息对应的PDU会话的状态是否为可用状态,例如,该第二会话修改请求消息对应的PDU会话为不可用,则代表该PDU会话在接收第二会话修改请求消息之前即为不可用,此时可以将该PDU会话标记为可用。如果该第二会话修改请求消息对应的PDU会话是可以状态时,则代表该PDU会话在接收第二会话修改请求消息之前即为可用,此时,可以不做修改。In addition, after receiving the second session modification request message, the SMF may determine whether the state of the PDU session corresponding to the second session modification request message is an available state, for example, the PDU session corresponding to the second session modification request message is unavailable, It means that the PDU session is unavailable before the second session modification request message is received, and at this time, the PDU session can be marked as available. If the PDU session corresponding to the second session modification request message is available, it means that the PDU session is available before the second session modification request message is received, and at this time, no modification is required.

S450,SMF向终端发送第二会话修改命令消息(PDU session modificationcommand)。该第二会话修改命令消息包括PDU会话的标识和第二参数,该第二参数用于指示PDU会话可用。S450, the SMF sends a second session modification command message (PDU session modificationcommand) to the terminal. The second session modification command message includes an identifier of the PDU session and a second parameter, where the second parameter is used to indicate that the PDU session is available.

其中,SMF在将PDU会话标记为可用后,还可以指示终端将该PDU会话标记为可用。Wherein, after marking the PDU session as available, the SMF may further instruct the terminal to mark the PDU session as available.

S460,终端将PDU会话标记为可用。S460, the terminal marks the PDU session as available.

终端将接入LADN的PDU会话标记为可用。The terminal marks the PDU session accessing the LADN as available.

其中,S450和S460为可选的步骤。例如,终端标记PDU会话为可用状态的过程也可以由终端本地执行,此时,可以在接收第二会话修改命令消息之前,在确定第二消息中包括LADN的信息之后执行,或者,SMF无需发送第二会话修改命令消息。Among them, S450 and S460 are optional steps. For example, the process of marking the PDU session as available by the terminal may also be performed locally by the terminal. In this case, before receiving the second session modification command message, it may be performed after determining that the second message includes the LADN information, or the SMF does not need to send The second session modifies the command message.

由此可以实现,在终端重新进入包括LADN的服务区域的RA时,重新启用该接入LADN的PDU会话,以便进行数据传输,从而从更细的粒度对PDU会话进行管理,并且使得网络设备对于终端的寻呼更合理,节省了信令,提高了效率。Therefore, when the terminal re-enters the RA of the service area including the LADN, the PDU session accessing the LADN is re-enabled for data transmission, so that the PDU session can be managed from a finer granularity, and the network device can be used for The paging of the terminal is more reasonable, signaling is saved, and efficiency is improved.

图5为本申请实施例提供的另一种会话管理的方法的信令交互示意图。如图5所示,对于释放已经建立过的LADN相关的PDU会话,具体可以包括S510-S520:FIG. 5 is a schematic diagram of signaling interaction of another session management method provided by an embodiment of the present application. As shown in FIG. 5 , for releasing the established LADN-related PDU session, it may specifically include S510-S520:

S510,终端向SMF发送会话释放消息。该会话释放消息可以包括PDU会话ID,该PDU会话ID指示终端接入LADN的PDU会话。S510, the terminal sends a session release message to the SMF. The session release message may include a PDU session ID indicating a PDU session in which the terminal accesses the LADN.

S520,SMF根据会话释放消息释放接入LADN的PDU会话。S520, the SMF releases the PDU session accessing the LADN according to the session release message.

通过本申请实施例,对于LADN的会话,当终端进入到不支持LADN的注册区域时,由终端修改或释放PDU会话,从而减少了网络设备因为该接入LADN的PDU会话有下行数据到达而寻呼终端造成的信令浪费。还可以基于当前注册区域和LADN的服务区域,来对PDU会话进行管理,粒度较细。According to the embodiment of the present application, for a LADN session, when a terminal enters a registration area that does not support LADN, the terminal modifies or releases the PDU session, thereby reducing the number of network devices searching for the LADN access PDU session due to the arrival of downlink data. Signaling waste caused by calling the terminal. The PDU session can also be managed based on the current registration area and the service area of the LADN with finer granularity.

图6为本申请实施例提供的一个示例。终端存在接入LADN的PDU会话,如图6所示,该方法包括:FIG. 6 provides an example of this embodiment of the present application. The terminal has a PDU session accessing the LADN. As shown in Figure 6, the method includes:

S601,终端执行注册过程(Mobility Registration procedure),接收AMF发送的注册接受消息。S601, the terminal performs a registration procedure (Mobility Registration procedure), and receives a registration acceptance message sent by the AMF.

S602,当终端收到的注册接受消息不包括LADN的信息时,终端确定LADN的可用状态发生变化,从而触发LADN的PDU会话的修改流程。例如,LADN的信息可以为LADN的可用信息。S602, when the registration acceptance message received by the terminal does not include the information of the LADN, the terminal determines that the available state of the LADN has changed, thereby triggering the modification process of the LADN PDU session. For example, the information of the LADN may be the available information of the LADN.

具体地,终端确定LADN的可用状态发生变化与S320步骤中的方法相同。该流程中的注册接受消息等同于S320中的第一消息。Specifically, determining that the available state of the LADN has changed by the terminal is the same as the method in step S320. The registration acceptance message in this process is equivalent to the first message in S320.

S603,终端向AMF发送PDU会话修改请求消息(PDU session Modificationrequest)。该PDU会话修改请求消息中包括没有LADN的可用性信息的指示信息(no LADNavailable info indication),该没有LADN的可用性信息的指示信息用于指示当前RA不包括LADN服务区域。S603, the terminal sends a PDU session modification request message (PDU session Modification request) to the AMF. The PDU session modification request message includes no LADN available info indication (no LADN available info indication), the indication information having no LADN availability information is used to indicate that the current RA does not include the LADN service area.

S604,AMF通过调用SMF服务的请求,将PDU会话修改请求消息发送给SMF。S604, the AMF sends a PDU session modification request message to the SMF through a request for invoking the SMF service.

S605,SMF判断接入LADN的PDU会话是否为挂起状态。S605, the SMF determines whether the PDU session accessing the LADN is in a suspended state.

如果是,则直接执行S612,释放PDU会话;如果否,则执行S606-S611。If yes, execute S612 directly to release the PDU session; if not, execute S606-S611.

S606,SMF根据PDU会话修改请求消息将接入LADN的PDU会话的状态标记为挂起状态。S606, the SMF marks the state of the PDU session accessing the LADN as a suspended state according to the PDU session modification request message.

S607,SMF向AMF发送调用SMF服务的响应,该调用SMF服务的响应包括PDU会话修改命令消息。该PDU会话修改命令消息包括会话挂起参数,该参数用于指示终端将该PDU会话标记为挂起状态。S607, the SMF sends a response for invoking the SMF service to the AMF, where the response for invoking the SMF service includes a PDU session modification command message. The PDU session modification command message includes a session suspension parameter, and the parameter is used to instruct the terminal to mark the PDU session as a suspended state.

S608,AMF向终端发送PDU会话修改命令消息。S608, the AMF sends a PDU session modification command message to the terminal.

可以在网络侧修改或释放PDU会话后,通知终端,以便终端同步修改或释放该PDU会话,从而降低了由于PDU会话的存在,但是终端确不处于LADN的服务区域时,寻呼终端造成的信令浪费。After the PDU session is modified or released on the network side, the terminal can be notified, so that the terminal can synchronously modify or release the PDU session, thereby reducing the information caused by paging the terminal when the terminal is not in the service area of the LADN due to the existence of the PDU session. to waste.

S609,终端将接入LADN的PDU会话标记为挂起状态。S609, the terminal marks the PDU session accessing the LADN as a suspended state.

或者,在另一种实现方式中,终端可以保存已向SMF发送没有LADN的信息的指示信息的记录。待终端再次进入到包括LADN服务区域的RA后,再次发起PDU会话修改流程,通知SMF,终端重新进入到了包括LADN服务区域的RA。Or, in another implementation manner, the terminal may save a record of the indication information that the information without the LADN has been sent to the SMF. After the terminal re-enters the RA including the LADN service area, it initiates the PDU session modification process again to notify the SMF that the terminal re-enters the RA including the LADN service area.

终端通过对PDU会话进行标记,可以统计终端连续进入不包括LADN的服务区域的注册区域次数,从而设置规则,在连续进入不包括LADN的服务区域的注册区域小于或等于设定次数的情况下,终端修改该PDU会话,当达到或超过该设定次数的情况下,终端释放该PDU会话,对接入LADN的PDU会话的管理粒度更细。By marking the PDU session, the terminal can count the number of times that the terminal continuously enters the registration area of the service area that does not include LADN, so as to set rules. The terminal modifies the PDU session, and when the set number of times is reached or exceeded, the terminal releases the PDU session, and the management granularity of the PDU session accessing the LADN is finer.

S610,SMF向UPF发送会话修改请求消息。其中,该会话修改请求消息可以通过N4接口发送。S610, the SMF sends a session modification request message to the UPF. The session modification request message may be sent through the N4 interface.

该会话修改请求消息中携带门控设置为关闭的指示(GATE OFF),或者通知UPF停止发送与接入LADN的PDU会话相关的下行数据通知(Downlink Data Notification,DNN),丢弃相应下行数据。The session modification request message carries an indication that the gate control is set to off (GATE OFF), or informs the UPF to stop sending Downlink Data Notification (DNN) related to the PDU session accessing the LADN, and discard the corresponding downlink data.

S611,UPF向SMF发送会话修改响应。其中,UPF可以将PDU会话对应的数据流(flow)的门控设置为关闭状态,或者停止发送与接入LADN的PDU会话相关的DDN,丢弃相应数据。S611, the UPF sends a session modification response to the SMF. The UPF may set the gate control of the data flow (flow) corresponding to the PDU session to a closed state, or stop sending the DDN related to the PDU session accessing the LADN, and discard the corresponding data.

在终端重新进入包括LADN的服务区域的RA时,重新启用该接入LADN的PDU会话,以便进行数据传输,从而从更细的粒度对PDU会话进行管理,并且使得网络设备对于终端的寻呼更合理,节省了信令,提高了效率。When the terminal re-enters the RA of the service area including the LADN, the PDU session accessing the LADN is re-enabled for data transmission, so that the PDU session is managed from a finer granularity and the paging of the terminal by the network device is improved. Reasonable, saving signaling and improving efficiency.

通过本申请实施例,对于LADN的会话,当终端进入到不支持LADN的注册区域时,由终端修改或释放PDU会话,从而减少了网络设备因为该接入LADN的PDU会话有下行数据到达而寻呼终端造成的信令浪费。还可以基于当前注册区域和LADN的服务区域,来对PDU会话进行管理,粒度较细。According to the embodiment of the present application, for a LADN session, when a terminal enters a registration area that does not support LADN, the terminal modifies or releases the PDU session, thereby reducing the number of network devices searching for the LADN access PDU session due to the arrival of downlink data. Signaling waste caused by calling the terminal. The PDU session can also be managed based on the current registration area and the service area of the LADN with finer granularity.

图7为本申请实施例提供的一种服务订阅的方法的信令交互示意图。其中,终端存在接入LADN的PDU会话,如图7所示,该方法具体包括:FIG. 7 is a schematic diagram of signaling interaction of a service subscription method provided by an embodiment of the present application. Wherein, the terminal has a PDU session accessing the LADN, as shown in Figure 7, the method specifically includes:

S710,SMF向AMF订阅通知服务。例如,SMF向AMF发送订阅通知服务请求,即SMF调用AMF提供的订阅通知服务,来实现SMF向AMF订阅通知服务。该通知服务用于当预设事件发生时,AMF通知SMF,其中,预设事件为LADN的可用状态发生变化,LADN的可用状态发生变化可以为注册区内LADN的可用状态发生变化。S710, the SMF subscribes the notification service to the AMF. For example, the SMF sends a subscription notification service request to the AMF, that is, the SMF invokes the subscription notification service provided by the AMF to implement the subscription notification service from the SMF to the AMF. The notification service is used for the AMF to notify the SMF when a preset event occurs, wherein the preset event is a change in the availability state of the LADN, and the change in the availability state of the LADN may be a change in the availability state of the LADN within the registration area.

SMF在向AMF订阅通知服务时,可以向所述AMF发送LADN的数据网络名称(LADNDNN)和预设事件,以向AMF订阅通知服务。当然,SMF也可以发送给AMF关于预设事件的过滤器,以使AMF通过过滤器来判断预设事件发生,另外,SMF还可以向AMF发送能够识别该预设事件发生的其他参数,本发明不做具体限制。When subscribing the notification service to the AMF, the SMF may send the data network name (LADNDNN) of the LADN and a preset event to the AMF to subscribe the notification service to the AMF. Of course, the SMF can also send the filter about the preset event to the AMF, so that the AMF can determine the occurrence of the preset event through the filter. In addition, the SMF can also send other parameters that can identify the occurrence of the preset event to the AMF. The present invention No specific restrictions are imposed.

其中,预设事件为LADN的可用状态发生变化,具体可以指注册区在包括LADN信息和不包括LADN信息之间发生转换,包括下述一种或多种情况:The preset event is a change in the available state of the LADN. Specifically, it may refer to the transition of the registration area between including the LADN information and excluding the LADN information, including one or more of the following situations:

终端由包括LADN的信息的第一RA,进入不包括LADN的信息的第二RA;The terminal enters the second RA that does not include the information of the LADN from the first RA that includes the information of the LADN;

终端由不包括LADN的信息的第一RA,进入包括LADN的信息的第二RA;The terminal enters the second RA that includes the information of the LADN from the first RA that does not include the information of the LADN;

终端未更换RA,但对于终端可用的LADN发生变换,使得终端的第一RA由包括LADN的信息变为不包括LADN的信息;The terminal does not replace the RA, but the LADN available to the terminal is changed, so that the first RA of the terminal changes from the information including the LADN to the information not including the LADN;

终端未更换RA,但对于终端可用的LADN发生变换,使得终端的第一RA由不包括LADN的信息变为包括LADN的信息。The terminal does not replace the RA, but the LADN available to the terminal is changed, so that the first RA of the terminal changes from information that does not include the LADN to information that includes the LADN.

其中,第一RA是终端的当前RA,第二RA是终端进入到第一RA之前的RA。LADN的信息可以为LADN的可用信息。The first RA is the current RA of the terminal, and the second RA is the RA before the terminal enters the first RA. The information of the LADN may be the available information of the LADN.

例如,结合图2所示,TA1-TA5属于对于终端可用的LADN的服务区域,当终端的当前注册区域由RA1(或RA2)移动到RA3,或者由RA2移动到RA4时,也就是,终端由包括LADN的信息的RA移动到了不包括LADN的信息的RA,此时认为终端进入的注册区域在包括和不包括LADN的信息之间发生变化,反之亦然。For example, as shown in FIG. 2, TA1-TA5 belong to the service area of the LADN available to the terminal, when the current registration area of the terminal is moved from RA1 (or RA2) to RA3, or from RA2 to RA4, that is, the terminal is moved by The RA that includes the information of the LADN moves to the RA that does not include the information of the LADN. At this time, it is considered that the registration area entered by the terminal changes between the information including and not including the LADN, and vice versa.

再例如,结合图2所示,TA1-TA5属于对于终端可用的LADN的服务区域。当网络侧将TA1-TA5取消LADN服务时,若终端的当前注册区域为RA1,终端的RA由包括LADN的信息变成了不包括LADN的信息,此时认为终端进入的注册区域在包括和不包括LADN的信息之间发生变化。当网络侧将TA10设置为支持LADN,且TA10属于对于终端可用的LADN的服务区域,若终端的当前注册区域为RA3,终端的RA由不包括LADN的信息变成了包括LADN的信息,此时认为终端进入的注册区域在包括和不包括LADN的信息之间发生变化。For another example, as shown in FIG. 2 , TA1-TA5 belong to the service area of the LADN available to the terminal. When the network side cancels the LADN service from TA1-TA5, if the current registration area of the terminal is RA1, and the RA of the terminal changes from information including LADN to information that does not include LADN, it is considered that the registration area entered by the terminal includes and does not include LADN. Changes between information including LADN. When the network side sets TA10 to support LADN, and TA10 belongs to the service area of LADN available to the terminal, if the current registration area of the terminal is RA3, the RA of the terminal changes from information that does not include LADN to information that includes LADN. The registration area entered by the terminal is considered to vary between including and excluding the information of the LADN.

S720,AMF确定LADN的可用状态发生变化。S720, the AMF determines that the availability state of the LADN has changed.

AMF根据终端的RA的变化情况以及对于终端可用的LADN的服务区域的变化情况,确定终端的当前RA是否包括LADN的信息,判断终端进入的注册区域有无LADN的信息是否发生变化,或者在同一注册区域下,是否发生了包括LADN的信息和不包括LADN的信息之间的变化,也就是LADN的可用状态是否发生变化。The AMF determines whether the current RA of the terminal includes the LADN information according to the change of the RA of the terminal and the change of the service area of the LADN available to the terminal, and judges whether the information of the LADN has changed in the registration area entered by the terminal, or whether the information of the LADN has changed in the same registration area. In the registration area, whether there is a change between the information that includes the LADN and the information that does not include the LADN, that is, whether the availability of the LADN changes.

S730,AMF向SMF发送通知信息,该通知信息用于通知SMF订阅的预设事件发生。其中,通知信息可以包括,LADN DNN和/或指示参数,LADN DNN用于标识LADN,指示参数用于指示SMF订阅的预设事件发生,具体可以为终端的RA包括或者不包括所述LADN的信息(LADNavailable/unavailable indication in current RA),或者用于指示终端的RA在包括LADN的可用该信息和不包括LADN的信息之间发生转换,或者其他用于指示预设事件发生变化的参数,本发明不做具体限制。S730, the AMF sends notification information to the SMF, where the notification information is used to notify the occurrence of a preset event subscribed by the SMF. The notification information may include the LADN DNN and/or an indication parameter, the LADN DNN is used to identify the LADN, and the indication parameter is used to indicate the occurrence of a preset event for SMF subscription, specifically, the RA of the terminal may include or not include the information of the LADN (LADN available/unavailable indication in current RA), or used to instruct the RA of the terminal to switch between the available information including the LADN and the information not including the LADN, or other parameters used to indicate that the preset event has changed, the present invention No specific restrictions are imposed.

具体地,AMF向SMF发送终端的注册区域包括LAND信息,其意义是终端的注册区域从不包括LADN的信息转换到包括LADN的可用该信息。如果发送给SMF,终端的注册区域不包括LADN的可用该信息,其意义是终端的注册区域从包括LADN的信息转换到不包括LADN的信息。当然,AMF也可以向SMF发送其他参数来指示终端的注册区域在包括LADN信息和不包括LADN信息之间发生转换。Specifically, the AMF sends the SMF that the registration area of the terminal includes the LAND information, which means that the registration area of the terminal is converted from the information that does not include the LADN to the available information that includes the LADN. If it is sent to the SMF, the registration area of the terminal does not include the available information of the LADN, which means that the registration area of the terminal is converted from the information including the LADN to the information not including the LADN. Of course, the AMF can also send other parameters to the SMF to indicate that the registration area of the terminal is switched between including the LADN information and not including the LADN information.

例如,当AMF确定终端由包括LADN的信息的第二注册区域进入到不包括LADN的信息的第一注册区域,在终端注册到第一注册区域时,AMF向SMF发送通知消息,该通知消息不包括LADN的信息。For example, when the AMF determines that the terminal enters the first registration area that does not include the LADN information from the second registration area that includes the LADN information, when the terminal registers in the first registration area, the AMF sends a notification message to the SMF, and the notification message does not Include LADN information.

或者,当AMF确定终端由不包括LADN的信息的第二注册区域进入到包括LADN的信息的第一注册区域,在终端注册到第一注册区域时,AMF向SMF发送通知消息,该通知消息包括LADN的信息。Or, when the AMF determines that the terminal enters the first registration area including the LADN information from the second registration area that does not include the LADN information, when the terminal registers in the first registration area, the AMF sends a notification message to the SMF, and the notification message includes LADN information.

或者,当AMF确定终端的注册区域为第一注册区域,该第一注册区域由包括LADN的信息,重配置为不包括LADN的信息时,AMF向SMF发送通知消息,该通知消息不包括LADN的信息。Or, when the AMF determines that the registration area of the terminal is the first registration area, and the first registration area is reconfigured to not include the LADN information from the information including the LADN, the AMF sends a notification message to the SMF, and the notification message does not include the LADN information. information.

或者,当AMF确定终端的注册区域为第一注册区域,该第一注册区域由不包括LADN的信息,重配置为包括LADN的信息时,AMF向SMF发送通知消息,该通知消息包括LADN的信息。Or, when the AMF determines that the registration area of the terminal is the first registration area, and the first registration area is reconfigured to include the LADN information from the information that does not include the LADN, the AMF sends a notification message to the SMF, and the notification message includes the LADN information .

再例如,结合图2所示,当终端的当前注册区域由RA1(或RA2)移动到RA3,或者由RA2移动到RA4时,也就是,终端由包括LADN的信息的RA移动到了不包括LADN的信息的RA,此时,AMF向SMF发送所述终端当前RA不包括LADN的信息的通知信息。当终端的当前注册区域由RA3移动到RA1(或RA2),或者由RA4移动到RA2时,也就是,终端由不包括LADN的信息的RA移动到了包括LADN的信息的RA,此时,AMF向SMF发送终端当前RA包括LADN的信息的通知信息。For another example, as shown in FIG. 2 , when the current registration area of the terminal moves from RA1 (or RA2) to RA3, or from RA2 to RA4, that is, the terminal moves from the RA that includes the LADN information to the one that does not include the LADN. RA of the information, at this time, the AMF sends the notification information that the current RA of the terminal does not include the information of the LADN to the SMF. When the current registration area of the terminal moves from RA3 to RA1 (or RA2), or from RA4 to RA2, that is, the terminal moves from the RA that does not include the information of the LADN to the RA that includes the information of the LADN. The SMF sends notification information that the current RA of the terminal includes the information of the LADN.

S740,SMF根据通知信息修改或释放PDU会话。S740, the SMF modifies or releases the PDU session according to the notification information.

SMF在接收到通知信息,确定LADN的可用状态发生变化后,可以修改或者释放接入LADN的PDU会话。After the SMF receives the notification information and determines that the available state of the LADN has changed, it can modify or release the PDU session accessing the LADN.

其中,若接入LADN的PDU会话为不可用,则在SMF接收到终端当前RA包括LADN的信息的通知信息后,修改接入LADN的PDU会话为可用状态。进一步地,SMF还可以执行下述一项或多项步骤:通知UPF将接入LADN的PDU会话对应的门控设置为开;通知UPF发送与接入LADN的PDU会话相关的DDN;通知UPF发送与接入LADN的PDU会话相关的下行数据。Wherein, if the PDU session accessing the LADN is unavailable, after the SMF receives the notification information that the current RA of the terminal includes the LADN information, the SMF modifies the PDU session accessing the LADN to an available state. Further, the SMF may also perform one or more of the following steps: notify the UPF to set the gate corresponding to the PDU session accessing the LADN to on; notify the UPF to send the DDN related to the PDU session accessing the LADN; notify the UPF to send Downlink data related to PDU sessions accessing the LADN.

若接入LADN的PDU会话为可用状态,则在SMF接收到终端当前RA不包括LADN的信息的通知信息后,修改接入LADN的PDU会话为不可用,进一步地,SMF还可以执行下述一项或多项步骤:通知UPF将接入LADN的PDU会话对应的门控设置为关;通知UPF停止发送与接入LADN的PDU会话相关的DDN;通知UPF丢弃与接入LADN的PDU会话相关的下行数据。If the PDU session accessing the LADN is in the available state, after the SMF receives the notification information that the current RA of the terminal does not include the LADN information, it modifies the PDU session accessing the LADN to be unavailable. Further, the SMF may also perform the following one Item or more steps: informing the UPF to set the gate corresponding to the PDU session accessing the LADN to OFF; informing the UPF to stop sending DDNs related to the PDU session accessing the LADN; informing the UPF to discard the DDN related to the PDU session accessing the LADN; Downlink data.

在另一种可能的实现中,在SMF接收到终端当前RA不包括LADN的信息的通知信息后,还可以释放接入LADN的PDU会话。例如,若接入LADN的PDU会话为可用状态,在SMF接收到终端当前RA不包括LADN的信息的通知信息后,释放接入LADN的PDU会话为可用状态。In another possible implementation, after the SMF receives the notification information that the current RA of the terminal does not include the information of the LADN, it can also release the PDU session accessing the LADN. For example, if the PDU session accessing the LADN is in the available state, after the SMF receives the notification information that the current RA of the terminal does not include the information of the LADN, the SMF releases the PDU session accessing the LADN to the available state.

在又一种可能的实现中,在下行数据到来时,SMF获取终端的注册信息时,AMF向SMF发送所述终端当前RA不包括所述LADN的信息的通知信息后,SMF还可以执行下述一项或多项步骤:通知UPF丢弃该下行数据;通知UPF将接入LADN的PDU会话对应的门控设置为关;通知UPF停止发送与接入LADN的PDU会话相关的DDN;将该接入LADN的PDU会话修改为不可用。SMF在不修改PDU会话时,即可实现将下行数据丢弃,从而不必再寻呼终端,节省了信令。In another possible implementation, when the downlink data arrives, when the SMF obtains the registration information of the terminal, after the AMF sends the notification information that the current RA of the terminal does not include the information of the LADN to the SMF, the SMF may also perform the following One or more steps: informing the UPF to discard the downlink data; informing the UPF to set the gate corresponding to the PDU session accessing the LADN to off; informing the UPF to stop sending DDNs related to the PDU session accessing the LADN; The PDU session for LADN is modified to be unavailable. When the SMF does not modify the PDU session, the downlink data can be discarded, so that the terminal does not need to be paged and signaling is saved.

通过本申请实施例可以实现,AMF通知SMF,终端移动到的RA在包括LADN的服务区域和不包括LADN的服务区域之间发生转换时,由SMF发起LADN会话的释放或者修改,从而减少了当终端处于不支持LADN的RA时,网络设备因为该接入LADN的PDU会话有下行数据到达而寻呼终端造成的信令浪费。The embodiment of the present application can realize that the AMF notifies the SMF that when the RA to which the terminal moves is switched between the service area including the LADN and the service area not including the LADN, the SMF initiates the release or modification of the LADN session, thereby reducing the need for When the terminal is in an RA that does not support LADN, the network equipment wastes signaling due to the arrival of downlink data in the PDU session accessing the LADN and paging the terminal.

图8为本申请实施例提供的另一种会话管理的方法的信令交互示意图。其中,终端存在接入LADN的PDU会话,如图8所示,该方法具体包括:FIG. 8 is a schematic diagram of signaling interaction of another session management method provided by an embodiment of the present application. Wherein, the terminal has a PDU session accessing the LADN, as shown in Figure 8, the method specifically includes:

S810,终端在第一RA内接收AMF发送的第一消息。其中,该第一消息包括或者不包括LADN的信息(例如,结合图8所示的第一消息可以为结合图3所示的第一消息或者结合图4所示的第二消息),第一RA为终端的当前注册区域。S810, the terminal receives the first message sent by the AMF in the first RA. Wherein, the first message includes or does not include LADN information (for example, the first message shown in combination with FIG. 8 may be the first message shown in combination with FIG. 3 or the second message shown in combination with FIG. 4 ), the first message RA is the current registration area of the terminal.

其中,第一消息可以是注册接受消息或者终端配置更新命令消息。The first message may be a registration acceptance message or a terminal configuration update command message.

例如,当AMF确定终端由第二注册区域进入第一注册区域时,若第一注册区域包括LADN的信息,则AMF向终端发送注册接受消息,该注册接受消息包括LADN的信息,若第一注册区域不包括LADN的信息,则AMF向终端发送注册接受消息,该注册接受消息不包括LADN的信息。For example, when the AMF determines that the terminal enters the first registration area from the second registration area, if the first registration area includes the LADN information, the AMF sends a registration accept message to the terminal, and the registration accept message includes the LADN information. If the area does not include the information of the LADN, the AMF sends a registration acceptance message to the terminal, and the registration acceptance message does not include the information of the LADN.

可以理解的是,注册接受消息中不包括LADN的信息,具体可以为无LADN信息,或者LADN的信息为空,或者其他指示信息指示无LADN的信息It can be understood that the registration acceptance message does not include LADN information, which may specifically be no LADN information, or the LADN information is empty, or other indication information indicates no LADN information.

或者,当AMF确定终端由包括LADN的信息的第二注册区域进入到不包括LADN的信息的第一注册区域,在终端注册到第一注册区域时,AMF向终端发送注册接受消息,该注册接收消息不包括LADN的信息。Or, when the AMF determines that the terminal enters the first registration area that does not include the LADN information from the second registration area including the LADN information, when the terminal registers in the first registration area, the AMF sends a registration accept message to the terminal, and the registration accepts The message does not include LADN information.

或者,当AMF确定终端由不包括LADN的信息的第二注册区域进入到包括LADN的信息的第一注册区域,在终端注册到第一注册区域时,AMF向终端发送注册接受消息,该注册接收消息包括LADN的信息。Or, when the AMF determines that the terminal enters the first registration area including the LADN information from the second registration area that does not include the LADN information, when the terminal registers in the first registration area, the AMF sends a registration acceptance message to the terminal, and the registration accepts The message includes the information of the LADN.

或者,当AMF确定终端的注册区域为第一注册区域,该第一注册区域由包括LADN的信息,重配置为不包括LADN的信息时,AMF向终端发送终端配置更新命令消息,该终端配置更新命令消息不包括LADN的信息。Or, when the AMF determines that the registration area of the terminal is the first registration area, and the first registration area is reconfigured to not include the LADN information from the information including the LADN, the AMF sends a terminal configuration update command message to the terminal, and the terminal configuration update The command message does not include LADN information.

或者,当AMF确定终端的注册区域为第一注册区域,该第一注册区域由不包括LADN的信息,重配置为包括LADN的信息时,AMF向终端发送终端配置更新命令消息,该终端配置更新命令消息包括LADN的信息。Or, when the AMF determines that the registration area of the terminal is the first registration area, and the first registration area is reconfigured to include the LADN information from the information that does not include the LADN, the AMF sends a terminal configuration update command message to the terminal, and the terminal configuration update The command message includes the information of the LADN.

在本申请实施例中,第一注册区域为所述终端的当前注册区域,第二注册区域为终端进入当前注册区域前的注册区域。In this embodiment of the present application, the first registration area is the current registration area of the terminal, and the second registration area is the registration area before the terminal enters the current registration area.

其中,LADN的信息可以参照结合图3所示的实施例中S310中的相关描述,此处不再赘述。For the information of the LADN, reference may be made to the relevant description in S310 in the embodiment shown in FIG. 3 , and details are not repeated here.

S820,终端根据第一消息确定LADN的可用状态发生变化。S820, the terminal determines that the availability state of the LADN has changed according to the first message.

LADN的可用状态发生变化包括:注册区域由包括LADN的信息变为不包括LADN的信息,或者,注册区域由不包括LADN的信息变为包括LADN的信息。The change in the available state of the LADN includes: the registration area changes from information including LADN to information not including LADN, or, the registration area changes from information not including LADN to information including LADN.

例如,当第一消息不包括LADN的信息,说明当前注册区域不包括LADN的信息并且第二注册区域包括LADN的信息时,终端确定LADN的可用状态发生变化;或者,当第一消息包括LADN的信息,说明当前注册区域包括LADN的信息,并且第二注册区域不包括LADN的信息时终端确定LADN的可用状态发生变化。For example, when the first message does not include the LADN information, indicating that the current registration area does not include the LADN information and the second registration area includes the LADN information, the terminal determines that the availability state of the LADN has changed; or, when the first message includes the LADN information information, indicating that the current registration area includes the information of the LADN, and the terminal determines that the available state of the LADN changes when the second registration area does not include the information of the LADN.

其中,第二注册区域包括或者不包括LADN的信息可以根据终端在第二注册区域时接收到的第二消息确定。该第二消息包括或者不包括LADN的信息。该第二消息包括LADN的信息,表示第二注册区域包括LADN的信息;该第二消息不包括LADN的信息,表示第二注册区域不包括LADN的信息。其中第二消息可以是注册接受消息或者终端配置更新命令消息。可以记录终端在第二注册区域时接收到的第二消息,或者可以记录第二注册区域包括或不包括LADN的信息,当终端接收到第一消息时,可以直接根据记录确定第二注册区域包括或者不包括LADN的信息。The information that the second registration area includes or does not include the LADN may be determined according to the second message received by the terminal when the terminal is in the second registration area. The second message may or may not include the information of the LADN. The second message includes the LADN information, indicating that the second registration area includes the LADN information; the second message does not include the LADN information, indicating that the second registration area does not include the LADN information. The second message may be a registration acceptance message or a terminal configuration update command message. The second message received by the terminal in the second registration area may be recorded, or the information that the second registration area includes or does not include the LADN may be recorded. When the terminal receives the first message, it may be directly determined according to the record that the second registration area includes the LADN. Or do not include LADN information.

另外,第二注册区域包括或者不包括LADN的信息,还可以根据接收到第一消息时,终端接入LADN的PDU会话的状态确定。例如,当接收到第一消息时,终端接入LADN的PDU会话的状态为不可用,表示第二注册区域不包括LADN的信息;当接收到第一消息时,终端接入LADN的PDU会话的状态为可用状态,表示第二注册区域包括LADN的信息。In addition, the second registration area includes or does not include the information of the LADN, and may also be determined according to the state of the PDU session in which the terminal accesses the LADN when the first message is received. For example, when the first message is received, the status of the PDU session of the terminal accessing the LADN is unavailable, indicating that the second registration area does not include the information of the LADN; when the first message is received, the status of the PDU session of the terminal accessing the LADN is unavailable. The state is the available state, indicating that the second registration area includes the information of the LADN.

再例如,当第一消息不包括LADN的信息,并且终端在第一注册区域在收到第一消息之前包括LADN的信息时,终端确定LADN的可用状态发生变化;或者,当第一消息包括所述LADN的信息,并且终端在收到第一消息之前不包括LADN的信息时,终端确定注册区域内LAND可用状态发生变化。For another example, when the first message does not include the information of the LADN, and the terminal includes the information of the LADN in the first registration area before receiving the first message, the terminal determines that the availability state of the LADN has changed; or, when the first message includes the information of the LADN; When the information of the LADN is not included before the terminal receives the first message, the terminal determines that the available state of the LAND in the registration area has changed.

其中,第一注册区域在收到第一消息之前包括或者不包括LADN的信息,可以根据在第一注册区域接收到的第三消息确定,或者根据接入LADN的PDU会话的状态确定。第三消息包括或者不包括LADN的信息。该第三消息包括LADN的信息,表示第一注册区域包括LADN的信息,该第三消息不包括LADN的信息,表示第一注册区域不包括LADN的信息。其中第三消息可以是注册接受消息或者终端配置更新命令消息。可以记录终端在第二注册区域时接收到的第二消息,或者记录第一注册区域包括或不包括LADN的信息,当终端接收到第一消息时,可以直接根据记录确定第一注册区域在收到第一消息之前包括或者不包括LADN的信息。The first registration area includes or does not include the information of the LADN before receiving the first message, which may be determined according to the third message received in the first registration area, or determined according to the state of the PDU session accessing the LADN. The third message includes or does not include the information of the LADN. The third message includes the LADN information, indicating that the first registration area includes the LADN information, and the third message does not include the LADN information, indicating that the first registration area does not include the LADN information. The third message may be a registration acceptance message or a terminal configuration update command message. The second message received by the terminal in the second registration area can be recorded, or the information that the first registration area includes or does not include the LADN can be recorded. When the terminal receives the first message, it can be directly determined according to the record that the first registration area is in the receiving area. The information of the LADN is included or not included before the first message.

另外,在收到第一消息之前第一注册区域包括或者不包括LADN的信息,还可以根据接收到第一消息时,终端接入LADN的PDU会话的状态确定。例如,当接收到第一消息时,终端接入LADN的PDU会话的状态为不可用,表示在收到第一消息之前第一注册区域不包括LADN的信息;当接收到第一消息时,终端接入LADN的PDU会话的状态为可用,表示在收到第一消息之前第一注册区域包括LADN的信息。In addition, before receiving the first message, the first registration area includes or does not include the information of the LADN, and may also be determined according to the state of the PDU session in which the terminal accesses the LADN when the first message is received. For example, when receiving the first message, the state of the PDU session of the terminal accessing the LADN is unavailable, indicating that the first registration area does not include the information of the LADN before receiving the first message; when receiving the first message, the terminal The status of the PDU session accessing the LADN is available, indicating that the first registration area includes the information of the LADN before the first message is received.

其中,终端接入LADN的PDU会话的状态为不可用可参见结合图3图4和图6所示的实施例中的相关描述。The state of the PDU session in which the terminal accesses the LADN is unavailable, please refer to the relevant description in the embodiments shown in combination with FIG. 3 , FIG. 4 and FIG. 6 .

SMF可以基于当前注册区域和LADN的服务区域,来对PDU会话进行管理,粒度较细。解决了在终端位于LADN的服务区域以外时,由终端发起PDU会话的释放,从而降低了由于PDU会话的存在,但是终端确不处于LADN的服务区域时,寻呼终端造成的信令浪费。The SMF can manage the PDU session based on the current registration area and the service area of the LADN with finer granularity. It solves the problem that when the terminal is outside the service area of the LADN, the terminal initiates the release of the PDU session, thereby reducing the signaling waste caused by paging the terminal when the terminal is not in the service area of the LADN due to the existence of the PDU session.

S830,修改或者释放所述PDU会话。S830, modify or release the PDU session.

当第一消息不包括LADN的信息,并且第二注册区域包括LADN的信息时,或者,当第一消息不包括LADN的信息,并且第一注册区域在收到第一消息之前包括LADN的信息时,修改或者释放PDU会话包括下述一项或多项(可参见结合图3所示的实施例中S330-S360,和结合图5所示的实施例中S510-S520,以及结合图6所示的实施例中S603-S611的相关描述):When the first message does not include the information of the LADN and the second registration area includes the information of the LADN, or, when the first message does not include the information of the LADN and the first registration area includes the information of the LADN before receiving the first message , modifying or releasing a PDU session includes one or more of the following (refer to S330-S360 in the embodiment shown in FIG. 3, S510-S520 in the embodiment shown in FIG. 5, and the embodiment shown in FIG. 6 Relevant descriptions of S603-S611 in the embodiments):

终端通知SMF修改或释放PDU会话;The terminal notifies the SMF to modify or release the PDU session;

终端将PDU会话标记为不可用;The terminal marks the PDU session as unavailable;

SMF将PDU会话标记为不可用;SMF marks the PDU session as unavailable;

SMF通知UPF丢弃PDU会话对应的下行数据;The SMF notifies the UPF to discard the downlink data corresponding to the PDU session;

SMF通知UPF停止向SMF发送下行数据通知DDN。The SMF notifies the UPF to stop sending downlink data to the SMF to notify the DDN.

当第一消息包括LADN的信息,并且第二注册区域不包括LADN的信息时;或者,当第一消息包括LADN的信息,并且第一注册区域在收到第一消息之前不包括LADN的信息时;修改或者释放PDU会话包括下述一项或多项(可参见结合图4所示的实施例中S430-S460的相关描述):When the first message includes the information of the LADN, and the second registration area does not include the information of the LADN; or, when the first message includes the information of the LADN, and the first registration area does not include the information of the LADN before receiving the first message ; Modifying or releasing a PDU session includes one or more of the following (refer to the relevant descriptions of S430-S460 in the embodiment shown in FIG. 4 ):

终端通知SMF修改PDU会话;The terminal notifies the SMF to modify the PDU session;

终端将PDU会话标记为可用;The terminal marks the PDU session as available;

SMF将PDU会话标记为可用;SMF marks the PDU session as available;

SMF通知UPF发送PDU会话对应的下行数据;The SMF notifies the UPF to send the downlink data corresponding to the PDU session;

所述SMF通知UPF发送PDU会话对应的下行数据通知DDN。The SMF notifies the UPF to send the downlink data corresponding to the PDU session to notify the DDN.

可以在网络侧修改或释放PDU会话后,通知终端,以便终端同步修改或释放该PDU会话,从而降低了由于PDU会话的存在,但是终端确不处于LADN的服务区域时,寻呼终端造成的信令浪费。终端通过对PDU会话进行标记,可以统计终端连续进入不包括LADN的服务区域的注册区域次数,从而设置规则,在连续进入不包括LADN的服务区域的注册区域小于或等于设定次数的情况下,终端修改该PDU会话,当达到或超过该设定次数的情况下,终端释放该PDU会话,对接入LADN的PDU会话的管理粒度更细。After the PDU session is modified or released on the network side, the terminal can be notified, so that the terminal can synchronously modify or release the PDU session, thereby reducing the information caused by paging the terminal when the terminal is not in the service area of the LADN due to the existence of the PDU session. to waste. By marking the PDU session, the terminal can count the number of times that the terminal continuously enters the registration area of the service area that does not include LADN, so as to set rules. The terminal modifies the PDU session, and when the set number of times is reached or exceeded, the terminal releases the PDU session, and the management granularity of the PDU session accessing the LADN is finer.

另外,还可以在终端重新进入包括LADN的服务区域的RA时,重新启用该接入LADN的PDU会话,以便进行数据传输,从而从更细的粒度对PDU会话进行管理,并且使得网络设备对于终端的寻呼更合理,节省了信令,提高了效率。In addition, when the terminal re-enters the RA of the service area including the LADN, the PDU session accessing the LADN can be re-enabled for data transmission, so that the PDU session can be managed from a finer granularity, and the network device can be used for the terminal. The paging is more reasonable, signaling is saved, and efficiency is improved.

通过本申请实施例可以实现,对于LADN的会话,当终端进入到不支持LADN的注册区域时,由终端修改或释放PDU会话,从而减少了由于终端处于不支持LADN的RA内,网络设备因为该接入LADN的PDU会话有下行数据到达而寻呼终端造成的信令浪费。还The embodiments of the present application can realize that, for a LADN session, when a terminal enters a registration area that does not support LADN, the terminal modifies or releases the PDU session, thereby reducing the need for the network device because the terminal is in an RA that does not support LADN. In the PDU session accessing the LADN, there is a waste of signaling caused by the arrival of downlink data and the paging of the terminal. return

图9为本申请实施例提供的另一种会话管理的方法的信令交互示意图。如图9所示,该方法包括:FIG. 9 is a schematic diagram of signaling interaction of another session management method provided by an embodiment of the present application. As shown in Figure 9, the method includes:

S910,UPF向SMF发送DDN。该DNN用于指示有接入LADN的PDU会话对应的下行数据需要传输。S910, the UPF sends the DDN to the SMF. The DNN is used to indicate that the downlink data corresponding to the PDU session accessing the LADN needs to be transmitted.

S920,SMF调用AMF提供的第一服务,该第一服务用于SMF请求AMF向接入节点AN发送消息或者信息,例如N2 SM information。该SMF通过AMF向接入节点AN发送的消息或者信息用于指示SMF请求AMF将消息或者信息发送给AN。S920, the SMF invokes the first service provided by the AMF, where the first service is used by the SMF to request the AMF to send a message or information, such as N2 SM information, to the access node AN. The message or information sent by the SMF to the access node AN through the AMF is used to instruct the SMF to request the AMF to send the message or information to the AN.

S930,AMF确定该PDU会话为LADN对应的会话,并且终端的当前注册区域无可用的LADN的服务区域。S930, the AMF determines that the PDU session is a session corresponding to the LADN, and there is no available LADN service area in the current registration area of the terminal.

S940,AMF向SMF发送指示参数,该指示参数用于指示当前注册区域内不包括LADN的信息,该指示参数可以为S920中消息的确认。S940, the AMF sends an indication parameter to the SMF, where the indication parameter is used to indicate that the information of the LADN is not included in the current registration area, and the indication parameter may be the confirmation of the message in S920.

如果下行数据属于接入LADN的PDU会话,AMF判断当前RA中没有LADN的服务区域,则向SMF发送当前注册区域LADN不可用的指示(LADN unavailable indication incurrent TA)。AMF保存向SMF发送过LADN unavailable indication in current TA的指示,待终端再次进入到包括LADN的服务区域的RA后通知SMF。If the downlink data belongs to the PDU session accessing the LADN, the AMF judges that there is no service area of the LADN in the current RA, and sends an indication that the current registration area LADN is unavailable (LADN unavailable indication incurrent TA) to the SMF. The AMF saves the indication that the LADN unavailable indication in current TA has been sent to the SMF, and notifies the SMF after the terminal re-enters the RA of the service area including the LADN.

AMF可以保存已向SMF发送指示参数的信息。可以在终端重新进入包括LADN的服务区域的RA时,通知SMF重新启用该接入LADN的PDU会话,以便进行数据传输,从而从更细的粒度对PDU会话进行管理,并且使得网络设备对于终端的寻呼更合理,节省了信令,提高了效率。The AMF may store information indicating parameters that have been sent to the SMF. When the terminal re-enters the RA of the service area including the LADN, the SMF can be notified to re-enable the PDU session accessing the LADN for data transmission, so that the PDU session can be managed from a finer granularity and the network device can be used for the terminal. Paging is more reasonable, signaling is saved, and efficiency is improved.

S950,SMF根据指示参数修改PDU会话。S950, the SMF modifies the PDU session according to the indicated parameter.

SMF根据指示参数修改PDU会话,包括SMF执行下述一项或多项:The SMF modifies the PDU session based on the indicated parameters, including the SMF performing one or more of the following:

通知UPF丢弃PDU会话对应的下行数据;Notify the UPF to discard the downlink data corresponding to the PDU session;

通知UPF停止向SMF发送所述PDU会话对应的下行数据通知DDN。Notify the UPF to stop sending the downlink data corresponding to the PDU session to the SMF and notify the DDN.

图10为本申请实施例提供的另一个示例。如图10所示,该方法具体包括如下步骤:FIG. 10 provides another example of this embodiment of the present application. As shown in Figure 10, the method specifically includes the following steps:

S1001,终端向AMF发送注册请求消息。S1001, the terminal sends a registration request message to the AMF.

当终端发生移动时,从一个RA移动到另一个RA,AMF可能发生变化,此时,终端可以在新的AMF进行注册。When the terminal moves from one RA to another RA, the AMF may change. At this time, the terminal can register with the new AMF.

S1002,AMF确定终端的LADN的可用状态发生变化。S1002, the AMF determines that the available state of the LADN of the terminal changes.

如果,SMF在S1001之前,向AMF订阅了通知服务。该通知服务用于当预设事件发生时,AMF通知SMF,其中,预设事件为有无LADN的信息发生变化。此时可执行S1002。其中,SMF向AMF订阅通知服务可以参见结合图7所示的实施例中的描述。If, before S1001, the SMF subscribes the notification service to the AMF. The notification service is used for the AMF to notify the SMF when a preset event occurs, wherein the preset event is whether there is a change in the LADN information. At this time, S1002 can be executed. The SMF subscribes the notification service to the AMF may refer to the description in conjunction with the embodiment shown in FIG. 7 .

S1003,AMF向SMF发送通知信息。S1003, the AMF sends notification information to the SMF.

如果,SMF向AMF订阅了通知服务,AMF在S1002中确定终端的LADN的可用状态发生变化时,需要向SMF发送通知信息,该通知信息可以参见结合图7所示的实施例中的描述。If the SMF subscribes the notification service to the AMF, the AMF needs to send notification information to the SMF when the AMF determines in S1002 that the available state of the LADN of the terminal changes.

SMF在接收到通知信息后,可返回响应。After receiving the notification information, the SMF can return a response.

SMF在接收到通知信息后,可执行S1005b,SMF修改或释放接入LADN的PDU会话。其中,SMF修改或释放接入LADN的PDU会话可以参见结合图7所示的实施例中的描述。After receiving the notification information, the SMF can execute S1005b, and the SMF modifies or releases the PDU session accessing the LADN. Wherein, for the SMF to modify or release the PDU session accessing the LADN, reference may be made to the description in conjunction with the embodiment shown in FIG. 7 .

S1004,AMF向终端发送注册接受消息。S1004, the AMF sends a registration acceptance message to the terminal.

若终端的注册区域包括LADN的信息,AMF向终端的注册接收消息可以包括LADN的信息,否则,则不包括。其中,AMF向终端发送注册接受消息,可以参见结合图3-图6以及图8所示的实施例中的描述。If the registration area of the terminal includes the information of the LADN, the registration reception message of the AMF to the terminal may include the information of the LADN, otherwise, it is not included. Wherein, the AMF sends a registration acceptance message to the terminal, and reference may be made to the description in the embodiments shown in FIG. 3 to FIG. 6 and FIG. 8 .

当终端根据S1004中接收到的注册接受消息,确定注册区域有无LADN的信息发生变化时,执行S1005a,终端修改或释放接入LADN的PDU会话。终端修改或释放接入LADN的PDU会话,可以参见结合图3-图6以及图8所示的实施例中的描述。When the terminal determines, according to the registration acceptance message received in S1004, whether there is a change in the LADN information in the registration area, S1005a is executed, and the terminal modifies or releases the PDU session accessing the LADN. For the terminal to modify or release the PDU session accessing the LADN, reference may be made to the description in conjunction with the embodiments shown in FIG. 3 to FIG. 6 and FIG. 8 .

图11为本申请实施例提供的一种终端的结构示意图。如图11所示,该终端包括接收单元1101、确定单元1102、修改单元1103,还可以包括发送单元1104。其中,终端存在接入本地区域数据网络LADN的协议数据单元PDU会话,具体地,FIG. 11 is a schematic structural diagram of a terminal according to an embodiment of the present application. As shown in FIG. 11 , the terminal includes a receiving unit 1101 , a determining unit 1102 , a modifying unit 1103 , and may also include a sending unit 1104 . Wherein, the terminal has a protocol data unit PDU session accessing the local area data network LADN, specifically,

接收单元1101,用于在第一注册区域RA内接收接入与移动管理功能实体AMF发送的第一消息,所述第一消息包括或者不包括所述LADN的信息;其中,所述第一RA为所述终端的当前注册区域;A receiving unit 1101, configured to receive, in a first registration area RA, a first message sent by an access and mobility management function entity AMF, where the first message includes or does not include the information of the LADN; wherein the first RA is the current registration area of the terminal;

确定单元1102,用于根据第一消息确定所述LADN的可用状态发生变化;a determining unit 1102, configured to determine that the availability state of the LADN has changed according to the first message;

修改单元1103,用于修改所述PDU会话;或者,释放单元,用于释放所述PDU会话。A modification unit 1103, configured to modify the PDU session; or, a release unit, configured to release the PDU session.

可选地,确定单元1102还用于,Optionally, the determining unit 1102 is further configured to:

当所述第一消息不包括所述LADN的信息、且在所述终端接收所述第一消息之前所述第一RA内包括所述LADN的信息时,确定所述LADN的可用状态发生变化;或者When the first message does not include the information of the LADN, and the information of the LADN is included in the first RA before the terminal receives the first message, determining that the available state of the LADN has changed; or

当所述第一消息不包括所述LADN的信息、且第二RA内包括所述LADN的信息时,确定所述LADN的可用状态发生变化;When the first message does not include the information of the LADN and the second RA includes the information of the LADN, determining that the availability state of the LADN has changed;

所述第二RA为所述终端进入所述第一RA之前的RA。The second RA is the RA before the terminal enters the first RA.

可选地,所述发送单元1104用于,用于向会话管理功能实体SMF发送第一会话修改请求消息,所述第一会话修改请求消息包括第一指示,所述第一指示用于指示第一RA内不包括所述LADN的信息;或者,向SMF发送会话释放请求消息。Optionally, the sending unit 1104 is configured to send a first session modification request message to the session management function entity SMF, where the first session modification request message includes a first indication, and the first indication is used to indicate the first session modification request message. An RA does not include the information of the LADN; or, a session release request message is sent to the SMF.

可选地,接收单元1101还用于,接收所述SMF发送的第一会话修改命令消息,所述第一会话修改命令消息包括所述PDU会话的标识和第一参数,所述PDU会话的标识用于识别所述PDU会话,所述第一参数用于指示PDU会话不可用。Optionally, the receiving unit 1101 is further configured to receive a first session modification command message sent by the SMF, where the first session modification command message includes the identifier of the PDU session and the first parameter, the identifier of the PDU session For identifying the PDU session, the first parameter is used to indicate that the PDU session is unavailable.

可选地,修改单元1103还用于,所述终端将所述PDU会话标记为不可用。Optionally, the modifying unit 1103 is further configured to: the terminal marks the PDU session as unavailable.

可选地,确定单元1102还用于,当所述第一消息包括所述LADN的信息、且在所述终端接收所述第一消息之前所述第一RA内不包括所述LADN的信息时,确定所述LADN的可用状态发生变化;或者,当所述第一消息包括所述LADN的信息、且第二RA内不包括所述LADN的信息时,确定所述LADN的可用状态发生变化;所述第二RA为所述终端进入所述第一RA之前的RA。Optionally, the determining unit 1102 is further configured to: when the first message includes the information of the LADN, and the first RA does not include the information of the LADN before the terminal receives the first message , determining that the available state of the LADN has changed; or, when the first message includes the information of the LADN and the second RA does not include the information of the LADN, determining that the available state of the LADN has changed; The second RA is the RA before the terminal enters the first RA.

可选地,发送单元1101还用于,向SMF发送第二会话修改请求消息,所述第二会话修改请求消息包括第二指示,所述第二指示用于指示第一RA内包括所述LADN的信息。Optionally, the sending unit 1101 is further configured to send a second session modification request message to the SMF, where the second session modification request message includes a second indication, and the second indication is used to indicate that the LADN is included in the first RA Information.

可选地,接收单元1104还用于,Optionally, the receiving unit 1104 is further configured to:

接收所述SMF发送的第二会话修改命令消息,所述第二会话修改命令消息包括第二参数,所述第二参数用于指示PDU会话可用。A second session modification command message sent by the SMF is received, where the second session modification command message includes a second parameter, and the second parameter is used to indicate that a PDU session is available.

可选地,修改单元1103还用于,将所述PDU会话标记为可用。Optionally, the modifying unit 1103 is further configured to mark the PDU session as available.

所述终端可作为如图3至图6、图8和图10所述的会话管理方法的终端,并执行图3至图6、图8和图10中终端所执行的步骤。从而减少了由于终端处于空闲态时,网络修改或释放PDU会话造成的数据丢失,也减少了网络设备因为该接入LADN的PDU会话有下行数据到达而寻呼终端造成的信令浪费。The terminal can be used as the terminal of the session management method described in FIG. 3 to FIG. 6 , FIG. 8 and FIG. 10 , and execute the steps performed by the terminal in FIG. 3 to FIG. 6 , FIG. 8 and FIG. 10 . This reduces the data loss caused by the network modifying or releasing the PDU session when the terminal is in an idle state, and also reduces the signaling waste caused by the network device paging the terminal due to the arrival of downlink data in the PDU session accessing the LADN.

图12为本申请实施例提供的一种SMF的结构示意图。如图12所示,该SMF包括接收单元1201、修改单元1202,还可以包括发送单元1203。所述SMF存在接入本地区域数据网络LADN的协议数据单元PDU会话,所述SMF包括:FIG. 12 is a schematic structural diagram of an SMF provided by an embodiment of the present application. As shown in FIG. 12 , the SMF includes a receiving unit 1201 , a modifying unit 1202 , and may also include a sending unit 1203 . The SMF has a protocol data unit PDU session accessing the local area data network LADN, and the SMF includes:

接收单元1201,用于用于接收终端发送的会话修改请求消息,所述会话修改请求消息包括指示,所述指示用于指示注册区域包括或者不包括所述LADN的信息;A receiving unit 1201, configured to receive a session modification request message sent by a terminal, where the session modification request message includes an indication, and the indication is used to indicate that the registration area includes or does not include the information of the LADN;

修改单元1202,用于根据指示修改所述PDU会话。A modification unit 1202, configured to modify the PDU session according to the instruction.

可选地,还包括,发送单元1203用于当所述指示用于是指示所述终端的RA不包括LADN的信息时,向所述终端发送第一会话修改命令消息,所述第一会话修改命令消息包括所述PDU会话的标识和第一参数,所述第一参数用于指示PDU会话不可用。Optionally, it further includes that the sending unit 1203 is configured to send a first session modification command message to the terminal when the indication is information indicating that the RA of the terminal does not include the LADN, the first session modification command The message includes an identification of the PDU session and a first parameter, where the first parameter is used to indicate that the PDU session is unavailable.

可选地,修改单元1202还用于,将所述PDU会话标记为不可用;通知用户面功能实体UPF丢弃所述PDU会话对应的下行数据;通知所述UPF停止向所述SMF发送下行数据通知DDN。Optionally, the modifying unit 1202 is further configured to mark the PDU session as unavailable; notify the user plane function entity UPF to discard downlink data corresponding to the PDU session; notify the UPF to stop sending downlink data notifications to the SMF DDN.

可选地,发送单元1203还用于,当所述指示用于是指示所述终端的RA不包括LADN的信息时,向所述终端发送第二会话修改命令消息,所述第二会话修改命令消息包括所述PDU会话的标识和第二参数,所述第二参数用于指示所述PDU会话可用。Optionally, the sending unit 1203 is further configured to, when the indication is information indicating that the RA of the terminal does not include the LADN, send a second session modification command message to the terminal, the second session modification command message The identifier of the PDU session and a second parameter are included, and the second parameter is used to indicate that the PDU session is available.

可选地,修改单元1202还用于,将所述PDU会话标记为可用;通知UPF发送所述PDU会话对应的下行数据;通知所述UPF发送所述PDU会话对应的下行数据通知DDN。Optionally, the modifying unit 1202 is further configured to mark the PDU session as available; notify the UPF to send downlink data corresponding to the PDU session; and notify the UPF to send the downlink data corresponding to the PDU session to notify the DDN.

所述SMF可作为如图3至图6、图8和图10所述的会话管理方法的SMF,并执行图3至图6、图8和图10中SMF所执行的步骤。从而减少了由于终端处于空闲态时,网络修改或释放PDU会话造成的数据丢失,也减少了网络设备因为该接入LADN的PDU会话有下行数据到达而寻呼终端造成的信令浪费。The SMF can be used as the SMF of the session management method described in FIG. 3 to FIG. 6 , FIG. 8 and FIG. 10 , and performs the steps performed by the SMF in FIG. 3 to FIG. 6 , FIG. 8 and FIG. 10 . This reduces the data loss caused by the network modifying or releasing the PDU session when the terminal is in an idle state, and also reduces the signaling waste caused by the network device paging the terminal due to the arrival of downlink data in the PDU session accessing the LADN.

图13为本申请实施例提供的另一种SMF结构示意图。如图13所示,该SMF包括订阅单元1301,还可以包括接收单元1302以及修改单元1303。所述SMF存在终端接入本地区域数据网络LADN的协议数据单元PDU会话,具体地,FIG. 13 is a schematic structural diagram of another SMF provided by an embodiment of the present application. As shown in FIG. 13 , the SMF includes a subscribing unit 1301 , and may further include a receiving unit 1302 and a modifying unit 1303 . The SMF has a protocol data unit PDU session in which the terminal accesses the local area data network LADN, specifically,

订阅单元1301,用于向接入与移动管理功能实体AMF订阅通知服务,所述通知服务用于当预设事件发生时,所述AMF通知所述SMF,其中,所述预设事件为LADN的可用状态发生变化。Subscribing unit 1301, configured to subscribe a notification service to the access and mobility management function entity AMF, where the notification service is used to notify the SMF of the AMF when a preset event occurs, wherein the preset event is an LADN Availability status changes.

可选地,订阅单元1301还用于,Optionally, the subscription unit 1301 is further configured to:

向所述AMF发送所述LADN的数据网络名称DNN和所述预设事件,以向所述AMF订阅所述通知服务。Sending the data network name DNN of the LADN and the preset event to the AMF to subscribe the notification service to the AMF.

可选地,LADN的可用状态发生变化,包括下述至少一种:Optionally, the available state of the LADN changes, including at least one of the following:

第一注册区域内不包括所述LADN的信息,第二注册区域内包括所述LADN的信息;The information of the LADN is not included in the first registration area, and the information of the LADN is included in the second registration area;

第一注册区域内从包括所述LADN的信息改变为不包括所述LADN的信息;The first registration area is changed from information including the LADN to information not including the LADN;

第一注册区域内包括所述LADN的信息,第二注册区域内不包括所述LADN的信息;或者,The information of the LADN is included in the first registration area, and the information of the LADN is not included in the second registration area; or,

第一注册区域内从不包括所述LADN的信息改变为包括所述LADN的信息;The first registration area is changed from the information not including the LADN to the information including the LADN;

其中,所述第一注册区域是所述终端的当前注册区域,所述第二注册区域是所述终端进入到所述第一注册区域之前的注册区域。The first registration area is the current registration area of the terminal, and the second registration area is the registration area before the terminal enters the first registration area.

可选地,还包括:Optionally, also include:

接收单元1302,用于接收所述AMF发送的通知信息,所述通知信息用于通知所述终端的注册区域内包括或者不包括所述LADN的信息。The receiving unit 1302 is configured to receive notification information sent by the AMF, where the notification information is used to notify that the registration area of the terminal includes or does not include the information of the LADN.

可选地,还包括:Optionally, also include:

修改单元1303,用于根据所述通知信息修改所述PDU会话。The modifying unit 1303 is configured to modify the PDU session according to the notification information.

可选地,修改单元1303还用于,Optionally, the modifying unit 1303 is further configured to:

当所述通知信息用于通知所述终端的注册区域不包括所述LADN的信息时,通知用户面功能实体UPF丢弃所述PDU会话对应的下行数据;通知UPF停止向所述SMF发送所述PDU会话对应的下行数据通知DDN;When the notification information is used to notify that the registration area of the terminal does not include the information of the LADN, notify the user plane function entity UPF to discard the downlink data corresponding to the PDU session; notify the UPF to stop sending the PDU to the SMF The downlink data corresponding to the session is notified to DDN;

或者,or,

当所述通知信息用于通知所述终端的注册区域包括所述LADN的信息时,通知所述UPF发送所述PDU会话对应的下行数据;通知所述UPF发送所述PDU会话对应的下行数据通知DDN。When the notification information is used to notify that the registration area of the terminal includes the information of the LADN, notify the UPF to send the downlink data corresponding to the PDU session; notify the UPF to send the downlink data notification corresponding to the PDU session DDN.

所述SMF可作为如图7和图10所述的服务订阅方法的SMF,并执行图7和图10中SMF所执行的步骤。从而减少了由于终端处于空闲态时,网络修改或释放PDU会话造成的数据丢失,也减少了网络设备因为该接入LADN的PDU会话有下行数据到达而寻呼终端造成的信令浪费。The SMF can be used as the SMF of the service subscription method described in FIG. 7 and FIG. 10 , and performs the steps performed by the SMF in FIG. 7 and FIG. 10 . This reduces the data loss caused by the network modifying or releasing the PDU session when the terminal is in an idle state, and also reduces the signaling waste caused by the network device paging the terminal due to the arrival of downlink data in the PDU session accessing the LADN.

图14为本申请实施例提供的一种AMF的结构示意图。如图14所示,该AMF包括订阅单元1401,还可以包括接收单元1402。会话管理功能实体SMF存在终端接入本地区域数据网络LADN的协议数据单元PDU会话,包括:FIG. 14 is a schematic structural diagram of an AMF provided by an embodiment of the present application. As shown in FIG. 14 , the AMF includes a subscribing unit 1401 and may also include a receiving unit 1402 . The session management function entity SMF exists in the protocol data unit PDU session of the terminal accessing the local area data network LADN, including:

订阅单元1401,用于接收所述SMF订阅通知服务,所述通知服务用于当预设事件发生时,所述AMF通知所述SMF,其中,所述预设事件为LADN的可用状态发生变化。The subscription unit 1401 is configured to receive the SMF subscription notification service, where the notification service is used for the AMF to notify the SMF when a preset event occurs, wherein the preset event is a change in the availability state of the LADN.

可选地,所述订阅单元1402还用于,Optionally, the subscribing unit 1402 is further configured to:

接收所述SMF发送所述LADN的数据网络名称DNN和所述预设事件,以接受所述SMF订阅所述通知服务。The receiving SMF sends the data network name DNN of the LADN and the preset event, so as to accept the subscription of the notification service by the SMF.

可选地,所述LADN的可用状态发生变化,包括下述至少一种:Optionally, the available state of the LADN changes, including at least one of the following:

第一注册区域内不包括所述LADN的信息,第二注册区域内包括所述LADN的信息;The information of the LADN is not included in the first registration area, and the information of the LADN is included in the second registration area;

第一注册区域内从包括所述LADN的信息改变为不包括所述LADN的信息;The first registration area is changed from information including the LADN to information not including the LADN;

第一注册区域内包括所述LADN的信息,第二注册区域内不包括所述LADN的信息;The information of the LADN is included in the first registration area, and the information of the LADN is not included in the second registration area;

第一注册区域内从不包括所述LADN的信息改变为包括所述LADN的信息;The first registration area is changed from the information not including the LADN to the information including the LADN;

其中,所述第一注册区域是所述终端的当前注册区域,所述第二注册区域是所述终端进入到所述第一注册区域之前的注册区域。The first registration area is the current registration area of the terminal, and the second registration area is the registration area before the terminal enters the first registration area.

可选地,还包括:Optionally, also include:

发送单元1402,用于向所述SMF发送通知信息,所述通知信息用于通知所述终端的注册区域包括或者不包括所述LADN的信息。The sending unit 1402 is configured to send notification information to the SMF, where the notification information is used to notify that the registration area of the terminal includes or does not include the information of the LADN.

所述AMF可作为如图7和图10所述的服务订阅的方法的AMF,并执行图7和图10中SMF所执行的步骤。从而减少了由于终端处于空闲态时,网络修改或释放PDU会话造成的数据丢失,也减少了网络设备因为该接入LADN的PDU会话有下行数据到达而寻呼终端造成的信令浪费。The AMF can be used as the AMF of the service subscription method described in FIG. 7 and FIG. 10 , and executes the steps performed by the SMF in FIG. 7 and FIG. 10 . This reduces the data loss caused by the network modifying or releasing the PDU session when the terminal is in an idle state, and also reduces the signaling waste caused by the network device paging the terminal due to the arrival of downlink data in the PDU session accessing the LADN.

图15本申请实施例提供的另一种SMF的结构示意图。如图15所示,所述SMF存在接入LADN的PDU会话,所述SMF包括:FIG. 15 is a schematic structural diagram of another SMF provided by an embodiment of the present application. As shown in Figure 15, the SMF has a PDU session accessing the LADN, and the SMF includes:

接收单元1501,用于接收用户面功能实体UPF发送的所述PDU会话对应的下行数据通知;A receiving unit 1501, configured to receive a downlink data notification corresponding to the PDU session sent by the user plane function entity UPF;

发送单元1502,用于调用接入与移动管理实体AMF提供的第一服务,所述第一服务用于所述SMF通过所述AMF向接入节点AN发送消息。;The sending unit 1502 is configured to invoke a first service provided by an access and mobility management entity AMF, where the first service is used by the SMF to send a message to the access node AN through the AMF. ;

接收单元1501还用于,接收AMF发送的指示参数,所述指示参数用于指示当前注册区域内不包括所述LADN的信息;The receiving unit 1501 is further configured to receive an indication parameter sent by the AMF, where the indication parameter is used to indicate that the current registration area does not include the information of the LADN;

修改单元1503,用于根据所述指示参数修改所述PDU会话。A modification unit 1503, configured to modify the PDU session according to the indication parameter.

可选地,所述修改单元1503还用于,Optionally, the modifying unit 1503 is further configured to:

通知用户面功能实体UPF丢弃所述PDU会话对应的下行数据;Notifying the user plane function entity UPF to discard the downlink data corresponding to the PDU session;

通知UPF停止向所述SMF发送所述PDU会话对应的下行数据通知DDN。Notify the UPF to stop sending the downlink data corresponding to the PDU session to the SMF and notify the DDN.

所述SMF可作为如图9所述的会话管理方法的SMF,并执行图9中SMF所执行的步骤。从而减少了由于终端处于空闲态时,网络修改或释放PDU会话造成的数据丢失,也减少了网络设备因为该接入LADN的PDU会话有下行数据到达而寻呼终端造成的信令浪费。The SMF can be used as the SMF of the session management method described in FIG. 9 , and executes the steps performed by the SMF in FIG. 9 . This reduces the data loss caused by the network modifying or releasing the PDU session when the terminal is in an idle state, and also reduces the signaling waste caused by the network device paging the terminal due to the arrival of downlink data in the PDU session accessing the LADN.

图16为本申请实施例提供的另一种AMF的结构示意图。如图16所示,SMF存在接入本地区域数据网络LADN的协议数据单元PDU会话,该AMF包括:FIG. 16 is a schematic structural diagram of another AMF provided by an embodiment of the present application. As shown in Figure 16, the SMF has a protocol data unit PDU session accessing the local area data network LADN, and the AMF includes:

接收单元1601,用于接收所述SMF调用的第一服务,所述第一服务用于所述SMF通过所述AMF向接入节点AN发送消息;a receiving unit 1601, configured to receive a first service invoked by the SMF, where the first service is used by the SMF to send a message to an access node AN through the AMF;

发送单元1602,用于当所述终端的注册区域内不包括LADN的服务区域时,向SMF发送指示参数,所述指示参数用于指示注册区域内不包括所述LADN的信息。The sending unit 1602 is configured to send an indication parameter to the SMF when the registration area of the terminal does not include the service area of the LADN, where the indication parameter is used to indicate that the registration area does not include the information of the LADN.

可选地,还包括:Optionally, also include:

保存单元,用于保存已向所述SMF发送所述指示参数的信息。A saving unit, configured to save the information that the indication parameter has been sent to the SMF.

所述AMF可作为如图9所述的会话管理方法的AMF,并执行图9中AMF所执行的步骤。从而减少了由于终端处于空闲态时,网络修改或释放PDU会话造成的数据丢失,也减少了网络设备因为该接入LADN的PDU会话有下行数据到达而寻呼终端造成的信令浪费。The AMF can be used as the AMF of the session management method described in FIG. 9 , and executes the steps performed by the AMF in FIG. 9 . This reduces the data loss caused by the network modifying or releasing the PDU session when the terminal is in an idle state, and also reduces the signaling waste caused by the network device paging the terminal due to the arrival of downlink data in the PDU session accessing the LADN.

图17为本申请实施例提供的另一种终端的结构示意图。如图17所示,该终端包括收发器1701、处理器1702和存储器1703,收发器1701用于与AMF、UPF或者SMF进行通信;所述存储器1703用于存放程序;所述处理器1702用于执行所述存储器存储的所述程序,以执行前述图3-图6、图8中终端执行的步骤。其中,终端存在接入LADN的PDU会话,具体地,FIG. 17 is a schematic structural diagram of another terminal provided by an embodiment of the present application. As shown in FIG. 17 , the terminal includes a transceiver 1701, a processor 1702 and a memory 1703. The transceiver 1701 is used for communicating with AMF, UPF or SMF; the memory 1703 is used for storing programs; the processor 1702 is used for The program stored in the memory is executed to execute the steps performed by the terminal in the foregoing FIG. 3 to FIG. 6 and FIG. 8 . The terminal has a PDU session accessing the LADN, specifically,

收发器1701,用于在第一注册区域RA内接收接入与移动管理功能实体AMF发送的第一消息,所述第一消息包括或者不包括所述LADN的信息;其中,所述第一RA为所述终端的当前注册区域;A transceiver 1701, configured to receive a first message sent by an access and mobility management function entity AMF in a first registration area RA, where the first message includes or does not include the information of the LADN; wherein the first RA is the current registration area of the terminal;

处理器1702,用于根据第一消息确定所述LADN的可用状态发生变化;A processor 1702, configured to determine, according to the first message, that the available state of the LADN has changed;

处理器1702,用于修改所述PDU会话;或者,用于释放所述PDU会话。The processor 1702 is configured to modify the PDU session; or, configured to release the PDU session.

可选地,处理器1702还用于,Optionally, the processor 1702 is further configured to:

当所述第一消息不包括所述LADN的信息、且在所述终端接收所述第一消息之前所述第一RA内包括所述LADN的信息时,确定所述LADN的可用状态发生变化;或者When the first message does not include the information of the LADN, and the information of the LADN is included in the first RA before the terminal receives the first message, determining that the available state of the LADN has changed; or

当所述第一消息不包括所述LADN的信息、且所述第二RA内包括所述LADN的信息时,确定所述LADN的可用状态发生变化;When the first message does not include the information of the LADN and the second RA includes the information of the LADN, determining that the availability state of the LADN has changed;

所述第二RA为所述终端进入所述第一RA之前的RA。The second RA is the RA before the terminal enters the first RA.

可选地,收发器1701用于,用于向会话管理功能实体SMF发送第一会话修改请求消息,所述第一会话修改请求消息包括第一指示,所述第一指示用于指示第一RA内不包括所述LADN的信息;或者,向SMF发送会话释放请求消息。Optionally, the transceiver 1701 is configured to send a first session modification request message to the session management function entity SMF, where the first session modification request message includes a first indication, and the first indication is used to indicate the first RA The information of the LADN is not included; or, a session release request message is sent to the SMF.

可选地,收发器1701还用于,接收所述SMF发送的第一会话修改命令消息,所述第一会话修改命令消息包括所述PDU会话的标识和第一参数,所述PDU会话的标识用于识别所述PDU会话,所述第一参数用于指示PDU会话不可用。Optionally, the transceiver 1701 is further configured to receive a first session modification command message sent by the SMF, where the first session modification command message includes the identifier of the PDU session and the first parameter, the identifier of the PDU session For identifying the PDU session, the first parameter is used to indicate that the PDU session is unavailable.

可选地,处理器1702还用于,所述终端将所述PDU会话标记为不可用。Optionally, the processor 1702 is further configured for the terminal to mark the PDU session as unavailable.

可选地,处理器1702还用于,当所述第一消息包括所述LADN的信息、且在所述终端接收所述第一消息之前所述第一RA内不包括所述LADN的信息时,确定所述LADN的可用状态发生变化;或者,当所述第一消息包括所述LADN的信息、且第二RA内不包括所述LADN的信息时,确定所述LADN的可用状态发生变化;Optionally, the processor 1702 is further configured to: when the first message includes the information of the LADN, and the first RA does not include the information of the LADN before the terminal receives the first message , determining that the available state of the LADN has changed; or, when the first message includes the information of the LADN and the second RA does not include the information of the LADN, determining that the available state of the LADN has changed;

所述第二RA为所述终端进入所述第一RA之前的RA。The second RA is the RA before the terminal enters the first RA.

可选地,收发器1701还用于,向SMF发送第二会话修改请求消息,所述第二会话修改请求消息包括第二指示,所述第二指示用于指示终端的注册区域包括LADN的信息。Optionally, the transceiver 1701 is further configured to send a second session modification request message to the SMF, where the second session modification request message includes a second indication, and the second indication is used to indicate that the registration area of the terminal includes the information of the LADN .

可选地,收发器1701还用于,Optionally, the transceiver 1701 is also used for:

接收所述SMF发送的第二会话修改命令消息,所述第二会话修改命令消息包括第二参数,所述第二参数用于指示PDU会话可用。A second session modification command message sent by the SMF is received, where the second session modification command message includes a second parameter, and the second parameter is used to indicate that a PDU session is available.

可选地,处理器1702还用于,将所述PDU会话标记为可用。Optionally, the processor 1702 is further configured to mark the PDU session as available.

所述终端可作为如图3至图6、图8和图10所述的会话管理方法的终端,并执行图3至图6、图8和图10中终端所执行的步骤。从而减少了由于终端处于空闲态时,网络修改或释放PDU会话造成的数据丢失,也减少了网络设备因为该接入LADN的PDU会话有下行数据到达而寻呼终端造成的信令浪费。The terminal can be used as the terminal of the session management method described in FIG. 3 to FIG. 6 , FIG. 8 and FIG. 10 , and execute the steps performed by the terminal in FIG. 3 to FIG. 6 , FIG. 8 and FIG. 10 . This reduces the data loss caused by the network modifying or releasing the PDU session when the terminal is in an idle state, and also reduces the signaling waste caused by the network device paging the terminal due to the arrival of downlink data in the PDU session accessing the LADN.

图18为本申请实施例提供的另一种SMF的结构示意图。如图18所示,该SMF包括收发器1801、处理器1802和存储器1803,收发器1801用于与AMF、UPF或者终端进行通信;所述存储器1803用于存放程序;所述处理器1802用于执行所述存储器存储的所述程序,以执行前述图3-图6、图8和图10中SMF执行的步骤。所述SMF存在接入LADN的PDU会话,具体地:FIG. 18 is a schematic structural diagram of another SMF provided by an embodiment of the present application. As shown in FIG. 18 , the SMF includes a transceiver 1801, a processor 1802 and a memory 1803. The transceiver 1801 is used for communicating with AMF, UPF or a terminal; the memory 1803 is used for storing programs; the processor 1802 is used for The program stored in the memory is executed to perform the steps performed by the SMF in the aforementioned FIGS. 3-6 , 8 and 10 . The SMF has a PDU session accessing the LADN, specifically:

收发器1801,用于接收终端发送的会话修改请求消息,所述会话修改请求消息包括指示,所述指示用于指示注册区域包括或者不包括所述LADN的信息;A transceiver 1801, configured to receive a session modification request message sent by a terminal, where the session modification request message includes an indication, and the indication is used to indicate that the registration area includes or does not include the information of the LADN;

处理器1802,用于根据指示修改所述PDU会话。The processor 1802 is configured to modify the PDU session according to the instruction.

可选地,还包括,收发器1801用于当所述指示用于是指示所述终端的RA不包括LADN的信息时,向所述终端发送第一会话修改命令消息,所述第一会话修改命令消息包括所述PDU会话的标识和第一参数,所述第一参数用于指示PDU会话不可用。Optionally, it further includes that the transceiver 1801 is configured to send a first session modification command message to the terminal when the indication is information indicating that the RA of the terminal does not include the LADN, the first session modification command The message includes an identification of the PDU session and a first parameter, where the first parameter is used to indicate that the PDU session is unavailable.

可选地,处理器1802还用于,将所述PDU会话标记为不可用;通知用户面功能实体UPF丢弃所述PDU会话对应的下行数据;通知所述UPF停止向所述SMF发送下行数据通知DDN。Optionally, the processor 1802 is further configured to mark the PDU session as unavailable; notify the user plane function entity UPF to discard downlink data corresponding to the PDU session; notify the UPF to stop sending downlink data notifications to the SMF DDN.

可选地,收发器1801还用于,当所述指示用于是指示所述终端的RA不包括LADN的信息时,向所述终端发送第二会话修改命令消息,所述第二会话修改命令消息包括所述PDU会话的标识和第二参数,所述第二参数用于指示所述PDU会话可用。Optionally, the transceiver 1801 is further configured to, when the indication is information indicating that the RA of the terminal does not include the LADN, send a second session modification command message to the terminal, the second session modification command message The identifier of the PDU session and a second parameter are included, and the second parameter is used to indicate that the PDU session is available.

可选地,处理器1802还用于,将所述PDU会话标记为可用;通知UPF发送所述PDU会话对应的下行数据;通知所述UPF发送所述PDU会话对应的下行数据通知DDN。Optionally, the processor 1802 is further configured to mark the PDU session as available; notify the UPF to send downlink data corresponding to the PDU session; and notify the UPF to send the downlink data corresponding to the PDU session to notify the DDN.

所述SMF可作为如图3至图6、图8和图10所述的会话管理方法的SMF,并执行图3至图6、图8和图10中SMF所执行的步骤。从而减少了由于终端处于空闲态时,网络修改或释放PDU会话造成的数据丢失,也减少了网络设备因为该接入LADN的PDU会话有下行数据到达而寻呼终端造成的信令浪费。The SMF can be used as the SMF of the session management method described in FIG. 3 to FIG. 6 , FIG. 8 and FIG. 10 , and performs the steps performed by the SMF in FIG. 3 to FIG. 6 , FIG. 8 and FIG. 10 . This reduces the data loss caused by the network modifying or releasing the PDU session when the terminal is in an idle state, and also reduces the signaling waste caused by the network device paging the terminal due to the arrival of downlink data in the PDU session accessing the LADN.

图19为本申请实施例提供的另一种SMF的结构示意图。该SMF包括收发器1901、处理器1902和存储器1903,收发器1901用于与AMF、UPF或者终端进行通信;所述存储器1903用于存放程序;所述处理器1902用于执行所述存储器存储的所述程序,以执行前述图7和图10中SMF执行的步骤。所述SMF存在接入LADN的PDU会话,具体地:FIG. 19 is a schematic structural diagram of another SMF provided by an embodiment of the present application. The SMF includes a transceiver 1901, a processor 1902 and a memory 1903. The transceiver 1901 is used to communicate with AMF, UPF or a terminal; the memory 1903 is used to store programs; the processor 1902 is used to execute the program stored in the memory. The program to perform the steps performed by the SMF in the aforementioned Figures 7 and 10. The SMF has a PDU session accessing the LADN, specifically:

处理器1902,用于向接入与移动管理功能实体AMF订阅通知服务,所述通知服务用于当预设事件发生时,所述AMF通知所述SMF,其中,所述预设事件为LADN的可用状态发生变化。The processor 1902 is configured to subscribe a notification service to the access and mobility management function entity AMF, where the notification service is used to notify the SMF of the AMF when a preset event occurs, wherein the preset event is an LADN Availability status changes.

可选地,处理器1902还用于,Optionally, the processor 1902 is further configured to:

向所述AMF发送所述LADN的数据网络名称DNN和所述预设事件,以向所述AMF订阅所述通知服务。Sending the data network name DNN of the LADN and the preset event to the AMF to subscribe the notification service to the AMF.

可选地,LADN的可用状态发生变化,包括下述至少一种:Optionally, the available state of the LADN changes, including at least one of the following:

第一注册区域内不包括所述LADN的信息,第二注册区域内包括所述LADN的信息;The information of the LADN is not included in the first registration area, and the information of the LADN is included in the second registration area;

第一注册区域内从包括所述LADN的信息改变为不包括所述LADN的信息;The first registration area is changed from information including the LADN to information not including the LADN;

第一注册区域内包括所述LADN的信息,第二注册区域内不包括所述LADN的信息;或者,The information of the LADN is included in the first registration area, and the information of the LADN is not included in the second registration area; or,

第一注册区域内从不包括所述LADN的信息改变为包括所述LADN的信息;The first registration area is changed from the information not including the LADN to the information including the LADN;

其中,所述第一注册区域是所述终端的当前注册区域,所述第二注册区域是所述终端进入到所述第一注册区域之前的注册区域。The first registration area is the current registration area of the terminal, and the second registration area is the registration area before the terminal enters the first registration area.

可选地,还包括:Optionally, also include:

收发器1901,用于接收所述AMF发送的通知信息,所述通知信息用于通知所述终端的注册区域包括或者不包括所述LADN的信息。The transceiver 1901 is configured to receive notification information sent by the AMF, where the notification information is used to notify that the registration area of the terminal includes or does not include the information of the LADN.

可选地,还包括:Optionally, also include:

处理器1902,用于根据所述通知信息修改所述PDU会话。The processor 1902 is configured to modify the PDU session according to the notification information.

可选地,处理器1902还用于,Optionally, the processor 1902 is further configured to:

当所述通知信息用于通知所述终端的注册区域不包括所述LADN的信息时,通知用户面功能实体UPF丢弃所述PDU会话对应的下行数据;通知UPF停止向所述SMF发送所述PDU会话对应的下行数据通知DDN;When the notification information is used to notify that the registration area of the terminal does not include the information of the LADN, notify the user plane function entity UPF to discard the downlink data corresponding to the PDU session; notify the UPF to stop sending the PDU to the SMF The downlink data corresponding to the session is notified to DDN;

或者,or,

当所述通知信息用于通知所述终端的注册区域包括所述LADN的信息时,通知所述UPF发送所述PDU会话对应的下行数据;通知所述UPF发送所述PDU会话对应的下行数据通知DDN。When the notification information is used to notify that the registration area of the terminal includes the information of the LADN, notify the UPF to send the downlink data corresponding to the PDU session; notify the UPF to send the downlink data notification corresponding to the PDU session DDN.

所述SMF可作为如图7或图10所述的服务订阅的方法的SMF,并执行图7或图10中SMF所执行的步骤。从而减少了由于终端处于空闲态时,网络修改或释放PDU会话造成的数据丢失,也减少了网络设备因为该接入LADN的PDU会话有下行数据到达而寻呼终端造成的信令浪费。The SMF can be used as the SMF of the service subscription method described in FIG. 7 or FIG. 10 , and executes the steps performed by the SMF in FIG. 7 or FIG. 10 . This reduces the data loss caused by the network modifying or releasing the PDU session when the terminal is in an idle state, and also reduces the signaling waste caused by the network device paging the terminal due to the arrival of downlink data in the PDU session accessing the LADN.

图20为本申请实施例提供的另一种AMF的结构示意图。该AMF包括收发器2001、处理器2002和存储器2003,收发器2001用于与SMF或者终端进行通信;所述存储器2003用于存放程序;所述处理器2002用于执行所述存储器存储的所述程序,以执行前述图7或图10中AMF执行的步骤。所述SMF存在接入LADN的PDU会话,具体地:FIG. 20 is a schematic structural diagram of another AMF provided by an embodiment of the present application. The AMF includes a transceiver 2001, a processor 2002 and a memory 2003. The transceiver 2001 is used to communicate with the SMF or the terminal; the memory 2003 is used to store programs; the processor 2002 is used to execute the program to perform the steps performed by the AMF in the aforementioned FIG. 7 or FIG. 10 . The SMF has a PDU session accessing the LADN, specifically:

处理器2002,用于接收所述SMF订阅通知服务,所述通知服务用于当预设事件发生时,所述AMF通知所述SMF,其中,所述预设事件为LADN的可用状态发生变化。The processor 2002 is configured to receive the SMF subscription notification service, where the notification service is configured to notify the SMF by the AMF when a preset event occurs, where the preset event is a change in the availability state of the LADN.

可选地,处理器2002还用于,Optionally, the processor 2002 is further configured to:

接收所述SMF发送所述LADN的数据网络名称DNN和所述预设事件,以接受所述SMF订阅所述通知服务。The receiving SMF sends the data network name DNN of the LADN and the preset event, so as to accept the subscription of the notification service by the SMF.

可选地,所述LADN的可用状态发生变化,包括下述至少一种:Optionally, the available state of the LADN changes, including at least one of the following:

第一注册区域内不包括所述LADN的信息,第二注册区域内包括所述LADN的信息;The information of the LADN is not included in the first registration area, and the information of the LADN is included in the second registration area;

第一注册区域内从包括所述LADN的信息改变为不包括所述LADN的信息;The first registration area is changed from information including the LADN to information not including the LADN;

第一注册区域内包括所述LADN的信息,第二注册区域内不包括所述LADN的信息;The information of the LADN is included in the first registration area, and the information of the LADN is not included in the second registration area;

第一注册区域内从不包括所述LADN的信息改变为包括所述LADN的信息;The first registration area is changed from the information not including the LADN to the information including the LADN;

其中,所述第一注册区域是所述终端的当前注册区域,所述第二注册区域是所述终端进入到所述第一注册区域之前的注册区域。The first registration area is the current registration area of the terminal, and the second registration area is the registration area before the terminal enters the first registration area.

可选地,还包括:Optionally, also include:

收发器2001,用于向所述SMF发送通知信息,所述通知信息用于通知所述终端的注册区域包括或者不包括所述LADN的信息。The transceiver 2001 is configured to send notification information to the SMF, where the notification information is used to notify that the registration area of the terminal includes or does not include the information of the LADN.

所述AMF可作为如图7或图10所述的服务订阅的方法的AMF,并执行图7或图10中SMF所执行的步骤。从而减少了由于终端处于空闲态时,网络修改或释放PDU会话造成的数据丢失,也减少了网络设备因为该接入LADN的PDU会话有下行数据到达而寻呼终端造成的信令浪费。The AMF can be used as the AMF of the service subscription method described in FIG. 7 or FIG. 10 , and executes the steps performed by the SMF in FIG. 7 or FIG. 10 . This reduces the data loss caused by the network modifying or releasing the PDU session when the terminal is in an idle state, and also reduces the signaling waste caused by the network device paging the terminal due to the arrival of downlink data in the PDU session accessing the LADN.

图21本申请实施例提供的另一种SMF的结构示意图。如图21所示,该SMF包括收发器2101、处理器2102和存储器2103,收发器2101用于与AMF、UPF或者终端进行通信;所述存储器2103用于存放程序;所述处理器2102用于执行所述存储器存储的所述程序,以执行前述图9中SMF执行的步骤。所述SMF存在接入LADN的PDU会话,所述SMF包括:FIG. 21 is a schematic structural diagram of another SMF provided by an embodiment of the present application. As shown in FIG. 21, the SMF includes a transceiver 2101, a processor 2102 and a memory 2103. The transceiver 2101 is used to communicate with AMF, UPF or a terminal; the memory 2103 is used for storing programs; the processor 2102 is used for The program stored in the memory is executed to perform the aforementioned steps performed by the SMF in FIG. 9 . The SMF has a PDU session accessing the LADN, and the SMF includes:

收发器2101,用于接收用户面功能实体UPF发送的所述PDU会话对应的下行数据通知;A transceiver 2101, configured to receive a downlink data notification corresponding to the PDU session sent by the user plane function entity UPF;

收发器2101,用于调用接入与移动管理实体AMF提供的第一服务,所述第一服务用于所述SMF通过所述AMF向接入节点AN发送消息。;The transceiver 2101 is configured to invoke a first service provided by an access and mobility management entity AMF, where the first service is used by the SMF to send a message to the access node AN through the AMF. ;

收发器2101,接收AMF发送的指示参数,所述指示参数用于指示当前注册区域内不包括所述LADN的信息;The transceiver 2101 receives an indication parameter sent by the AMF, where the indication parameter is used to indicate that the current registration area does not include the information of the LADN;

处理器2102,用于根据所述指示参数修改所述PDU会话。The processor 2102 is configured to modify the PDU session according to the indication parameter.

可选地,处理器2102还用于,通知用户面功能实体UPF丢弃所述PDU会话对应的下行数据;通知UPF停止向所述SMF发送所述PDU会话对应的下行数据通知DDN。Optionally, the processor 2102 is further configured to notify the user plane functional entity UPF to discard the downlink data corresponding to the PDU session; and notify the UPF to stop sending the downlink data corresponding to the PDU session to the SMF to notify the DDN.

所述SMF可作为如图9所述的会话管理方法的SMF,并执行图9中SMF所执行的步骤。从而减少了由于终端处于空闲态时,网络修改或释放PDU会话造成的数据丢失,也减少了网络设备因为该接入LADN的PDU会话有下行数据到达而寻呼终端造成的信令浪费。The SMF can be used as the SMF of the session management method described in FIG. 9 , and executes the steps performed by the SMF in FIG. 9 . This reduces the data loss caused by the network modifying or releasing the PDU session when the terminal is in an idle state, and also reduces the signaling waste caused by the network device paging the terminal due to the arrival of downlink data in the PDU session accessing the LADN.

图22为本申请实施例提供的另一种AMF的结构示意图。如图22所示,该AMF包括收发器2201、处理器2202和存储器2203,收发器2201用于与SMF或者终端进行通信;所述存储器2203用于存放程序;所述处理器2202用于执行所述存储器存储的所述程序,以执行前述图9中SMF执行的步骤。所述SMF存在接入LADN的PDU会话,所述AMF包括:FIG. 22 is a schematic structural diagram of another AMF provided by an embodiment of the present application. As shown in FIG. 22, the AMF includes a transceiver 2201, a processor 2202 and a memory 2203. The transceiver 2201 is used to communicate with the SMF or the terminal; the memory 2203 is used to store programs; the processor 2202 is used to execute all The program stored in the memory is used to perform the steps performed by the SMF in the aforementioned FIG. 9 . The SMF has a PDU session accessing the LADN, and the AMF includes:

收发器2201,用于接收所述SMF调用的第一服务,所述第一服务用于所述SMF通过所述AMF向接入节点AN发送消息;A transceiver 2201, configured to receive a first service invoked by the SMF, where the first service is used by the SMF to send a message to an access node AN through the AMF;

收发器2201,用于当所述终端的注册区域内不包括LADN的服务区域时,向SMF发送指示参数,所述指示参数用于指示注册区域内不包括所述LADN的信息。The transceiver 2201 is configured to send an indication parameter to the SMF when the service area of the LADN is not included in the registration area of the terminal, where the indication parameter is used to indicate that the registration area does not include the information of the LADN.

可选地,还包括,处理器2202,用于保存向所述SMF发送过所述指示参数的信息。Optionally, the method further includes a processor 2202, configured to save the information that the indication parameter has been sent to the SMF.

所述AMF可作为如图9所述的会话管理方法的AMF,并执行图9中AMF所执行的步骤。从而减少了由于终端处于空闲态时,网络修改或释放PDU会话造成的数据丢失,也减少了网络设备因为该接入LADN的PDU会话有下行数据到达而寻呼终端造成的信令浪费。The AMF can be used as the AMF of the session management method described in FIG. 9 , and executes the steps performed by the AMF in FIG. 9 . This reduces the data loss caused by the network modifying or releasing the PDU session when the terminal is in an idle state, and also reduces the signaling waste caused by the network device paging the terminal due to the arrival of downlink data in the PDU session accessing the LADN.

本申请实施例提供了一种包含指令的计算机程序产品,当所述指令在计算机上运行时,执行上述图3至图10中的方法/步骤。The embodiments of the present application provide a computer program product containing instructions, when the instructions are run on a computer, the methods/steps in the above-mentioned FIG. 3 to FIG. 10 are executed.

本申请实施例提供了一种计算机可读存储介质,用于存储指令,当所述指令在计算机上执行时,执行上述图3至图10中的方法/步骤。Embodiments of the present application provide a computer-readable storage medium for storing instructions, and when the instructions are executed on a computer, the methods/steps in the foregoing FIG. 3 to FIG. 10 are performed.

本申请实施例提供了一种通信系统。该系统包括上述结合图3至图10所描述的实施例中的任意一种或多种设备。The embodiments of the present application provide a communication system. The system includes any one or more of the apparatuses of the embodiments described above in connection with FIGS. 3 to 10 .

在上述各个本发明实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。所述计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行所述计算机程序指令时,全部或部分地产生按照本发明实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读介质向另一个计算机可读介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线(digital subscriber line,DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质(例如,软盘、硬盘、磁带)、光介质(例如,DVD)、或者半导体介质(例如,固态硬盘)等。The above embodiments of the present invention may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented in software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of the present invention are generated. The computer may be a general purpose computer, special purpose computer, computer network, or other programmable device. The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable medium to another computer-readable medium, for example, the computer instructions may be transmitted over a wire from a website site, computer, server or data center. (eg coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (eg infrared, wireless, microwave, etc.) means to another website site, computer, server or data center. The computer-readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. that includes an integration of one or more available media. The usable media may be magnetic media (eg, floppy disks, hard disks, magnetic tapes), optical media (eg, DVDs), or semiconductor media (eg, solid state drives), and the like.

以上所述,仅为本申请较佳的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到的变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应该以权利要求的保护范围为准。The above are only the preferred specific embodiments of the present application, but the protection scope of the present application is not limited to this. Substitutions should be covered within the protection scope of this application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.

Claims (74)

1. A method for managing session, wherein a Protocol Data Unit (PDU) session accessing a Local Area Data Network (LADN) exists in a terminal, comprising:
the terminal receives a first message sent by an access and mobility management function (AMF) entity in a first Registration Area (RA), wherein the first message comprises or does not comprise the information of the LADN; wherein the first RA is a current registration area of the terminal;
the terminal determines that the available state of the LADN changes according to the first message;
and the terminal modifies or releases the PDU session.
2. The method of claim 1, wherein the terminal determines from the first message that the availability of the LADN has changed, comprising:
when the first message does not include information of the LADN and includes information of the LADN in the first RA before the terminal receives the first message, the terminal determines that an available state of the LADN changes; or,
when the first message does not comprise the information of the LADN and the second RA comprises the information of the LADN, the terminal determines that the available state of the LADN changes;
the second RA is an RA before the terminal enters the first RA.
3. The method of claim 2, wherein the terminal modifies the PDU session, comprising:
the terminal sends a first session modification request message to a Session Management Function (SMF), wherein the first session modification request message comprises a first indication, and the first indication is used for indicating that information of a LADN is not included in the first RA; or,
the terminal releases the PDU session, including: and the terminal sends a session release request message to the SMF.
4. The method of claim 3, further comprising:
and the terminal receives a first session modification command message sent by the SMF, wherein the first session modification command message comprises an identifier of the PDU session and a first parameter, the identifier of the PDU session is used for identifying the PDU session, and the first parameter is used for indicating that the PDU session is unavailable.
5. The method according to any of claims 2-4, wherein the terminal modifying the PDU session comprises:
the terminal marks the PDU session as unavailable.
6. The method of claim 1,
the terminal determines that the available state of the LADN changes according to the first message, and the method comprises the following steps:
when the first message includes information of the LADN and the information of the LADN is not included in the first RA before the terminal receives the first message, the terminal determines that the availability status of the LADN changes; or,
when the first message comprises the information of the LADN and the information of the LADN is not included in the second RA, the terminal determines that the available state of the LADN changes;
the second RA is an RA before the terminal enters the first RA.
7. The method of claim 6, wherein the terminal modifies the PDU session, comprising:
and the terminal sends a second session modification request message to the SMF, wherein the second session modification request message comprises a second indication, and the second indication is used for indicating that the information of the LADN is not included in the first RA.
8. The method of claim 7, further comprising:
and the terminal receives a second session modification command message sent by the SMF, wherein the second session modification command message comprises a second parameter, and the second parameter is used for indicating that the PDU session is available.
9. The method according to any of claims 6-8, wherein the terminal modifying the PDU session comprises:
the terminal marks the PDU session as available.
10. A method for managing session, wherein a Protocol Data Unit (PDU) session accessing a Local Area Data Network (LADN) exists in a terminal, comprising:
the terminal receives a first session modification command message sent by the SMF, wherein the first session modification command message comprises an identifier of the PDU session and a first parameter, the identifier of the PDU session is used for identifying the PDU session, and the first parameter is used for indicating that the PDU session is unavailable;
and the terminal modifies the PDU session according to the first session modification command message.
11. The method of claim 10, wherein the terminal modifying the PDU session according to the first session modification command message comprises:
the terminal marks the PDU session as unavailable.
12. The method of claim 10, further comprising:
the terminal receives a second session modification command message sent by the SMF, wherein the second session modification command message comprises a second parameter, and the second parameter is used for indicating that the PDU session is available;
and the terminal modifies the PDU session according to the second session modification command message.
13. The method of claim 12, wherein the terminal modifying the PDU session according to the second session modification command message comprises:
the terminal marks the PDU session as available.
14. A session management method is characterized in that a Session Management Function (SMF) has a Protocol Data Unit (PDU) session accessing a Local Area Data Network (LADN), and the method comprises the following steps:
a session management function entity (SMF) receives a session modification request message sent by a terminal, wherein the session modification request message comprises an indication, and the indication is used for indicating that a Registration Area (RA) comprises or does not comprise information of a Location Area (LADN);
when the indication is used for indicating that the RA comprises LADN information, the SMF sends a first session modification command message to the terminal, wherein the first session modification command message comprises an identification of the PDU session and a first parameter, the identification of the PDU session is used for identifying the PDU session, and the first parameter is used for indicating that the PDU session is unavailable.
15. The method of claim 14, wherein the SMF modifies the PDU session based on the indication, including one or more of:
the SMF marks the PDU session as unavailable;
the SMF informs a user plane functional entity UPF to discard the downlink data corresponding to the PDU session; or,
and the SMF informs the UPF to stop sending the downlink data notification DDN to the SMF.
16. The method of claim 14, wherein before the SMF sends the first session modification command message to the terminal, the method further comprises:
the SMF receives a session modification request message sent by the terminal, wherein the session modification request message comprises an indication, and the indication is used for indicating that a registration area RA does not comprise LADN information.
17. The method of claim 16, wherein when the indication indicates that the RA does not include a LADN, the method further comprises:
and the SMF sends a second session modification command message to the terminal, wherein the second session modification command message comprises an identifier of the PDU session and a second parameter, the identifier of the PDU session is used for identifying the PDU session, and the second parameter is used for indicating that the PDU session is available.
18. The method of claim 17, wherein the SMF modifies the PDU session based on the indication, including one or more of:
the SMF marks the PDU session as available;
the SMF informs a UPF to send downlink data corresponding to the PDU session; or,
and the SMF informs the UPF to send a downlink data notification DDN corresponding to the PDU session.
19. The method of claim 18, wherein before the SMF sends the first session modification command message to the terminal, the method comprises:
the SMF subscribes a notification service to an access and mobile management function (AMF), wherein the notification service is used for notifying the SMF by the AMF when a preset event occurs, and the preset event is that the available state of the LADN changes.
20. The method of claim 19, the SMF subscribing to the notification service from the AMF, comprising:
and the SMF sends the data network name DNN of the LADN and the preset event to the AMF.
21. The method of claim 19 or 20, wherein the availability of the LADN changes, including at least one of:
the first registration area does not comprise the information of the LADN, and the second registration area comprises the information of the LADN;
changing from information including the LADN to information not including the LADN within a first registration area;
the first registration area comprises the information of the LADN, and the second registration area does not comprise the information of the LADN; or,
changing from not including the LADN to including the LADN information within a first registration area;
wherein the first registration area is a current registration area of the terminal, and the second registration area is a registration area before the terminal enters the first registration area.
22. The method of claim 19 or 20, after the SMF subscribes to the notification service from the AMF, further comprising:
and the SMF receives notification information sent by the AMF, wherein the notification information is used for notifying that the information of the LADN is included or not included in the current registration area of the terminal.
23. The method of claim 22, wherein after the SMF receives the notification message, further comprising:
and the SMF modifies the PDU session according to the notification information.
24. The method of claim 23, wherein the SMF modifies the PDU session based on the notification information, comprising:
when the notification information is used for notifying that the current registration area of the terminal does not include the information of the LADN, the SMF performs one or more of the following:
informing a user plane functional entity UPF to discard downlink data corresponding to the PDU session;
and informing the UPF to stop sending the downlink data notification DDN corresponding to the PDU session to the SMF.
25. The method of claim 23, wherein the SMF modifies the PDU session based on the notification information, comprising:
when the notification information is used for notifying that the current registration area of the terminal includes the information of the LADN, the SMF performs one or more of the following:
informing the UPF to send downlink data corresponding to the PDU session;
and informing the UPF to send a downlink data notification DDN corresponding to the PDU session.
26. The method of claim 14, further comprising:
the SMF receives a downlink data notification corresponding to the PDU session sent by a user plane functional entity UPF;
the SMF calls a first service provided by AN access and mobile management entity (AMF), wherein the first service is used for the SMF to send a message to AN Access Node (AN) through the AMF;
the SMF receives an indication parameter sent by the AMF, wherein the indication parameter is used for indicating that the information of the LADN is not included in the current registration area;
and the SMF modifies the PDU session according to the indication parameter.
27. The method of claim 26, wherein the SMF modifying the PDU session based on the indication parameter comprises the SMF performing one or more of:
informing a user plane functional entity UPF to discard downlink data corresponding to the PDU session;
and informing the UPF to stop sending the downlink data notification DDN corresponding to the PDU session to the SMF.
28. A session management method is characterized in that a Protocol Data Unit (PDU) session of an access and mobile management function (AMF) presence terminal accessing a Local Area Data Network (LADN) comprises the following steps:
and the AMF sends a first message to a terminal, wherein the first message comprises or does not comprise the information of the LADN, so that the terminal determines that the available state of the LADN changes according to the first message and modifies or releases the PDU session, the terminal is located in a first registration area RA, and the first RA is the current registration area of the terminal.
29. The method of claim 28, further comprising:
the method comprises the steps that an AMF receives a subscription notification service request sent by an SMF, wherein the notification service request is used for notifying the SMF when a preset event occurs, and the preset event is that the available state of a LADN changes.
30. The method of claim 29, wherein the AMF receiving the subscription notification service request sent by the SMF comprises:
and the AMF receives the data network name DNN of the LADN and the preset event sent by the SMF.
31. The method of claim 29 or 30, wherein the availability of the LADN changes, including at least one of:
the first registration area does not comprise the information of the LADN, and the second registration area comprises the information of the LADN;
changing from information including the LADN to information not including the LADN within a first registration area;
the first registration area comprises the information of the LADN, and the second registration area does not comprise the information of the LADN;
changing from not including the LADN to including the LADN information within a first registration area;
wherein the first registration area is a current registration area of the terminal, and the second registration area is a registration area before the terminal enters the first registration area.
32. The method according to claim 29 or 30, wherein after the AMF receives the subscription notification service request sent by the SMF, the method further comprises:
and the AMF sends notification information to the SMF, wherein the notification information is used for notifying that the current registration area of the terminal comprises or does not comprise the information of the LADN.
33. The method of claim 29, wherein the method comprises:
the AMF receives a first service request called by a Session Management Function (SMF), wherein the first service request is used for the SMF to request the AMF to send a message to AN Access Node (AN); wherein, the first service request includes an identifier of the PDU session;
and when the registration area of the terminal does not comprise the service area of the LADN, the AMF sends an indication parameter to the SMF, wherein the indication parameter is used for indicating that the registration area of the terminal does not comprise the information of the LADN.
34. The method of claim 33, wherein after sending the indication parameter to the SMF, the AMF further comprises:
the AMF stores the information that the indication parameter has been sent to the SMF.
35. A terminal, wherein the terminal has a protocol data unit, PDU, session to access a local area data network, LADN, the terminal comprising:
a receiving unit, configured to receive, in a first registration area RA, a first message sent by an access and mobility management function entity AMF, where the first message may or may not include the information of the LADN; wherein the first RA is a current registration area of the terminal;
a determining unit, configured to determine that an available state of the LADN changes according to a first message;
a modification unit for modifying the PDU session; or, a release unit, configured to release the PDU session.
36. The terminal according to claim 35, wherein the determining unit is further configured to,
determining that an available state of the LADN changes when the first message does not include information of the LADN and the information of the LADN is included in the first RA before the terminal receives the first message; or,
determining that an available state of the LADN changes when the first message does not include information of the LADN and information of the LADN is included in a second RA; the second RA is an RA before the terminal enters the first RA.
37. The terminal of claim 36, further comprising: a sending unit, configured to send a first session modification request message to a session management function entity, SMF, where the first session modification request message includes a first indication, and the first indication is used to indicate that the information of the LADN is not included in the first RA; alternatively, a session release request message is sent to the SMF.
38. The terminal of claim 37, wherein the receiving unit is further configured to receive a first session modification command message sent by the SMF, and wherein the first session modification command message comprises an identifier of the PDU session and a first parameter, and wherein the identifier of the PDU session is used for identifying the PDU session, and wherein the first parameter is used for indicating that the PDU session is unavailable.
39. The terminal according to any of claims 36-38, wherein said modifying unit is further configured to mark said PDU session as unavailable by said terminal.
40. The terminal of claim 35, wherein the determining unit is further configured to determine that the availability of the LADN changes when the first message includes information of the LADN and the information of the LADN is not included in the first RA before the terminal receives the first message; or,
determining that an available state of the LADN changes when the first message includes information of the LADN and information of the LADN is not included in a second RA; the second RA is an RA before the terminal enters the first RA.
41. The terminal of claim 40, further comprising: a sending unit, configured to send a second session modification request message to the SMF, where the second session modification request message includes a second indication, and the second indication is used to indicate that the first RA includes the information of the LADN.
42. The terminal of claim 41, wherein the receiving unit is further configured to,
and receiving a second session modification command message sent by the SMF, wherein the second session modification command message comprises a second parameter, and the second parameter is used for indicating that the PDU session is available.
43. The terminal according to any of claims 40-42, wherein said modifying unit is further adapted to mark said PDU session as available.
44. A terminal, wherein the terminal has a protocol data unit, PDU, session to access a local area data network, LADN, the terminal comprising:
a receiving unit, configured to receive a first session modification command message sent by an SMF, where the first session modification command message includes an identifier of the PDU session and a first parameter, the identifier of the PDU session is used to identify the PDU session, and the first parameter is used to indicate that the PDU session is unavailable;
and the modifying unit is used for modifying the PDU conversation according to the first conversation modifying command message.
45. The terminal of claim 44, wherein the modifying unit is further configured to mark the PDU session as unavailable.
46. The terminal of claim 44, wherein the receiving unit is further configured to receive a second session modification command message sent by the SMF, and wherein the second session modification command message includes a second parameter, and wherein the second parameter is used to indicate that a PDU session is available;
the modifying unit is further configured to modify the PDU session according to the second session modification command message.
47. The terminal of claim 46, wherein the modifying unit is further configured to mark the PDU session as available.
48. A session management function, SMF, wherein the SMF has a PDU session for accessing a local area data network, LADN, the SMF comprising:
a receiving unit, configured to receive a session modification request message sent by a terminal, where the session modification request message includes an indication that indicates that a registration area RA includes or does not include the information of the LADN;
and a sending unit, configured to send a first session modification command message to the terminal when the indication is used to indicate that the RA includes the information of the LADN, where the first session modification command message includes an identifier of the PDU session and a first parameter, the identifier of the PDU session is used to identify the PDU session, and the first parameter is used to indicate that the PDU session is unavailable.
49. The SMF of claim 48, further comprising:
a modification unit for marking the PDU session as unavailable;
informing a user plane functional entity UPF to discard downlink data corresponding to the PDU session; or,
and informing the UPF to stop sending downlink data notification DDN to the SMF.
50. The SMF of claim 48, further comprising:
a receiving unit, configured to receive a session modification request message sent by the terminal, where the session modification request message includes an indication, and the indication is used to indicate that a registration area RA does not include the information of the LADN.
51. The SMF of claim 50, wherein the sending unit is further configured to, when the indication is information indicating that the RA of the terminal does not include a LADN,
and sending a second session modification command message to the terminal, wherein the second session modification command message comprises the identification of the PDU session and a second parameter, and the second parameter is used for indicating that the PDU session is available.
52. The SMF of claim 51, further comprising:
a modification unit for marking the PDU session as available;
informing the UPF to send downlink data corresponding to the PDU session; or,
and informing the UPF to send a downlink data notification DDN corresponding to the PDU session.
53. The SMF of claim 48, further comprising:
the system comprises a subscription unit and a mobile management function (AMF) unit, wherein the subscription unit is used for subscribing a notification service to an AMF (access and mobile management function) entity, and the notification service is used for notifying the SMF when a preset event occurs, wherein the preset event is that the available state of the LADN changes.
54. The SMF of claim 53, the subscription unit further to,
and sending the data network name DNN of the LADN and the preset event to the AMF.
55. The SMF of claim 53 or 54, wherein the availability of the LADN changes, including at least one of:
the first registration area does not comprise the information of the LADN, and the second registration area comprises the information of the LADN;
changing from information including the LADN to information not including the LADN within a first registration area;
the first registration area comprises the information of the LADN, and the second registration area does not comprise the information of the LADN; or,
changing from not including the LADN to including the LADN information within a first registration area;
wherein the first registration area is a current registration area of the terminal, and the second registration area is a registration area before the terminal enters the first registration area.
56. The SMF according to claim 53 or 54, wherein the receiving unit is further configured to receive notification information sent by the AMF, and the notification information is used to notify that the information of the LADN is included or excluded in the current registration area of the terminal.
57. The SMF of claim 56, further comprising: and the modifying unit is used for modifying the PDU session according to the notification information.
58. The SMF according to claim 57, wherein the modifying unit is further configured to perform one or more of the following when the notification information is used to notify that the current registration area of the terminal does not include the information of the LADN: informing a user plane functional entity UPF to discard downlink data corresponding to the PDU session; and informing the UPF to stop sending the downlink data notification DDN corresponding to the PDU session to the SMF.
59. The SMF according to claim 57, wherein the modifying unit is further configured to perform, when the notification information is used to notify that the current registration area of the terminal includes the information of the LADN, one or more of: informing the UPF to send downlink data corresponding to the PDU session; and informing the UPF to send a downlink data notification DDN corresponding to the PDU session.
60. The SMF according to claim 48, wherein the receiving unit is further configured to receive a downlink data notification corresponding to the PDU session sent by a user plane function entity (UPF);
the sending unit is further configured to invoke a first service provided by AN access and mobility management entity (AMF), where the first service is used for the SMF to send a message to AN Access Node (AN) through the AMF;
the receiving unit is further configured to receive an indication parameter sent by the AMF, where the indication parameter is used to indicate that the information of the LADN is not included in the current registration area;
and the modifying unit is used for modifying the PDU session according to the indication parameter.
61. The SMF of claim 60, wherein the modification unit is further configured to,
informing a user plane functional entity UPF to discard downlink data corresponding to the PDU session;
and informing the UPF to stop sending the downlink data notification DDN corresponding to the PDU session to the SMF.
62. An access and mobility management function (AMF), wherein a Session Management Function (SMF) exists a Protocol Data Unit (PDU) session of a terminal accessing a Local Area Data Network (LADN), and the AMF comprises:
a sending unit, configured to send a first message to a terminal, where the first message includes or does not include information of the LADN, so that the terminal determines, according to the first message, that an available state of the LADN changes, and modifies or releases the PDU session, where the terminal is located in a first registration area RA, and the first RA is a current registration area of the terminal.
63. The AMF of claim 62, further comprising:
and the subscription unit is used for receiving a subscription notification service request message sent by the SMF, and the notification service is used for notifying the SMF by the AMF when a preset event occurs, wherein the preset event is that the available state of the LADN changes.
64. The AMF of claim 63, wherein the subscription unit is further configured to receive a Data Network Name (DNN) of the LADN and the predetermined event sent by the SMF.
65. The AMF of claim 63 or 64, wherein the availability of the LADN changes, including at least one of:
the first registration area does not comprise the information of the LADN, and the second registration area comprises the information of the LADN;
changing from information including the LADN to information not including the LADN within a first registration area;
the first registration area comprises the information of the LADN, and the second registration area does not comprise the information of the LADN;
changing from not including the LADN to including the LADN information within a first registration area;
wherein the first registration area is a current registration area of the terminal, and the second registration area is a registration area before the terminal enters the first registration area.
66. The AMF of claim 63 or 64, wherein the sending unit is further configured to send notification information to the SMF, the notification information being used for notifying that the registration area of the terminal includes or does not include the LADN.
67. The AMF of claim 62, further comprising:
a receiving unit, configured to receive a first service invoked by a session management function entity, SMF, where the first service is used for the SMF to send a message to AN access node, AN, through the AMF;
the sending unit is further configured to send an indication parameter to the SMF when the registration area of the terminal does not include a service area of the LADN, where the indication parameter is used to indicate that the registration area does not include the information of the LADN.
68. The AMF of claim 67, further comprising:
and the storage unit is used for storing the information of the indication parameters sent to the SMF.
69. A Session Management Function (SMF) is characterized by comprising a transceiver, a processor and a memory, wherein the transceiver is used for communicating with an access and mobile management function (AMF), a User Plane Function (UPF) or a terminal; the memory is used for storing programs; the processor is configured to execute the program stored in the memory to perform the method of any of claims 14-27.
70. An access and mobility management function (AMF), comprising a transceiver, a processor and a memory, wherein the transceiver is configured to communicate with a Session Management Function (SMF) or a terminal; the memory is used for storing programs; the processor is configured to execute the program stored in the memory to perform the method of any of claims 28-34.
71. A terminal, comprising a transceiver, a processor and a memory, the transceiver being configured to communicate with an access and mobility management function, AMF, or a session management function, SMF; the memory is used for storing programs; the processor is configured to execute the program stored in the memory to perform the method of any of claims 1-9 or 10-13.
72. A computer readable storage medium comprising computer readable instructions which, when read and executed by a computer, cause the computer to perform the method of any of claims 1-34.
73. A communication system, comprising: a terminal according to any of claims 35-43 and a session management function, SMF, according to any of claims 48-61; or a terminal according to any of claims 44-47 and a session management function, SMF, according to any of claims 48-61.
74. A communication system, comprising: a session management function entity, SMF, according to any of claims 48-61 and an access and mobility management function entity, AMF, according to any of claims 62-68.
CN201780081870.8A 2017-09-11 2017-09-11 Method and terminal for session management Active CN110140333B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/101208 WO2019047209A1 (en) 2017-09-11 2017-09-11 Session management method and terminal

Publications (2)

Publication Number Publication Date
CN110140333A CN110140333A (en) 2019-08-16
CN110140333B true CN110140333B (en) 2021-06-08

Family

ID=65634726

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201780081870.8A Active CN110140333B (en) 2017-09-11 2017-09-11 Method and terminal for session management

Country Status (2)

Country Link
CN (1) CN110140333B (en)
WO (1) WO2019047209A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115022866B (en) * 2021-03-04 2024-09-27 维沃移动通信有限公司 Information processing method, device, terminal and network side equipment
CN118101311A (en) 2021-04-02 2024-05-28 腾讯科技(深圳)有限公司 Report control method, device, equipment and medium

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107018542A (en) * 2017-03-27 2017-08-04 中兴通讯股份有限公司 The processing method of status information, device and storage medium in network system

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100370843C (en) * 2005-04-07 2008-02-20 华为技术有限公司 A resource allocation strategy system and method for controlling communication resource allocation
US8265065B2 (en) * 2007-09-14 2012-09-11 Sharp Laboratories Of America, Inc. Method and system for voice-over-internet-protocol (VoIP) transmission in a wireless communications network
CN101448294B (en) * 2008-01-21 2011-05-04 华为技术有限公司 Method for releasing and processing network resources and equipment thereof
CN103249096B (en) * 2013-05-31 2016-04-06 大唐移动通信设备有限公司 A kind of switching handling method, equipment and system
CN108353033A (en) * 2015-11-30 2018-07-31 英特尔公司 Mobile terminating grouping is sent
CN106851856B (en) * 2016-12-23 2019-04-09 电信科学技术研究院有限公司 A kind of wireless communication method for building up and the network equipment based on mobile relay

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107018542A (en) * 2017-03-27 2017-08-04 中兴通讯股份有限公司 The processing method of status information, device and storage medium in network system

Also Published As

Publication number Publication date
CN110140333A (en) 2019-08-16
WO2019047209A1 (en) 2019-03-14

Similar Documents

Publication Publication Date Title
US11523268B2 (en) Communications method and apparatus
KR102692951B1 (en) How to manage connections to local area data networks (LADNs) in 5G networks
CN113993143B (en) Session management method, device and system
CN109548137B (en) Session information management method and device
JP5866132B2 (en) Method for performing detachment procedure and terminal thereof
CN109673046B (en) Mobility management method, terminal and core network equipment
WO2019033796A1 (en) Session processing method and related device
CN110035424A (en) Policy-related (noun) communication means, device and system
CN111918271A (en) Information configuration method and device
CN117062251A (en) Method and system for regional data network configuration in a wireless communication network
CN110519809B (en) Method, network element, device, apparatus, system and storage medium for managing PDU session
WO2019047935A1 (en) Session establishment method and apparatus
CN110418395A (en) Capability exposure method, related device and system
WO2018170707A1 (en) Control plane connection management method and device
CN110140333B (en) Method and terminal for session management
KR20210051375A (en) Method for processing plurality of pdu sessions using virtual id and smf performing method
US20240365265A1 (en) Time service method, communication apparatus, and communication system
CN110650467A (en) Method and apparatus for managing user data
CN115915092A (en) A communication method and device
US20230328508A1 (en) Method for transmitting radio node information
WO2023280000A1 (en) Communication method, system and apparatus
WO2024199148A1 (en) Communication method and apparatus
WO2023241429A1 (en) Communication method and apparatus
WO2024032603A1 (en) Communication method and apparatus
WO2024199038A1 (en) Communication method and communication apparatus

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