[go: up one dir, main page]

CN115190649A - Method, device and system for session control - Google Patents

Method, device and system for session control Download PDF

Info

Publication number
CN115190649A
CN115190649A CN202110360943.5A CN202110360943A CN115190649A CN 115190649 A CN115190649 A CN 115190649A CN 202110360943 A CN202110360943 A CN 202110360943A CN 115190649 A CN115190649 A CN 115190649A
Authority
CN
China
Prior art keywords
session
network element
attribute information
terminal device
network
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.)
Pending
Application number
CN202110360943.5A
Other languages
Chinese (zh)
Inventor
李卓明
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN202110360943.5A priority Critical patent/CN115190649A/en
Priority to PCT/CN2022/079563 priority patent/WO2022206296A1/en
Publication of CN115190649A publication Critical patent/CN115190649A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/20Manipulation of established connections
    • H04W76/25Maintenance of established connections
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/12Reselecting a serving backbone network switching or routing node
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W80/00Wireless network protocols or protocol adaptations to wireless operation
    • H04W80/08Upper layer protocols
    • H04W80/10Upper layer protocols adapted for application session management, e.g. SIP [Session Initiation Protocol]

Landscapes

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

Abstract

本申请提供了,一种会话控制的方法、装置和系统,能够避免终端设备的会话和业务中断,保证终端设备的会话和业务连续性。具体地,首先,第一网元接收终端设备请求建立的第一会话的会话属性信息;然后,第一网元根据先前建立的终端设备的第二会话的会话属性信息和该第一会话的会话属性信息,确定允许第一会话的建立;其中,第一会话为与第二会话对应的新的会话,第一会话的会话属性信息和第二会话的会话属性信息包括相同的终端设备的标识信息,网络切片标识信息,以及数据网络信息。

Figure 202110360943

The present application provides a session control method, apparatus and system, which can avoid session and service interruption of a terminal device and ensure the session and service continuity of the terminal device. Specifically, first, the first network element receives the session attribute information of the first session that the terminal device requests to establish; then, the first network element receives the session attribute information of the second session of the terminal device previously established and the session of the first session attribute information, to determine that the establishment of the first session is allowed; wherein, the first session is a new session corresponding to the second session, and the session attribute information of the first session and the session attribute information of the second session include the same identification information of the terminal device , network slice identification information, and data network information.

Figure 202110360943

Description

一种会话控制的方法、装置和系统Method, device and system for session control

技术领域technical field

本申请涉及通信领域,并且更具体地,涉及一种会话控制的方法、装置和系统。The present application relates to the field of communications, and more particularly, to a method, apparatus and system for session control.

背景技术Background technique

在5G通信系统中,核心网中的网元会根据客户的订单,对网络切片中会话数量进行限制,在网络切片中的会话数量达到或超过网络切片中允许建立的最大会话数量后,相关网元将拒绝客户的终端设备的会话建立请求。然而,对于终端设备因位置移动而需要改变会话的协议数据单元(protocol data unit,PDU)会话锚点的情况,终端设备将会释放原会话,建立新会话,此时,就可能会出现因网络切片内会话数量限制,而导致的终端设备的业务中断,影响终端设备的会话和业务连续性的问题。In the 5G communication system, the network elements in the core network will limit the number of sessions in the network slice according to the customer's order. After the number of sessions in the network slice reaches or exceeds the maximum number of sessions allowed to be established in the network slice, the relevant network The element will reject the session establishment request from the client's end device. However, when the terminal device needs to change the session anchor point of the protocol data unit (PDU) due to the location movement, the terminal device will release the original session and establish a new session. The number of sessions in the slice is limited, and the service interruption of the terminal device is caused, which affects the session and service continuity of the terminal device.

发明内容SUMMARY OF THE INVENTION

本申请提供一种会话控制的方法、装置和系统,能够避免终端设备的会话和业务中断,保证终端设备的会话和业务连续性。The present application provides a session control method, apparatus and system, which can avoid session and service interruption of terminal equipment and ensure the session and service continuity of terminal equipment.

第一方面,提供了一种会话控制的方法,该方法包括:第一网元接收终端设备请求建立的第一会话的会话属性信息;所述第一网元根据先前建立的所述终端设备的第二会话的会话属性信息和所述第一会话的会话属性信息,确定允许所述第一会话的建立;其中,所述第一会话为与所述第二会话对应的新的会话,所述第一会话的会话属性信息和所述第二会话的会话属性信息包括相同的所述终端设备的标识信息,网络切片标识信息,以及数据网络信息。In a first aspect, a session control method is provided, the method comprising: a first network element receiving session attribute information of a first session requested by a terminal device to establish; The session attribute information of the second session and the session attribute information of the first session determine that the establishment of the first session is allowed; wherein the first session is a new session corresponding to the second session, and the The session attribute information of the first session and the session attribute information of the second session include the same identification information of the terminal device, network slice identification information, and data network information.

根据本申请提供的方法,第一网元在确定第一会话为第二会话对应的新的会话后,第一网元允许第一会话的建立,而不再判断接受第一会话建立后网络切片内已建立会话的数量是否超过网络切片中允许建立的最大会话数量,或者不再根据网络切片内的会话配额对第一会话的建立进行限制,从而避免了终端设备的第二会话改变PDU会话锚点失败和终端设备的会话和业务中断,保证了终端设备的会话和业务连续性。According to the method provided by the present application, after the first network element determines that the first session is a new session corresponding to the second session, the first network element allows the establishment of the first session, and no longer judges that the network slicing after the establishment of the first session is accepted. Whether the number of established sessions in the network exceeds the maximum number of sessions allowed to be established in the network slice, or the establishment of the first session is no longer restricted according to the session quota in the network slice, thereby avoiding the second session of the terminal device to change the PDU session anchor Point failure and interruption of sessions and services of terminal devices ensure the continuity of sessions and services of terminal devices.

应理解,所述网络切片的会话配额是指在网络切片的最大会话数量范围内所述第一网元允许建立的会话数量。当存在多个第一网元实体对网络切片中允许建立的最大会话数量进行控制时,各个第一网元实体的网络切片内会话配额之和小于等于网络切片中允许建立的最大会话数量。It should be understood that the session quota of the network slice refers to the number of sessions allowed by the first network element to be established within the range of the maximum number of sessions of the network slice. When there are multiple first network element entities to control the maximum number of sessions allowed to be established in the network slice, the sum of session quotas in the network slice of each first network element entity is less than or equal to the maximum number of sessions allowed to be established in the network slice.

结合第一方面,在第一方面的某些实现方式中,所述第一会话的会话属性信息和所述第二会话的会话属性信息还包括相同的会话和业务连续性模式SSC mode参数。With reference to the first aspect, in some implementations of the first aspect, the session attribute information of the first session and the session attribute information of the second session further include the same session and service continuity mode SSC mode parameters.

结合第一方面,在第一方面的某些实现方式中,所述第一会话为所述第二会话因所述终端设备的会话和业务连续性需要改变协议数据单元PDU会话锚点的新的会话,所述第一会话和所述第二会话为SSC mode 2的会话或SSC mode 3的会话;所述第一网元确定允许所述第一会话的建立,包括:所述第一网元确定跳过所述网络切片标识对应的网络切片内会话数量检查,也就是不再判断接受所述第一会话建立后网络切片内已建立会话的数量是否超过网络切片中允许建立的最大会话数量,或者不再判断接受所述第一会话后是否超过网络切片的会话配额,确定允许所述第一会话的建立。With reference to the first aspect, in some implementations of the first aspect, the first session is a new one in which the session anchor of the protocol data unit (PDU) needs to be changed for the second session due to the session and business continuity of the terminal device. session, the first session and the second session are SSC mode 2 sessions or SSC mode 3 sessions; the first network element determines that the establishment of the first session is allowed, including: the first network element It is determined to skip the check of the number of sessions in the network slice corresponding to the network slice identifier, that is, it is no longer judged whether the number of established sessions in the network slice after accepting the establishment of the first session exceeds the maximum number of sessions allowed to be established in the network slice, Or, it is determined that the establishment of the first session is permitted without judging whether the session quota of the network slice is exceeded after accepting the first session.

结合第一方面,在第一方面的某些实现方式中,所述第二会话的会话属性信息用于指示:不限制所述第一会话的建立;或者,为所述第一会话预留配额,也就是防止接受其它新的会话建立后网络切片内已建立会话的数量达到或超过网络切片中允许建立的最大会话数量,预留至少一个网络切片内会话数量配额,等待所述第一会话建立时使用;或者,所述第一会话的建立占用所述第二会话的会话配额,也就是将刚刚释放的SSC mode2的所述第二会话的会话配额保留给所述第一会话建立时使用,或者让SSC mode3的所述第一会话建立时使用即将释放的所述第二会话的会话配额。With reference to the first aspect, in some implementations of the first aspect, the session attribute information of the second session is used to indicate that: establishment of the first session is not restricted; or, a quota is reserved for the first session , that is, to prevent the number of established sessions in the network slice from reaching or exceeding the maximum number of sessions allowed to be established in the network slice after accepting the establishment of other new sessions, reserve at least a quota for the number of sessions in the network slice, and wait for the first session to be established. or, the establishment of the first session occupies the session quota of the second session, that is, the session quota of the second session of the just released SSC mode2 is reserved for use when the first session is established, Or let the session quota of the second session to be released be used when the first session of SSC mode3 is established.

结合第一方面,在第一方面的某些实现方式中,所述第一网元为所述第二会话的会话属性信息确定有效定时器,所述有效定时器指示所述第二会话的会话属性信息的有效时间。With reference to the first aspect, in some implementations of the first aspect, the first network element determines a valid timer for session attribute information of the second session, and the valid timer indicates a session of the second session Valid time for attribute information.

通过为第二会话的属性信息确定有效定时器,在有效定时器到期后,删除该第二会话的会话属性信息,从而避免将后续的其它会话被错误地判断为所述第一会话。By determining a valid timer for the attribute information of the second session, after the valid timer expires, the session attribute information of the second session is deleted, so as to avoid erroneously judging other subsequent sessions as the first session.

结合第一方面,在第一方面的某些实现方式中,所述第一网元为网络切片许可控制功能NSACF实体,在所述第一网元接收终端设备请求建立的第一会话的会话属性信息之前,所述方法还包括:所述NSACF实体从第一会话管理网元接收第一消息,所述第一会话管理网元为所述第二会话对应的会话管理网元,所述第一消息包括所述终端设备的所述第二会话的会话属性信息;所述NSACF实体保存所述第二会话的会话属性信息。With reference to the first aspect, in some implementations of the first aspect, the first network element is a network slice admission control function NSACF entity, and the first network element receives the session attribute of the first session requested by the terminal device to establish information, the method further includes: the NSACF entity receives a first message from a first session management network element, the first session management network element is a session management network element corresponding to the second session, the first session management network element The message includes session attribute information of the second session of the terminal device; the NSACF entity stores the session attribute information of the second session.

结合第一方面,在第一方面的某些实现方式中,所述第一消息用于:检查所述网络切片标识对应的网络切片内的会话数量,或者,更新所述网络切片标识对应的网络切片内的会话数量,或者,预留所述网络切片标识对应的网络切片内的会话配额。With reference to the first aspect, in some implementations of the first aspect, the first message is used to: check the number of sessions in the network slice corresponding to the network slice identifier, or update the network slice corresponding to the network slice identifier The number of sessions in the slice, or the session quota in the network slice corresponding to the network slice identifier is reserved.

结合第一方面,在第一方面的某些实现方式中,所述第一网元接收终端设备请求建立的第一会话的会话属性信息,包括:所述NSACF实体从第二会话管理网元接收第二消息,所述第二会话管理网元为所述第一会话对应的网元,所述第二消息包括所述终端设备的所述第一会话的会话属性信息,所述第二消息用于询问是否允许所述第一会话的建立,或者用于更新所述网络切片标识对应的网络切片内的会话数量,或者用于询问是否允许所述第一会话的建立占用所述第二会话的会话配额。With reference to the first aspect, in some implementations of the first aspect, the receiving, by the first network element, the session attribute information of the first session requested by the terminal device to establish includes: the NSACF entity receiving from the second session management network element a second message, the second session management network element is the network element corresponding to the first session, the second message includes session attribute information of the first session of the terminal device, and the second message uses For inquiring whether to allow the establishment of the first session, or for updating the number of sessions in the network slice corresponding to the network slice identifier, or for inquiring whether to allow the establishment of the first session to occupy the second session Session quota.

结合第一方面,在第一方面的某些实现方式中,所述第一网元为策略控制网元,在所述第一网元接收终端设备请求建立的第一会话的会话属性信息之前,所述方法还包括:所述策略控制网元从第一会话管理网元接收第三消息,所述第一会话管理网元为所述第二会话对应的会话管理网元,所述第三消息包括所述终端设备的所述第二会话的会话属性信息;所述策略控制网元保存所述第二会话的会话属性信息。With reference to the first aspect, in some implementations of the first aspect, the first network element is a policy control network element, and before the first network element receives the session attribute information of the first session requested by the terminal device to establish, The method further includes: the policy control network element receiving a third message from a first session management network element, the first session management network element being a session management network element corresponding to the second session, the third message The session attribute information of the second session of the terminal device is included; the policy control network element saves the session attribute information of the second session.

结合第一方面,在第一方面的某些实现方式中,所述第三消息用于:报告所述第二会话的会话管理策略关联的更新,或者,请求建立所述第二会话的会话管理策略关联,或者,通知控制所述第二会话的会话管理策略关联的更新,或者,请求删除所述第二会话的会话管理策略关联。With reference to the first aspect, in some implementations of the first aspect, the third message is used to: report an update of the session management policy association of the second session, or request establishment of session management for the second session Policy association, or, notifying an update of the session management policy association that controls the second session, or requesting deletion of the session management policy association of the second session.

结合第一方面,在第一方面的某些实现方式中,所述第一网元接收终端设备请求建立的第一会话的会话属性信息,包括:所述策略控制网元从第二会话管理网元接收第四消息,所述第二会话管理网元为所述第一会话对应的会话管理网元,所述第四消息包括所述终端设备的所述第一会话的会话属性信息,所述第四消息用于请求建立所述第一会话的会话管理策略关联。With reference to the first aspect, in some implementations of the first aspect, the receiving, by the first network element, the session attribute information of the first session requested by the terminal device to establish includes: the policy control network element obtains information from the second session management network element receives a fourth message, the second session management network element is the session management network element corresponding to the first session, the fourth message includes the session attribute information of the first session of the terminal device, and the The fourth message is used to request to establish a session management policy association of the first session.

结合第一方面,在第一方面的某些实现方式中,在所述策略控制网元从第一会话管理网元接收第三消息之前,所述方法还包括:所述策略控制网元接收NSACF实体分配的网络切片内会话配额。With reference to the first aspect, in some implementations of the first aspect, before the policy control network element receives the third message from the first session management network element, the method further includes: the policy control network element receives the NSACF The intra-slice session quota allocated by the entity.

结合第一方面,在第一方面的某些实现方式中,所述第一网元为接入和移动管理网元,在所述第一网元接收终端设备请求建立的第一会话的会话属性信息之前,所述方法还包括:所述接入和移动管理网元获取所述第二会话的会话属性信息。With reference to the first aspect, in some implementations of the first aspect, the first network element is an access and mobility management network element, and the first network element receives the session attribute of the first session requested by the terminal device to establish The method further includes: acquiring, by the access and mobility management network element, session attribute information of the second session.

结合第一方面,在第一方面的某些实现方式中,所述第一网元接收终端设备请求建立的第一会话的会话属性信息,包括:所述接入和移动管理网元从所述终端设备接收会话建立请求消息,所述会话建立请求消息包括所述第一会话的会话属性信息,所述会话建立请求消息请求建立所述第一会话。With reference to the first aspect, in some implementations of the first aspect, the receiving, by the first network element, the session attribute information of the first session requested by the terminal device to establish, includes: the access and mobility management network element obtains information from the The terminal device receives a session establishment request message, where the session establishment request message includes session attribute information of the first session, and the session establishment request message requests establishment of the first session.

第二方面,提供了一种会话控制的方法,该方法包括:第二网元向终端设备发送第一指示信息,所述第一指示信息用于指示所述终端设备的第一会话的建立,或者,所述第一指示信息用于指示所述终端设备的第二会话的释放和第一会话的建立;所述第二网元向第一网元发送所述第二会话的会话属性信息,所述第二会话的会话属性信息用于所述第一网元确定允许所述第一会话的建立;其中,所述第一会话为与所述第二会话对应的新的会话,所述第一会话的会话属性信息和所述第二会话的会话属性信息包括相同的所述终端设备的标识信息,网络切片标识信息,以及数据网络信息。In a second aspect, a session control method is provided, the method comprising: a second network element sending first indication information to a terminal device, where the first indication information is used to instruct the terminal device to establish a first session, Or, the first indication information is used to instruct the terminal device to release the second session and establish the first session; the second network element sends the session attribute information of the second session to the first network element, The session attribute information of the second session is used by the first network element to determine that the establishment of the first session is permitted; wherein the first session is a new session corresponding to the second session, and the first session is a new session corresponding to the second session. The session attribute information of one session and the session attribute information of the second session include the same identification information of the terminal device, network slice identification information, and data network information.

根据本申请提供的方法,第二网元在第一会话的建立时,就向第一网元提供第二会话的会话属性信息,该第二会话的会话属性信息用于第一网元确定允许第一会话的建立,并且第一网元将不再判断接受第一会话后网络切片内已建立会话的数量是否超过网络切片中允许建立的最大会话数量,或者不再根据网络切片的会话配额对第一会话的建立进行限制,从而避免了终端设备的第二会话改变PDU会话锚点失败和终端设备的会话和业务中断,保证了终端设备的会话和业务连续性。According to the method provided by the present application, the second network element provides the first network element with session attribute information of the second session when the first session is established, and the session attribute information of the second session is used by the first network element to determine permission The establishment of the first session, and the first network element will no longer judge whether the number of established sessions in the network slice after accepting the first session exceeds the maximum number of sessions allowed to be established in the network slice, or will no longer be based on the session quota of the network slice. The establishment of the first session is restricted, thereby avoiding failure of the second session of the terminal device to change the PDU session anchor and interruption of the session and service of the terminal device, and ensuring the continuity of the session and service of the terminal device.

结合第二方面,在第二方面的某些实现方式中,所述第一会话的会话属性信息和所述第二会话的会话属性信息还包括相同的会话和业务连续性模式SSC mode参数。With reference to the second aspect, in some implementations of the second aspect, the session attribute information of the first session and the session attribute information of the second session further include the same session and service continuity mode SSC mode parameters.

结合第二方面,在第二方面的某些实现方式中,所述第一会话为所述第二会话因所述终端设备的会话和业务连续性需要改变协议数据单元PDU会话锚点的新的会话,所述第一会话和所述第二会话为SSC mode 2的会话或SSC mode 3的会话;所述第二会话的会话属性信息用于所述第一网元确定允许所述第一会话的建立,包括:所述第二会话的会话属性信息用于所述第一网元确定跳过所述网络切片标识对应的网络切片内会话数量检查,并确定允许所述第一会话的建立。With reference to the second aspect, in some implementations of the second aspect, the first session is a new one in which the session anchor of the protocol data unit (PDU) needs to be changed for the second session due to the session and business continuity of the terminal device. session, the first session and the second session are SSC mode 2 sessions or SSC mode 3 sessions; the session attribute information of the second session is used by the first network element to determine whether the first session is allowed The establishment of the second session includes: using the session attribute information of the second session for the first network element to determine to skip the check of the number of sessions in the network slice corresponding to the network slice identifier, and to determine that the establishment of the first session is allowed.

结合第二方面,在第二方面的某些实现方式中,所述第一网元为网络切片许可控制功能NSACF实体,所述第二网元为第一会话管理网元,所述第二网元向第一网元发送所述第二会话的会话属性信息,包括:所述第一会话管理网元向所述NSACF实体发送第一消息,所述第一会话管理网元为所述第二会话对应的会话管理网元,所述第一消息包括所述第二会话的会话属性信息。With reference to the second aspect, in some implementations of the second aspect, the first network element is a network slice admission control function NSACF entity, the second network element is a first session management network element, and the second network element is a sending the session attribute information of the second session to the first network element, including: the first session management network element sending a first message to the NSACF entity, where the first session management network element is the second session management network element. A session management network element corresponding to the session, and the first message includes session attribute information of the second session.

结合第二方面,在第二方面的某些实现方式中,所述第一消息用于:检查所述网络切片标识对应的网络切片内的会话数量,或者,更新所述网络切片标识对应的网络切片内的会话数量,或者,预留所述网络切片标识对应的网络切片内的会话的配额。With reference to the second aspect, in some implementations of the second aspect, the first message is used to: check the number of sessions in the network slice corresponding to the network slice identifier, or update the network slice corresponding to the network slice identifier The number of sessions in the slice, or the reserved quota of sessions in the network slice corresponding to the network slice identifier.

结合第二方面,在第二方面的某些实现方式中,所述第一网元为策略控制网元,所述第二网元为第一会话管理网元,所述第二网元向第一网元发送所述第二会话的会话属性信息,包括:所述第一会话管理网元向所述策略控制网元发送第三消息,所述第一会话管理网元为所述第二会话对应的会话管理网元,所述第三消息包括所述第二会话的会话属性信息。With reference to the second aspect, in some implementations of the second aspect, the first network element is a policy control network element, the second network element is a first session management network element, and the second network element reports to the first network element. Sending the session attribute information of the second session by a network element includes: the first session management network element sends a third message to the policy control network element, where the first session management network element is the second session For a corresponding session management network element, the third message includes session attribute information of the second session.

结合第二方面,在第二方面的某些实现方式中,所述第三消息用于:报告所述第二会话的会话管理策略关联的更新,或者,请求建立所述第二会话的会话管理策略关联,或者,通知控制所述第二会话的会话管理策略关联的更新,或者,请求删除所述第二会话的会话管理策略关联。With reference to the second aspect, in some implementations of the second aspect, the third message is used to: report an update of the session management policy association of the second session, or request establishment of session management for the second session Policy association, or, notifying an update of the session management policy association that controls the second session, or requesting deletion of the session management policy association of the second session.

第三方面,提供了一种会话控制的装置,所述装置可以是核心网设备,还可以是用于核心网设备的芯片。所述装置具有实现上述第一方面的方法实例中行为的功能。所述功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。所述硬件或软件包括一个或多个与上述功能相对应的模块。在一个可能的设计中,所述装置包括收发单元和处理单元,所述收发单元用于接收终端设备请求建立的第一会话的会话属性信息;所述处理单元用于根据先前建立的所述终端设备的第二会话的会话属性信息和所述第一会话的会话属性信息,确定允许所述第一会话的建立;其中,所述第一会话为与所述第二会话对应的新的会话,所述第一会话的会话属性信息和所述第二会话的会话属性信息包括相同的所述终端设备的标识信息,网络切片标识信息,以及数据网络信息。In a third aspect, an apparatus for session control is provided, and the apparatus may be a core network device or a chip used for the core network device. The apparatus has the functionality to implement the behavior in the method example of the first aspect above. 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. In a possible design, the apparatus includes a transceiving unit and a processing unit, the transceiving unit is configured to receive session attribute information of a first session requested by a terminal device to be established; the processing unit is configured to The session attribute information of the second session of the device and the session attribute information of the first session determine that the establishment of the first session is allowed; wherein, the first session is a new session corresponding to the second session, The session attribute information of the first session and the session attribute information of the second session include the same identification information of the terminal device, network slice identification information, and data network information.

这些模块可以执行上述第一方面方法示例中的相应功能,具体参见方法示例中的详细描述,此处不做赘述。These modules can perform the corresponding functions in the method examples of the first aspect. For details, please refer to the detailed descriptions in the method examples, which will not be repeated here.

第四方面,提供了一种会话控制的装置,所述装置可以是核心网设备,还可以是用于核心网设备的芯片。所述装置具有实现上述第二方面的方法实例中行为的功能。所述功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。所述硬件或软件包括一个或多个与上述功能相对应的模块。在一个可能的设计中,所述装置包括收发单元,所述收发单元用于向终端设备发送第一指示信息,所述第一指示信息用于指示所述终端设备的第一会话的建立,或者,所述第一指示信息用于指示所述终端设备的第二会话的释放和第一会话的建立;所述收发单元还用于向第一网元发送所述第二会话的会话属性信息,所述第二会话的会话属性信息用于所述第一网元确定允许所述第一会话的建立;其中,所述第一会话为与所述第二会话对应的新的会话,所述第一会话的会话属性信息和所述第二会话的会话属性信息包括相同的所述终端设备的标识信息,网络切片标识信息,以及数据网络信息。In a fourth aspect, an apparatus for session control is provided, and the apparatus may be a core network device or a chip used for the core network device. The apparatus has the functionality to implement the behavior in the method example of the second aspect above. 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. In a possible design, the apparatus includes a transceiving unit, and the transceiving unit is configured to send first indication information to the terminal device, where the first indication information is used to indicate the establishment of the first session of the terminal device, or , the first indication information is used to indicate the release of the second session of the terminal device and the establishment of the first session; the transceiver unit is further configured to send the session attribute information of the second session to the first network element, The session attribute information of the second session is used by the first network element to determine that the establishment of the first session is permitted; wherein the first session is a new session corresponding to the second session, and the first session is a new session corresponding to the second session. The session attribute information of one session and the session attribute information of the second session include the same identification information of the terminal device, network slice identification information, and data network information.

这些模块可以执行上述第二方面方法示例中的相应功能,具体参见方法示例中的详细描述,此处不做赘述。These modules can perform the corresponding functions in the method examples of the second aspect. For details, please refer to the detailed descriptions in the method examples, which will not be repeated here.

第五方面,提供了一种会话控制的系统,所述系统包括第一网元,终端设备;所述第一网元用于接收所述终端设备请求建立的第一会话的会话属性信息;所述第一网元还用于根据先前建立的所述终端设备的第二会话的会话属性信息和所述第一会话的会话属性信息,确定允许所述第一会话的建立;其中,所述第一会话为与所述第二会话对应的新的会话,所述第一会话的会话属性信息和所述第二会话的会话属性信息包括相同的所述终端设备的标识信息,网络切片标识信息,以及数据网络信息。In a fifth aspect, a session control system is provided, the system includes a first network element, a terminal device; the first network element is configured to receive session attribute information of a first session requested by the terminal device to be established; The first network element is further configured to determine to allow the establishment of the first session according to the session attribute information of the second session of the terminal device and the session attribute information of the first session previously established; wherein, the first session is allowed to be established; A session is a new session corresponding to the second session, the session attribute information of the first session and the session attribute information of the second session include the same identification information of the terminal device and network slice identification information, and data network information.

根据本申请提供的系统,第一网元在确定第一会话为第二会话对应的新的会话后,第一网元允许第一会话的建立,而不再根据网络切片内会话配额对第一会话的建立进行限制,从而避免了终端设备的第二会话改变PDU会话锚点失败,终端设备的会话和业务中断,保证了终端设备的会话和业务连续性。According to the system provided by the present application, after the first network element determines that the first session is a new session corresponding to the second session, the first network element allows the establishment of the first session, and no longer controls the first session according to the session quota in the network slice. The establishment of the session is restricted, thereby avoiding the failure of the second session of the terminal device to change the PDU session anchor, and the interruption of the session and service of the terminal device, thereby ensuring the continuity of the session and service of the terminal device.

结合第五方面,在第五方面的某些实现方式中,所述第一会话的会话属性信息和所述第二会话的会话属性信息还包括相同的会话和业务连续性模式SSC mode参数。With reference to the fifth aspect, in some implementations of the fifth aspect, the session attribute information of the first session and the session attribute information of the second session further include the same session and service continuity mode SSC mode parameters.

结合第五方面,在第五方面的某些实现方式中,所述第一会话为所述第二会话因所述终端设备的会话和业务连续性需要改变协议数据单元PDU会话锚点的新的会话,所述第一会话和所述第二会话为SSC mode 2的会话或SSC mode 3的会话;所述第一网元用于确定允许所述第一会话的建立,所述第一网元具体用于:确定跳过所述网络切片标识对应的网络切片内会话数量检查,并确定允许所述第一会话的建立。With reference to the fifth aspect, in some implementations of the fifth aspect, the first session is a new one in which the session anchor of the protocol data unit (PDU) needs to be changed for the second session due to the session and business continuity of the terminal device. session, the first session and the second session are SSC mode 2 sessions or SSC mode 3 sessions; the first network element is used to determine that the establishment of the first session is allowed, and the first network element It is specifically used for: determining to skip the check of the number of sessions in the network slice corresponding to the network slice identifier, and determining to allow establishment of the first session.

结合第五方面,在第五方面的某些实现方式中,所述第二会话的会话属性信息用于指示:不限制所述第一会话的建立;或者,为所述第一会话预留配额;或者,所述第一会话的建立占用所述第二会话的会话配额。With reference to the fifth aspect, in some implementations of the fifth aspect, the session attribute information of the second session is used to indicate that: establishment of the first session is not restricted; or, a quota is reserved for the first session ; or, the establishment of the first session occupies the session quota of the second session.

结合第五方面,在第五方面的某些实现方式中,所述第一网元还用于为所述第二会话的会话属性信息确定有效定时器,所述有效定时器指示所述第二会话的会话属性信息的有效时间。With reference to the fifth aspect, in some implementations of the fifth aspect, the first network element is further configured to determine a valid timer for the session attribute information of the second session, where the valid timer indicates the second session Valid time of session attribute information for the session.

结合第五方面,在第五方面的某些实现方式中,所述第一网元为网络切片许可控制功能NSACF实体,所述系统还包括第一会话管理网元,所述第一会话管理网元为所述第二会话对应的会话管理网元,在所述第一网元用于接收所述终端设备请求建立的第一会话的会话属性信息之前,所述第一网元还用于:从所述第一会话管理网元接收第一消息,所述第一消息包括所述终端设备的所述第二会话的会话属性信息;保存所述第二会话的会话属性信息。With reference to the fifth aspect, in some implementations of the fifth aspect, the first network element is a network slice admission control function NSACF entity, and the system further includes a first session management network element, the first session management network The element is a session management network element corresponding to the second session. Before the first network element is used to receive the session attribute information of the first session requested by the terminal device to be established, the first network element is further used for: Receive a first message from the first session management network element, where the first message includes session attribute information of the second session of the terminal device; save the session attribute information of the second session.

一种可能的实现方式中,所述网络切片许可控制功能NSACF实体从保存各个会话属性信息中,确定存在所述第二会话的会话属性信息,其中所述第二会话的会话属性信息包括与所述第一会话相同的终端设备标识信息,网络切片标识信息,数据网络信息,以及可选的相同的SSC mode参数,所述网络切片许可控制功能NSACF实体确定所述第一会话为与所述第二会话对应的新的会话。In a possible implementation manner, the NSACF entity of the network slice admission control function determines that session attribute information of the second session exists from the stored attribute information of each session, wherein the session attribute information of the second session includes the same information as the session attribute information of the second session. The same terminal equipment identification information, network slice identification information, data network information, and optionally the same SSC mode parameter as the first session, the network slice admission control function NSACF entity determines that the first session is the same as the first session. The new session corresponding to the second session.

结合第五方面,在第五方面的某些实现方式中,所述第一消息用于:检查所述网络切片标识对应的网络切片内的会话数量,或者,更新所述网络切片标识对应的网络切片内的会话数量,或者,预留所述网络切片标识对应的网络切片内的会话配额。With reference to the fifth aspect, in some implementations of the fifth aspect, the first message is used to: check the number of sessions in the network slice corresponding to the network slice identifier, or update the network slice corresponding to the network slice identifier The number of sessions in the slice, or the session quota in the network slice corresponding to the network slice identifier is reserved.

结合第五方面,在第五方面的某些实现方式中,所述系统还包括第二会话管理网元,所述第二会话管理网元为所述第一会话对应的网元,所述第一网元用于接收所述终端设备请求建立的第一会话的会话属性信息,所述第一网元具体用于:从所述第二会话管理网元接收第二消息,所述第二消息包括所述终端设备的所述第一会话的会话属性信息,所述第二消息用于询问是否允许所述第一会话的建立,或者用于更新所述网络切片标识对应的网络切片内的会话数量,或者用于询问是否允许所述第一会话的建立占用所述第二会话的会话配额。With reference to the fifth aspect, in some implementations of the fifth aspect, the system further includes a second session management network element, where the second session management network element is a network element corresponding to the first session, and the second session management network element is a network element corresponding to the first session. A network element is configured to receive session attribute information of the first session requested by the terminal device to establish, and the first network element is specifically configured to: receive a second message from the second session management network element, the second message Including session attribute information of the first session of the terminal device, the second message is used to inquire whether to allow the establishment of the first session, or to update the session in the network slice corresponding to the network slice identifier The number, or for inquiring whether the establishment of the first session is allowed to occupy the session quota of the second session.

结合第五方面,在第五方面的某些实现方式中,所述第一网元为策略控制网元,所述系统还包括第一会话管理网元,所述第一会话管理网元为所述第二会话对应的会话管理网元,在所述第一网元用于接收所述终端设备请求建立的第一会话的会话属性信息之前,所述策略控制网元还用于:从所述第一会话管理网元接收第三消息,所述第三消息包括所述终端设备的所述第二会话的会话属性信息;保存所述第二会话的会话属性信息。With reference to the fifth aspect, in some implementations of the fifth aspect, the first network element is a policy control network element, and the system further includes a first session management network element, and the first session management network element is the the session management network element corresponding to the second session, before the first network element is used to receive the session attribute information of the first session requested by the terminal device to establish, the policy control network element is further configured to: The first session management network element receives a third message, where the third message includes session attribute information of the second session of the terminal device; and saves the session attribute information of the second session.

一种可能的实现方式中,所述策略控制网元从保存各个会话属性信息中,确定存在所述第二会话的会话属性信息,其中所述第二会话的会话属性信息包括与所述第一会话相同的终端设备标识信息,网络切片标识信息,数据网络信息,以及可选的相同的SSC mode参数,所述策略控制网元确定所述第一会话为与所述第二会话对应的新的会话。In a possible implementation manner, the policy control network element determines that session attribute information of the second session exists from the saved session attribute information, wherein the session attribute information of the second session includes the same information as the first session attribute information. The same terminal equipment identification information, network slice identification information, data network information, and optionally the same SSC mode parameter as the session, the policy control network element determines that the first session is a new one corresponding to the second session. session.

结合第五方面,在第五方面的某些实现方式中,所述第三消息用于:报告所述第二会话的会话管理策略关联的更新,或者,请求建立所述第二会话的会话管理策略关联,或者,通知控制所述第二会话的会话管理策略关联的更新,或者,请求删除所述第二会话的会话管理策略关联。With reference to the fifth aspect, in some implementations of the fifth aspect, the third message is used to: report an update of the session management policy association of the second session, or request establishment of session management for the second session Policy association, or, notifying an update of the session management policy association that controls the second session, or requesting deletion of the session management policy association of the second session.

结合第五方面,在第五方面的某些实现方式中,所述系统还包括第二会话管理网元,所述第二会话管理网元为所述第一会话对应的网元,所述第一网元用于接收所述终端设备请求建立的第一会话的会话属性信息,所述策略控制网元具体用于:从所述第二会话管理网元接收第四消息,所述第四消息包括所述终端设备的所述第一会话的会话属性信息,所述第四消息用于请求建立所述第一会话的会话管理策略关联。With reference to the fifth aspect, in some implementations of the fifth aspect, the system further includes a second session management network element, where the second session management network element is a network element corresponding to the first session, and the second session management network element is a network element corresponding to the first session. A network element is configured to receive session attribute information of the first session requested by the terminal device to establish, and the policy control network element is specifically configured to: receive a fourth message from the second session management network element, the fourth message The session attribute information of the first session of the terminal device is included, and the fourth message is used to request the establishment of a session management policy association of the first session.

结合第五方面,在第五方面的某些实现方式中,在所述策略控制网元用于从第一会话管理网元接收第三消息之前,所述策略控制网元还用于:接收NSACF实体分配的网络切片内会话配额。With reference to the fifth aspect, in some implementations of the fifth aspect, before the policy control network element is configured to receive the third message from the first session management network element, the policy control network element is further configured to: receive the NSACF The intra-slice session quota allocated by the entity.

结合第五方面,在第五方面的某些实现方式中,所述第一网元为接入和移动管理网元,在所述第一网元用于接收所述终端设备请求建立的第一会话的会话属性信息之前,所述接入和移动管理网元还用于:获取所述第二会话的会话属性信息。With reference to the fifth aspect, in some implementation manners of the fifth aspect, the first network element is an access and mobility management network element, and the first network element is configured to receive a first network element that the terminal device requests to establish. Before the session attribute information of the session, the access and mobility management network element is further configured to: acquire the session attribute information of the second session.

一种可能的实现方式中,所述接入和移动管理网元保存所述第二会话的会话属性信息。所述接入和移动管理网元从保存各个会话属性信息中,确定存在所述第二会话的会话属性信息,其中所述第二会话的会话属性信息包括与所述第一会话相同的终端设备标识信息,网络切片标识信息,数据网络信息,以及可选的相同的SSC mode参数,所述接入和移动管理网元确定所述第一会话为与所述第二会话对应的新的会话。In a possible implementation manner, the access and mobility management network element stores session attribute information of the second session. The access and mobility management network element determines that session attribute information of the second session exists from the saved session attribute information, wherein the session attribute information of the second session includes the same terminal device as the first session. identification information, network slice identification information, data network information, and optionally the same SSC mode parameter, the access and mobility management network element determines that the first session is a new session corresponding to the second session.

结合第五方面,在第五方面的某些实现方式中,所述第一网元用于接收所述终端设备请求建立的第一会话的会话属性信息,所述接入和移动管理网元具体用于:从所述终端设备接收会话建立请求消息,所述会话建立请求消息包括所述第一会话的会话属性信息,所述会话建立请求消息请求建立所述第一会话。With reference to the fifth aspect, in some implementations of the fifth aspect, the first network element is configured to receive session attribute information of the first session requested by the terminal device to establish, and the access and mobility management network element is specifically is used for: receiving a session establishment request message from the terminal device, where the session establishment request message includes session attribute information of the first session, and the session establishment request message requests establishment of the first session.

第六方面,提供了一种会话控制的方法,该方法包括:第四网元从终端设备接收第一信息,所述第一信息用于请求所述终端设备的第一会话的建立,所述第一信息包括所述终端设备的第二会话的标识信息,其中,所述第一会话为所述第二会话因所述终端设备的会话和业务连续性需要改变协议数据单元PDU会话锚点的新的会话,所述第一会话和所述第二会话建立于相同的网络切片内;所述第四网元根据所述第二会话的标识信息,确定跳过所述网络切片内的会话数量检查,并确定允许所述第一会话的建立。In a sixth aspect, a method for session control is provided, the method comprising: a fourth network element receiving first information from a terminal device, where the first information is used to request establishment of a first session of the terminal device, the The first information includes the identification information of the second session of the terminal device, wherein the first session is the second session because the session and business continuity of the terminal device needs to change the protocol data unit PDU session anchor point. a new session, the first session and the second session are established in the same network slice; the fourth network element determines the number of sessions skipped in the network slice according to the identification information of the second session Check and determine that the establishment of the first session is allowed.

根据本申请提供的方法,第四网元接收第一会话的请求消息以及第二会话的标识信息后,可以确定第一会话为第二会话对应的改变PDU会话锚点后的新的会话,此时第四网元将不检查网络切片内的会话数量是否达到或超出网络切片内的会话配额,并允许第一会话的建立,从而避免了当前网络切片内的会话数量已达到或超出网络切片内会话配额时,第一会话无法建立的情况,能够使得终端设备修改PDU会话锚点成功,保证终端设备的会话和业务的连续性。According to the method provided by the present application, after receiving the request message of the first session and the identification information of the second session, the fourth network element can determine that the first session is a new session corresponding to the second session after changing the PDU session anchor. At this time, the fourth network element will not check whether the number of sessions in the network slice reaches or exceeds the session quota in the network slice, and allows the establishment of the first session, thus avoiding that the number of sessions in the current network slice has reached or exceeded the network slice. When the session quota is used, if the first session cannot be established, the terminal device can successfully modify the PDU session anchor, and the continuity of the session and service of the terminal device can be ensured.

结合第六方面,在第六方面的某些实现方式中,所述第四网元为接入和移动管理网元,所述第四网元从终端设备接收第一信息,包括:所述接入和移动管理网元从所述终端设备接收会话建立请求消息,所述会话建立请求消息包括所述第一信息。With reference to the sixth aspect, in some implementation manners of the sixth aspect, the fourth network element is an access and mobility management network element, and the fourth network element receives the first information from the terminal device, including: the access and mobility management network element. The inbound and mobility management network element receives a session establishment request message from the terminal device, and the session establishment request message includes the first information.

结合第六方面,在第六方面的某些实现方式中,所述第四网元为会话管理网元,所述第四网元从终端设备接收第一信息,包括:所述会话管理网元从第一接入和移动管理网元接收创建会话上下文请求消息,所述第一接入和移动管理网元为所述第一会话对应的接入和移动管理网元,所述创建会话上下文请求消息包括所述第一信息。With reference to the sixth aspect, in some implementations of the sixth aspect, the fourth network element is a session management network element, and the fourth network element receives the first information from the terminal device, including: the session management network element Receive a create session context request message from a first access and mobility management network element, where the first access and mobility management network element is an access and mobility management network element corresponding to the first session, and the create session context request message The message includes the first information.

结合第六方面,在第六方面的某些实现方式中,所述第四网元为策略控制网元,所述第四网元从终端设备接收第一信息,包括:所述策略控制网元从第三会话管理网元接收创建会话管理策略关联请求消息,所述第三会话管理网元为所述第一会话对应的会话管理网元,所述创建会话管理策略关联请求消息包括所述第一信息。With reference to the sixth aspect, in some implementations of the sixth aspect, the fourth network element is a policy control network element, and the fourth network element receives the first information from the terminal device, including: the policy control network element Receive a create session management policy association request message from a third session management network element, where the third session management network element is a session management network element corresponding to the first session, and the create session management policy association request message includes the first session management policy association request message. a message.

第七方面,提供了一种会话控制的装置,所述装置可以是核心网设备,还可以是用于核心网设备的芯片。所述装置具有实现上述第六方面的方法实例中行为的功能。所述功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。所述硬件或软件包括一个或多个与上述功能相对应的模块。在一个可能的设计中,所述装置包括收发单元和处理单元,所述收发单元用于从终端设备接收第一信息,所述第一信息用于请求所述终端设备的第一会话的建立,所述第一信息包括所述终端设备的第二会话的标识信息,其中,所述第一会话为所述第二会话因所述终端设备的会话和业务连续性需要改变协议数据单元PDU会话锚点的新的会话,所述第一会话和所述第二会话建立于相同的网络切片内;所述处理单元用于根据所述第二会话的标识信息,确定跳过所述网络切片内的会话数量检查,并确定允许所述第一会话的建立。In a seventh aspect, an apparatus for session control is provided, and the apparatus may be a core network device or a chip used for the core network device. The apparatus has the function of implementing the behavior in the method example of the sixth aspect above. 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. In a possible design, the apparatus includes a transceiving unit and a processing unit, the transceiving unit is configured to receive first information from a terminal device, and the first information is used to request the establishment of a first session of the terminal device, The first information includes identification information of the second session of the terminal device, wherein the first session is the second session because the session and business continuity of the terminal device needs to change the protocol data unit PDU session anchor. The first session and the second session are established in the same network slice; the processing unit is configured to determine to skip the network slice according to the identification information of the second session. The number of sessions is checked and it is determined that the establishment of the first session is allowed.

这些模块可以执行上述第六方面方法示例中的相应功能,具体参见方法示例中的详细描述,此处不做赘述。These modules can perform the corresponding functions in the method examples of the sixth aspect. For details, please refer to the detailed descriptions in the method examples, which will not be repeated here.

第八方面,提供了一种会话控制的系统,所述系统包括:第四网元,终端设备;所述第四网元用于从所述终端设备接收第一信息,所述第一信息用于请求所述终端设备的第一会话的建立,所述第一信息包括所述终端设备的第二会话的标识信息,其中,所述第一会话为所述第二会话因所述终端设备的会话和业务连续性需要改变协议数据单元PDU会话锚点的新的会话,所述第一会话和所述第二会话建立于相同的网络切片内;所述第四网元还用于根据所述第二会话的标识信息,确定跳过所述网络切片内的会话数量检查,并确定允许所述第一会话的建立。In an eighth aspect, a session control system is provided, the system includes: a fourth network element, a terminal device; the fourth network element is configured to receive first information from the terminal device, and the first information is used for In order to request the establishment of the first session of the terminal device, the first information includes identification information of the second session of the terminal device, wherein the first session is the second session due to the Session and business continuity need to change the new session of the protocol data unit PDU session anchor point, the first session and the second session are established in the same network slice; the fourth network element is also used for according to the The identification information of the second session is determined to skip the check of the number of sessions in the network slice, and the establishment of the first session is determined to be allowed.

结合第八方面,在第八方面的某些实现方式中,所述第四网元为接入和移动管理网元,所述第四网元用于从所述终端设备接收第一信息,包括:所述接入和移动管理网元从所述终端设备接收会话建立请求消息,所述会话建立请求消息包括所述第一信息。With reference to the eighth aspect, in some implementations of the eighth aspect, the fourth network element is an access and mobility management network element, and the fourth network element is configured to receive the first information from the terminal device, including : the access and mobility management network element receives a session establishment request message from the terminal device, where the session establishment request message includes the first information.

结合第八方面,在第八方面的某些实现方式中,所述第四网元为会话管理网元,所述第四网元用于从所述终端设备接收第一信息,包括:所述会话管理网元从第一接入和移动管理网元接收创建会话上下文请求消息,所述第一接入和移动管理网元为所述第一会话对应的接入和移动管理网元,所述创建会话上下文请求消息包括所述第一信息。With reference to the eighth aspect, in some implementations of the eighth aspect, the fourth network element is a session management network element, and the fourth network element is configured to receive the first information from the terminal device, including: the The session management network element receives a create session context request message from a first access and mobility management network element, where the first access and mobility management network element is an access and mobility management network element corresponding to the first session, and the first access and mobility management network element is an access and mobility management network element corresponding to the first session. The create session context request message includes the first information.

结合第八方面,在第八方面的某些实现方式中,所述第四网元为策略控制网元,所述第四网元用于从所述终端设备接收第一信息,包括:所述策略控制网元从第三会话管理网元接收创建会话管理策略关联请求消息,所述第三会话管理网元为所述第一会话对应的会话管理网元,所述创建会话管理策略关联请求消息包括所述第一信息。With reference to the eighth aspect, in some implementations of the eighth aspect, the fourth network element is a policy control network element, and the fourth network element is configured to receive the first information from the terminal device, including: the The policy control network element receives a create session management policy association request message from a third session management network element, where the third session management network element is a session management network element corresponding to the first session, and the create session management policy association request message including the first information.

第九方面,提供了一种装置,该装置包括处理器和收发器。处理器与收发器连接。处理器用于执行指令,收发器用于在处理器的控制下与其他网元进行通信。该处理器执行指令时,该执行使得该装置执行上述任一方面或任一方面中任意可能的实现方式中的方法。该装置还包括存储器,该存储器用于存储指令。In a ninth aspect, an apparatus is provided that includes a processor and a transceiver. The processor is connected to the transceiver. The processor is used to execute instructions, and the transceiver is used to communicate with other network elements under the control of the processor. When the processor executes the instructions, the execution causes the apparatus to perform any of the above aspects or a method in any possible implementation of any of the aspects. The apparatus also includes a memory for storing the instructions.

第十方面,提供了一种计算机可读介质,该计算机可读介质存储有计算机程序(也可以称为代码,或指令)当其在计算机上运行时,使得计算机执行上述任一方面或任一方面中任意可能的实现方式中的方法。In a tenth aspect, a computer-readable medium is provided, the computer-readable medium is stored with a computer program (also referred to as code, or instruction), when it runs on a computer, causing the computer to perform any aspect or any one of the above A method in any possible implementation of an aspect.

第十一方面,提供了一种通信芯片,其中存储有指令,当其在计算机设备上运行时,使得所述通信芯片执行上述任一方面或任一方面中任意可能的实现方式中的方法。In an eleventh aspect, a communication chip is provided, in which instructions are stored that, when executed on a computer device, cause the communication chip to perform the method in any of the above-mentioned aspects or any possible implementation manner of any of the aspects.

第十二方面,提供了一种包含指令的计算机程序产品,其指令在计算机上运行时,使得计算机执行上述任一方面或任一方面中任意可能的实现方式中的方法。A twelfth aspect provides a computer program product comprising instructions, the instructions, when run on a computer, cause the computer to perform any of the above aspects or the method in any possible implementation of any of the aspects.

第十三方面,提供一种芯片系统,包括:输入接口、输出接口、至少一个处理器、存储器,所述输入接口、输出接口、所述处理器以及所述存储器之间通过内部连接通路相连,所述处理器用于执行所述存储器中的代码,当所述代码被执行时,所述处理器用于执行上述各方面中的方法。A thirteenth aspect provides a chip system, comprising: an input interface, an output interface, at least one processor, and a memory, wherein the input interface, the output interface, the processor, and the memory are connected through an internal connection path, The processor is configured to execute code in the memory, and when the code is executed, the processor is configured to execute the methods of the above aspects.

基于上述技术方案,可以能够避免终端设备的业务中断,保证终端设备的会话和业务连续性。。Based on the above technical solutions, service interruption of the terminal device can be avoided, and the session and service continuity of the terminal device can be ensured. .

附图说明Description of drawings

图1是是5G移动通信系统架构示意图;Figure 1 is a schematic diagram of the architecture of a 5G mobile communication system;

图2是本申请提供的一种会话控制的方法的示意性流程图;2 is a schematic flowchart of a method for session control provided by the present application;

图3是本申请提供的一种会话控制的方法的示意性流程图;3 is a schematic flowchart of a method for session control provided by the present application;

图4是本申请提供的一种会话控制的方法的具体示例的示意性流程图;4 is a schematic flowchart of a specific example of a method for session control provided by the present application;

图5是本申请提供的一种会话控制的方法的具体示例的示意性流程图;5 is a schematic flowchart of a specific example of a method for session control provided by the present application;

图6是本申请提供的另一种会话控制的方法的示意性流程图;6 is a schematic flowchart of another session control method provided by the present application;

图7是本申请提供的一种会话控制的装置的示意性结构图;7 is a schematic structural diagram of an apparatus for session control provided by the present application;

图8是本申请提供的另一种会话控制的装置的示意性结构图。FIG. 8 is a schematic structural diagram of another apparatus for session control provided by the present application.

具体实施方式Detailed ways

下面将结合附图,对本申请中的技术方案进行描述。The technical solutions in the present application will be described below with reference to the accompanying drawings.

本申请实施例的技术方案可以应用于各种通信系统,例如:全球移动通讯(GlobalSystem of Mobile communication,GSM)系统、码分多址(Code Division MultipleAccess,CDMA)系统、宽带码分多址(Wideband Code Division Multiple Access,WCDMA)系统、通用分组无线业务(General Packet Radio Service,GPRS)、长期演进(Long TermEvolution,LTE)系统、LTE频分双工(Frequency Division Duplex,FDD)系统、LTE时分双工(Time Division Duplex,TDD)、通用移动通信系统(Universal MobileTelecommunication System,UMTS)、全球互联微波接入(Worldwide Interoperabilityfor Microwave Access,WiMAX)通信系统、第五代(5th Generation,5G)系统、新无线(NewRadio,NR)或未来可能出现的其他通信系统等。The technical solutions of the embodiments of the present application can be applied to various communication systems, for example, a Global System of Mobile communication (GSM) system, a Code Division Multiple Access (CDMA) system, a Wideband Code Division Multiple Access (Wideband) system Code Division Multiple Access (WCDMA) system, General Packet Radio Service (GPRS), Long Term Evolution (Long Term Evolution, LTE) system, LTE Frequency Division Duplex (FDD) system, LTE Time Division Duplex (Time Division Duplex, TDD), Universal Mobile Telecommunication System (UMTS), Worldwide Interoperability for Microwave Access (WiMAX) communication system, fifth generation (5th Generation, 5G) system, new wireless ( NewRadio, NR) or other communication systems that may appear in the future.

图1示出了本申请实施例适用的一种通信系统的网络架构示意图,该网络架构中包括终端设备、接入网设备、接入管理网元、会话管理网元、用户面网元、策略控制网元、网络切片选择网元、网络仓库功能网元、网络数据分析网元、统一数据管理网元、统一数据存储网元、认证服务功能网元、网络能力开放网元、应用功能网元,以及连接运营商网络的数据网络(data network,DN)、计费功能网元。终端设备可通过接入网设备、用户面网元向数据网络发送业务数据,以及从数据网络接收业务数据。FIG. 1 shows a schematic diagram of a network architecture of a communication system to which an embodiment of the present application is applied. The network architecture includes a terminal device, an access network device, an access management network element, a session management network element, a user plane network element, and a policy Control network element, network slice selection network element, network warehouse function network element, network data analysis network element, unified data management network element, unified data storage network element, authentication service function network element, network capability opening network element, application function network element , and a data network (DN) and a charging function network element connected to the operator's network. The terminal equipment can send service data to the data network and receive service data from the data network through the access network equipment and user plane network elements.

其中,终端设备是一种具有无线收发功能的设备,可以部署在陆地上,包括室内或室外、手持、穿戴或车载;也可以部署在水面上(如轮船等);还可以部署在空中(例如飞机、气球和卫星上等。所述终端设备可以经无线接入网(radio access network,RAN)与核心网进行通信,与RAN交换语音和/或数据。所述终端设备可以是手机(mobile phone)、平板电脑(Pad)、带无线收发功能的电脑、移动互联网设备(mobile internet device,MID)、可穿戴设备、虚拟现实(virtual reality,VR)终端设备、增强现实(augmented reality,AR)终端设备、工业控制(industrial control)中的无线终端、无人驾驶(self driving)中的无线终端、远程医疗(remote medical)中的无线终端、智能电网(smart grid)中的无线终端、运输安全(transportation safety)中的无线终端、智慧城市(smart city)中的无线终端、智慧家庭(smart home)中的无线终端等等。本申请的实施例对应用场景不做限定。终端设备有时也可以称为用户设备(user equipment,UE)、移动台和远方站等,本申请的实施例对终端设备所采用的具体技术、设备形态以及名称不做限定。Among them, the terminal device is a device with wireless transceiver function, which can be deployed on land, including indoor or outdoor, handheld, wearable or vehicle-mounted; it can also be deployed on water (such as ships, etc.); it can also be deployed in the air (such as Aircraft, balloons, satellites, etc. The terminal device can communicate with the core network via a radio access network (RAN), and exchange voice and/or data with the RAN. The terminal device can be a mobile phone (mobile phone) ), tablet computer (Pad), computer with wireless transceiver function, mobile internet device (MID), wearable device, virtual reality (VR) terminal device, augmented reality (AR) terminal equipment, wireless terminals in industrial control, wireless terminals in self driving, wireless terminals in remote medical, wireless terminals in smart grid, transportation security ( Wireless terminals in transportation safety), wireless terminals in smart cities, wireless terminals in smart homes, etc. The embodiments of this application do not limit application scenarios. Terminal equipment may also be called For user equipment (user equipment, UE), a mobile station, a remote station, etc., the embodiments of this application do not limit the specific technology, device form, and name used by the terminal equipment.

接入网设备,是网络中用于将终端设备接入到无线网络的设备。所述接入网设备可以为无线接入网中的节点,也可以称为基站,又可以称为接入网(access network,AN),还可以称为无线接入网(radio access network,RAN)节点(或设备)。网络设备可以包括长期演进(long term evolution,LTE)系统或演进的LTE系统(LTE-Advanced,LTE-A)中的演进型基站(NodeB或eNB或e-NodeB,evolutional Node B),如传统的宏基站eNB和异构网络场景下的微基站eNB,或者也可以包括第五代移动通信技术(5th generation,5G)新无线(new radio,NR)系统中的下一代节点B(next generation node B,gNB),或者还可以包括无线网络控制器(radio network controller,RNC)、节点B(Node B,NB)、基站控制器(basestation controller,BSC)、基站收发台(base transceiver station,BTS)、传输接收点(transmission reception point,TRP)、家庭基站(例如,home evolved NodeB,或homeNode B,HNB)、基带单元(base band unit,BBU)、基带池BBU pool,或WiFi接入点(accesspoint,AP)等,再或者还可以包括云接入网(cloud radio access network,CloudRAN)系统中的集中式单元(centralized unit,CU)和分布式单元(distributed unit,DU),本申请实施例并不限定。在接入网设备包括CU和DU的分离部署场景中,CU支持无线资源控制(radioresource control,RRC)、分组数据汇聚协议(packet data convergence protocol,PDCP)、业务数据适配协议(service data adaptation protocol,SDAP)等协议;DU主要支持无线链路控制层(radio link control,RLC)、媒体接入控制层(media access control,MAC)和物理层协议。An access network device is a device in the network that is used to connect a terminal device to a wireless network. The access network device may be a node in a radio access network, may also be called a base station, may also be called an access network (access network, AN), and may also be called a radio access network (radio access network, RAN) ) node (or device). The network equipment may include an evolved base station (NodeB or eNB or e-NodeB, evolutional Node B) in a long term evolution (long term evolution, LTE) system or an evolved LTE system (LTE-Advanced, LTE-A), such as traditional The macro base station eNB and the micro base station eNB in the heterogeneous network scenario, or may also include the next generation node B (next generation node B) in the fifth generation mobile communication technology (5th generation, 5G) new radio (new radio, NR) system , gNB), or may also include radio network controller (radio network controller, RNC), Node B (Node B, NB), base station controller (basestation controller, BSC), base transceiver station (base transceiver station, BTS), Transmission reception point (transmission reception point, TRP), home base station (for example, home evolved NodeB, or homeNode B, HNB), base band unit (base band unit, BBU), baseband pool BBU pool, or WiFi access point (access point, AP), etc., or may also include a centralized unit (centralized unit, CU) and a distributed unit (distributed unit, DU) in a cloud radio access network (cloud radio access network, CloudRAN) system, the embodiment of the present application does not limited. In a separate deployment scenario where the access network equipment includes CU and DU, the CU supports radio resource control (RRC), packet data convergence protocol (PDCP), service data adaptation protocol (service data adaptation protocol) , SDAP) and other protocols; DU mainly supports radio link control layer (radio link control, RLC), media access control layer (media access control, MAC) and physical layer protocols.

接入管理网元,主要用于移动网络中的终端的附着、移动性管理、跟踪区更新流程,接入管理网元终结了非接入层(non access stratum,NAS)消息、完成注册管理、连接管理以及可达性管理、分配跟踪区域列表(track area list,TA list)以及移动性管理等,并且透明路由会话管理(session management,SM)消息到会话管理网元。在第五代(5thgeneration,5G)通信系统中,接入管理网元可以是接入与移动性管理功能(access andmobility management function,AMF),在未来的通信系统(如6G通信系统)中,移动性管理网元可以仍是AMF网元,或者也可以具有其它名称,本申请并不限定。The access management network element is mainly used for terminal attachment, mobility management, and tracking area update procedures in the mobile network. The access management network element terminates non-access stratum (NAS) messages, completes registration management, Connection management and reachability management, allocation of track area list (TA list) and mobility management, etc., and transparent routing of session management (SM) messages to session management network elements. In the fifth generation (5th generation, 5G) communication system, the access management network element may be an access and mobility management function (AMF). In future communication systems (such as 6G communication systems), mobile The property management network element may still be the AMF network element, or may have other names, which are not limited in this application.

会话管理网元,主要用于移动网络中的会话管理,如会话建立、修改、释放。具体功能如为终端分配互联网协议(internet protocol,IP)地址、选择提供报文转发功能的用户面网元等。在5G通信系统中,会话管理网元可以是会话管理功能(session managementfunction,SMF),在未来的通信系统(如6G通信系统)中,会话管理网元可以仍是SMF网元,或者也可以具有其它名称,本申请并不限定。The session management network element is mainly used for session management in the mobile network, such as session establishment, modification and release. Specific functions include allocating an Internet Protocol (IP) address to a terminal, selecting a user plane network element that provides a packet forwarding function, and the like. In a 5G communication system, the session management network element may be a session management function (SMF). In a future communication system (such as a 6G communication system), the session management network element may still be an SMF network element, or may also have Other names are not limited in this application.

用户面网元,主要用于对用户报文进行处理,如转发、计费、合法监听等。用户面网元也可以称为协议数据单元(protocol data unit,PDU)会话锚点(PDU session anchor,PSA)。在5G通信系统中,用户面网元可以是用户面功能(user plane function,UPF),在未来的通信系统(如6G通信系统)中,用户面网元可以仍是UPF网元,或者也可以具有其它名称,本申请并不限定。User plane NEs are mainly used to process user packets, such as forwarding, accounting, and lawful interception. The user plane network element may also be referred to as a protocol data unit (protocol data unit, PDU) session anchor (PDU session anchor, PSA). In a 5G communication system, a user plane network element may be a user plane function (UPF). In a future communication system (such as a 6G communication system), the user plane network element may still be a UPF network element, or it may be With other names, this application is not limited.

策略控制网元,包含用户签约数据管理功能、策略控制功能、计费策略控制功能、服务质量(quality of service,QoS)控制等。在5G通信系统中,策略控制网元可以是策略控制功能(policy control function,PCF),在未来的通信系统(如6G通信系统)中,策略控制网元可以仍是PCF网元,或者也可以具有其它名称,本申请并不限定。The policy control network element includes user subscription data management function, policy control function, charging policy control function, quality of service (quality of service, QoS) control, and the like. In a 5G communication system, the policy control network element may be a policy control function (PCF). In a future communication system (such as a 6G communication system), the policy control network element may still be a PCF network element, or it may be With other names, this application is not limited.

网络切片选择功能网元,主要用于为终端设备的业务选择合适的网络切片。在5G通信系统中,网络切片选择网元可以是网络切片选择功能(network slice selectionfunction,NSSF)网元,在未来的通信系统(如6G通信系统)中,网络切片选择网元可以仍是NSSF网元,或者也可以具有其它名称,本申请并不限定。The network slice selection function network element is mainly used to select the appropriate network slice for the service of the terminal device. In the 5G communication system, the network slice selection network element may be a network slice selection function (NSSF) network element. In future communication systems (such as 6G communication systems), the network slice selection network element may still be an NSSF network element. element, or may have other names, which is not limited in this application.

网络仓库功能网元,主要用于提供网元或网元所提供服务的注册和发现功能。在5G通信系统中,网络仓库功能网元可以是网络仓库功能(network repository function,NRF),在未来的通信系统(如6G通信系统)中,网络仓库功能网元可以仍是NRF网元,或者也可以具有其它名称,本申请并不限定。The network warehouse function network element is mainly used to provide the registration and discovery functions of the network element or the services provided by the network element. In a 5G communication system, the network warehouse function network element may be a network repository function (NRF), and in a future communication system (such as a 6G communication system), the network warehouse function network element may still be an NRF network element, or It can also have other names, which is not limited in this application.

网络数据分析网元,可以从各个网络功能(network function,NF),例如策略控制网元、会话管理网元、用户面网元、接入管理网元、应用功能网元(通过网络能力开放功能网元)收集数据,并进行分析和预测。在5G通信系统中,网络数据分析网元可以是网络数据分析功能(network data analytics function,NWDAF),在未来的通信系统(如6G通信系统)中,网络数据分析网元可以仍是NWDAF网元,或者也可以具有其它名称,本申请并不限定。Network data analysis network elements can be analyzed from various network functions (network function, NF), such as policy control network elements, session management network elements, user plane network elements, access management network elements, and application function network elements (through the network capability opening function). network elements) to collect data and make analysis and predictions. In the 5G communication system, the network data analysis network element may be a network data analysis function (NWDAF). In the future communication system (such as a 6G communication system), the network data analysis network element may still be an NWDAF network element. , or may have other names, which are not limited in this application.

统一数据管理网元,主要用于管理终端设备的签约信息。在5G通信系统中,统一数据管理网元可以是统一数据管理(unified data management,UDM),在未来的通信系统(如6G通信系统)中,统一数据管理网元可以仍是UDM网元,或者也可以具有其它名称,本申请并不限定。The unified data management network element is mainly used to manage the subscription information of terminal equipment. In a 5G communication system, the unified data management network element may be a unified data management (UDM) network element. In a future communication system (such as a 6G communication system), the unified data management network element may still be a UDM network element, or It can also have other names, which is not limited in this application.

统一数据存储网元,主要用于存储结构化的数据信息,其中包括签约信息、策略信息,以及有标准格式定义的网络数据或业务数据。在5G通信系统中,统一数据存储网元可以是统一数据存储(unified data repository,UDR),在未来的通信系统(如6G通信系统)中,统一数据存储网元可以仍是UDR网元,或者也可以具有其它名称,本申请并不限定。The unified data storage network element is mainly used to store structured data information, including subscription information, policy information, and network data or service data defined in a standard format. In a 5G communication system, the unified data storage network element may be a unified data repository (UDR). In a future communication system (such as a 6G communication system), the unified data storage network element may still be a UDR network element, or It can also have other names, which is not limited in this application.

认证服务功能网元,主要用于对终端设备进行安全认证。在5G通信系统中,认证服务功能网元可以是认证服务器功能(authentication server function,AUSF),在未来的通信系统(如6G通信系统)中,认证服务功能网元可以仍是AUSF网元,或者也可以具有其它名称,本申请并不限定。The authentication service function network element is mainly used to perform security authentication on terminal equipment. In a 5G communication system, the authentication service function network element may be an authentication server function (AUSF). In a future communication system (such as a 6G communication system), the authentication service function network element may still be an AUSF network element, or It can also have other names, which is not limited in this application.

网络能力开放网元,可以将网络的部分功能有控制地暴露给应用。在5G通信系统中,网络能力开放网元可以是网络能力开放功能(network exposure function,NEF),在未来的通信系统(如6G通信系统)中,网络能力开放网元可以仍是NEF网元,或者也可以具有其它名称,本申请并不限定。The network capability exposure network element can expose some functions of the network to applications in a controlled manner. In a 5G communication system, the network capability exposure network element may be a network capability exposure function (NEF). In a future communication system (such as a 6G communication system), the network capability exposure network element may still be an NEF network element. Alternatively, it may have other names, which are not limited in this application.

应用功能网元,可以向运营商的通信网络的控制面网元提供各类应用的服务数据,或者从通信网络的控制面网元获得网络的数据信息和控制信息。在5G通信系统中,应用功能网元可以是应用功能(application function,AF),在未来的通信系统(如6G通信系统)中,应用功能网元可以仍是AF网元,或者也可以具有其它名称,本申请并不限定。The application function network element can provide service data of various applications to the control plane network element of the operator's communication network, or obtain network data information and control information from the control plane network element of the communication network. In the 5G communication system, the application function network element may be an application function (AF), and in the future communication system (such as a 6G communication system), the application function network element may still be an AF network element, or may have other The name is not limited in this application.

数据网络,主要用于为终端设备提供数据传输服务。数据网络可以是私有网络,如局域网,也可以是公用数据网(public data network,PDN)网络,如因特网(Internet),还可以是运营商共同部署的专有网络,如配置的IP多媒体网络子系统(IP multimedia corenetwork subsystem,IMS)服务。The data network is mainly used to provide data transmission services for terminal equipment. The data network can be a private network, such as a local area network, or a public data network (PDN) network, such as the Internet (Internet), or a private network jointly deployed by operators, such as a configured IP multimedia network sub-network. System (IP multimedia corenetwork subsystem, IMS) service.

计费功能网元,主要用于融合计费,即将离线计费功能和在线计费功能融合在一起。在5G通信系统中,计费功能网元可以是计费功能(charging function,CHF),在未来的通信系统(如6G通信系统)中,计费功能网元可以仍是CHF网元,或者也可以具有其他名称,本申请并不限定。The charging function network element is mainly used for convergent charging, that is, the offline charging function and the online charging function are combined together. In a 5G communication system, the charging function network element may be a charging function (charging function, CHF). In a future communication system (such as a 6G communication system), the charging function network element may still be a CHF network element, or it may also be a CHF network element. It can have other names, which is not limited in this application.

除上述网元外,该网络架构中还可以包括网络切片许可控制功能(network sliceadmission control function,NSACF)逻辑实体,该逻辑实体主要负责控制在网络切片中建立的会话数量,注册到切片内的终端数量,在切片内传输的上行和下行数据流量等不超过网络切片的服务等级协议(service level agreement,SLA)技术指标规定的最大上限。应理解,该NSACF逻辑实体可以是独立的NSACF网元,也可以是包括于网元中的功能组件,该网元可以为策略控制网元、或计费功能网元、或接入管理网元、或会话管理网元、或切片选择功能网元、或其它上述网元,本申请对此不做限制。应理解,在NSACF逻辑实体为包括于网元中的功能组件时,该NSACF逻辑实体与该网元之间的信息交互可以为,该网元内部的交互。在未来的通信系统(如6G通信系统)中,网络切片许可控制功能逻辑实体可以仍是NSACF逻辑实体,可以是NSACF实体,也可以是NSACF网元,或者也可以具有其他名称,本申请并不限定。In addition to the above network elements, the network architecture may also include a network slice admission control function (NSACF) logical entity, which is mainly responsible for controlling the number of sessions established in the network slice and registering with the terminals in the slice. The number of uplink and downlink data traffic transmitted within the slice does not exceed the maximum upper limit specified by the service level agreement (SLA) technical indicators of the network slice. It should be understood that the NSACF logical entity may be an independent NSACF network element, or may be a functional component included in the network element, and the network element may be a policy control network element, a charging function network element, or an access management network element , or a session management network element, or a slice selection function network element, or other above-mentioned network elements, which are not limited in this application. It should be understood that when the NSACF logical entity is a functional component included in a network element, the information interaction between the NSACF logical entity and the network element may be an interaction within the network element. In future communication systems (such as 6G communication systems), the network slice admission control function logic entity may still be an NSACF logic entity, an NSACF entity, or an NSACF network element, or may have other names. This application does not limited.

应理解,上述网元或者功能既可以是硬件设备中的网络元件,也可以是在专用硬件上运行的软件功能,或者是平台(例如,云平台)上实例化的虚拟化功能。可选的,上述网元或者功能可以由一个设备实现,也可以由多个设备共同实现,还可以是一个设备内的一个功能模块,本申请实施例对此不作具体限定。It should be understood that the above network elements or functions may be network elements in hardware devices, software functions running on dedicated hardware, or virtualized functions instantiated on a platform (eg, a cloud platform). Optionally, the foregoing network element or function may be implemented by one device, or may be implemented jointly by multiple devices, or may be a functional module in one device, which is not specifically limited in this embodiment of the present application.

为方便说明,本申请后续,以接入管理网元为AMF网元,会话管理网元为SMF网元,用户面网元为PDU会话锚点或UPF网元,策略控制网元为PCF网元,计费功能网元为CHF网元,网络切片许可控制功能逻辑实体为NSACF实体,为例进行说明。进一步地,将AMF网元简称为AMF,SMF网元为SMF,UPF网元为UPF,PCF网元为PCF,CHF网元为CHF,NSACF实体为NSACF。即本申请后续所描述的AMF均可替换为接入管理网元,SMF可替换为会话管理网元,PDU会话锚点或UPF网元可替换为用户面网元,PCF可替换为策略控制网元,CHF可替换为计费功能网元,NSACF可替换为网络切片许可控制功能逻辑实体。For the convenience of description, in the following application, the access management network element is the AMF network element, the session management network element is the SMF network element, the user plane network element is the PDU session anchor or the UPF network element, and the policy control network element is the PCF network element. , the charging function network element is the CHF network element, and the network slice admission control function logical entity is the NSACF entity, which is described as an example. Further, the AMF network element is abbreviated as AMF, the SMF network element is SMF, the UPF network element is UPF, the PCF network element is PCF, the CHF network element is CHF, and the NSACF entity is NSACF. That is, the AMF described later in this application can be replaced by the access management network element, the SMF can be replaced by the session management network element, the PDU session anchor or the UPF network element can be replaced by the user plane network element, and the PCF can be replaced by the policy control network element. Element, CHF can be replaced by charging function network element, NSACF can be replaced by network slice admission control function logical entity.

基于上述通信系统,本申请提供了一种会话控制的方法、装置和系统。为了便于理解本申请提出的技术方案,以下,以5G通信系统为例,对本申请涉及的相关技术进行介绍,该相关技术也作为本申请发明内容的一部分。Based on the above communication system, the present application provides a method, apparatus and system for session control. In order to facilitate the understanding of the technical solutions proposed in this application, the following takes a 5G communication system as an example to introduce related technologies involved in this application, which are also a part of the invention content of this application.

近年来,通信业务需求和应用场景逐渐多样化,从人与人之间的连接到万物之间的连接,用户种类和数量增多,连接数量成倍上升,通信网络将越来越拥堵,越来越复杂。如果将网络比喻为交通,则车辆就是用户,随着车辆的增多,城市交通将会变的拥堵不堪,此时就需要进行“交通管理”,即对网络实行分流管理。In recent years, communication business needs and application scenarios have gradually diversified. From the connection between people to the connection between all things, the types and number of users have increased, and the number of connections has increased exponentially. The communication network will become more and more congested, and more and more more complicated. If the network is compared to traffic, the vehicle is the user. With the increase of vehicles, the urban traffic will become congested. At this time, it is necessary to carry out "traffic management", that is, to implement the diversion management of the network.

网络切片(network slice)是一个具备特定网络特性的逻辑结构,是满足第三代合作伙伴项目(3rd generation partnership project,3GPP)提出的5G移动通信系统关于网络差异化需求的关键技术。本质上,网络切片就是将运营商的物理网络划分为多个虚拟网络,不同的虚拟网络对应着不同的业务需求,在不同的业务需求下,通信过程中的时延、带宽、安全性和可靠性等由有所不同,从而通过网络切片来满足客户的不同业务需求,以灵活的应对不同的网络应用场景。具体地,5G网络将应对三类场景:1)增强移动带宽(enhanced mobile broadband,eMBB),主要针对4K/8K超高清时频、全息技术、增强现实或虚拟现实等应用,对网络带宽和速率要求较高;2)大规模物联网(massive machine typeof communication,mMTC),在该场景下,海量的物联网传感器不属于测量、建筑、农业、物流、智慧城市、家庭等领域,这些传感器设备是非常密集的,规模庞大,且大部分是静止的,对时延和移动性要求不高;3)超可靠低时延通信(ultra reliable low latencycommunication,URLLC),主要应用于无人驾驶、车联网、自动工厂、远程医疗等领域,要求超低时延和高可靠性。A network slice is a logical structure with specific network characteristics, and is a key technology to meet the network differentiation requirements of the 5G mobile communication system proposed by the 3rd Generation Partnership Project (3GPP). In essence, network slicing is to divide the operator's physical network into multiple virtual networks. Different virtual networks correspond to different service requirements. In order to meet the different business needs of customers through network slicing, it can flexibly respond to different network application scenarios. Specifically, 5G networks will deal with three types of scenarios: 1) Enhanced mobile broadband (eMBB), mainly for applications such as 4K/8K ultra-high-definition time-frequency, holographic technology, augmented reality or virtual reality, etc. High requirements; 2) Massive machine type of communication (mMTC), in this scenario, massive IoT sensors do not belong to the fields of measurement, construction, agriculture, logistics, smart cities, homes, etc. These sensor devices are Very dense, large-scale, and most of them are stationary, with low requirements for latency and mobility; 3) Ultra reliable low latency communication (URLLC), mainly used in unmanned driving and Internet of Vehicles , automatic factories, telemedicine and other fields, requiring ultra-low latency and high reliability.

换句话说,一张5G物理物联网络可以被抽象划分成多个网络切片,每个网络切片构成一个端到端的逻辑网络,彼此之间逻辑上是隔离的,互不影响。因此,网络切片是在运营商的通信网络中划分出来的一个具备特定网络特性的逻辑网络。每个网络切片的业务都使用单个网络切片选择辅助信息(single-network slice selection assistanceinformation,S-NSSAI)来标识,即网络切片的标识为S-NSSAI。In other words, a 5G physical IoT network can be abstractly divided into multiple network slices. Each network slice constitutes an end-to-end logical network, which is logically isolated from each other and does not affect each other. Therefore, a network slicing is a logical network with specific network characteristics divided in an operator's communication network. The services of each network slice are identified by a single network slice selection assistance information (single-network slice selection assistance information, S-NSSAI), that is, the identification of the network slice is S-NSSAI.

在终端设备通过通信系统获得服务时,终端设备首先需要进行签约,在签约成功后,才能获取业务服务,进行通信。并且在签约成功后,通信系统中会存储终端设备的签约信息,该签约信息中包括终端设备的身份标识、终端设备签约的网络切片信息、为终端设备提供服务的数据网络(data network,DN)信息等。其中,终端设备的身份标识可以为签约永久标识(subscription permanent identifier,SUPI),或者终端设备的互联网协议(internet protocol,IP)地址,或者终端设备的媒体接入控制(media access control,MAC)地址,或者以太网地址(Ethernet Address);终端设备可以签约至一个或多个网络切片,即终端设备可以通过签约的不同网络切片,获得不同种类的业务服务;为终端设备提供服务的数据网络信息包括数据网络名称(data network name,DNN)。When a terminal device obtains a service through a communication system, the terminal device first needs to sign a contract, and only after the contract is successful can it obtain a business service and perform communication. And after the signing is successful, the communication system will store the signing information of the terminal equipment, the signing information includes the identity of the terminal equipment, the network slice information signed by the terminal equipment, and the data network (DN) that provides services for the terminal equipment. information, etc. The identity identifier of the terminal device may be a subscription permanent identifier (SUPI), or an internet protocol (IP) address of the terminal device, or a media access control (media access control, MAC) address of the terminal device , or Ethernet Address; terminal equipment can sign up to one or more network slices, that is, terminal equipment can obtain different types of business services through different network slices signed up; the data network information that provides services for terminal equipment includes Data network name (DNN).

终端设备进行通信,并建立会话时,会通过接入网AN或RAN向接入和移动管理功能网元AMF发送会话建立请求消息,该会话建立请求消息中包括请求建立的会话的属性信息,该会话的属性信息包括终端设备的标识信息、网络切片标识信息、数据网络信息等等。其中,网络切片标识信息用于指示当前会话在哪个网络切片内建立。然后,AMF会根据网络切片标识信息和数据网络信息选择会话管理功能网元SMF,AMF将向选定的SMF转发会话建立请求消息。接着,SMF在收到该会话建立请求消息后进行处理,SMF将会根据本身存储的信息或向其他网元询问,来确定是否允许该会话的建立,在确定允许该会话的建立后,SMF将选择合适的用户面功能网元UPF,并控制UPF在指示的网络切片内建立分组数据单元会话(packet date unit session,PDU Session或PDU会话)。最后,终端设备的业务信息就可以通过AN或RAN以及UPF传递到数据网络DN。When the terminal device communicates and establishes a session, it will send a session establishment request message to the access and mobility management function network element AMF through the access network AN or RAN. The session establishment request message includes the attribute information of the session requested to be established. The attribute information of the session includes identification information of the terminal device, network slice identification information, data network information, and the like. The network slice identification information is used to indicate in which network slice the current session is established. Then, the AMF will select the session management function network element SMF according to the network slice identification information and the data network information, and the AMF will forward the session establishment request message to the selected SMF. Next, the SMF processes the session establishment request message after receiving the message. The SMF will determine whether to allow the establishment of the session according to the information stored by itself or by inquiring to other network elements. After confirming that the establishment of the session is allowed, the SMF will Select an appropriate user plane function network element UPF, and control the UPF to establish a packet data unit session (packet date unit session, PDU Session or PDU session) within the indicated network slice. Finally, the service information of the terminal equipment can be transmitted to the data network DN through the AN or RAN and the UPF.

应理解,在5G物理物联网络中,多个终端设备可以属于同一个订购通信业务服务的客户,例如,客户为企业用户。运营商会根据客户的订单,为客户创建一个或多个网络切片,此时,运营商和客户会根据实际业务需求确定每个网络切片的服务等级协议技术指标(service level agreement,SLA),SLA决定了客户订购的网络切片规模。然而不同客户订购的网络切片规模的种类和数量是不同的,一般地,网络切片规模的种类,或者说,网络切片规模的参数,为网络切片内允许建立的最大会话数量,即网络切片的最大会话数量。It should be understood that in a 5G physical IoT network, multiple terminal devices may belong to the same customer who subscribes to communication service services, for example, the customer is an enterprise user. The operator will create one or more network slices for the customer according to the customer's order. At this time, the operator and the customer will determine the service level agreement (SLA) technical indicators of each network slice according to the actual business requirements. The SLA determines the size of the network slice ordered by the customer. However, the types and quantities of network slice scales ordered by different customers are different. Generally, the type of network slice scale, or the parameter of the network slice scale, is the maximum number of sessions allowed to be established in the network slice, that is, the maximum number of sessions in the network slice. number of sessions.

网络切片的最大会话数量是指,客户接入到当前网络切片所能够建立的PDU会话的最大允许数量。在客户的终端设备通过当前网络切片通信的过程中,运营商需要按照客户相应的PDU会话的最大允许数量,对客户的终端设备请求建立的PDU会话进行许可控制:如果当前网络切片内已经建立的PDU会话数量已经达到或超过PDU会话的最大允许数量,就会拒绝请求建立的PDU会话。通过这种方式保证客户对网络切片的使用不超过SLA决定的上限。The maximum number of sessions of a network slice refers to the maximum allowable number of PDU sessions that can be established by a client accessing the current network slice. In the process of the customer's terminal device communicating through the current network slice, the operator needs to perform admission control on the PDU session requested by the customer's terminal device according to the maximum allowable number of PDU sessions corresponding to the customer: if the current network slice has established When the number of PDU sessions has reached or exceeded the maximum allowable number of PDU sessions, the requested PDU session will be rejected. In this way, the customer's usage of network slices is guaranteed not to exceed the upper limit determined by the SLA.

为了对网络切片中建立的PDU会话数量进行限制,在5G通信系统中,可以通过通信系统中的相关网元来检查网络切片中建立的PDU会话数量是否超过一定的额度,例如,一个网元统一或集中的检查网络切片中已建立的PDU会话数量是否超过网络切片的最大会话数量,又例如,多个网元分别被分配多个网络切片的会话配额,然后,该多个网元分别按照各自的网络切片的会话配额对网络切片中已建立的PDU会话数量是否超过网络切片的会话配额进行检查。例如,网络切片许可控制功能逻辑实体NSACF检查网络切片中的PDU会话数量是否超过网络切片的最大会话数量。NSACF限制网络切片中PDU会话数量的方式有两种:1)在请求建立PDU会话时,SMF向NSACF询问是否达到了PDU会话的最大允许数量,如果达到了,NSACF就会拒绝请求建立的PDU会话,否则NSACF允许请求建立的PDU会话;2)NSACF向SMF订阅网络切片内的PDU会话数量,处于同一网络切片内的每个SMF在新建或释放PDU会话时,都会通知NSACF,NSACF将各个SMF报告的网络切片内的PDU会话数量累加起来就得到了当前网络切片内的总PDU会话数量,然后NSACF判断该总PDU会话数量是否达到了网络切片的最大会话数量:如果达到了,NSACF将通知各个SMF拒绝新建会话,否则,NSACF不进行限制。应理解,上述两种方式可以先后使用或单独使用对PDU会话数量进行限制。此外,类似地,还可以将NSACF替换为PCF,即由PCF执行网络切片内的会话数量限制,此时PCF将会接收NSACF分配的网络切片的会话配额,即NSACF为PCF分配网络切片内的最大会话数量的全部或部分量。In order to limit the number of PDU sessions established in the network slice, in the 5G communication system, it is possible to check whether the number of PDU sessions established in the network slice exceeds a certain quota through the relevant network elements in the communication system. For example, one network element unified Or centrally check whether the number of PDU sessions established in the network slice exceeds the maximum number of sessions in the network slice. For another example, multiple network elements are allocated session quotas for multiple network slices, and then the multiple network elements are allocated according to their respective The session quota of the network slice checks whether the number of established PDU sessions in the network slice exceeds the session quota of the network slice. For example, the network slice admission control function logic entity NSACF checks whether the number of PDU sessions in the network slice exceeds the maximum number of sessions of the network slice. There are two ways for the NSACF to limit the number of PDU sessions in a network slice: 1) When requesting to establish a PDU session, the SMF asks the NSACF whether the maximum allowed number of PDU sessions has been reached, and if so, the NSACF will reject the requested PDU session. , otherwise the NSACF allows the PDU session requested to be established; 2) The NSACF subscribes to the SMF for the number of PDU sessions in the network slice. Each SMF in the same network slice will notify the NSACF when creating or releasing a PDU session, and the NSACF will report each SMF to the SMF. The total number of PDU sessions in the network slice is accumulated to obtain the total number of PDU sessions in the current network slice, and then the NSACF determines whether the total number of PDU sessions reaches the maximum number of sessions in the network slice: if so, the NSACF will notify each SMF. Deny the new session, otherwise, the NSACF will not restrict. It should be understood that the above two methods can be used sequentially or independently to limit the number of PDU sessions. In addition, similarly, the NSACF can also be replaced by the PCF, that is, the PCF implements the limit of the number of sessions in the network slice. At this time, the PCF will receive the session quota of the network slice allocated by the NSACF, that is, the NSACF allocates the maximum number of sessions in the network slice to the PCF. All or part of the number of sessions.

此外,在5G通信系统中,针对因终端设备移动带来的会话和业务连续性(sessionand service continuity,SSC)问题,3GPP给出了3种类型的会话和业务连续性模式(session and service continuity mode,SSC mode)。终端设备建立PDU会话时,会选择PDU会话锚点,即UPF进行连接,其中,对于SSC mode 1,当终端设备移动时,终端设备连接到的UPF不变,即终端设备不再创建新的PDU会话,也即终端设备的互联网协议地址(internetprotocol address,IP地址)不变;对于SSC mode 2,当终端设备移动时,终端设备先释放原PDU会话以及断开与原UPF之间的连接,再请求建立新的PDU会话以及连接到新的UPF,即终端设备的IP地址改变;对于SSC mode 3,当终端设备移动时,终端设备会首先建立新的PDU会话以及连接到新的UPF,然后释放原PDU会话并断开与原UPF之间的连接。In addition, in the 5G communication system, for the session and service continuity (SSC) problems caused by the movement of terminal equipment, 3GPP provides three types of session and service continuity modes (session and service continuity mode). ,SSC mode). When the terminal device establishes a PDU session, it will select the PDU session anchor, that is, the UPF for connection. For SSC mode 1, when the terminal device moves, the UPF to which the terminal device is connected remains unchanged, that is, the terminal device does not create new PDUs. The session, that is, the Internet Protocol address (IP address) of the terminal device remains unchanged; for SSC mode 2, when the terminal device moves, the terminal device first releases the original PDU session and disconnects the connection with the original UPF, and then Request to establish a new PDU session and connect to a new UPF, that is, the IP address of the terminal device changes; for SSC mode 3, when the terminal device moves, the terminal device will first establish a new PDU session and connect to the new UPF, and then release the The original PDU session is disconnected from the original UPF.

在终端设备进行移动时,对于SSC mode 2和SSC mode 3的PDU会话,终端设备将会建立新的PDU会话,然而由于网络切片中建立会话数量限制问题,两种模式下均会出现无法连接到新的UPF并建立新的PDU会话的问题,从而导致会话和业务连续性失败。例如,对于SSC mode 2的原PDU会话,终端设备释放的原PDU会话的配额可能会立即被其他终端设备的新PDU会话占用,从而在当前网络切片内的会话数量达到PDU会话的最大允许数量时,将导致当前终端设备无法建立新PDU会话并连接到新的UPF,即改变PDU会话锚点失败,也即改变UPF失败。又例如,对于SSC mode 3的原PDU会话,终端设备在建立新PDU会话并连接到新的UPF时,如果当前网络切片内的会话数量已经达到了PDU会话的最大允许数量,则终端设备将同样无法建立新PDU会话并连接到新的UPF。When the terminal device moves, for the PDU sessions of SSC mode 2 and SSC mode 3, the terminal device will establish a new PDU session. However, due to the limitation of the number of sessions established in the network slice, it will fail to connect to the two modes. Issues with new UPFs and establishing new PDU sessions, resulting in session and business continuity failures. For example, for the original PDU session of SSC mode 2, the quota of the original PDU session released by the terminal device may be immediately occupied by the new PDU session of other terminal devices, so that when the number of sessions in the current network slice reaches the maximum allowable number of PDU sessions , which will cause the current terminal device to fail to establish a new PDU session and connect to a new UPF, that is, the failure to change the anchor point of the PDU session, that is, the failure to change the UPF. For another example, for the original PDU session of SSC mode 3, when the terminal device establishes a new PDU session and connects to a new UPF, if the number of sessions in the current network slice has reached the maximum allowable number of PDU sessions, the terminal device will also Unable to establish new PDU session and connect to new UPF.

由此,为了避免因网络切片内会话数量限制而导致终端设备的会话和业务连续性失败的问题,保证终端设备在移动位置后,改变连接PDU会话锚点,即UPF,也能够正常建立PDU会话,进行通信,本申请提出了一种会话控制的方法。Therefore, in order to avoid the problem of session and service continuity failure of the terminal device due to the limitation of the number of sessions in the network slice, it is ensured that the terminal device can also establish the PDU session normally after changing the connection PDU session anchor point after moving the location. , to communicate, the present application proposes a method for session control.

图2示出了本申请提供的一种会话控制的方法200的示意性流程图。该方法200包括:FIG. 2 shows a schematic flowchart of a method 200 for session control provided by the present application. The method 200 includes:

S201,第一网元从第三网元或终端设备接收终端设备请求建立的第一会话的会话属性信息,相应的,第三网元或终端设备向第一网元发送终端设备请求建立的第一会话的会话属性信息。S201, the first network element receives, from the third network element or the terminal device, the session attribute information of the first session requested by the terminal device to establish, and correspondingly, the third network element or the terminal device sends the first network element the first network element requested to be established by the terminal device. Session attribute information for a session.

具体地,在本申请实施例中,第一网元可以接收第三网元或终端设备发送的终端设备请求建立的第一会话的会话属性信息。其中,可选的,第一网元可以为NSACF实体,也可以为策略控制网元,也可以为计费功能网元,还可以为接入和移动管理网元;第三网元可以为会话管理网元,也可以为接入和移动管理网元,本申请对此不作限定。Specifically, in this embodiment of the present application, the first network element may receive the session attribute information of the first session requested by the terminal device to be established and sent by the third network element or the terminal device. Wherein, optionally, the first network element may be an NSACF entity, a policy control network element, a charging function network element, or an access and mobility management network element; the third network element may be a session The management network element may also be an access and mobility management network element, which is not limited in this application.

S202,第一网元根据先前建立的终端设备的第二会话的会话属性信息和第一会话的会话属性信息,确定允许第一会话的建立。S202, the first network element determines to allow establishment of the first session according to the session attribute information of the second session of the terminal device and the session attribute information of the first session previously established.

在上述步骤S201-S202中,第一会话为第二会话对应的新的会话,第一会话的会话属性信息和第二会话的会话属性信息包括相同的终端设备的标识信息,网络切片标识信息,以及数据网络信息。即,第一会话和第二会话建立于同一个网络切片标识对应的网络切片内。In the above steps S201-S202, the first session is a new session corresponding to the second session, and the session attribute information of the first session and the session attribute information of the second session include the same terminal device identification information, network slice identification information, and data network information. That is, the first session and the second session are established in the network slice corresponding to the same network slice identifier.

可选的,第一会话的会话属性信息和第二会话的会话属性信息还包括相同的会话和业务连续性模式SSC mode参数,或者也可以称为会话和业务连续性模式SSC mode信息。Optionally, the session attribute information of the first session and the session attribute information of the second session further include the same session and service continuity mode SSC mode parameters, or may also be referred to as session and service continuity mode SSC mode information.

应理解,在本申请实施例中,第一会话为第二会话因终端设备的会话和业务连续性需要改变PDU会话锚点的新会话,第一会话或第二会话为SSC mode 2或SSC mode 3的会话。或者说,对于终端设备先前建立的SSC mode 2的会话或SSC mode 3的会话,即第二会话,在终端设备位置移动后,为了保证会话和业务连续性,可能会需要改变第二会话的PDU会话锚点,即建立与第二会话的PDU锚点不同的第一会话,并释放第二会话。在这个过程中,控制第一会话的SMF也可能发生变化,和控制第二会话的SMF不同。It should be understood that in this embodiment of the present application, the first session is a new session in which the second session needs to change the PDU session anchor due to the session and service continuity of the terminal device, and the first session or the second session is SSC mode 2 or SSC mode. 3 sessions. In other words, for the session of SSC mode 2 or the session of SSC mode 3 previously established by the terminal device, that is, the second session, after the location of the terminal device moves, in order to ensure the session and service continuity, it may be necessary to change the PDU of the second session. The session anchor point, that is, establishing a first session different from the PDU anchor point of the second session, and releasing the second session. During this process, the SMF controlling the first session may also change, which is different from the SMF controlling the second session.

还应理解,在本申请实施例中,由于PDU会话的会话属性信息包括多个参数或者多种类型的信息,而第一会话是终端设备的改变第二会话的PDU会话锚点后建立的新的会话,并且第一会话和第二会话是处于同一网络切片中的会话,因此,第一会话的会话属性信息和第二会话的会话属性信息中的终端设备的标识信息、网络切片标识信息以及数据网络信息等参数是相同的。可选的,终端设备的标识信息是签约永久标识SUPI,网络切片标识信息是S-NSSAI,数据网络信息是数据网络名称DNN,本申请对相关信息的具体名称不作限定。It should also be understood that, in this embodiment of the present application, since the session attribute information of the PDU session includes multiple parameters or multiple types of information, the first session is a new session established by the terminal device after changing the PDU session anchor of the second session. session, and the first session and the second session are sessions in the same network slice, therefore, in the session attribute information of the first session and the session attribute information of the second session, the identification information of the terminal device, the network slice identification information and the Parameters such as data network information are the same. Optionally, the identification information of the terminal device is the subscription permanent identification SUPI, the network slice identification information is S-NSSAI, the data network information is the data network name DNN, and the specific name of the relevant information is not limited in this application.

应理解,上述第二会话的会话属性信息为第一网元从其他网元接收并保存记录的,或者,为第一网元从自身保存或记录的上下文信息中获取的。本申请对第二会话的会话属性信息的获取方式不作限定。It should be understood that the session attribute information of the second session is received by the first network element from other network elements and stored and recorded, or obtained by the first network element from context information stored or recorded by itself. The present application does not limit the acquisition method of the session attribute information of the second session.

对于第二会话的会话属性信息为第一网元从其他网元接收并保存记录的情况,一种可能的实现方式中,第一网元可以在第二会话或第一会话建立时,从其他网元接收并保存该第二会话的会话属性信息。例如,第一网元为NSACF实体,该NSACF实体从会话管理网元接收的检查网络切片内的会话数量请求消息中,或者更新网络切片内的会话数量请求消息中,或者预留网络切片内的会话配额请求消息中,获取第二会话的会话属性信息。又例如,第一网元为PCF,该PCF从第二会话的会话管理策略关联的更新请求消息中,或者,请求建立所述第二会话的会话管理策略关联的消息中,或者,通知控制所述第二会话的会话管理策略关联的更新消息中,或者,请求删除所述第二会话的会话管理策略关联的消息中,获取第二会话的会话属性信息。其中,关于第一网元在第一会话建立时,从其他网元接收并保存第二会话的会话属性信息的具体方法,可参考下图3示出的方法300。For the case where the session attribute information of the second session is received and recorded by the first network element from other network elements, in a possible implementation manner, the first network element may obtain data from other network elements when the second session or the first session is established. The network element receives and saves the session attribute information of the second session. For example, the first network element is an NSACF entity, and the NSACF entity receives a request message for checking the number of sessions in the network slice received from the session management network element, or in a request message for updating the number of sessions in the network slice, or reserves the number of sessions in the network slice. In the session quota request message, the session attribute information of the second session is obtained. For another example, the first network element is a PCF, and the PCF obtains an update request message associated with a session management policy of the second session, or a message requesting establishment of a session management policy association of the second session, or notifies the control The session attribute information of the second session is obtained in the update message associated with the session management policy of the second session, or in the message requesting to delete the session management policy association of the second session. For a specific method for the first network element to receive and save the session attribute information of the second session from other network elements when the first session is established, reference may be made to the method 300 shown in FIG. 3 below.

对于第二会话的会话属性信息为第一网元从自身保存或记录的上下文信息中获取的的情况,一种可能的实现方式为,第一网元为接入和移动管理网元,该接入和移动管理网元可以从自身保存或记录的上下文信息中获取第二会话的会话属性信息。进一步可选的,该接入和移动管理网元可以从终端设备接收会话建立请求消息,该会话建立请求消息中包括第一会话的会话属性信息,该会话建立请求消息请求建立第一会话。For the case where the session attribute information of the second session is obtained by the first network element from context information saved or recorded by itself, a possible implementation manner is that the first network element is an access and mobility management network element, and the connection The ingress and mobility management network element may acquire the session attribute information of the second session from the context information stored or recorded by itself. Further optionally, the access and mobility management network element may receive a session establishment request message from the terminal device, where the session establishment request message includes session attribute information of the first session, and the session establishment request message requests establishment of the first session.

对于上述步骤S202中,第一网元根据第二会话的会话属性信息和第一会话的会话属性信息,确定允许第一会话的建立。一种可能的实现方式中,由于第一会话和第二会话为同一网络切片中的会话,因此,第一网元将根据第二会话和第一会话的会话属性信息,确定跳过第一会话和第二会话对应的网络切片内的会话数量检查,并确定允许第一会话的建立。应理解,第一网元在接收第一会话的会话属性信息后,将该第一会话的会话属性信息与第二会话的会话属性信息进行对比,在确定第一会话的会话属性信息中的终端设备标识信息、网络切片标识信息、数据网络信息与第二会话相同时,第一网元将跳过相应网络切片内的会话数量检查,并确定允许第一会话的建立。For the above step S202, the first network element determines to allow the establishment of the first session according to the session attribute information of the second session and the session attribute information of the first session. In a possible implementation manner, since the first session and the second session are sessions in the same network slice, the first network element determines to skip the first session according to the session attribute information of the second session and the first session. The number of sessions in the network slice corresponding to the second session is checked, and it is determined that the establishment of the first session is allowed. It should be understood that, after receiving the session attribute information of the first session, the first network element compares the session attribute information of the first session with the session attribute information of the second session, and determines the terminal in the session attribute information of the first session. When the device identification information, network slice identification information, and data network information are the same as the second session, the first network element will skip the check of the number of sessions in the corresponding network slice, and determine that the establishment of the first session is allowed.

因此,通过上述方法,第一网元可以在接收终端设备请求建立的第一会话的会话属性信息后,根据保存的第二会话的会话属性信息,确定第一会话为第二会话对应的因需要改变PDU会话锚点而请求建立的新的会话,此时第一网元可以允许第一会话的建立,从而避免了当前网络切片内的会话数量已达到或超出网络切片内会话配额时,第一会话无法建立的情况,能够使得终端设备修改PDU会话锚点成功,保证终端设备的会话和业务的连续性。Therefore, through the above method, after receiving the session attribute information of the first session requested by the terminal device to establish, the first network element can determine that the first session is the cause corresponding to the second session according to the saved session attribute information of the second session. A new session is requested to be established by changing the PDU session anchor. At this time, the first network element can allow the establishment of the first session, thereby avoiding that when the number of sessions in the current network slice has reached or exceeded the session quota in the network slice, the first network element If the session cannot be established, the terminal device can successfully modify the PDU session anchor, and the continuity of the session and service of the terminal device can be ensured.

一种可能的实现方式中,第二会话的会话属性信息将用于指示如下的任一项:1)第一网元不限制第一会话的建立;2)第一网元为第一会话预留配额;3)第一会话的建立占用第二会话的会话配额。可选的,第一网元可以根据第二会话的会话属性信息执行相应的三种操作,即第一网元跳过相应网络切片内的会话数量检查,可以仅记录第二会话的会话属性信息,或者第一网元也可以根据第二会话的会话属性信息,记录该三种操作的指示信息,即第一网元记录第二会话的会话属性信息和该三种操作的指示信息,或者还可以有其他的具体实现方式。本申请对具体实现方式不作限定。In a possible implementation manner, the session attribute information of the second session will be used to indicate any one of the following: 1) the first network element does not restrict the establishment of the first session; 2) the first network element preempts the first session. 3) The establishment of the first session occupies the session quota of the second session. Optionally, the first network element may perform three corresponding operations according to the session attribute information of the second session, that is, the first network element skips checking the number of sessions in the corresponding network slice, and may only record the session attribute information of the second session. , or the first network element may also record the indication information of the three operations according to the session attribute information of the second session, that is, the first network element records the session attribute information of the second session and the indication information of the three operations, or further There can be other specific implementations. The present application does not limit the specific implementation.

可选的,第一网元还可以为第二会话的会话属性信息确定有效定时器,该有效定时器指示第二会话的会话属性信息的有效时间。即,在该有效定时器到期后,第一网元将删除该第二会话的会话属性信息。或者,第一网元还可以在确定允许第一会话的建立时,无论该有效定时器是否到期,均删除该第二会话的会话属性信息。Optionally, the first network element may further determine a validity timer for the session attribute information of the second session, where the validity timer indicates the validity time of the session attribute information of the second session. That is, after the valid timer expires, the first network element will delete the session attribute information of the second session. Alternatively, the first network element may also delete the session attribute information of the second session when it is determined that the establishment of the first session is allowed, regardless of whether the valid timer expires.

因此,通过为第一网元中的第二会话的会话属性信息确定有效定时器,在有效定时器到期后,删除该第二会话的会话属性信息,从而避免将后续的其它会话被错误地判断为所述第一会话。Therefore, by determining a valid timer for the session attribute information of the second session in the first network element, after the valid timer expires, the session attribute information of the second session is deleted, thereby preventing other subsequent sessions from being mistakenly It is determined to be the first session.

应理解,上述方法中的第一网元可以为网络切片许可控制功能NSACF实体,或者可以为策略控制网元,或者还可以为接入和移动管理网元,本申请对此不作限定。It should be understood that the first network element in the above method may be a network slice admission control function NSACF entity, or may be a policy control network element, or may also be an access and mobility management network element, which is not limited in this application.

可选的,在上述步骤S201之前,方法200还包括图3所示的方法300,即第一网元在第一会话建立时,从第二网元接收并保存记录第二会话的会话属性信息的具体方法。Optionally, before the above step S201, the method 200 further includes the method 300 shown in FIG. 3, that is, when the first session is established, the first network element receives and saves the session attribute information for recording the second session from the second network element. specific method.

需要说明的是,下面提到的某些步骤与上述方法200相同,此处对于相关细节不再赘述,具体过程可参考方法200相关步骤。It should be noted that some of the steps mentioned below are the same as the above-mentioned method 200 , and the relevant details will not be repeated here. For the specific process, reference may be made to the relevant steps of the method 200 .

图3示出了本申请提供一种会话控制的方法300的示意性流程图,该方法300包括:FIG. 3 shows a schematic flowchart of a method 300 for session control provided by the present application. The method 300 includes:

S301,第二网元向终端设备发送第一指示信息,该第一指示信息用于指示终端设备的第一会话的建立,或者该第一指示信息用于指示终端设备的第二会话的释放和第一会话的建立,相应的,终端设备从第二网元接收该第一指示信息。S301: The second network element sends first indication information to the terminal device, where the first indication information is used to instruct the establishment of a first session of the terminal device, or the first indication information is used to instruct the release and release of the second session of the terminal device and When the first session is established, correspondingly, the terminal device receives the first indication information from the second network element.

具体地,在本申请实施例中,第二网元可以为对应于终端设备的第二会话的会话管理网元。Specifically, in this embodiment of the present application, the second network element may be a session management network element corresponding to the second session of the terminal device.

应理解,在本申请实施例中,第一指示信息的两种不同的指示内容分别对应于两种场景:1)第一会话的建立;2)第二会话的释放和第一会话的建立。It should be understood that, in this embodiment of the present application, two different indication contents of the first indication information correspond to two scenarios respectively: 1) establishment of the first session; 2) release of the second session and establishment of the first session.

一种可能的实现方式中,在第一指示信息用于指示终端设备的第一会话的建立时,即上述场景1),对应于第二会话为SSC mode 3的会话的情况,将会先建立第一会话,然后释放第二会话,此时可选的,第一指示信息中还可以包括第二会话地址有效时间参数,该第二会话地址有效时间参数指示第二会话有效的持续时间,即距离第二会话释放所剩余的有效时间。In a possible implementation manner, when the first indication information is used to indicate the establishment of the first session of the terminal device, that is, the above scenario 1), corresponding to the situation that the second session is a session of SSC mode 3, the first session will be established first. The first session, and then the second session is released. At this time, optionally, the first indication information may also include a second session address validity time parameter, and the second session address validity time parameter indicates the valid duration of the second session, that is, The remaining valid time until the second session is released.

另一种可能的实现方式中,在第一指示信息用于指示终端设备的第二会话的释放和第一会话的建立时,即上述场景2),对应于第二会话为SSC mode 2的会话的情况,将会在指示释放第二会话的同时指示建立第一会话,例如,该第一指示信息为第二会话的释放原因指示信息。In another possible implementation manner, when the first indication information is used to indicate the release of the second session of the terminal device and the establishment of the first session, that is, the above scenario 2), the session corresponding to the second session is SSC mode 2 In the case of instructing to release the second session, the establishment of the first session will be instructed, for example, the first indication information is the release reason indication information of the second session.

应理解,在上述第一指示信息指示第一会话的建立或第二会话的释放和第一会话的建立之前,第二网元可以根据终端设备的位置信息确定需要释放第二会话,建立第一会话。即,在上述步骤S301-S302之前,终端设备的位置移动,并向第二网元发送其移动后的位置信息,第二网元接收该移动后的位置信息后,确定需要释放第二会话,建立第一会话,即需要改变第二会话的PDU会话锚点。It should be understood that before the above-mentioned first indication information indicates the establishment of the first session or the release of the second session and the establishment of the first session, the second network element may determine that the second session needs to be released according to the location information of the terminal device, and establish the first session. session. That is, before the above steps S301-S302, the location of the terminal device is moved, and the moved location information is sent to the second network element. After receiving the moved location information, the second network element determines that the second session needs to be released, Establishing the first session requires changing the PDU session anchor of the second session.

可选的,在第二网元接收终端设备移动后的位置信息后,第二网元还可以确定第三网元。第三网元与第二网元为同类型的核心网网元,第二网元为对应于第二会话的核心网网元,第三网元为对应于第一会话的核心网网元。例如,第二网元、第三网元均为会话管理网元,例如SMF。Optionally, after the second network element receives the location information after the terminal device moves, the second network element may further determine the third network element. The third network element and the second network element are core network network elements of the same type, the second network element is a core network network element corresponding to the second session, and the third network element is a core network network element corresponding to the first session. For example, the second network element and the third network element are both session management network elements, such as SMF.

需要说明的是,此处的第三网元为上述方法200中的第三网元。It should be noted that the third network element here is the third network element in the foregoing method 200 .

应理解,第二网元和第三网元可以相同或不同。即,终端设备的第二会话,或者说原PDU会话,对应于第二网元;终端设备的第一会话,或者说新PDU会话,对应于第三网元。在需要终端设备释放第二会话,建立第一会话时,相应的第二网元可以改变,也可以不变,因此,第二网元和第三网元可以相同或不同。It should be understood that the second network element and the third network element may be the same or different. That is, the second session of the terminal device, or the original PDU session, corresponds to the second network element; the first session of the terminal device, or the new PDU session, corresponds to the third network element. When the terminal device is required to release the second session and establish the first session, the corresponding second network element may or may not be changed. Therefore, the second network element and the third network element may be the same or different.

S302,第二网元向第一网元发送第二会话的会话属性信息,该第二会话的会话属性信息用于第一网元确定允许第一会话的建立,相应的,第一网元从第二网元接收该第二会话的会话属性信息。S302: The second network element sends session attribute information of the second session to the first network element, where the session attribute information of the second session is used by the first network element to determine that the establishment of the first session is allowed. The second network element receives the session attribute information of the second session.

具体地,在本申请实施例中,对于上述S301中的场景1):第一会话的建立,即第二会话为SSC mode 3的会话,第二网元可以在第一会话建立时,向第一网元发送第二会话的会话属性信息。而对于上述S301中的场景2):第二会话的释放和第一会话的建立,即第二会话为SSC mode 2的会话,第二网元可以在第二会话释放和第一会话建立时,向第一网元发送第二会话的会话属性信息。Specifically, in the embodiment of the present application, for the scenario 1) in the above S301: the establishment of the first session, that is, the second session is a session of SSC mode 3, the second network element may send the first session to the first session when the first session is established. A network element sends session attribute information of the second session. For scenario 2) in the above S301: the release of the second session and the establishment of the first session, that is, the second session is a session of SSC mode 2, the second network element may release the second session and establish the first session, Send session attribute information of the second session to the first network element.

一种可能的实现方式中,第二网元可以根据S301中的第二会话地址有效时间参数,来为第二会话的会话属性信息确定有效定时器,该有效定时器指示的有效时间长可以大于或等于第二会话地址有效时间参数所指示的有效时间长。In a possible implementation manner, the second network element may determine a valid timer for the session attribute information of the second session according to the valid time parameter of the second session address in S301, and the valid time indicated by the valid timer may be longer than or equal to the valid time period indicated by the valid time parameter of the second session address.

在上述步骤S301-S302中,第一会话为第二会话对应的新的会话,第一会话的会话属性信息和第二会话的会话属性信息包括相同的终端设备的标识信息,网络切片标识信息,以及数据网络信息。即,第一会话和第二会话建立于同一个网络切片标识对应的网络切片内。关于上述第一会话的会话属性信息和第二会话的会话属性信息的更详细的描述,可参考方法200中S202的相关详细说明。In the above steps S301-S302, the first session is a new session corresponding to the second session, and the session attribute information of the first session and the session attribute information of the second session include the same terminal device identification information, network slice identification information, and data network information. That is, the first session and the second session are established in the network slice corresponding to the same network slice identifier. For a more detailed description of the session attribute information of the first session and the session attribute information of the second session, reference may be made to the relevant detailed description of S202 in the method 200 .

应理解,在上述方法300中,第一网元可以为网络切片许可控制功能NSACF实体,或者可以为策略控制网元。It should be understood that, in the above method 300, the first network element may be a network slice admission control function NSACF entity, or may be a policy control network element.

以下,示例性的,分别以第一网元为NSACF实体(图4),或者为策略控制网元(图5)为例,对上述方法200和300中的某些步骤进行详细说明。Hereinafter, some steps in the above methods 200 and 300 will be described in detail by taking the first network element as an NSACF entity (FIG. 4) or a policy control network element (FIG. 5) as an example.

需要说明的是,下面提到的某些步骤与上述方法200和300相同,此处对于相关细节不再赘述,具体过程可参考方法200和300相关步骤。It should be noted that some of the steps mentioned below are the same as the above-mentioned methods 200 and 300, and the relevant details will not be repeated here.

图4示出了本申请提供的一种会话控制的方法的具体示例400的示意性流程图。FIG. 4 shows a schematic flowchart of a specific example 400 of a method for session control provided by the present application.

在具体示例400中:第一网元为NSACF实体;第二网元为第一会话管理网元,即第二会话对应的会话管理网元;第三网元为第二会话管理网元,即第一会话对应的会话管理网元。该方法400包括:In the specific example 400: the first network element is the NSACF entity; the second network element is the first session management network element, that is, the session management network element corresponding to the second session; the third network element is the second session management network element, that is The session management network element corresponding to the first session. The method 400 includes:

S401,第一会话管理网元向终端设备发送第一指示信息,该第一指示信息用于指示终端设备的第一会话的建立,或者该第一指示信息用于指示终端设备的第二会话的释放和第一会话的建立,相应的,终端设备从第一会话管理网元接收该第一指示信息。S401: The first session management network element sends first indication information to the terminal device, where the first indication information is used to instruct the establishment of a first session of the terminal device, or the first indication information is used to indicate the establishment of a second session of the terminal device Release and establishment of the first session, correspondingly, the terminal device receives the first indication information from the first session management network element.

关于该步骤的具体实现,可参考方法300中S301的详细说明。For the specific implementation of this step, reference may be made to the detailed description of S301 in the method 300 .

S402,第一会话管理网元向NSACF实体发送第一消息,该第一消息中包括第二会话的会话属性信息,相应的,NSACF实体从第一会话管理网元接收该第一消息。S402, the first session management network element sends a first message to the NSACF entity, where the first message includes session attribute information of the second session, and correspondingly, the NSACF entity receives the first message from the first session management network element.

应理解,在本申请实施例中,第一消息可以是在第二会话建立时由第一会话管理网元发送,此时步骤S402-S403可以在上述步骤S401之前执行;或者第一消息也可以是在第一会话建立时由第一会话管理网元发送。本申请对此不作限定。It should be understood that, in this embodiment of the present application, the first message may be sent by the first session management network element when the second session is established, and in this case, steps S402-S403 may be performed before the foregoing step S401; or the first message may also be It is sent by the first session management network element when the first session is established. This application does not limit this.

具体地,在本申请实施例中,第一消息可以用于检查网络切片标识对应的网络切片内的会话数量,例如,第一消息为网络切片内会话数量检查消息,其中携带第二会话的SSC mode参数或预留配额的指示;或者,第一消息可以用于更新网络切片标识对应的网络切片内的会话数量,例如,第一消息为网络切片内会话数量更新消息,其中携带第二会话的SSC mode参数或预留配额的指示;或者,第一消息也可以用于检查和更新网络切片标识对应的网络切片内的会话数量,例如,第一消息为网络切片内会话数量检查和更新消息,其中携带第二会话的SSC mode参数或预留配额的指示;又或者,第一消息还可以用于预留网络切片标识对应的网络切片内的会话配额,例如,第一消息为网络切片内会话配额预留消息。本申请对第一消息的具体作用和名称不作限定。由于在第一消息中包括有第二会话的会话属性信息,因此,在NSACF实体接收第一会话的会话属性信息之前,NSACF实体将会从第一会话管理网元接收第二会话的会话属性信息。Specifically, in this embodiment of the present application, the first message may be used to check the number of sessions in the network slice corresponding to the network slice identifier. For example, the first message is a check message for the number of sessions in the network slice, which carries the SSC of the second session. The indication of the mode parameter or the reserved quota; or, the first message may be used to update the number of sessions in the network slice corresponding to the network slice identifier. For example, the first message is an update message for the number of sessions in the network slice, which carries the SSC mode parameter or indication of reserved quota; alternatively, the first message can also be used to check and update the number of sessions in the network slice corresponding to the network slice identifier, for example, the first message is the number of sessions in the network slice check and update message, It carries the SSC mode parameter of the second session or the indication of reserved quota; alternatively, the first message can also be used to reserve the session quota in the network slice corresponding to the network slice identifier, for example, the first message is the session in the network slice Quota reservation message. This application does not limit the specific function and name of the first message. Since the first message includes the session attribute information of the second session, before the NSACF entity receives the session attribute information of the first session, the NSACF entity will receive the session attribute information of the second session from the first session management network element .

可选的,第一消息中可以包括有效定时器,该有效定时器用于NSACF实体为第二会话的会话属性信息确定有效时间。Optionally, the first message may include a valid timer, where the valid timer is used by the NSACF entity to determine the valid time for the session attribute information of the second session.

S403,NSACF实体保存第二会话的会话属性信息。S403, the NSACF entity stores the session attribute information of the second session.

即,NSACF实体在接收第二会话的会话属性信息后,将保存该第二会话的会话属性信息。That is, after receiving the session attribute information of the second session, the NSACF entity will save the session attribute information of the second session.

可选的,NSACF实体可以为第二会话的会话属性信息确定有效定时器。例如,在第一消息中包括有效定时器时,NSACF实体可以根据第一消息中的有效定时器,为保存的第二会话的会话属性信息确定有效时间,即为第二会话的会话属性信息配置该有效定时器。又例如,在第一消息中不包括有效定时器时,NSACF实体可以自身为第二会话的会话属性信息设置有效定时器。本申请对此不作限定。关于该步骤中有效定时器的具体实现可参考上述步骤S202中的详细说明。Optionally, the NSACF entity may determine a valid timer for the session attribute information of the second session. For example, when the first message includes a valid timer, the NSACF entity may determine the valid time for the saved session attribute information of the second session according to the valid timer in the first message, that is, configure the session attribute information for the second session. the valid timer. For another example, when the first message does not include a valid timer, the NSACF entity may set a valid timer for the session attribute information of the second session by itself. This application does not limit this. For the specific implementation of the valid timer in this step, reference may be made to the detailed description in the foregoing step S202.

关于步骤S402-S403的更具体的实现,可参考方法300中S302的详细说明。For more specific implementation of steps S402-S403, reference may be made to the detailed description of S302 in method 300.

S404,第二会话管理网元向NSACF实体发送第二消息,该第二消息包括第一会话的会话属性信息,该第二消息用于询问是否允许第一会话的建立,或者用于询问是否允许第一会话的建立占用第二会话的会话配额,相应的,NSACF实体从第二会话管理网元接收第二消息。S404, the second session management network element sends a second message to the NSACF entity, where the second message includes session attribute information of the first session, and the second message is used to ask whether to allow the establishment of the first session, or to ask whether to allow the establishment of the first session. The establishment of the first session occupies the session quota of the second session, and accordingly, the NSACF entity receives the second message from the second session management network element.

应理解,在终端设备的位置移动,并确定需要建立第一会话后,终端设备将请求建立第一会话,并将相关请求消息发送至第二会话管理网元,然后第二会话管理网元将执行上述步骤S404。It should be understood that after the location of the terminal device moves and it is determined that the first session needs to be established, the terminal device will request to establish the first session, and send the relevant request message to the second session management network element, and then the second session management network element will The above step S404 is executed.

还应理解,上述S401-S404中的第一会话管理网元和第二会话管理网元分别对应于上述方法300中的第二网元和第三网元,即第一会话管理网元为第二会话对应的会话管理网元,第二会话管理网元为第一会话对应的会话管理网元,并且第一会话管理网元与第二会话管理网元可以相同或不同。It should also be understood that the first session management network element and the second session management network element in the above S401-S404 respectively correspond to the second network element and the third network element in the above method 300, that is, the first session management network element is the first session management network element. The session management network element corresponding to the two sessions, the second session management network element is the session management network element corresponding to the first session, and the first session management network element and the second session management network element may be the same or different.

可选的,第二消息可以为网络切片内会话数量检查消息,或者,为网络切片内会话数量更新消息,或者,为网络切片内会话数量检查和更新消息,本申请对第二消息的具体名称不作限定。Optionally, the second message may be a message for checking the number of sessions in a network slice, or a message for updating the number of sessions in a network slice, or a message for checking and updating the number of sessions in a network slice. This application specifies the name of the second message. Not limited.

S405,NSACF根据先前获得的终端设备的第二会话的会话属性信息和第一会话的会话属性信息,确定允许第一会话的建立。S405, the NSACF determines to allow the establishment of the first session according to the previously obtained session attribute information of the second session of the terminal device and the session attribute information of the first session.

具体的,在本申请实施例中,NSACF从保存各个会话属性信息中,确定存在第二会话的会话属性信息,其中第二会话的会话属性信息包括与第一会话相同的终端设备标识信息,网络切片标识信息,数据网络信息,以及可选的相同的SSC mode参数,NSACF确定所述第一会话为与所述第二会话对应的新的会话,并允许第一会话的建立。Specifically, in this embodiment of the present application, the NSACF determines that session attribute information of the second session exists from the stored attribute information of each session, where the session attribute information of the second session includes the same terminal device identification information as the first session, and the network Slice identification information, data network information, and optionally the same SSC mode parameter, the NSACF determines that the first session is a new session corresponding to the second session, and allows the establishment of the first session.

关于该步骤的具体实现,可参考方法200中S202的详细说明。For the specific implementation of this step, reference may be made to the detailed description of S202 in the method 200 .

图5示出了本申请提供的一种会话控制的方法的具体示例500的示意性流程图。FIG. 5 shows a schematic flowchart of a specific example 500 of a method for session control provided by the present application.

在具体示例500中:第一网元为策略控制网元;第二网元为第一会话管理网元,即第二会话对应的会话管理网元;第三网元为第二会话管理网元,即第一会话对应的会话管理网元。该方法500包括:In the specific example 500: the first network element is the policy control network element; the second network element is the first session management network element, that is, the session management network element corresponding to the second session; the third network element is the second session management network element , that is, the session management network element corresponding to the first session. The method 500 includes:

S501,策略控制网元接收NSACF实体分配的网络切片内会话配额。S501, the policy control network element receives the session quota in the network slice allocated by the NSACF entity.

具体地,在本申请实施例中,NSACF实体可以为策略控制网元分配网络切片内会话配额。例如,NSACF实体可以将网络切片的最大会话数量的全部或部分分配至策略控制网元,从而策略控制网元可以根据该分配的网络切片的会话配额,来对网络切片内建立的会话数量进行控制。Specifically, in this embodiment of the present application, the NSACF entity may allocate a session quota within a network slice to a policy control network element. For example, the NSACF entity can allocate all or part of the maximum number of sessions of the network slice to the policy control network element, so that the policy control network element can control the number of sessions established in the network slice according to the allocated session quota of the network slice .

S502,第一会话管理网元向终端设备发送第一指示信息,该第一指示信息用于指示终端设备的第一会话的建立,或者该第一指示信息用于指示终端设备的第二会话的释放和第一会话的建立,相应的,终端设备从第一会话管理网元接收该第一指示信息。S502: The first session management network element sends first indication information to the terminal device, where the first indication information is used to instruct the establishment of the first session of the terminal device, or the first indication information is used to indicate the establishment of the second session of the terminal device Release and establishment of the first session, correspondingly, the terminal device receives the first indication information from the first session management network element.

关于该步骤的更具体实现,可参考方法300中S301的详细说明。For more specific implementation of this step, reference may be made to the detailed description of S301 in the method 300 .

S503,第一会话管理网元向策略控制网元发送第三消息,该第三消息中包括第二会话的会话属性信息,相应的,策略控制网元从第一会话管理网元接收该第三消息。S503, the first session management network element sends a third message to the policy control network element, where the third message includes session attribute information of the second session, and accordingly, the policy control network element receives the third message from the first session management network element information.

应理解,在本申请实施例中,第三消息可以是在第二会话建立时由第一会话管理网元发送,此时步骤S503-S504可以在上述步骤S502之前执行;或者第三消息也可以是在第一会话建立时由第一会话管理网元发送。本申请对此不作限定。It should be understood that, in this embodiment of the present application, the third message may be sent by the first session management network element when the second session is established, and in this case, steps S503-S504 may be performed before the foregoing step S502; or the third message may also be It is sent by the first session management network element when the first session is established. This application does not limit this.

具体地,在本申请实施例中,第三消息可以在第二会话建立时用于报告所述第二会话的会话管理策略关联的更新,例如,第三消息为会话管理策略关联更新报告消息,其中携带第二会话的SSC mode参数或预留配额的指示;或者,第三消息可以在第二会话建立时用于请求建立所述第二会话的会话管理策略关联,例如,第三消息为会话管理策略关联控制请求消息,其中携带第二会话的SSC mode参数或预留配额的指示;或者,第三消息也可以在第二会话释放或即将释放时用于通知控制所述第二会话的会话管理策略关联的更新,例如,第三消息为会话管理策略关联更新控制通知消息,其中携带第二会话的SSC mode参数或预留配额的指示;或者,第三消息还可以用于请求删除所述第二会话的会话管理策略关联,例如,第三消息为删除会话管理策略关联请求消息,其中携带第二会话的SSC mode参数或预留配额的指示。由于在第三消息中包括有第二会话的会话属性信息,因此,在策略控制网元接收第一会话的会话属性信息之前,策略控制网元将会从第一会话管理网元接收第二会话的会话属性信息。Specifically, in this embodiment of the present application, the third message may be used to report the update of the session management policy association of the second session when the second session is established. For example, the third message is a session management policy association update report message, It carries the SSC mode parameter of the second session or the indication of the reserved quota; or, the third message can be used to request the establishment of the session management policy association of the second session when the second session is established, for example, the third message is the session The management policy association control request message, which carries the SSC mode parameter of the second session or the indication of the reserved quota; or, the third message can also be used to notify the session controlling the second session when the second session is released or is about to be released. The update of the management policy association, for example, the third message is a session management policy association update control notification message, which carries the SSC mode parameter of the second session or the indication of the reserved quota; or, the third message can also be used to request deletion of the The session management policy association of the second session, for example, the third message is a delete session management policy association request message, which carries the SSC mode parameter of the second session or the indication of the reserved quota. Because the session attribute information of the second session is included in the third message, before the policy control network element receives the session attribute information of the first session, the policy control network element will receive the second session from the first session management network element session attribute information.

可选的,第三消息中可以包括有效定时器,该有效定时器用于策略控制网元为第二会话的会话属性信息确定有效时间。Optionally, the third message may include a valid timer, where the valid timer is used for the policy control network element to determine the valid time for the session attribute information of the second session.

S504,策略控制网元保存第二会话的会话属性信息。S504, the policy control network element stores the session attribute information of the second session.

即,策略控制网元在接收第二会话的会话属性信息后,将保存该第二会话的会话属性信息。That is, after receiving the session attribute information of the second session, the policy control network element will save the session attribute information of the second session.

可选的,策略控制网元可以为第二会话的会话属性信息确定有效定时器。例如,在第三消息中包括有效定时器时,策略控制网元可以根据第三消息中的有效定时器,为保存的第二会话的会话属性信息确定有效时间,即为第二会话的会话属性信息配置该有效定时器。又例如,在第三消息中不包括有效定时器时,策略控制网元可以自身为第二会话的会话属性信息设置有效定时器。本申请对此不作限定。本申请对此不作限定。关于该步骤中有效定时器的具体实现可参考上述步骤S202中的详细说明。Optionally, the policy control network element may determine a valid timer for the session attribute information of the second session. For example, when the third message includes a valid timer, the policy control network element may determine the valid time for the saved session attribute information of the second session according to the valid timer in the third message, that is, the session attribute of the second session information to configure the valid timer. For another example, when the third message does not include a valid timer, the policy control network element may set a valid timer for the session attribute information of the second session by itself. This application does not limit this. This application does not limit this. For the specific implementation of the valid timer in this step, reference may be made to the detailed description in the foregoing step S202.

关于步骤S503-S504的更具体的实现,可参考方法300中S302的详细说明。For more specific implementation of steps S503-S504, reference may be made to the detailed description of S302 in method 300.

S505,第二会话管理网元向策略控制网元发送第四消息,该第四消息包括第一会话的会话属性信息,该第四消息用于请求建立第一会话的会话管理策略关联,相应的,策略控制网元从第二会话管理网元接收第四消息。S505, the second session management network element sends a fourth message to the policy control network element, where the fourth message includes session attribute information of the first session, and the fourth message is used to request the establishment of a session management policy association of the first session, and the corresponding , the policy control network element receives the fourth message from the second session management network element.

应理解,在终端设备的位置移动,并确定需要建立第一会话后,终端设备将请求建立第一会话,并将相关请求消息发送至第二会话管理网元,然后第二会话管理网元将执行上述步骤S505。It should be understood that after the location of the terminal device moves and it is determined that the first session needs to be established, the terminal device will request to establish the first session, and send the relevant request message to the second session management network element, and then the second session management network element will The above step S505 is performed.

还应理解,上述S501-S505中的第一会话管理网元和第二会话管理网元分别对应于上述方法300中的第二网元和第三网元,即第一会话管理网元为第二会话对应的会话管理网元,第二会话管理网元为第一会话对应的会话管理网元,并且第一会话管理网元与第二会话管理网元可以相同或不同。It should also be understood that the first session management network element and the second session management network element in the foregoing S501-S505 correspond to the second network element and the third network element in the foregoing method 300, respectively, that is, the first session management network element is the first session management network element. The session management network element corresponding to the two sessions, the second session management network element is the session management network element corresponding to the first session, and the first session management network element and the second session management network element may be the same or different.

可选的,第四消息为创建会话管理策略关联请求消息,本申请对第四消息的具体名称不作限定。Optionally, the fourth message is a request message for creating a session management policy association, and the specific name of the fourth message is not limited in this application.

S506,策略控制网元根据先前获得的终端设备的第二会话的会话属性信息和第一会话的会话属性信息,确定允许第一会话的建立。S506: The policy control network element determines to allow establishment of the first session according to the previously obtained session attribute information of the second session of the terminal device and the session attribute information of the first session.

具体地,在本申请实施例中,所述策略控制网元从保存各个会话属性信息中,确定存在所述第二会话的会话属性信息,其中所述第二会话的会话属性信息包括与所述第一会话相同的终端设备标识信息,网络切片标识信息,数据网络信息,以及可选的相同的SSCmode参数,所述策略控制网元确定所述第一会话为与所述第二会话对应的新的会话。Specifically, in this embodiment of the present application, the policy control network element determines that there is session attribute information of the second session from saving each session attribute information, wherein the session attribute information of the second session includes the same information as the session attribute information of the second session. The same terminal equipment identification information, network slice identification information, data network information, and optionally the same SSCmode parameter as the first session, the policy control network element determines that the first session is a new session corresponding to the second session. session.

关于该步骤的具体实现,可参考方法200中S202的详细说明。For the specific implementation of this step, reference may be made to the detailed description of S202 in the method 200 .

应理解,在本申请中,“保存”和“记录”表达的意思是一致的,两者可相互替换。It should be understood that, in this application, the meanings of "save" and "record" are the same, and the two are interchangeable.

还应理解,在本申请中,NSACF实体可以为NSACF,第一会话管理网元可以为第一SMF,第二会话管理网元可以为第二SMF,策略控制网元可以为PCF,本申请对此不作限定。It should also be understood that in this application, the NSACF entity may be the NSACF, the first session management network element may be the first SMF, the second session management network element may be the second SMF, and the policy control network element may be the PCF. This is not limited.

图6示出了本申请提供的另一种会话控制的方法600的示意性流程图。该方法600包括:FIG. 6 shows a schematic flowchart of another session control method 600 provided by the present application. The method 600 includes:

S601,终端设备向第四网元发送第一信息,该第一信息用于请求终端设备的第一会话的建立,该第一信息包括终端设备的第二会话的标识信息,其中,第一会话为第二会话因终端设备的会话和业务连续性需要改变PDU会话锚点的新的会话,第一会话和第二会话建立于相同的网络切片内,相应的,第四网元从终端设备接收第一信息。S601: The terminal device sends first information to a fourth network element, where the first information is used to request establishment of a first session of the terminal device, where the first information includes identification information of a second session of the terminal device, wherein the first session It is a new session in which the second session needs to change the PDU session anchor due to the session and service continuity of the terminal device. The first session and the second session are established in the same network slice. Correspondingly, the fourth network element receives from the terminal device first information.

应理解,终端设备向第四网元发送第一信息,终端设备可以直接向第四网元发送第一信息,或者终端设备也可以通过其他网元向第四网元发送第一信息,本申请对此不作限定。It should be understood that the terminal device sends the first information to the fourth network element, the terminal device may directly send the first information to the fourth network element, or the terminal device may also send the first information to the fourth network element through other network elements. This is not limited.

具体地,在本申请实施例中,第四网元为接入和移动管理网元,例如,AMF,该接入和移动管理网元从终端设备接收会话建立请求消息,该会话建立请求消息中包括第一信息,其中包括第一会话的标识(即new session ID)和第二会话的标识(old session ID);或者,第四网元为会话管理网元,例如,SMF,该会话管理网元从第一接入和移动管理网元接收创建会话上下文请求消息,该第一接入和移动管理网元为第一会话对应的接入和移动管理网元,该创建会话上下文请求消息中包括第一信息;或者,第四网元为策略控制网元,例如,PCF,该策略控制网元从第三会话管理网元接收创建会话管理策略关联请求消息,该第三会话管理网元为第一会话对应的会话管理网元,该创建会话管理策略关联请求消息中包括第一信息。本申请对第四网元的具体网元类型不作限定。Specifically, in this embodiment of the present application, the fourth network element is an access and mobility management network element, such as an AMF, and the access and mobility management network element receives a session establishment request message from a terminal device, where the session establishment request message contains It includes the first information, including the identifier of the first session (ie, the new session ID) and the identifier of the second session (old session ID); or, the fourth network element is a session management network element, for example, SMF, the session management network The element receives a create session context request message from the first access and mobility management network element, the first access and mobility management network element is the access and mobility management network element corresponding to the first session, and the create session context request message includes first information; or, the fourth network element is a policy control network element, such as a PCF, and the policy control network element receives a request message for creating a session management policy association from a third session management network element, where the third session management network element is the first information. A session management network element corresponding to a session, and the request message for creating a session management policy association includes the first information. This application does not limit the specific network element type of the fourth network element.

可选的,对于第四网元为接入和移动管理网元或策略控制网元的情况,第四网元可以从自身保存的上下文信息中进一步确定第一会话为第二会话对应的新的会话,此时第四网元可以允许第一会话的建立占用第二会话的会话配额。Optionally, for the case where the fourth network element is an access and mobility management network element or a policy control network element, the fourth network element may further determine from the context information saved by itself that the first session is a new one corresponding to the second session. In this case, the fourth network element may allow the establishment of the first session to occupy the session quota of the second session.

S602,第四网元根据第二会话的标识信息,确定跳过网络切片内的会话数量检查,并确定允许第一会话的建立。S602, the fourth network element determines to skip the check of the number of sessions in the network slice according to the identification information of the second session, and determines to allow establishment of the first session.

具体地,在本申请实施例中,第四网元可以根据第二会话的标识信息,确定第一会话为终端设备因第二会话改变PDU会话锚点而建立的新的会话,此时,第四网元可以直接跳过网络切片内的会话数量检查的步骤,并允许第一会话的建立。Specifically, in this embodiment of the present application, the fourth network element may determine, according to the identification information of the second session, that the first session is a new session established by the terminal device because the second session changes the PDU session anchor point. The four network elements can directly skip the step of checking the number of sessions within the network slice and allow the establishment of the first session.

因此,通过第四网元接收第一会话的请求消息以及第二会话的标识信息,第四网元可以确定第一会话为第二会话对应的改变PDU会话锚点后的新的会话,此时第四网元将不检查网络切片内的会话数量是否达到或超出网络切片内的会话配额,而直接允许第一会话的建立,从而避免了当前网络切片内的会话数量已达到或超出网络切片内会话配额时,第一会话无法建立的情况,能够使得终端设备修改PDU会话锚点成功,保证终端设备的会话和业务的连续性。Therefore, by receiving the request message of the first session and the identification information of the second session by the fourth network element, the fourth network element can determine that the first session is a new session corresponding to the second session after changing the PDU session anchor point. The fourth network element will not check whether the number of sessions in the network slice reaches or exceeds the session quota in the network slice, but directly allows the establishment of the first session, thereby avoiding that the number of sessions in the current network slice has reached or exceeded the network slice. When the session quota is used, if the first session cannot be established, the terminal device can successfully modify the PDU session anchor, and the continuity of the session and service of the terminal device can be ensured.

图7和图8为本申请的实施例提供的可能的灾难漫游的装置的结构示意图。这些装置可以实现上述方法实施例中终端设备或任一网元的功能,因此也能实现上述方法实施例所具备的有益效果。在本申请实施例中,该装置可以是终端设备,也可以是第一网元,也可以是第二网元,还可以是应用于终端设备、第一网元或第二网元的模块(如芯片)。FIG. 7 and FIG. 8 are schematic structural diagrams of a possible disaster roaming device according to an embodiment of the present application. These apparatuses can implement the functions of the terminal device or any network element in the above method embodiments, and thus can also achieve the beneficial effects of the above method embodiments. In this embodiment of the present application, the apparatus may be a terminal device, a first network element, a second network element, or a module applied to the terminal device, the first network element or the second network element ( such as chips).

图7是本申请实施例提供的一种会话控制的装置1000的示意性结构图,该装置1000可以包括收发单元1001和处理单元1002。FIG. 7 is a schematic structural diagram of an apparatus 1000 for session control provided by an embodiment of the present application. The apparatus 1000 may include a transceiver unit 1001 and a processing unit 1002 .

当装置1000用于实现图2所述方法实施例中第一网元的功能时,所述收发单元用于接收终端设备请求建立的第一会话的会话属性信息;所述处理单元用于根据先前建立的所述终端设备的第二会话的会话属性信息和所述第一会话的会话属性信息,确定允许所述第一会话的建立;其中,所述第一会话为与所述第二会话对应的新的会话,所述第一会话的会话属性信息和所述第二会话的会话属性信息包括相同的所述终端设备的标识信息,网络切片标识信息,以及数据网络信息。When the apparatus 1000 is configured to implement the function of the first network element in the method embodiment shown in FIG. 2 , the transceiver unit is configured to receive session attribute information of the first session requested by the terminal device to be established; the processing unit is configured to The established session attribute information of the second session of the terminal device and the session attribute information of the first session determine that the establishment of the first session is allowed; wherein, the first session corresponds to the second session The session attribute information of the first session and the session attribute information of the second session include the same identification information of the terminal device, network slice identification information, and data network information.

当装置1000用于实现图3所述方法实施例中第二网元的功能时,所述收发单元用于向终端设备发送第一指示信息,所述第一指示信息用于指示所述终端设备的第一会话的建立,或者,所述第一指示信息用于指示所述终端设备的第二会话的释放和第一会话的建立;所述收发单元还用于向第一网元发送所述第二会话的会话属性信息,所述第二会话的会话属性信息用于所述第一网元确定允许所述第一会话的建立;其中,所述第一会话为与所述第二会话对应的新的会话,所述第一会话的会话属性信息和所述第二会话的会话属性信息包括相同的所述终端设备的标识信息,网络切片标识信息,以及数据网络信息。When the apparatus 1000 is used to implement the function of the second network element in the method embodiment shown in FIG. 3 , the transceiver unit is used to send first indication information to a terminal device, where the first indication information is used to instruct the terminal device establishment of the first session, or the first indication information is used to indicate the release of the second session of the terminal device and establishment of the first session; the transceiver unit is further configured to send the first network element to the first network element. Session attribute information of the second session, where the session attribute information of the second session is used by the first network element to determine that the establishment of the first session is permitted; wherein the first session corresponds to the second session The session attribute information of the first session and the session attribute information of the second session include the same identification information of the terminal device, network slice identification information, and data network information.

当装置1000用于实现图6所述方法实施例中第四网元的功能时,所述收发单元用于从终端设备接收第一信息,所述第一信息用于请求所述终端设备的第一会话的建立,所述第一信息包括所述终端设备的第二会话的标识信息,其中,所述第一会话为所述第二会话因所述终端设备的会话和业务连续性需要改变协议数据单元PDU会话锚点的新的会话,所述第一会话和所述第二会话建立于相同的网络切片内;所述处理单元用于根据所述第二会话的标识信息,确定跳过所述网络切片内的会话数量检查,并确定允许所述第一会话的建立。When the apparatus 1000 is configured to implement the function of the fourth network element in the method embodiment shown in FIG. 6 , the transceiver unit is configured to receive first information from a terminal device, where the first information is used to request the first information of the terminal device The establishment of a session, the first information includes the identification information of the second session of the terminal device, wherein the first session is the second session because the session of the terminal device and business continuity need to change the protocol The new session of the session anchor point of the data unit PDU, the first session and the second session are established in the same network slice; the processing unit is configured to determine, according to the identification information of the second session, to skip the The number of sessions in the network slice is checked, and it is determined that the establishment of the first session is allowed.

关于上述收发单元1001和处理单元1002更详细的描述,可参考上述方法实施例中的相关描述,在此不再说明。For a more detailed description of the foregoing transceiver unit 1001 and the processing unit 1002, reference may be made to the relevant descriptions in the foregoing method embodiments, which are not described herein again.

图8示出了应用本申请实施例的装置2000的示意性框图。上述方法200至方法600中任一方法所涉及的任一网元,都可以由图8所示的装置来实现。FIG. 8 shows a schematic block diagram of an apparatus 2000 to which an embodiment of the present application is applied. Any network element involved in any of the foregoing methods 200 to 600 may be implemented by the apparatus shown in FIG. 8 .

应理解,装置2000可以是实体设备,也可以是实体设备的部件(例如,集成电路,芯片等等),还可以是实体设备中的功能模块。It should be understood that the apparatus 2000 may be a physical device, a component of the physical device (eg, an integrated circuit, a chip, etc.), or a functional module in the physical device.

如图8所示,该装置2000包括:一个或多个处理器2001。处理器2001可以存储用于执行本申请实施例的方法的执行指令。可选地,处理器2001中可以调用接口实现接收和发送功能。所述接口可以是逻辑接口或物理接口,对此不作限定。例如,接口可以是收发电路,或是接口电路。用于实现接收和发送功能的收发电路、或接口电路可以是分开的,也可以集成在一起。上述收发电路或接口电路可以用于代码/数据的读写,或者,上述收发电路或接口电路可以用于信号的传输或传递。As shown in FIG. 8 , the apparatus 2000 includes: one or more processors 2001 . The processor 2001 may store execution instructions for executing the methods of the embodiments of the present application. Optionally, the processor 2001 may call an interface to implement the receiving and sending functions. The interface may be a logical interface or a physical interface, which is not limited. For example, the interface may be a transceiver circuit, or an interface circuit. Transceiver circuits or interface circuits for realizing receiving and transmitting functions may be separate or integrated. The above-mentioned transceiver circuit or interface circuit can be used for code/data reading and writing, or the above-mentioned transceiver circuit or interface circuit can be used for signal transmission or transmission.

可选地,接口可以通过收发器实现。可选地,该装置2000还可以包括收发器2003。所述收发器2003可以称为收发单元、收发机、收发电路或者收发器等,用于实现收发功能。Alternatively, the interface can be implemented by a transceiver. Optionally, the apparatus 2000 may further include a transceiver 2003 . The transceiver 2003 may be referred to as a transceiver unit, a transceiver, a transceiver circuit or a transceiver, etc., for implementing a transceiver function.

可选地,该装置2000还可以包括存储器2002。本申请实施例对存储器2002的具体部署位置不作具体限定,该存储器可以集成于处理器中,也可以是独立于处理器之外。对于该装置2000不包括存储器的情形,该装置2000具备处理功能即可,存储器可以部署在其他位置(如,云系统)。Optionally, the apparatus 2000 may further include a memory 2002 . This embodiment of the present application does not specifically limit the specific deployment location of the memory 2002, and the memory may be integrated in the processor, or may be independent of the processor. In the case where the apparatus 2000 does not include a memory, it is only necessary that the apparatus 2000 has a processing function, and the memory may be deployed in other locations (eg, a cloud system).

处理器2001、存储器2002和收发器2003之间通过内部连接通路互相通信,传递控制和/或数据信号。The processor 2001, the memory 2002 and the transceiver 2003 communicate with each other through an internal connection path to transmit control and/or data signals.

可以理解的是,尽管并未示出,装置2000还可以包括其他装置,例如输入装置、输出装置、电池等。It will be appreciated that, although not shown, the device 2000 may also include other devices, such as input devices, output devices, batteries, and the like.

可选的,在一些实施例中,存储器2002可以存储用于执行本申请实施例的方法的执行指令。处理器2001可以执行存储器2002中存储的指令结合其他硬件(例如收发器2003)完成下文所示方法执行的步骤,具体工作过程和有益效果可以参见下文方法实施例中的描述。Optionally, in some embodiments, the memory 2002 may store execution instructions for executing the methods of the embodiments of the present application. The processor 2001 can execute the instructions stored in the memory 2002 in combination with other hardware (such as the transceiver 2003) to complete the steps of the method shown below. For the specific working process and beneficial effects, refer to the descriptions in the method embodiments below.

本申请实施例揭示的方法可以应用于处理器2001中,或者由处理器2001实现。处理器2001可能是一种集成电路芯片,具有信号的处理能力。在实现过程中,方法的各步骤可以通过处理器中的硬件的集成逻辑电路或者软件形式的指令完成。上述的处理器可以是通用处理器、数字信号处理器(digital signal processor,DSP)、专用集成电路(application specific integrated circuit,ASIC)、现成可编程门阵列(fieldprogrammable gate array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。可以实现或者执行本申请实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。结合本申请实施例所公开的方法的步骤可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。软件模块可以位于随机存取存储器(random access memory,RAM)、闪存、只读存储器(read-only memory,ROM)、可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器,处理器读取存储器中的指令,结合其硬件完成上述方法的步骤。The methods disclosed in the embodiments of the present application may be applied to the processor 2001 or implemented by the processor 2001 . The processor 2001 may be an integrated circuit chip with signal processing capability. In the implementation process, each step of the method can be completed by an integrated logic circuit of hardware in a processor or instructions in the form of software. The aforementioned processor may be a general-purpose processor, a digital signal processor (DSP), an application specific integrated circuit (ASIC), an off-the-shelf programmable gate array (FPGA) or other programmable Logic devices, discrete gate or transistor logic devices, discrete hardware components. The methods, steps, and logic block diagrams disclosed in the embodiments of this application can be implemented or executed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in conjunction with the embodiments of the present application may be directly embodied as executed by a hardware decoding processor, or executed by a combination of hardware and software modules in the decoding processor. Software modules can be located in random access memory (RAM), flash memory, read-only memory (ROM), programmable read-only memory or electrically erasable programmable memory, registers, etc. in the storage medium. The storage medium is located in the memory, and the processor reads the instructions in the memory, and completes the steps of the above method in combination with its hardware.

可以理解,存储器2002可以是易失性存储器或非易失性存储器,或可包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器ROM、可编程只读存储器(programmable ROM,PROM)、可擦除可编程只读存储器(erasable PROM,EPROM)、电可擦除可编程只读存储器(electrically EPROM,EEPROM)或闪存。易失性存储器可以是随机存取存储器RAM,其用作外部高速缓存。通过示例性但不是限制性说明,许多形式的RAM可用,例如静态随机存取存储器(static RAM,SRAM)、动态随机存取存储器(dynamic RAM,DRAM)、同步动态随机存取存储器(synchronous DRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(double data rate SDRAM,DDR SDRAM)、增强型同步动态随机存取存储器(enhancedSDRAM,ESDRAM)、同步连接动态随机存取存储器(synchlink DRAM,SLDRAM)和直接内存总线随机存取存储器(direct rambus RAM,DR RAM)。应注意,本文描述的系统和方法的存储器旨在包括但不限于这些和任意其它适合类型的存储器。It will be appreciated that memory 2002 may be volatile memory or non-volatile memory, or may include both volatile and non-volatile memory. Wherein, the non-volatile memory may be a read-only memory ROM, a programmable read-only memory (programmable ROM, PROM), an erasable programmable read-only memory (erasable PROM, EPROM), an electrically erasable programmable read-only memory (electrically EPROM, EEPROM) or flash memory. Volatile memory may be random access memory RAM, which acts as an external cache. By way of example and not limitation, many forms of RAM are available, such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous DRAM, SDRAM), double data rate synchronous dynamic random access memory (double data rate SDRAM, DDR SDRAM), enhanced synchronous dynamic random access memory (enhanced SDRAM, ESDRAM), synchronous link dynamic random access memory (synchlink DRAM, SLDRAM) And direct memory bus random access memory (direct rambus RAM, DR RAM). It should be noted that the memory of the systems and methods described herein is intended to include, but not be limited to, these and any other suitable types of memory.

另外,在本申请中,装置1000是以功能模块的形式来呈现。这里的“模块”可以指特定应用集成电路ASIC、电路、执行一个或多个软件或固件程序的处理器和存储器、集成逻辑电路,和/或其他可以提供上述功能的器件。在一个简单的实施例中,本领域的技术人员可以想到装置1000可以采用图7所示的形式。处理单元1001可以通过图8所示的处理器2001来实现。可选地,如果图8所示的计算机设备包括存储器2002,处理单元1002可以通过处理器2001和存储器2002来实现。收发单元1001可以通过图8所示的收发器2003来实现。所述收发器2003包括接收功能和发送功能。具体的,处理器通过执行存储器中存储的计算机程序来实现。可选地,当所述装置1000是芯片时,那么收发单元1001的功能和/或实现过程还可以通过管脚或电路等来实现。可选地,所述存储器可以为所述芯片内的存储单元,比如寄存器、缓存等,所述存储单元还可以是所述计算机设备内的位于所述芯片外部的存储单元,如图8所的存储器2002,或者,也可以是部署在其他系统或设备中的存储单元,不在所述计算机设备内。本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。In addition, in this application, the apparatus 1000 is presented in the form of functional modules. A "module" herein may refer to an application-specific integrated circuit ASIC, a circuit, a processor and memory executing one or more software or firmware programs, an integrated logic circuit, and/or other devices that may provide the above-described functions. In a simple embodiment, those skilled in the art can contemplate that the apparatus 1000 may take the form shown in FIG. 7 . The processing unit 1001 may be implemented by the processor 2001 shown in FIG. 8 . Optionally, if the computer device shown in FIG. 8 includes the memory 2002 , the processing unit 1002 may be implemented by the processor 2001 and the memory 2002 . The transceiver unit 1001 can be implemented by the transceiver 2003 shown in FIG. 8 . The transceiver 2003 includes a receive function and a transmit function. Specifically, the processor is realized by executing the computer program stored in the memory. Optionally, when the apparatus 1000 is a chip, the function and/or implementation process of the transceiver unit 1001 may also be implemented by pins or circuits. Optionally, the memory may be a storage unit in the chip, such as a register, a cache, etc., and the storage unit may also be a storage unit located outside the chip in the computer device, as shown in FIG. 8 . The memory 2002, alternatively, may also be a storage unit deployed in other systems or devices, not within the computer device. Those of ordinary skill in the art can realize that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Skilled artisans may implement the described functionality using different methods for each particular application, but such implementations should not be considered beyond the scope of this application.

本申请的各个方面或特征可以实现成方法、装置或使用标准编程和/或工程技术的制品。本申请中使用的术语“制品”涵盖可从任何计算机可读器件、载体或介质访问的计算机程序。例如,计算机可读介质可以包括,但不限于:磁存储器件(例如,硬盘、软盘或磁带等),光盘(例如,压缩盘(compact disc,CD)、数字通用盘(digital versatile disc,DVD)等),智能卡和闪存器件(例如,可擦写可编程只读存储器(erasable programmable read-only memory,EPROM)、卡、棒或钥匙驱动器等)。另外,本文描述的各种存储介质可代表用于存储信息的一个或多个设备和/或其它机器可读介质。术语“机器可读介质”可包括但不限于,无线信道和能够存储、包含和/或承载指令和/或数据的各种其它介质。Various aspects or features of the present application may be implemented as methods, apparatus, or articles of manufacture using standard programming and/or engineering techniques. The term "article of manufacture" as used in this application encompasses a computer program accessible from any computer readable device, carrier or medium. For example, computer readable media may include, but are not limited to: magnetic storage devices (eg, hard disks, floppy disks, or magnetic tapes, etc.), optical disks (eg, compact discs (CDs), digital versatile discs (DVDs) etc.), smart cards and flash memory devices (eg, erasable programmable read-only memory (EPROM), cards, stick or key drives, etc.). Additionally, various storage media described herein can represent one or more devices and/or other machine-readable media for storing information. The term "machine-readable medium" may include, but is not limited to, wireless channels and various other media capable of storing, containing, and/or carrying instructions and/or data.

本申请还提供了一种计算机可读介质,其上存储有计算机程序,该计算机程序被计算机执行时实现上述任一方法实施例的功能。The present application also provides a computer-readable medium on which a computer program is stored, and when the computer program is executed by a computer, implements the functions of any of the foregoing method embodiments.

本申请还提供了一种计算机程序产品,该计算机程序产品被计算机执行时实现上述任一方法实施例的功能。在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。所述计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行所述计算机指令时,全部或部分地产生按照本申请实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线(digital subscriber line,DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质(例如,软盘、硬盘、磁带)、光介质(例如,高密度数字视频光盘(digital video disc,DVD))、或者半导体介质(例如,固态硬盘(solid state disk,SSD))等。The present application also provides a computer program product, which implements the functions of any of the foregoing method embodiments when the computer program product is executed by a computer. In the above-mentioned embodiments, it 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 instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of the present application 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 or transmitted from one computer readable storage medium to another computer readable storage medium, for example, the computer instructions may be downloaded from a website site, computer, server or data center Transmission to another website site, computer, server, or data center by wire (eg, coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (eg, infrared, wireless, microwave, etc.). 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 available media may be magnetic media (eg, floppy disks, hard disks, magnetic tapes), optical media (eg, high-density digital video discs (DVDs)), or semiconductor media (eg, solid state disks, SSD)) etc.

应理解,说明书通篇中提到的“实施例”意味着与实施例有关的特定特征、结构或特性包括在本申请的至少一个实施例中。因此,在整个说明书各个实施例未必一定指相同的实施例。此外,这些特定的特征、结构或特性可以任意适合的方式结合在一个或多个实施例中。应理解,在本申请的各种实施例中,上述各过程的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本申请实施例的实施过程构成任何限定。It is to be understood that reference throughout the specification to an "embodiment" means that a particular feature, structure, or characteristic associated with the embodiment is included in at least one embodiment of the present application. Thus, various embodiments throughout this specification are not necessarily necessarily referring to the same embodiment. Furthermore, the particular features, structures or characteristics may be combined in any suitable manner in one or more embodiments. It should be understood that, in various embodiments of the present application, the size of the sequence numbers of the above-mentioned processes does not mean the order of execution, and the execution order of each process should be determined by its functions and internal logic, and should not be dealt with in the embodiments of the present application. implementation constitutes any limitation.

还应理解,在本申请中,“当…时”、“若”以及“如果”均指在某种客观情况下UE或者基站会做出相应的处理,并非是限定时间,且也不要求UE或基站实现时一定要有判断的动作,也不意味着存在其它限定。It should also be understood that in this application, "when", "if" and "if" all mean that the UE or the base station will make corresponding processing under certain objective circumstances, not a limited time, and does not require the UE Or the base station must have a judgment action when it is implemented, and it does not mean that there are other limitations.

另外,本文中术语“系统”和“网络”在本文中常被可互换使用。本文中术语“和/或”,仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。Additionally, the terms "system" and "network" are often used interchangeably herein. The term "and/or" in this article is only an association relationship to describe the associated objects, indicating that there can be three kinds of relationships, for example, A and/or B, it can mean that A exists alone, A and B exist at the same time, and A and B exist independently B these three cases.

本文中术语“……中的至少一个”或“……中的至少一种”,表示所列出的各项的全部或任意组合,例如,“A、B和C中的至少一种”,可以表示:单独存在A,单独存在B,单独存在C,同时存在A和B,同时存在B和C,同时存在A、B和C这六种情况。The terms "at least one of" or "at least one of" herein mean all or any combination of the listed items, eg, "at least one of A, B, and C", It can be expressed that there are six cases of A alone, B alone, C alone, A and B at the same time, B and C at the same time, and A, B and C at the same time.

本申请中,若无特殊说明,“至少一个”指一个或多个,“多个”指两个或大于两个。In this application, unless otherwise specified, "at least one" refers to one or more, and "a plurality" refers to two or more.

应理解,在本申请各实施例中,“与A相应的B”表示B与A相关联,根据A可以确定B。但还应理解,根据A确定B并不意味着仅仅根据A确定B,还可以根据A和/或其它信息确定B。It should be understood that, in various embodiments of the present application, "B corresponding to A" means that B is associated with A, and B can be determined according to A. However, it should also be understood that determining B according to A does not mean that B is only determined according to A, and B may also be determined according to A and/or other information.

本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。Those of ordinary skill in the art can realize that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Skilled artisans may implement the described functionality using different methods for each particular application, but such implementations should not be considered beyond the scope of this application.

所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the system, device and unit described above may refer to the corresponding process in the foregoing method embodiments, which will not be repeated here.

在本申请所提供的几个实施例中,应该理解到,所揭露的系统、装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the apparatus embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not implemented. On the other hand, the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in electrical, mechanical or other forms.

所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.

另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit.

所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。The functions, if implemented in the form of software functional units and sold or used as independent products, may be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application can be embodied in the form of a software product in essence, or the part that contributes to the prior art or the part of the technical solution, and the computer software product is stored in a storage medium, including Several instructions are used to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk and other media that can store program codes .

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

Claims (30)

1.一种会话控制的方法,其特征在于,包括:1. A method for session control, comprising: 第一网元接收终端设备请求建立的第一会话的会话属性信息;The first network element receives session attribute information of the first session requested by the terminal device to be established; 所述第一网元根据先前建立的所述终端设备的第二会话的会话属性信息和所述第一会话的会话属性信息,确定允许所述第一会话的建立;determining, by the first network element, that the establishment of the first session is permitted according to the session attribute information of the previously established second session of the terminal device and the session attribute information of the first session; 其中,所述第一会话为与所述第二会话对应的新的会话,所述第一会话的会话属性信息和所述第二会话的会话属性信息包括相同的所述终端设备的标识信息,网络切片标识信息,以及数据网络信息。Wherein, the first session is a new session corresponding to the second session, and the session attribute information of the first session and the session attribute information of the second session include the same identification information of the terminal device, Network slice identification information, and data network information. 2.根据权利要求1所述的方法,其特征在于,所述第一会话的会话属性信息和所述第二会话的会话属性信息还包括相同的会话和业务连续性模式SSC mode参数。2 . The method according to claim 1 , wherein the session attribute information of the first session and the session attribute information of the second session further include the same session and service continuity mode SSC mode parameters. 3 . 3.根据权利要求1或2所述的方法,其特征在于,所述第一会话为所述第二会话因所述终端设备的会话和业务连续性需要改变协议数据单元PDU会话锚点的新的会话,所述第一会话和所述第二会话为SSC mode 2的会话或SSC mode 3的会话;3. The method according to claim 1 or 2, wherein the first session is a new one in which the session anchor of a protocol data unit (PDU) needs to be changed for the second session due to the session and business continuity of the terminal device. session, the first session and the second session are SSC mode 2 sessions or SSC mode 3 sessions; 所述第一网元确定允许所述第一会话的建立,包括:The first network element determining to allow the establishment of the first session includes: 所述第一网元确定跳过所述网络切片标识对应的网络切片内会话数量检查,并确定允许所述第一会话的建立。The first network element determines to skip the check of the number of sessions in the network slice corresponding to the network slice identifier, and determines to allow establishment of the first session. 4.根据权利要求1-3所述的方法,其特征在于,所述第二会话的会话属性信息用于指示:4. The method according to claims 1-3, wherein the session attribute information of the second session is used to indicate: 不限制所述第一会话的建立;或者,not restricting the establishment of the first session; or, 为所述第一会话预留配额;或者,reserve a quota for the first session; or, 所述第一会话的建立占用所述第二会话的会话配额。The establishment of the first session occupies the session quota of the second session. 5.根据权利要求1-4任一项所述的方法,其特征在于,所述方法还包括:5. The method according to any one of claims 1-4, wherein the method further comprises: 所述第一网元为所述第二会话的会话属性信息确定有效定时器,所述有效定时器指示所述第二会话的会话属性信息的有效时间。The first network element determines a validity timer for the session attribute information of the second session, and the validity timer indicates the validity time of the session attribute information of the second session. 6.根据权利要求1-5任一项所述的方法,其特征在于,所述第一网元为网络切片许可控制功能NSACF实体,在所述第一网元接收终端设备请求建立的第一会话的会话属性信息之前,所述方法还包括:6. The method according to any one of claims 1-5, wherein the first network element is a network slice admission control function NSACF entity, and the first network element receives a first request for establishment by a terminal device at the first network element. Before the session attribute information of the session, the method further includes: 所述NSACF实体从第一会话管理网元接收第一消息,所述第一会话管理网元为所述第二会话对应的会话管理网元,所述第一消息包括所述终端设备的所述第二会话的会话属性信息;The NSACF entity receives a first message from a first session management network element, where the first session management network element is a session management network element corresponding to the second session, and the first message includes the session attribute information of the second session; 所述NSACF实体保存所述第二会话的会话属性信息。The NSACF entity stores session attribute information of the second session. 7.根据权利要求6所述的方法,其特征在于,所述第一消息用于:7. The method according to claim 6, wherein the first message is used for: 检查所述网络切片标识对应的网络切片内的会话数量,或者,更新所述网络切片标识对应的网络切片内的会话数量,或者,预留所述网络切片标识对应的网络切片内的会话配额。Check the number of sessions in the network slice corresponding to the network slice identifier, or update the number of sessions in the network slice corresponding to the network slice identifier, or reserve the session quota in the network slice corresponding to the network slice identifier. 8.根据权利要求6或7所述的方法,其特征在于,所述第一网元接收终端设备请求建立的第一会话的会话属性信息,包括:8. The method according to claim 6 or 7, wherein the first network element receives session attribute information of the first session requested by the terminal device to establish, comprising: 所述NSACF实体从第二会话管理网元接收第二消息,所述第二会话管理网元为所述第一会话对应的网元,所述第二消息包括所述终端设备的所述第一会话的会话属性信息,所述第二消息用于询问是否允许所述第一会话的建立,或者用于更新所述网络切片标识对应的网络切片内的会话数量,或者用于询问是否允许所述第一会话的建立占用所述第二会话的会话配额。The NSACF entity receives a second message from a second session management network element, where the second session management network element is a network element corresponding to the first session, and the second message includes the first session attribute information of the session, the second message is used to ask whether to allow the establishment of the first session, or to update the number of sessions in the network slice corresponding to the network slice identifier, or to ask whether to allow the The establishment of the first session occupies the session quota of the second session. 9.根据权利要求1-5任一项所述的方法,其特征在于,所述第一网元为接入和移动管理网元,在所述第一网元接收终端设备请求建立的第一会话的会话属性信息之前,所述方法还包括:9. The method according to any one of claims 1-5, wherein the first network element is an access and mobility management network element, and the first network element receives a first request to establish a terminal device at the first network element. Before the session attribute information of the session, the method further includes: 所述接入和移动管理网元获取所述第二会话的会话属性信息。The access and mobility management network element acquires session attribute information of the second session. 10.根据权利要求9所述的方法,其特征在于,所述第一网元接收终端设备请求建立的第一会话的会话属性信息,包括:10 . The method according to claim 9 , wherein the receiving, by the first network element, session attribute information of the first session requested by the terminal device to establish, comprises: 10 . 所述接入和移动管理网元从所述终端设备接收会话建立请求消息,所述会话建立请求消息包括所述第一会话的会话属性信息,所述会话建立请求消息请求建立所述第一会话。The access and mobility management network element receives a session establishment request message from the terminal device, the session establishment request message includes session attribute information of the first session, and the session establishment request message requests establishment of the first session . 11.一种会话控制的方法,其特征在于,包括:11. A method for session control, comprising: 第二网元向终端设备发送第一指示信息,所述第一指示信息用于指示所述终端设备的第一会话的建立,或者,所述第一指示信息用于指示所述终端设备的第二会话的释放和第一会话的建立;The second network element sends first indication information to the terminal device, where the first indication information is used to instruct the establishment of the first session of the terminal device, or the first indication information is used to instruct the first indication information of the terminal device The release of the second session and the establishment of the first session; 所述第二网元向第一网元发送所述第二会话的会话属性信息,所述第二会话的会话属性信息用于所述第一网元确定允许所述第一会话的建立;sending, by the second network element, session attribute information of the second session to the first network element, where the session attribute information of the second session is used by the first network element to determine that establishment of the first session is permitted; 其中,所述第一会话为与所述第二会话对应的新的会话,所述第一会话的会话属性信息和所述第二会话的会话属性信息包括相同的所述终端设备的标识信息,网络切片标识信息,以及数据网络信息。Wherein, the first session is a new session corresponding to the second session, and the session attribute information of the first session and the session attribute information of the second session include the same identification information of the terminal device, Network slice identification information, and data network information. 12.根据权利要求11所述的方法,其特征在于,所述第一会话的会话属性信息和所述第二会话的会话属性信息还包括相同的会话和业务连续性模式SSC mode参数。12 . The method according to claim 11 , wherein the session attribute information of the first session and the session attribute information of the second session further comprise the same session and service continuity mode SSC mode parameters. 13 . 13.根据权利要求11或12所述的方法,其特征在于,所述第一会话为所述第二会话因所述终端设备的会话和业务连续性需要改变协议数据单元PDU会话锚点的新的会话,所述第一会话和所述第二会话为SSC mode 2的会话或SSC mode 3的会话;13. The method according to claim 11 or 12, wherein the first session is a new one in which the session anchor of a protocol data unit (PDU) needs to be changed for the second session due to the session and service continuity of the terminal device. session, the first session and the second session are SSC mode 2 sessions or SSC mode 3 sessions; 所述第二会话的会话属性信息用于所述第一网元确定允许所述第一会话的建立,包括:The session attribute information of the second session is used by the first network element to determine that the establishment of the first session is allowed, including: 所述第二会话的会话属性信息用于所述第一网元确定跳过所述网络切片标识对应的网络切片内会话数量检查,并确定允许所述第一会话的建立。The session attribute information of the second session is used by the first network element to determine to skip the check of the number of sessions in the network slice corresponding to the network slice identifier, and to determine that establishment of the first session is allowed. 14.根据权利要求11-13任一项所述的方法,其特征在于,所述第一网元为网络切片许可控制功能NSACF实体,所述第二网元为第一会话管理网元,所述第二网元向第一网元发送所述第二会话的会话属性信息,包括:The method according to any one of claims 11-13, wherein the first network element is a network slice admission control function NSACF entity, the second network element is a first session management network element, and the The second network element sends the session attribute information of the second session to the first network element, including: 所述第一会话管理网元向所述NSACF实体发送第一消息,所述第一会话管理网元为所述第二会话对应的会话管理网元,所述第一消息包括所述第二会话的会话属性信息。The first session management network element sends a first message to the NSACF entity, where the first session management network element is a session management network element corresponding to the second session, and the first message includes the second session session attribute information. 15.根据权利要求14所述的方法,其特征在于,所述第一消息用于:15. The method of claim 14, wherein the first message is used to: 检查所述网络切片标识对应的网络切片内的会话数量,或者,更新所述网络切片标识对应的网络切片内的会话数量,或者,预留所述网络切片标识对应的网络切片内的会话的配额。Check the number of sessions in the network slice corresponding to the network slice identifier, or update the number of sessions in the network slice corresponding to the network slice identifier, or reserve a quota for sessions in the network slice corresponding to the network slice identifier . 16.根据权利要求11-13任一项所述的方法,其特征在于,所述第一网元为策略控制网元,所述第二网元为第一会话管理网元,所述第二网元向第一网元发送所述第二会话的会话属性信息,包括:16. The method according to any one of claims 11-13, wherein the first network element is a policy control network element, the second network element is a first session management network element, and the second network element is a The network element sends the session attribute information of the second session to the first network element, including: 所述第一会话管理网元向所述策略控制网元发送第三消息,所述第一会话管理网元为所述第二会话对应的会话管理网元,所述第三消息包括所述第二会话的会话属性信息。The first session management network element sends a third message to the policy control network element, the first session management network element is a session management network element corresponding to the second session, and the third message includes the first session management network element. Session attribute information of the second session. 17.根据权利要求16所述的方法,其特征在于,所述第三消息用于:17. The method of claim 16, wherein the third message is used to: 报告所述第二会话的会话管理策略关联的更新,或者,请求建立所述第二会话的会话管理策略关联,或者,通知控制所述第二会话的会话管理策略关联的更新,或者,请求删除所述第二会话的会话管理策略关联。Report the update of the session management policy association of the second session, or request the establishment of the session management policy association of the second session, or notify the update of the session management policy association that controls the second session, or request deletion A session management policy association for the second session. 18.一种会话控制的装置,其特征在于,用于执行权利要求1-10任一项所述的方法;或者,18. An apparatus for session control, characterized in that it is used to execute the method according to any one of claims 1-10; or, 用于执行权利要求11-17任一项所述的方法。For carrying out the method of any one of claims 11-17. 19.一种会话控制的系统,其特征在于,所述系统包括第一网元,终端设备;19. A system for session control, wherein the system comprises a first network element, a terminal device; 所述第一网元用于接收所述终端设备请求建立的第一会话的会话属性信息;The first network element is configured to receive session attribute information of the first session requested by the terminal device to be established; 所述第一网元还用于根据先前建立的所述终端设备的第二会话的会话属性信息和所述第一会话的会话属性信息,确定允许所述第一会话的建立;The first network element is further configured to determine that the establishment of the first session is permitted according to the session attribute information of the second session of the terminal device and the session attribute information of the first session previously established; 其中,所述第一会话为与所述第二会话对应的新的会话,所述第一会话的会话属性信息和所述第二会话的会话属性信息包括相同的所述终端设备的标识信息,网络切片标识信息,以及数据网络信息。Wherein, the first session is a new session corresponding to the second session, and the session attribute information of the first session and the session attribute information of the second session include the same identification information of the terminal device, Network slice identification information, and data network information. 20.根据权利要求19所述的系统,其特征在于,所述第一会话的会话属性信息和所述第二会话的会话属性信息还包括相同的会话和业务连续性模式SSC mode参数。20. The system according to claim 19, wherein the session attribute information of the first session and the session attribute information of the second session further comprise the same session and service continuity mode SSC mode parameters. 21.根据权利要求19或20所述的系统,其特征在于,所述第一会话为所述第二会话因所述终端设备的会话和业务连续性需要改变协议数据单元PDU会话锚点的新的会话,所述第一会话和所述第二会话为SSC mode 2的会话或SSC mode 3的会话;21. The system according to claim 19 or 20, wherein the first session is a new one in which the session anchor of a protocol data unit (PDU) is changed for the second session due to the session and service continuity of the terminal device. session, the first session and the second session are SSC mode 2 sessions or SSC mode 3 sessions; 所述第一网元用于确定允许所述第一会话的建立,所述第一网元具体用于:The first network element is used to determine that the establishment of the first session is allowed, and the first network element is specifically used for: 确定跳过所述网络切片标识对应的网络切片内会话数量检查,并确定允许所述第一会话的建立。It is determined to skip the check of the number of sessions in the network slice corresponding to the network slice identifier, and it is determined that establishment of the first session is allowed. 22.根据权利要求19-21任一项所述的系统,其特征在于,所述第二会话的会话属性信息用于指示:22. The system according to any one of claims 19-21, wherein the session attribute information of the second session is used to indicate: 不限制所述第一会话的建立;或者,not restricting the establishment of the first session; or, 为所述第一会话预留配额;或者,reserve a quota for the first session; or, 所述第一会话的建立占用所述第二会话的会话配额。The establishment of the first session occupies the session quota of the second session. 23.根据权利要求19-22任一项所述的系统,其特征在于,所述第一网元还用于为所述第二会话的会话属性信息确定有效定时器,所述有效定时器指示所述第二会话的会话属性信息的有效时间。23. The system according to any one of claims 19-22, wherein the first network element is further configured to determine a valid timer for the session attribute information of the second session, and the valid timer indicates The valid time of the session attribute information of the second session. 24.根据权利要求19-23任一项所述的系统,其特征在于,所述第一网元为网络切片许可控制功能NSACF实体,所述系统还包括第一会话管理网元,所述第一会话管理网元为所述第二会话对应的会话管理网元,在所述第一网元用于接收所述终端设备请求建立的第一会话的会话属性信息之前,所述第一网元还用于:24. The system according to any one of claims 19-23, wherein the first network element is a network slice admission control function NSACF entity, the system further comprises a first session management network element, the first network element A session management network element is the session management network element corresponding to the second session. Before the first network element is used to receive the session attribute information of the first session requested by the terminal device to be established, the first network element Also used for: 从所述第一会话管理网元接收第一消息,所述第一消息包括所述终端设备的所述第二会话的会话属性信息;receiving a first message from the first session management network element, the first message including session attribute information of the second session of the terminal device; 保存所述第二会话的会话属性信息。The session attribute information of the second session is saved. 25.根据权利要求24所述的系统,其特征在于,所述第一消息用于:25. The system of claim 24, wherein the first message is used to: 检查所述网络切片标识对应的网络切片内的会话数量,或者,更新所述网络切片标识对应的网络切片内的会话数量,或者,预留所述网络切片标识对应的网络切片内的会话配额。Check the number of sessions in the network slice corresponding to the network slice identifier, or update the number of sessions in the network slice corresponding to the network slice identifier, or reserve the session quota in the network slice corresponding to the network slice identifier. 26.根据权利要求24或25所述的系统,其特征在于,所述系统还包括第二会话管理网元,所述第二会话管理网元为所述第一会话对应的网元,所述第一网元用于接收所述终端设备请求建立的第一会话的会话属性信息,所述第一网元具体用于:26. The system according to claim 24 or 25, wherein the system further comprises a second session management network element, the second session management network element is a network element corresponding to the first session, the The first network element is configured to receive session attribute information of the first session requested by the terminal device to establish, and the first network element is specifically configured to: 从所述第二会话管理网元接收第二消息,所述第二消息包括所述终端设备的所述第一会话的会话属性信息,所述第二消息用于询问是否允许所述第一会话的建立,或者用于更新所述网络切片标识对应的网络切片内的会话数量,或者用于询问是否允许所述第一会话的建立占用所述第二会话的会话配额。A second message is received from the second session management network element, the second message includes session attribute information of the first session of the terminal device, and the second message is used to inquire whether to allow the first session The establishment of the first session is either used to update the number of sessions in the network slice corresponding to the network slice identifier, or used to inquire whether the establishment of the first session is allowed to occupy the session quota of the second session. 27.根据权利要求19-23任一项所述的系统,其特征在于,所述第一网元为接入和移动管理网元,在所述第一网元用于接收所述终端设备请求建立的第一会话的会话属性信息之前,所述接入和移动管理网元还用于:27. The system according to any one of claims 19-23, wherein the first network element is an access and mobility management network element, and the first network element is used to receive the terminal device request Before the session attribute information of the established first session, the access and mobility management network element is further used for: 获取所述第二会话的会话属性信息。Acquire session attribute information of the second session. 28.根据权利要求27所述的系统,其特征在于,所述第一网元用于接收所述终端设备请求建立的第一会话的会话属性信息,所述接入和移动管理网元具体用于:28. The system according to claim 27, wherein the first network element is configured to receive session attribute information of the first session requested by the terminal device to establish, and the access and mobility management network element is specifically configured to use At: 从所述终端设备接收会话建立请求消息,所述会话建立请求消息包括所述第一会话的会话属性信息,所述会话建立请求消息请求建立所述第一会话。A session establishment request message is received from the terminal device, the session establishment request message includes session attribute information of the first session, and the session establishment request message requests establishment of the first session. 29.一种计算机可读存储介质,其特征在于,所述计算机可读存储介质存储有计算机程序,当所述计算机程序被运行时,实现如权利要求1-10任一项所述的方法;或者,29. A computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed, the method according to any one of claims 1-10 is implemented; or, 实现如权利要求11-17任一项所述的方法。A method as claimed in any of claims 11-17 is implemented. 30.一种芯片,其特征在于,包括:处理器,用于读取存储器中存储的指令,当所述处理器执行所述指令时,使得所述芯片实现上述权利要求1-17中任一项所述的方法。30. A chip, comprising: a processor for reading instructions stored in a memory, and when the processor executes the instructions, the chip implements any one of the preceding claims 1-17 method described in item.
CN202110360943.5A 2021-04-02 2021-04-02 Method, device and system for session control Pending CN115190649A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202110360943.5A CN115190649A (en) 2021-04-02 2021-04-02 Method, device and system for session control
PCT/CN2022/079563 WO2022206296A1 (en) 2021-04-02 2022-03-07 Session control method, apparatus, and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110360943.5A CN115190649A (en) 2021-04-02 2021-04-02 Method, device and system for session control

Publications (1)

Publication Number Publication Date
CN115190649A true CN115190649A (en) 2022-10-14

Family

ID=83457918

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110360943.5A Pending CN115190649A (en) 2021-04-02 2021-04-02 Method, device and system for session control

Country Status (2)

Country Link
CN (1) CN115190649A (en)
WO (1) WO2022206296A1 (en)

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11246172B2 (en) * 2016-10-07 2022-02-08 Lg Electronics Inc. Method for selecting session and service continuity mode in wireless communication system and device therefor
WO2018169244A1 (en) * 2017-03-16 2018-09-20 엘지전자(주) Method for notifying of mobility event in wireless communication system and device therefor
US10575220B2 (en) * 2017-03-21 2020-02-25 Electronics And Telecommunications Research Institute Session management method based on reallocation of PDU session anchor device, and device performing the session management method
CN110149651B (en) * 2018-02-13 2021-09-14 华为技术有限公司 Method and device for determining SSC mode
JP2019205001A (en) * 2018-05-21 2019-11-28 シャープ株式会社 User device, control device, and communication control method
CN110650504B (en) * 2018-06-26 2021-11-19 华为技术有限公司 Session processing method and device
JP2020088473A (en) * 2018-11-19 2020-06-04 シャープ株式会社 User device
CN117715238A (en) * 2019-02-25 2024-03-15 华为技术有限公司 A session establishment method and device
CN111818516B (en) * 2019-04-12 2022-10-18 华为技术有限公司 Authentication method, device and equipment

Also Published As

Publication number Publication date
WO2022206296A1 (en) 2022-10-06

Similar Documents

Publication Publication Date Title
KR102224248B1 (en) Method for establishing protocol data unit in communication system
EP3829203B1 (en) Information transmission methods
US11445515B2 (en) Network slice selection based on requested service
CN113630749B (en) Method and device for acquiring edge service
EP4072071A1 (en) Slice control method and apparatus
US11388602B2 (en) Network slicing with a radio access network node
CN116055311A (en) Communication method and device
US20220361093A1 (en) Network Slice Admission Control (NSAC) Discovery and Roaming Enhancements
WO2023213177A1 (en) Communication method and apparatus
WO2023087965A1 (en) Communication method and apparatus
CN115843029A (en) Network authentication method and device
CN113473509B (en) Disaster recovery processing method and device
WO2022170914A1 (en) Disaster roaming method, apparatus and system
WO2022068771A1 (en) Communication method and communication apparatus
JP2021077995A (en) Communication control device
US20240365265A1 (en) Time service method, communication apparatus, and communication system
US20240224147A1 (en) Apparatus and method for inter-plmn handover of home routed session in wireless communication system
WO2022206296A1 (en) Session control method, apparatus, and system
WO2022116193A1 (en) Qos information sending method and receiving method and apparatuses, device, and storage medium
WO2024221358A1 (en) Communication control methods and apparatuses and storage medium
WO2024027212A1 (en) Network slice management method, communication apparatus, and communication system
WO2024208017A1 (en) Communication method, communication apparatus, and communication system
WO2024164640A1 (en) Communication method, communication apparatus, and communication system
WO2025092592A1 (en) Network analysis method and device
CN117062187A (en) Communication method and device

Legal Events

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