[go: up one dir, main page]

CN113259924B - Private network subscription information updating method and device - Google Patents

Private network subscription information updating method and device Download PDF

Info

Publication number
CN113259924B
CN113259924B CN202010091446.5A CN202010091446A CN113259924B CN 113259924 B CN113259924 B CN 113259924B CN 202010091446 A CN202010091446 A CN 202010091446A CN 113259924 B CN113259924 B CN 113259924B
Authority
CN
China
Prior art keywords
private network
network
information
network device
access 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.)
Active
Application number
CN202010091446.5A
Other languages
Chinese (zh)
Other versions
CN113259924A (en
Inventor
吴烨丹
耿婷婷
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN202010091446.5A priority Critical patent/CN113259924B/en
Priority to PCT/CN2021/076048 priority patent/WO2021160096A1/en
Publication of CN113259924A publication Critical patent/CN113259924A/en
Application granted granted Critical
Publication of CN113259924B publication Critical patent/CN113259924B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/02Processing of mobility data, e.g. registration information at HLR [Home Location Register] or VLR [Visitor Location Register]; Transfer of mobility data, e.g. between HLR, VLR or external networks
    • H04W8/08Mobility data transfer
    • H04W8/14Mobility data transfer between corresponding nodes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/02Processing of mobility data, e.g. registration information at HLR [Home Location Register] or VLR [Visitor Location Register]; Transfer of mobility data, e.g. between HLR, VLR or external networks
    • H04W8/08Mobility data transfer
    • H04W8/16Mobility data transfer selectively restricting mobility data tracking
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/18Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
    • H04W8/20Transfer of user or subscriber data

Landscapes

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

Abstract

本申请提供一种私网签约信息更新方法及装置,用于完善终端设备的私网签约信息更新流程。该方法包括:核心网设备接收来自第一接入网设备的私网信息,私网信息包括第一接入网设备与终端设备用于恢复无线资源控制连接的小区所支持的至少一个私网的标识。核心网设备基于私网信息以及终端设备的私网签约信息进行验证。本申请实施例中,对非激活态终端设备更新私网签约信息中遇到源小区和/或目标小区不在私网签约信息中的情况,提供了一种解决方案,从而可以完善处于非激活态的终端设备的私网签约信息的更新流程。

The present application provides a method and device for updating private network contract information, which are used to improve the private network contract information update process of terminal devices. The method includes: a core network device receives private network information from a first access network device, and the private network information includes the identifier of at least one private network supported by the cell used by the first access network device and the terminal device to restore the wireless resource control connection. The core network device performs verification based on the private network information and the private network contract information of the terminal device. In an embodiment of the present application, a solution is provided for the situation in which the source cell and/or the target cell are not in the private network contract information when an inactive terminal device updates the private network contract information, so that the update process of the private network contract information of the inactive terminal device can be improved.

Description

一种私网签约信息更新方法及装置A private network contract information updating method and device

技术领域Technical Field

本申请涉及通信技术领域,尤其涉及一种私网签约信息更新方法及装置。The present application relates to the field of communication technology, and in particular to a method and device for updating private network contract information.

背景技术Background technique

日常生活中为终端设备提供网络服务的一般是公网。公网,即公共陆地移动网络(public land mobile network,PLMN),由政府或它所批准的经营者,为公众提供陆地移动通信业务目的而建立和经营的网络。除了公网,运营商或者私人也会搭建一些私网(non-public networks,NPN)来满足用户的需求。私网也可以被称作非公网络,是指对特定用户开放的网络,例如公司、学校或者工厂搭建的内部网络。未与私网签约的终端设备不允许接入私网。终端设备与私网签约后核心网侧和终端设备侧记录该终端设备的签约信息,签约信息,指的是终端设备跟运营商或者其它搭建私网的公司签订的用户准入信息。如果终端设备签约后,就可以根据签约信息里网络标识访问相应的网络,使用该网络资源。如果签约信息发生变动,就会由核心网发起用户设备(user equipment,UE)配置更新流程(UEconfiguration update)通知终端设备侧更新后的签约信息。In daily life, the public network generally provides network services for terminal devices. The public network, namely the public land mobile network (PLMN), is a network established and operated by the government or its approved operators for the purpose of providing land mobile communication services to the public. In addition to the public network, operators or individuals will also build some private networks (NPN) to meet the needs of users. Private networks can also be called non-public networks, which refer to networks open to specific users, such as internal networks built by companies, schools or factories. Terminal devices that have not signed contracts with private networks are not allowed to access private networks. After the terminal device signs a contract with the private network, the core network side and the terminal device side record the contract information of the terminal device. The contract information refers to the user access information signed by the terminal device with the operator or other company that builds the private network. If the terminal device signs a contract, it can access the corresponding network according to the network identifier in the contract information and use the network resources. If the contract information changes, the core network will initiate a user equipment (UE) configuration update process (UE configuration update) to notify the terminal device side of the updated contract information.

对于处于非激活态(inactive)的终端设备,对于更新后的签约信息,源小区和/或目标小区可能在新的签约小区列表中,也可能不在新的签约小区列表中,而如果源小区和/或目标小区不在新的签约小区列表,如何更新终端设备中的签约信息,目前并没有很好的解决方案。特别是目标小区不在新的签约小区列表时,目标基站和AMF的行为目前通信协议里没有涉及,而这是一个私网通信中比较常见的问题。For an inactive terminal device, for the updated subscription information, the source cell and/or the target cell may or may not be in the new subscription cell list. If the source cell and/or the target cell is not in the new subscription cell list, there is currently no good solution for how to update the subscription information in the terminal device. In particular, when the target cell is not in the new subscription cell list, the behavior of the target base station and AMF is not covered in the current communication protocol, which is a common problem in private network communications.

发明内容Summary of the invention

本申请提供一种私网签约信息更新方法及装置,用于完善终端设备的私网签约信息更新流程。The present application provides a private network contract information updating method and device, which are used to improve the private network contract information updating process of a terminal device.

第一方面,本申请实施例提供了一种私网签约信息更新方法,包括:核心网设备接收来自第一接入网设备的私网信息,私网信息包括第一接入网设备与终端设备用于恢复无线资源控制(radio resource control,RRC)连接的小区所支持的至少一个私网的标识。核心网设备基于私网信息以及终端设备的私网签约信息进行验证,私网签约信息为核心网设备保存的。本申请实施例中,对INACTIVE态UE更新私网签约信息中遇到源小区和/或目标小区不在私网签约信息中的情况,提供了一种解决方案,从而可以完善处于INACTIVE状态的终端设备的私网签约信息的更新流程。In the first aspect, an embodiment of the present application provides a method for updating private network contract information, including: a core network device receives private network information from a first access network device, the private network information includes at least one private network identifier supported by a cell used by the first access network device and the terminal device to restore a radio resource control (RRC) connection. The core network device performs verification based on the private network information and the private network contract information of the terminal device, and the private network contract information is saved by the core network device. In an embodiment of the present application, a solution is provided for the situation in which an INACTIVE state UE encounters a situation in which the source cell and/or the target cell are not in the private network contract information when updating the private network contract information, thereby improving the update process of the private network contract information of the terminal device in the INACTIVE state.

在一种可能的设计中,至少一个私网依赖于第一公网,第一公网为终端设备选择的目标网络所依赖的公共网络,所述第一公网的网络标识为PLMN ID。上述设计中,第一接入网设备通过上报第一公网标识和依赖第一公网的至少一个私网标识,可以使得核心网设备根据该第一公网标识和私网标识验证第一接入网设备。In one possible design, at least one private network depends on a first public network, the first public network is a public network on which a target network selected by a terminal device depends, and the network identifier of the first public network is a PLMN ID. In the above design, the first access network device can enable the core network device to verify the first access network device according to the first public network identifier and the private network identifier by reporting the first public network identifier and at least one private network identifier that depends on the first public network.

在一种可能的设计中,私网的标识包括公网的网络标识PLMN ID和封闭接入组的标识CAG ID。In a possible design, the private network identifier includes the public network network identifier PLMN ID and the closed access group identifier CAG ID.

在一种可能的设计中,私网的标识包括PLMN ID和网络识别码(networkidentification,NID)。In a possible design, the identifier of the private network includes a PLMN ID and a network identification code (network identification, NID).

在一种可能的设计中,核心网设备基于私网信息以及终端设备的私网签约信息进行验证,包括:若私网信息中至少一个私网标识属于私网签约信息,则验证通过;或者,若私网信息中私网标识不属于私网签约信息,则验证不通过。上述设计中,在私网信息中私网标识不属于私网签约信息,核心网设备可以确定第一接入网设备不具备终端设备的签约小区的接入条件,从而可以判定第一接入网设备验证不通过。In one possible design, the core network device performs verification based on the private network information and the private network contract information of the terminal device, including: if at least one private network identifier in the private network information belongs to the private network contract information, the verification is successful; or, if the private network identifier in the private network information does not belong to the private network contract information, the verification fails. In the above design, if the private network identifier in the private network information does not belong to the private network contract information, the core network device can determine that the first access network device does not have the access conditions for the contracted cell of the terminal device, and thus can determine that the first access network device fails the verification.

在一种可能的设计中,在核心网设备接收来自第一接入网设备的私网信息之后,还包括:私网信息中私网标识不属于私网签约信息,则核心网设备向第一接入网设备发送释放消息,释放消息用于指示第一接入网设备释放与终端设备之间的RRC连接。上述设计,在第一接入网设备验证不通过时,通过释放消息可以及时的释放资源,从而可以提高资源利用率。In one possible design, after the core network device receives the private network information from the first access network device, it also includes: if the private network identifier in the private network information does not belong to the private network contract information, the core network device sends a release message to the first access network device, and the release message is used to instruct the first access network device to release the RRC connection between the first access network device and the terminal device. In the above design, when the first access network device fails the verification, the resources can be released in time through the release message, thereby improving resource utilization.

在一种可能的设计中,释放消息携带第一指示信息,第一指示信息用于指示释放终端设备的原因和/或路径转换失败的原因与私网签约信息相关。通过上述设计,可以使得第一接入网设备获取路径转换失败的原因,从而可以有利于数据统计。In one possible design, the release message carries first indication information, and the first indication information is used to indicate that the reason for releasing the terminal device and/or the reason for the path switching failure is related to the private network contract information. Through the above design, the first access network device can obtain the reason for the path switching failure, which can be beneficial to data statistics.

在一种可能的设计中,第一指示信息包括如下至少一种:无效的私网标识;不支持的私网标识;不在私网签约范围内;不合理的私网接入。通过上述设计,第一接入网设备可以比较准确的获取路径转换失败的原因。In one possible design, the first indication information includes at least one of the following: invalid private network identification; unsupported private network identification; not within the private network contract scope; unreasonable private network access. Through the above design, the first access network device can more accurately obtain the reason for the path conversion failure.

第二方面,本申请实施例提供了一种私网签约信息更新方法,包括:第一接入网设备恢复与终端设备之间的RRC连接;所述第一接入网设备向核心网设备发送私网信息,私网信息包括第一接入网设备与终端设备恢复RRC连接的小区所支持的至少一个私网的标识。本申请实施例中,对INACTIVE态UE更新私网签约信息中遇到源小区和/或目标小区不在私网签约信息中的情况,提供了一种解决方案,从而可以完善处于INACTIVE状态的终端设备的私网签约信息的更新流程。On the second aspect, an embodiment of the present application provides a method for updating private network contract information, including: a first access network device restores an RRC connection with a terminal device; the first access network device sends private network information to a core network device, the private network information including an identifier of at least one private network supported by a cell in which the first access network device and the terminal device restore an RRC connection. In an embodiment of the present application, a solution is provided for a situation in which an INACTIVE UE encounters a situation in which the source cell and/or the target cell are not in the private network contract information when updating private network contract information, thereby improving the process of updating private network contract information for a terminal device in an INACTIVE state.

在一种可能的设计中,至少一个私网依赖于第一公网,第一公网为终端设备选择的目标网络所依赖的公共网络。上述设计中,第一接入网设备通过上报第一公网下的私网标识,可以使得核心网设备根据该私网标识验证第一接入网设备。In one possible design, at least one private network depends on a first public network, and the first public network is a public network on which a target network selected by a terminal device depends. In the above design, the first access network device reports a private network identifier under the first public network, so that the core network device can verify the first access network device according to the private network identifier.

在一种可能的设计中,私网的标识包括公网的网络标识PLMN ID和封闭接入组的标识CAG ID。In a possible design, the private network identifier includes the public network network identifier PLMN ID and the closed access group identifier CAG ID.

在一种可能的设计中,私网的标识包括PLMN ID和NID。In one possible design, the private network identifier includes a PLMN ID and a NID.

在一种可能的设计中,在第一接入网设备向核心网设备发送私网信息之后,方法还包括:第一接入网设备接收终端设备的私网签约信息。上述设计中,第一接入网设备在验证通过后可以获取到终端设备的私网签约信息。In one possible design, after the first access network device sends the private network information to the core network device, the method further includes: the first access network device receives the private network subscription information of the terminal device. In the above design, the first access network device can obtain the private network subscription information of the terminal device after verification.

在一种可能的设计中,在第一接入网设备向核心网设备发送私网信息之后,方法还包括:第一接入网设备接收来自核心网设备的释放消息,释放消息用于指示第一接入网设备释放与终端设备之间的RRC连接。上述设计,在第一接入网设备验证不通过时,通过释放消息可以及时的释放资源,从而可以提高资源利用率。In one possible design, after the first access network device sends the private network information to the core network device, the method further includes: the first access network device receives a release message from the core network device, the release message is used to instruct the first access network device to release the RRC connection between the first access network device and the terminal device. In the above design, when the first access network device fails the verification, the release message can release the resources in time, thereby improving the resource utilization.

在一种可能的设计中,释放消息携带第一指示信息,第一指示信息用于指示释放终端设备的原因和/或路径转换失败的原因与私网签约信息相关。通过上述设计,可以使得第一接入网设备获取路径转换失败的原因,从而可以有利于数据统计。In one possible design, the release message carries first indication information, and the first indication information is used to indicate that the reason for releasing the terminal device and/or the reason for the path switching failure is related to the private network contract information. Through the above design, the first access network device can obtain the reason for the path switching failure, which can be beneficial to data statistics.

在一种可能的设计中,第一指示信息包括如下至少一种:无效的私网标识;不支持的私网标识;不在私网签约范围内;不合理的私网接入。通过上述设计,第一接入网设备可以比较准确的获取路径转换失败的原因。In one possible design, the first indication information includes at least one of the following: invalid private network identification; unsupported private network identification; not within the private network contract scope; unreasonable private network access. Through the above design, the first access network device can more accurately obtain the reason for the path conversion failure.

第三方面,本申请实施例提供了一种私网签约信息更新方法,包括:第二接入网设备接收来自第一接入网设备的第三消息,第三消息用于向第二接入网设备请求终端设备的上下文信息。若第二接入网设备以及第一接入网设备中至少一个接入网设备不属于私网签约信息指示的签约小区,第二接入网设备向第一接入网设备发送第四消息,第四消息用于指示第一接入网设备获取上下文信息失败,第四消息携带指示信息,指示信息用于指示获取上下文信息失败的原因与私网签约信息相关。In a third aspect, an embodiment of the present application provides a method for updating private network contract information, including: a second access network device receives a third message from a first access network device, and the third message is used to request context information of a terminal device from the second access network device. If at least one of the second access network device and the first access network device does not belong to a contracted cell indicated by the private network contract information, the second access network device sends a fourth message to the first access network device, and the fourth message is used to indicate that the first access network device fails to obtain the context information. The fourth message carries indication information, and the indication information is used to indicate that the reason for the failure to obtain the context information is related to the private network contract information.

本申请实施例引入了一种解决方案,第一接入网设备向第二接入网设备获取上下文失败时,第一接入网设备触发RRC建立过程。或者第一接入网设备获取上下文成功,触发RRC恢复过程。对通信协议的完整性做了补充,从而可以解决私网签约信息中无法完成更新的问题。The embodiment of the present application introduces a solution. When the first access network device fails to obtain the context from the second access network device, the first access network device triggers the RRC establishment process. Or the first access network device successfully obtains the context and triggers the RRC recovery process. The integrity of the communication protocol is supplemented, so that the problem that the private network contract information cannot be updated can be solved.

在一种可能的设计中,第一指示信息包括如下至少一种:无效的私网标识;不支持的私网标识;不在私网签约范围内;不合理的私网接入。通过上述设计,第一接入网设备可以比较准确的获取路径转换失败的原因。In one possible design, the first indication information includes at least one of the following: invalid private network identification; unsupported private network identification; not within the private network contract scope; unreasonable private network access. Through the above design, the first access network device can more accurately obtain the reason for the path conversion failure.

第四方面,本申请实施例提供了一种私网签约信息更新方法,包括:第一接入网设备向第二接入网设备发送第三消息,第三消息用于向第二接入网设备请求终端设备的上下文信息;第一接入网设备接收来自第二接入网设备的第四消息,第四消息用于指示第一接入网设备获取上下文信息失败,第四消息携带指示信息,指示信息用于指示获取上下文信息失败的原因与私网签约信息相关。本申请实施例引入了一种解决方案,第一接入网设备向第二接入网设备获取上下文失败时,第一接入网设备触发RRC建立过程。或者第一接入网设备获取上下文成功,触发RRC恢复过程。对通信协议的完整性做了补充,从而可以解决私网签约信息中无法完成更新的问题。In the fourth aspect, an embodiment of the present application provides a method for updating private network contract information, comprising: a first access network device sends a third message to a second access network device, the third message is used to request context information of a terminal device from the second access network device; the first access network device receives a fourth message from the second access network device, the fourth message is used to indicate that the first access network device has failed to obtain context information, and the fourth message carries indication information, and the indication information is used to indicate that the reason for the failure to obtain context information is related to the private network contract information. An embodiment of the present application introduces a solution, when the first access network device fails to obtain context from the second access network device, the first access network device triggers an RRC establishment process. Or the first access network device successfully obtains the context and triggers an RRC recovery process. The integrity of the communication protocol is supplemented, so that the problem that the update of private network contract information cannot be completed can be solved.

在一种可能的设计中,第一指示信息包括如下至少一种:无效的私网标识;不支持的私网标识;不在私网签约范围内;不合理的私网接入。通过上述设计,第一接入网设备可以比较准确的获取路径转换失败的原因。In one possible design, the first indication information includes at least one of the following: invalid private network identification; unsupported private network identification; not within the private network contract scope; unreasonable private network access. Through the above design, the first access network device can more accurately obtain the reason for the path conversion failure.

第五方面,本申请实施例提供了一种私网签约信息更新方法,包括:核心网设备确定第二接入网设备不属于终端设备的签约小区,第二接入网设备为终端设备在进入非激活态之前最后为终端设备提供服务的接入网设备;核心网设备向第二接入网设备发送第一消息,第一消息用于指示第二接入网设备释放终端设备的上下文信息。In the fifth aspect, an embodiment of the present application provides a method for updating private network contract information, including: the core network device determines that the second access network device does not belong to the contract cell of the terminal device, and the second access network device is the access network device that last provided services to the terminal device before entering an inactive state; the core network device sends a first message to the second access network device, and the first message is used to instruct the second access network device to release the context information of the terminal device.

本申请实施例引入了一种解决方案:AMF在第一接入网设备不属于私网签约信息时发起RRC释放,使得INACTIVE UE可以完成NPN签约信息更新,并且可以提高资源利用率。An embodiment of the present application introduces a solution: AMF initiates RRC release when the first access network device does not belong to the private network subscription information, so that the INACTIVE UE can complete the NPN subscription information update and improve resource utilization.

在一种可能的设计中,第一消息携带第一指示信息,第一指示信息用于指示释放上下文信息的原因与私网签约信息相关。通过上述设计,可以使得第一接入网设备获取路径转换失败的原因,从而可以有利于数据统计。In a possible design, the first message carries first indication information, and the first indication information is used to indicate that the reason for releasing the context information is related to the private network contract information. Through the above design, the first access network device can obtain the reason for the failure of the path conversion, which can be beneficial to data statistics.

在一种可能的设计中,第一指示信息包括如下至少一种:无效的私网标识;不支持的私网标识;不在私网签约范围内;不合理的私网接入。通过上述设计,第一接入网设备可以比较准确的获取路径转换失败的原因。In one possible design, the first indication information includes at least one of the following: invalid private network identification; unsupported private network identification; not within the private network contract scope; unreasonable private network access. Through the above design, the first access network device can more accurately obtain the reason for the path conversion failure.

在一种可能的设计中,在核心网设备向第二接入网设备发送第一消息之后,方法还包括:核心网设备接收来自第二接入网设备的第二信息,第二信息用于指示终端设备基于接入网的通知区(RAN-Based notification area,RNA)信息。上述设计中,第二接入网设备通过UE的RNA,以便于AMF在RNA内发起CN寻呼,相比于在跟踪区标识(tracking areaidentity,TAI)列表(TAI List)里寻呼节约大量开销。In one possible design, after the core network device sends the first message to the second access network device, the method further includes: the core network device receives second information from the second access network device, the second information is used to indicate the access network-based notification area (RAN-Based notification area, RNA) information of the terminal device. In the above design, the second access network device uses the RNA of the UE to facilitate the AMF to initiate CN paging in the RNA, which saves a lot of overhead compared to paging in the tracking area identity (TAI) list (TAI List).

在一种可能的设计中,在核心网设备接收来自第二接入网设备的第二信息之后,方法还包括:核心网设备在第二信息指示的RNA范围内发送寻呼消息。In one possible design, after the core network device receives the second information from the second access network device, the method further includes: the core network device sends a paging message within the RNA range indicated by the second information.

在一种可能的设计中,在核心网设备向接入网设备发送第一消息之前,方法还包括:核心网设备接收来自接入网设备的第二消息,第二消息用于指示终端设备处于非激活态。In one possible design, before the core network device sends a first message to the access network device, the method also includes: the core network device receives a second message from the access network device, and the second message is used to indicate that the terminal device is in an inactivated state.

第六方面,本申请实施例提供了一种私网签约信息更新方法,包括:第二接入网设备接收来自核心网设备的第一消息,第一消息携带终端设备更新后的私网签约信息;第二接入网设备向第一接入网设备发送寻呼消息,寻呼消息携带指示信息,指示信息用于指示第一接入网设备不属于私网签约信息指示的签约小区。In the sixth aspect, an embodiment of the present application provides a method for updating private network contract information, including: a second access network device receives a first message from a core network device, the first message carries the updated private network contract information of the terminal device; the second access network device sends a paging message to the first access network device, the paging message carries indication information, and the indication information is used to indicate that the first access network device does not belong to the contracted cell indicated by the private network contract information.

本申请实施例提供了一种解决方案:第二接入网设备对于仍在新的私网签约信息中的小区以及不在新的私网签约信息中的小区进行区别对待,从而不在新的私网签约信息中的小区可以触发UE发起RRC建立过程,从而INACTIVE UE可以完成私网签约信息更新。An embodiment of the present application provides a solution: the second access network device treats cells that are still in the new private network contract information and cells that are not in the new private network contract information differently, so that the cells that are not in the new private network contract information can trigger the UE to initiate the RRC establishment process, so that the INACTIVE UE can complete the update of the private network contract information.

在一种可能的设计中,指示信息为终端设备的非接入层用户标识。In one possible design, the indication information is a non-access layer user identifier of the terminal device.

在一种可能的设计中,非接入层用户标识为S-临时移动用户标识(SAE-temporarymobile subscriber identity,S-TMSI)。In a possible design, the non-access stratum user identifier is an S-temporary mobile subscriber identity (SAE-temporary mobile subscriber identity, S-TMSI).

第七方面,本申请实施例提供了一种私网签约信息更新方法,包括:第一接入网设备接收来自第二接入网设备的第一寻呼消息,第一寻呼消息携带指示信息,指示信息用于指示第一接入网设备不属于私网签约信息指示的签约小区。第一接入网设备发送第二寻呼消息,第二寻呼消息用于触发终端设备与第一接入网设备建立RRC连接。In a seventh aspect, an embodiment of the present application provides a method for updating private network contract information, including: a first access network device receives a first paging message from a second access network device, the first paging message carries indication information, and the indication information is used to indicate that the first access network device does not belong to a contract cell indicated by the private network contract information. The first access network device sends a second paging message, and the second paging message is used to trigger the terminal device to establish an RRC connection with the first access network device.

本申请实施例提供了一种解决方案:第二接入网设备对于仍在新的私网签约信息中的小区以及不在新的私网签约信息中的小区进行区别对待,从而不在新的私网签约信息中的小区可以触发UE发起RRC建立过程,从而INACTIVE UE可以完成私网签约信息更新。An embodiment of the present application provides a solution: the second access network device treats cells that are still in the new private network contract information and cells that are not in the new private network contract information differently, so that the cells that are not in the new private network contract information can trigger the UE to initiate the RRC establishment process, so that the INACTIVE UE can complete the update of the private network contract information.

在一种可能的设计中,指示信息为终端设备的非接入层用户标识。In one possible design, the indication information is a non-access layer user identifier of the terminal device.

在一种可能的设计中,非接入层用户标识为S-TMSI。In one possible design, the non-access stratum user identifier is S-TMSI.

第八方面,本申请实施例提供了一种私网签约信息更新方法,包括:接入网设备接收来自核心网设备的第一消息,第一消息携带终端设备更新后的私网签约信息;接入网设备发送第二消息,第二消息用于触发终端设备恢复无线资源控制连接;接入网设备接收来自终端设备的第三消息,第三消息用于请求恢复RRC连接;接入网设备确定接入网设备不属于私网签约信息指示的签约小区;接入网设备恢复或者重新建立与终端设备之间的RRC连接;接入网设备向终端设备发送私网签约信息。In an eighth aspect, an embodiment of the present application provides a method for updating private network contract information, including: an access network device receives a first message from a core network device, the first message carrying the updated private network contract information of a terminal device; the access network device sends a second message, the second message is used to trigger the terminal device to restore the wireless resource control connection; the access network device receives a third message from the terminal device, the third message is used to request restoration of the RRC connection; the access network device determines that the access network device does not belong to the contracted cell indicated by the private network contract information; the access network device restores or re-establishes the RRC connection with the terminal device; the access network device sends the private network contract information to the terminal device.

本申请实施例,针对源小区和目标小区是相同基站,目标小区不在新的私网签约信息中的情况,引入了一种解决方案:该基站忽略新的私网签约信息,让UE完成RRC恢复,完成新的私网签约信息更新。In an embodiment of the present application, a solution is introduced for the situation where the source cell and the target cell are the same base station and the target cell is not in the new private network contract information: the base station ignores the new private network contract information, allows the UE to complete RRC recovery, and completes the update of the new private network contract information.

第九方面,本申请提供一种私网签约信息更新装置,该装置可以是核心网设备,也可以是核心网设备内的芯片或芯片组。该装置可以包括处理单元和收发单元。当该装置是核心网设备时,该处理单元可以是处理器,该收发单元可以是收发器;该装置还可以包括存储单元,该存储单元可以是存储器;该存储单元用于存储指令,该处理单元执行该存储单元所存储的指令,以使核心网设备执行上述第一方面或第五方面中相应的功能。当该装置是核心网设备内的芯片或芯片组、或者网络设备内的芯片或芯片组时,该处理单元可以是处理器,该收发单元可以是输入/输出接口、管脚或电路等;该处理单元执行存储单元所存储的指令,以使核心网设备执行上述第一方面或第五方面中相应的功能,该存储单元可以是该芯片或芯片组内的存储单元(例如,寄存器、缓存等),也可以是该通信设备内的位于该芯片或芯片组外部的存储单元(例如,只读存储器、随机存取存储器等)。In the ninth aspect, the present application provides a private network subscription information update device, which may be a core network device, or a chip or chipset in the core network device. The device may include a processing unit and a transceiver unit. When the device is a core network device, the processing unit may be a processor, and the transceiver unit may be a transceiver; the device may also include a storage unit, and the storage unit may be a memory; the storage unit is used to store instructions, and the processing unit executes the instructions stored in the storage unit so that the core network device performs the corresponding functions in the first aspect or the fifth aspect above. When the device is a chip or chipset in a core network device, or a chip or chipset in a network device, the processing unit may be a processor, and the transceiver unit may be an input/output interface, a pin or a circuit, etc.; the processing unit executes the instructions stored in the storage unit so that the core network device performs the corresponding functions in the first aspect or the fifth aspect above, and the storage unit may be a storage unit in the chip or chipset (for example, a register, a cache, etc.), or a storage unit in the communication device located outside the chip or chipset (for example, a read-only memory, a random access memory, etc.).

第十方面,本申请提供一种私网签约信息更新装置,该装置可以是接入网设备,也可以是接入网设备内的芯片或芯片组。该装置可以包括处理单元和收发单元。当该装置是接入网设备时,该处理单元可以是处理器,该收发单元可以是收发器;该装置还可以包括存储单元,该存储单元可以是存储器;该存储单元用于存储指令,该处理单元执行该存储单元所存储的指令,以使接入网设备执行上述第二方面或第三方面或第四方面或第六方面或第七方面或第八方面中相应的功能。当该装置是接入网设备内的芯片或芯片组时,该处理单元可以是处理器,该收发单元可以是输入/输出接口、管脚或电路等;该处理单元执行存储单元所存储的指令,以使接入网设备执行上述第二方面或第三方面或第四方面或第六方面或第七方面或第八方面中相应的功能,该存储单元可以是该芯片或芯片组内的存储单元(例如,寄存器、缓存等),也可以是该通信设备内的位于该芯片或芯片组外部的存储单元(例如,只读存储器、随机存取存储器等)。In the tenth aspect, the present application provides a private network contract information update device, which may be an access network device, or a chip or chipset in the access network device. The device may include a processing unit and a transceiver unit. When the device is an access network device, the processing unit may be a processor, and the transceiver unit may be a transceiver; the device may also include a storage unit, which may be a memory; the storage unit is used to store instructions, and the processing unit executes the instructions stored in the storage unit to enable the access network device to perform the corresponding functions in the second aspect or the third aspect or the fourth aspect or the sixth aspect or the seventh aspect or the eighth aspect. When the device is a chip or chipset in an access network device, the processing unit may be a processor, and the transceiver unit may be an input/output interface, a pin or a circuit, etc.; the processing unit executes instructions stored in the storage unit so that the access network device performs the corresponding functions in the second aspect or the third aspect or the fourth aspect or the sixth aspect or the seventh aspect or the eighth aspect mentioned above, and the storage unit may be a storage unit in the chip or chipset (for example, a register, a cache, etc.), or may be a storage unit in the communication device that is located outside the chip or chipset (for example, a read-only memory, a random access memory, etc.).

第十一方面,提供了一种装置,包括:处理器、通信接口和存储器。通信接口用于该装置与其他装置之间传输信息、和/或消息、和/或数据。该存储器用于存储计算机执行指令,当该装置运行时,该处理器执行该存储器存储的该计算机执行指令,以使该装置执行如上述第一方面或第五方面任一方面所述的方法。In an eleventh aspect, a device is provided, comprising: a processor, a communication interface, and a memory. The communication interface is used to transmit information, and/or messages, and/or data between the device and other devices. The memory is used to store computer-executable instructions, and when the device is running, the processor executes the computer-executable instructions stored in the memory, so that the device executes the method as described in any one of the first aspect or the fifth aspect.

第十二方面,提供了一种装置,包括:处理器、通信接口和存储器。通信接口用于该装置与其他装置之间传输信息、和/或消息、和/或数据。该存储器用于存储计算机执行指令,当该装置运行时,该处理器执行该存储器存储的该计算机执行指令,以使该装置执行如上述第二方面或第三方面或第四方面或第六方面或第七方面或第八方面任一方面所述的方法。In a twelfth aspect, a device is provided, comprising: a processor, a communication interface and a memory. The communication interface is used to transmit information, and/or messages, and/or data between the device and other devices. The memory is used to store computer-executable instructions, and when the device is running, the processor executes the computer-executable instructions stored in the memory, so that the device executes the method described in any one of the second aspect, the third aspect, the fourth aspect, the sixth aspect, the seventh aspect or the eighth aspect.

第十三方面,本申请还提供一种通信系统,该系统包括上述第一方面的任一实施例中的核心网设备,以及上述第二方面的任一实施例中的第一接入网设备。In a thirteenth aspect, the present application also provides a communication system, which includes a core network device in any embodiment of the above-mentioned first aspect, and a first access network device in any embodiment of the above-mentioned second aspect.

第十四方面,本申请还提供一种通信系统,该系统包括上述第三方面的任一实施例中的第二接入网设备,以及上述第四方面的任一实施例中的第一接入网设备。In a fourteenth aspect, the present application also provides a communication system, which includes the second access network device in any embodiment of the third aspect mentioned above, and the first access network device in any embodiment of the fourth aspect mentioned above.

第十五方面,本申请还提供一种通信系统,该系统包括上述第五方面的任一实施例中的核心网设备。In a fifteenth aspect, the present application also provides a communication system, which includes a core network device in any embodiment of the fifth aspect above.

第十六方面,本申请还提供一种通信系统,该系统包括上述第六方面的任一实施例中的第二接入网设备,以及上述第七方面的任一实施例中的第一接入网设备。In the sixteenth aspect, the present application also provides a communication system, which includes the second access network device in any embodiment of the above-mentioned sixth aspect, and the first access network device in any embodiment of the above-mentioned seventh aspect.

第十七方面,本申请还提供一种通信系统,该系统包括上述第八方面的任一实施例中的接入网设备。In the seventeenth aspect, the present application also provides a communication system, which includes the access network device in any embodiment of the above-mentioned eighth aspect.

第十八方面,本申请还提供一种计算机可读存储介质,所述计算机可读存储介质中存储有指令,当其在计算机上运行时,使得计算机执行上述第一方面或第五方面所述的方法。In the eighteenth aspect, the present application also provides a computer-readable storage medium, wherein the computer-readable storage medium stores instructions, which, when executed on a computer, enables the computer to execute the method described in the first aspect or the fifth aspect above.

第十九方面,本申请还提供一种计算机可读存储介质,所述计算机可读存储介质中存储有指令,当其在计算机上运行时,使得计算机执行上述第二方面或第三方面或第四方面或第六方面或第七方面或第八方面所述的方法。In the nineteenth aspect, the present application also provides a computer-readable storage medium, wherein instructions are stored in the computer-readable storage medium, which, when executed on a computer, enables the computer to execute the method described in the second aspect, the third aspect, the fourth aspect, the sixth aspect, the seventh aspect, or the eighth aspect above.

第二十方面,本申请还提供一种包括指令的计算机程序产品,当其在计算机上运行时,使得计算机执行上述第一方面或第五方面所述的方法。In the twentieth aspect, the present application also provides a computer program product comprising instructions, which, when executed on a computer, enables the computer to execute the method described in the first or fifth aspect above.

第二十一方面,本申请还提供一种包括指令的计算机程序产品,当其在计算机上运行时,使得计算机执行上述第二方面或第三方面或第四方面或第六方面或第七方面或第八方面所述的方法。In the twenty-first aspect, the present application also provides a computer program product comprising instructions, which, when executed on a computer, enables the computer to execute the method described in the second aspect, the third aspect, the fourth aspect, the sixth aspect, the seventh aspect, or the eighth aspect above.

附图说明BRIEF DESCRIPTION OF THE DRAWINGS

图1为本申请实施例提供的一种终端设备三种状态的转换示意图;FIG1 is a schematic diagram of the transition between three states of a terminal device provided in an embodiment of the present application;

图2为本申请实施例提供的一种通信系统的架构示意图;FIG2 is a schematic diagram of the architecture of a communication system provided in an embodiment of the present application;

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

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

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

图6为本申请实施例提供的一种私网签约信息更新方法的流程示意图;FIG6 is a flow chart of a method for updating private network contract information provided in an embodiment of the present application;

图7为本申请实施例提供的一种私网签约信息更新流程的示意图;FIG7 is a schematic diagram of a private network contract information update process provided in an embodiment of the present application;

图8为本申请实施例提供的一种私网签约信息更新流程的示意图;FIG8 is a schematic diagram of a private network contract information update process provided in an embodiment of the present application;

图9为本申请实施例提供的一种私网签约信息更新流程的示意图;FIG9 is a schematic diagram of a private network contract information update process provided in an embodiment of the present application;

图10为本申请实施例提供的一种私网签约信息更新流程的示意图;FIG10 is a schematic diagram of a private network contract information update process provided in an embodiment of the present application;

图11为本申请实施例提供的一种私网签约信息更新流程的示意图;FIG11 is a schematic diagram of a private network contract information update process provided in an embodiment of the present application;

图12为本申请实施例提供的一种私网签约信息更新流程的示意图;FIG12 is a schematic diagram of a private network contract information update process provided in an embodiment of the present application;

图13为本申请实施例提供的一种私网签约信息更新流程的示意图;FIG13 is a schematic diagram of a private network contract information update process provided in an embodiment of the present application;

图14为本申请实施例提供的一种私网签约信息更新装置的示意图;FIG14 is a schematic diagram of a private network contract information updating device provided in an embodiment of the present application;

图15为本申请实施例提供的一种私网签约信息更新装置的示意图。FIG15 is a schematic diagram of a private network contract information updating device provided in an embodiment of the present application.

具体实施方式Detailed ways

为了方便理解本申请实施例,下面介绍与本申请实施例相关的术语:To facilitate understanding of the embodiments of the present application, the following terms related to the embodiments of the present application are introduced:

1、公网1. Public network

日常生活中为终端设备提供网络服务的一般是公网。公网,即公共陆地移动网络(public land mobile network,PLMN),由政府或它所批准的经营者,为公众提供陆地移动通信业务目的而建立和经营的网络。该网络通常与公众交换电话网络(public switchedtelephone network,PSTN)互连,形成整个地区或国家规模的通信网。In daily life, the public network generally provides network services for terminal devices. The public network, namely the public land mobile network (PLMN), is a network established and operated by the government or its approved operators to provide land mobile communication services to the public. This network is usually interconnected with the public switched telephone network (PSTN) to form a communication network on a regional or national scale.

可以用不同的PLMN标识(identification,ID)来区分不同的PLMN网络。PLMN标识由移动国家号码(mobile contrary code,MCC)和移动网号(mobile net code,MNC)组成。其中,MCC唯一表示移动用户的所属国家,例如中国的MCC为460。MNC唯一表示该国家中的网络,例如中国移动的MNC为00,中国联通的MNC为01。Different PLMN networks can be distinguished by different PLMN identifications (IDs). PLMN identifications consist of a mobile country code (MCC) and a mobile network code (MNC). MCC uniquely indicates the country to which the mobile user belongs, for example, China's MCC is 460. MNC uniquely indicates the network in that country, for example, China Mobile's MNC is 00 and China Unicom's MNC is 01.

2、私网2. Private network

除了公网,出于某些目的,运营商或者私人也会搭建一些私网(non-publicnetworks,NPN)来满足用户的需求。私网也可以被称作非公网络,是指对特定用户开放的网络,例如公司、学校或者工厂搭建的内部网络。未与私网签约的终端设备不允许接入私网。私网又分为非独立私网和独立私网。In addition to the public network, for some purposes, operators or individuals will also build some private networks (non-public networks, NPN) to meet the needs of users. Private networks can also be called non-public networks, which refer to networks open to specific users, such as internal networks built by companies, schools or factories. Terminal devices that have not signed contracts with private networks are not allowed to access private networks. Private networks are divided into non-independent private networks and independent private networks.

(1)非独立私网(1) Non-independent private network

非独立私网(non-stand-alone non-public network,NSA-NPN,或者publicnetwork integrated non-public network,PNI-NPN)用到的网络资源是公网的一部分。也可以说非独立私网依赖于(rely on)公网,非独立私网也被称为封闭接入组(closedaccess group,CAG)。非独立私网的标识包括两部分,分别是PLMN ID和CAG ID,其中,非独立私网的PLMN ID和所依赖的公网一致。而对于依赖于同一个公网下的多个非独立私网,每个非独立私网的CAG ID是唯一的,也就是说,对于依赖于同一个公网的多个非独立私网,可以仅通过CAG ID进行区分。The network resources used by the non-stand-alone non-public network (NSA-NPN, or public network integrated non-public network, PNI-NPN) are part of the public network. It can also be said that the non-stand-alone private network depends on the public network. The non-stand-alone private network is also called a closed access group (CAG). The identification of the non-stand-alone private network includes two parts, namely the PLMN ID and the CAG ID. The PLMN ID of the non-stand-alone private network is consistent with the public network it depends on. For multiple non-stand-alone private networks that rely on the same public network, the CAG ID of each non-stand-alone private network is unique. In other words, multiple non-stand-alone private networks that rely on the same public network can be distinguished only by the CAG ID.

例如,非独立私网#1的标识可以表示为:PLMN#1CAG#1;For example, the identifier of the non-independent private network #1 may be represented as: PLMN #1 CAG #1;

非独立私网#2的标识可以表示为:PLMN#1CAG#2。The identifier of the non-independent private network #2 can be expressed as: PLMN#1CAG#2.

也就是说,非独立私网#1和非独立私网#2均是依赖于标识为PLMN#1的公网所搭建的私网。在一些场合下,可以仅通过CAG#1和CAG#2对上述两个私网进行区分。That is, both the non-independent private network #1 and the non-independent private network #2 are private networks built by relying on the public network identified as PLMN #1. In some cases, the two private networks can be distinguished only by CAG #1 and CAG #2.

根据当前的通信协议,因为CAG网络使用公网资源,所以终端设备可以在CAG网络和公网之间切换和小区重选。切换是指连接态的终端设备在基站的控制下,从当前服务小区断开连接,与目标小区进行连接。小区重选是指当空闲态/去激活态的终端设备驻留在一个小区后,随着终端设备的移动,终端设备可能需要更换到另一个更高优先级或更好信号的小区驻留,这就是小区重选过程。According to the current communication protocol, because the CAG network uses public network resources, the terminal device can switch between the CAG network and the public network and reselect the cell. Switching means that the terminal device in the connected state disconnects from the current service cell and connects to the target cell under the control of the base station. Cell reselection means that when the terminal device in the idle state/deactivated state resides in a cell, as the terminal device moves, the terminal device may need to switch to another cell with higher priority or better signal to reside. This is the cell reselection process.

(2)独立私网(2) Independent private network

独立私网(stand-alone non-public Network,SNPN)指的是可以不依赖公网的网络功能的私网。类似地,独立私网的标识也分两部分,分别是PLMN ID和NID。对于依赖于公网的独立私网,其PLMN ID和所依赖的公网一致,对于不依赖于公网(例如可以是企业自己部署)的独立私网,其PLMN ID的MCC是999。而对于依赖于同一个公网下的多个独立私网,每个非独立私网的NID是唯一的,也就是说,对于依赖于同一个公网的多个独立私网,可以仅通过NID进行区分。A stand-alone non-public network (SNPN) refers to a private network that does not rely on the network functions of the public network. Similarly, the identification of an independent private network is also divided into two parts, namely the PLMN ID and the NID. For an independent private network that relies on the public network, its PLMN ID is consistent with the public network it relies on. For an independent private network that does not rely on the public network (for example, it can be deployed by the enterprise itself), the MCC of its PLMN ID is 999. For multiple independent private networks that rely on the same public network, the NID of each non-independent private network is unique. In other words, multiple independent private networks that rely on the same public network can be distinguished only by the NID.

例如,独立私网#1的标识可以表示为:PLMN#1NID#1;For example, the identifier of the independent private network #1 can be expressed as: PLMN #1 NID #1;

独立私网#2的标识可以表示为:PLMN#1NID#2;The identifier of the independent private network #2 can be expressed as: PLMN#1NID#2;

独立私网#3的标识可以表示为:PLMN#3(MCC=999)NID#1。The identifier of the independent private network #3 can be expressed as: PLMN #3 (MCC=999) NID #1.

也就是说,独立私网#1和独立私网#2均是依赖于标识为PLMN#1的公网所搭建的私网。在一些场合下,可以仅通过NID#1和NID#2对上述两个私网进行区分。That is, both the independent private network #1 and the independent private network #2 are private networks built by relying on the public network identified as PLMN #1. In some cases, the two private networks can be distinguished only by NID #1 and NID #2.

此外,独立私网#3的PLMN ID的MCC为999,说明独立私网#3是不借助于运营商由企业等自己部署的独立私网。In addition, the MCC of the PLMN ID of the independent private network #3 is 999, indicating that the independent private network #3 is an independent private network deployed by the enterprise itself without the help of an operator.

作为一种可能的方式,独立私网不支持终端设备在独立私网和公网、非独立私网以及其他的独立私网之间的切换和小区重选,即连接态的终端设备无法从独立私网小区切换到公网小区、非独立私网小区以及其他独立私网小区,反之亦然;空闲态/去激活态的终端设备无法从独立私网小区重选到公网小区,反之亦然。可以理解的,作为另一种可能的实现方式,独立私网可以支持终端设备在独立私网和公网、非独立私网以及其他的独立私网之间的切换和小区重选。As a possible way, the independent private network does not support the switching and cell reselection of terminal devices between the independent private network and the public network, the non-independent private network and other independent private networks, that is, the terminal devices in the connected state cannot switch from the independent private network cell to the public network cell, the non-independent private network cell and other independent private network cells, and vice versa; the terminal devices in the idle state/deactivated state cannot reselect from the independent private network cell to the public network cell, and vice versa. It can be understood that as another possible implementation method, the independent private network can support the switching and cell reselection of terminal devices between the independent private network and the public network, the non-independent private network and other independent private networks.

3、终端设备的RRC状态3. RRC status of terminal equipment

在NR中,UE的RRC状态包括连接态(RRC_CONNECTED),去激活态或者第三态(RRC_INACTIVE),空闲态(RRC_IDLE),其中UE处于RRC_CONNECTED状态时,UE与基站以及核心网都已建立链路,当有数据到达网络时可以直接传送到UE;当UE处于RRC_INACTIVE状态时,表示UE之前和基站以及核心网建立过链路,但是UE到基站这一段链路被释放了,虽然链路被释放了,但是基站会存储UE的上下文,当有数据需要传输时,基站可以及时恢复这段链路;当UE处于RRC_IDLE状态时,UE与基站和网络之间都没有链路,当有数据需要传输时,需要建立UE到基站及核心网的链路。三种状态的转换如图1所示。In NR, the RRC state of UE includes connected state (RRC_CONNECTED), deactivated state or the third state (RRC_INACTIVE), and idle state (RRC_IDLE). When the UE is in the RRC_CONNECTED state, the UE has established links with the base station and the core network. When data arrives at the network, it can be directly transmitted to the UE; when the UE is in the RRC_INACTIVE state, it means that the UE has previously established links with the base station and the core network, but the link from the UE to the base station has been released. Although the link has been released, the base station will store the UE's context. When there is data to be transmitted, the base station can restore this link in time; when the UE is in the RRC_IDLE state, there is no link between the UE and the base station and the network. When there is data to be transmitted, it is necessary to establish a link from the UE to the base station and the core network. The transition of the three states is shown in Figure 1.

4、签约信息4. Contract information

签约信息指的是终端设备跟运营商或者其它搭建网络的公司签订的用户准入信息。如果终端设备签约后,就可以根据签约信息里网络标识访问相应的网络,使用该网络资源。该签约信息存储在核心网侧和终端设备侧,如发生变动,就会由核心网发起UE配置更新流程(UE configuration update)通知终端设备侧。Contract information refers to the user access information signed between the terminal device and the operator or other company that builds the network. If the terminal device has signed the contract, it can access the corresponding network and use the network resources according to the network identifier in the contract information. The contract information is stored on the core network side and the terminal device side. If there is a change, the core network will initiate the UE configuration update process (UE configuration update) to notify the terminal device side.

需要说明的是,随着技术的不断发展,本申请实施例的术语有可能发生变化,但都在本申请的保护范围之内。It should be noted that with the continuous development of technology, the terms of the embodiments of the present application may change, but they are all within the scope of protection of the present application.

为了使本申请实施例的目的、技术方案和优点更加清楚,下面将结合附图对本申请实施例作进一步地详细描述。In order to make the purpose, technical solutions and advantages of the embodiments of the present application clearer, the embodiments of the present application will be further described in detail below with reference to the accompanying drawings.

本申请实施例提供的私网签约信息更新方法适用的一种可能的通信系统的架构,所述通信系统的架构中可以包括网络开放功能网元、策略控制功能网元、数据管理网元、应用功能网元、核心网接入和移动性管理功能网元、会话管理功能网元、终端设备、接入网设备、用户面功能网元和数据网络。其中,图2示出了所述通信系统的架构的一种可能的示例,具体包括:网络开放功能(network exposure function,NEF)网元、策略控制功能网元(policy control function,PCF)网元、数据管理网元(unified data management,UDM)网元、应用功能网元(application function,AF)网元、AMF网元、会话管理功能网元(sessionmanagement function,SMF)网元、UE、接入网(access network,AN)设备、用户面功能(userplane function,UPF)网元和数据网络(data network,DN)。其中,AMF网元与终端设备之间可以通过N1接口相连,AMF与AN设备之间可以通过N2接口相连,AN设备与UPF之间可以通过N3接口相连,SMF与UPF之间可以通过N4接口相连,UPF与DN之间可以通过N6接口相连。接口名称只是一个示例说明,本申请实施例对此不作具体限定。应理解,本申请实施例并不限于图2所示通信系统,图2中所示的网元的名称在这里仅作为一种示例说明,并不作为对本申请的方法适用的通信系统架构中包括的网元的限定。下面对所述通信系统中的各个网元或设备的功能进行详细描述:The private network contract information update method provided in the embodiment of the present application is applicable to a possible communication system architecture, and the architecture of the communication system may include a network exposure function network element, a policy control function network element, a data management network element, an application function network element, a core network access and mobility management function network element, a session management function network element, a terminal device, an access network device, a user plane function network element and a data network. Among them, Figure 2 shows a possible example of the architecture of the communication system, specifically including: a network exposure function (NEF) network element, a policy control function network element (PCF) network element, a data management network element (UDM) network element, an application function network element (AF) network element, an AMF network element, a session management function network element (SMF) network element, a UE, an access network (AN) device, a user plane function (UPF) network element and a data network (DN). Among them, the AMF network element and the terminal device can be connected through the N1 interface, the AMF and the AN device can be connected through the N2 interface, the AN device and the UPF can be connected through the N3 interface, the SMF and the UPF can be connected through the N4 interface, and the UPF and the DN can be connected through the N6 interface. The interface name is only an example, and the embodiment of the present application does not specifically limit this. It should be understood that the embodiment of the present application is not limited to the communication system shown in Figure 2. The name of the network element shown in Figure 2 is used here only as an example, and is not used as a limitation on the network elements included in the communication system architecture to which the method of the present application is applicable. The functions of each network element or device in the communication system are described in detail below:

所述终端设备,又可以称之为用户设备(user equipment,UE)、移动台(mobilestation,MS)、移动终端(mobile terminal,MT)等,是一种向用户提供语音和/或数据连通性的设备。例如,所述终端设备可以包括具有无线连接功能的手持式设备、车载设备等。目前,所述终端设备可以是:手机(mobile phone)、平板电脑、笔记本电脑、掌上电脑、移动互联网设备(mobile internet device,MID)、可穿戴设备,虚拟现实(virtual reality,VR)设备、增强现实(augmented reality,AR)设备、工业控制(industrial control)中的无线终端、无人驾驶(self-driving)中的无线终端、远程手术(remote medical surgery)中的无线终端、智能电网(smart grid)中的无线终端、运输安全(transportation safety)中的无线终端、智慧城市(smart city)中的无线终端,或智慧家庭(smart home)中的无线终端等。其中,图2中所述终端设备以UE示出,仅作为示例,并不对终端设备进行限定。The terminal device, which can also be referred to as user equipment (UE), mobile station (MS), mobile terminal (MT), etc., is a device that provides voice and/or data connectivity to users. For example, the terminal device may include a handheld device with wireless connection function, a vehicle-mounted device, etc. At present, the terminal device may be: a mobile phone, a tablet computer, a laptop computer, a PDA, a mobile Internet device (MID), a wearable device, a virtual reality (VR) device, an augmented reality (AR) device, a wireless terminal in industrial control, a wireless terminal in self-driving, a wireless terminal in remote medical surgery, a wireless terminal in smart grid, a wireless terminal in transportation safety, a wireless terminal in smart city, or a wireless terminal in smart home, etc. Among them, the terminal device described in FIG2 is shown as UE, which is only used as an example and does not limit the terminal device.

无线接入网络可以为图2所示的接入网(access network,AN),向所述终端设备提供无线接入服务。所述接入网设备是所述通信系统中将所述终端设备接入到无线网络的设备。所述接入网设备为无线接入网中的节点,又可以称为基站,还可以称为无线接入网(radio access network,RAN)节点(或设备)。目前,一些接入网设备的举例为:gNB、传输接收点(transmission reception point,TRP)、演进型节点B(evolved Node B,eNB)、无线网络控制器(radio network controller,RNC)、节点B(Node B,NB)、基站控制器(basestation controller,BSC)、基站收发台(base transceiver station,BTS)、家庭基站(例如,home evolved NodeB,或home Node B,HNB)、基带单元(base band unit,BBU),或无线保真(wireless fidelity,Wifi)接入点(access point,AP)等。The wireless access network may be the access network (AN) shown in FIG2, which provides wireless access services to the terminal device. The access network device is a device in the communication system that connects the terminal device to the wireless network. The access network device is a node in the wireless access network, which may also be called a base station, or a radio access network (RAN) node (or device). At present, some examples of access network devices are: gNB, transmission reception point (TRP), evolved Node B (eNB), radio network controller (RNC), Node B (NB), base station controller (BSC), base transceiver station (BTS), home base station (e.g., home evolved NodeB, or home Node B, HNB), base band unit (BBU), or wireless fidelity (Wifi) access point (AP), etc.

示例性的,本申请实施例中的无线接入网设备可以根据协议栈功能将无线接入网设备拆分为两个部分:集中单元(centralized unit,CU)和分布单元(distributed unit,DU)。其中,一个无线接入网设备可以包含一个CU、以及至少一个DU,如图3所示。CU与至少一个DU连接,可以用于管理或者控制该至少一个DU。这种结构可以将通信系统中无线接入网设备的协议层拆开,其中部分协议层功能在CU中实现,剩下部分或全部协议层功能分布在DU中实现,由CU集中控制DU。以无线接入网设备为gNB为例,gNB的协议层包括无线资源控制(radio resource control,RRC)层、业务数据适配协议(service data adaptationprotocol,SDAP)层、分组数据汇聚协议(packet data convergence protocol,PDCP)层、无线链路控制(radio link control,RLC)层、媒体访问控制子层(media access control,MAC)层和物理层。其中,示例性的,CU可以用于实现RRC层、SDAP层和PDCP层的功能,DU可以用于实现RLC层、MAC层和物理层的功能。本申请实施例不对CU、DU包括的协议栈做具体限定。CU和DU之间可以采用F1接口进行连接,CU与其他的无线接入网设备采用Xn接口连接,CU与5G核心网(5G Core,5GC)之间采用NG接口连接,如图4所示。Exemplarily, the wireless access network device in the embodiment of the present application can be divided into two parts according to the protocol stack function: a centralized unit (CU) and a distributed unit (DU). Among them, a wireless access network device may include a CU and at least one DU, as shown in Figure 3. The CU is connected to at least one DU and can be used to manage or control the at least one DU. This structure can separate the protocol layer of the wireless access network device in the communication system, wherein some protocol layer functions are implemented in the CU, and the remaining part or all of the protocol layer functions are distributed in the DU, and the DU is centrally controlled by the CU. Taking the wireless access network device as a gNB as an example, the protocol layer of the gNB includes a radio resource control (RRC) layer, a service data adaptation protocol (SDAP) layer, a packet data convergence protocol (PDCP) layer, a radio link control (RLC) layer, a media access control sublayer (MAC) layer, and a physical layer. Among them, exemplarily, the CU can be used to implement the functions of the RRC layer, the SDAP layer and the PDCP layer, and the DU can be used to implement the functions of the RLC layer, the MAC layer and the physical layer. The embodiment of the present application does not specifically limit the protocol stack included in the CU and the DU. The CU and the DU can be connected using the F1 interface, the CU and other wireless access network devices are connected using the Xn interface, and the CU and the 5G core network (5G Core, 5GC) are connected using the NG interface, as shown in Figure 4.

示例性的,本申请实施例中的CU可以进一步分为一个控制面(CU-control plane,CU-CP)网元和至少一个用户面(CU-user plane,CU-UP)网元。其中,CU-CP可以用于控制面管理,CU-UP可以用于用户面数据传输。CU-CP与CU-UP之间的接口可以为E1口。CU-CP与DU之间的接口可以为F1-C,用于控制面信令的传输。CU-UP与DU之间的接口可以为F1-U,用于用户面数据传输。CU-UP与CU-UP之间可以通过Xn-U口进行连接,进行用户面数据传输。例如,以gNB为例,gNB的结构可以如图5所示。Exemplarily, the CU in the embodiment of the present application can be further divided into a control plane (CU-control plane, CU-CP) network element and at least one user plane (CU-user plane, CU-UP) network element. Among them, CU-CP can be used for control plane management, and CU-UP can be used for user plane data transmission. The interface between CU-CP and CU-UP can be an E1 port. The interface between CU-CP and DU can be F1-C, which is used for the transmission of control plane signaling. The interface between CU-UP and DU can be F1-U, which is used for user plane data transmission. CU-UP and CU-UP can be connected through the Xn-U port for user plane data transmission. For example, taking gNB as an example, the structure of gNB can be shown in Figure 5.

所述数据网络,例如图2所示的数据网络(data network,DN),可以是因特网(Internet)、IP多媒体业务(IP Multi-media Service,IMS)网络、区域网络(即本地网络,例如移动边缘计算(mobile edge computing,MEC)网络)等。所述数据网络中包括应用服务器,所述应用服务器通过与所述终端设备进行数据传输,为所述终端设备提供业务服务。The data network, such as the data network (DN) shown in FIG2 , may be the Internet, an IP Multimedia Service (IMS) network, a regional network (i.e., a local network, such as a mobile edge computing (MEC) network), etc. The data network includes an application server, and the application server provides business services to the terminal device by performing data transmission with the terminal device.

核心网用于将所述终端设备接入可以实现所述终端设备的业务的DN。下面对所述核心网中各个网元的功能进行描述:The core network is used to connect the terminal device to the DN that can realize the service of the terminal device. The functions of each network element in the core network are described below:

所述核心网接入和移动性管理功能网元,可用于对所述终端设备的接入控制和移动性进行管理,在实际应用中,其包括了长期演进(long term evolution,LTE)中网络框架中移动管理实体(mobility management entity,MME)里的移动性管理功能,并加入了接入管理功能,具体可以负责所述终端设备的注册、移动性管理、跟踪区更新流程、可达性检测、会话管理功能网元的选择、移动状态转换管理等。例如,在5G中,所述核心网接入和移动性管理功能网元可以是AMF(access and mobility management function)网元,例如图2所示,在未来通信,如6G中,所述核心网接入和移动性管理功能网元仍可以是AMF网元,或有其它的名称,本申请不做限定。当所述核心网接入和移动性管理功能网元是AMF网元时,所述AMF可以提供Namf服务。The core network access and mobility management function network element can be used to manage the access control and mobility of the terminal device. In actual applications, it includes the mobility management function in the mobility management entity (MME) in the network framework in long term evolution (LTE), and adds the access management function, which can be responsible for the registration of the terminal device, mobility management, tracking area update process, reachability detection, selection of session management function network element, mobile state transition management, etc. For example, in 5G, the core network access and mobility management function network element can be an AMF (access and mobility management function) network element, such as shown in Figure 2. In future communications, such as 6G, the core network access and mobility management function network element can still be an AMF network element, or have other names, which are not limited in this application. When the core network access and mobility management function network element is an AMF network element, the AMF can provide Namf services.

所述会话管理功能网元,可用于负责所述终端设备的会话管理(包括会话的建立、修改和释放),用户面功能网元的选择和重选、所述终端设备的互联网协议(internetprotocol,IP)地址分配、服务质量(quality of service,QoS)控制等。例如,在5G中,所述会话管理功能网元可以是SMF(session management function)网元,例如图2所示,在未来通信,如6G中,所述会话管理功能网元仍可以是SMF网元,或有其它的名称,本申请不做限定。当会话管理功能网元时SMF网元时,所述SMF可以提供Nsmf服务。The session management function network element can be used to be responsible for the session management of the terminal device (including the establishment, modification and release of the session), the selection and reselection of the user plane function network element, the allocation of the Internet Protocol (IP) address of the terminal device, and the quality of service (QoS) control. For example, in 5G, the session management function network element can be an SMF (session management function) network element, such as shown in Figure 2. In future communications, such as 6G, the session management function network element can still be an SMF network element, or have other names, which are not limited in this application. When the session management function network element is an SMF network element, the SMF can provide Nsmf services.

所述策略控制功能网元,可用于负责策略控制决策、提供基于业务数据流和应用检测、门控、QoS和基于流的计费控制等功能等。例如,在5G中,所述策略控制功能网元可以是PCF(policy control function)网元,例如图2所示,在未来通信,如6G中,所述策略控制功能网元仍可以是PCF网元,或有其它的名称,本申请不做限定。当所述策略控制功能网元是PCF网元,所述PCF网元可以提供Npcf服务。The policy control function network element can be used to be responsible for policy control decisions, provide functions such as service data flow and application detection, gating, QoS and flow-based charging control, etc. For example, in 5G, the policy control function network element can be a PCF (policy control function) network element, as shown in Figure 2. In future communications, such as 6G, the policy control function network element can still be a PCF network element, or have other names, which are not limited in this application. When the policy control function network element is a PCF network element, the PCF network element can provide Npcf services.

所述应用功能网元,主要功能是与第三代合作伙伴计划(the 3rd generationpartnership project,3GPP)核心网交互来提供服务,来影响业务流路由、接入网能力开放、策略控制等。例如,在5G中,所述应用功能网元可以是AF网元,例如图2所示,在未来通信,如6G中,所述应用功能网元仍可以是AF网元,或有其它的名称,本申请不做限定。当所述应用功能网元是AF网元时,所述AF网元可以提供Naf服务。The main function of the application function network element is to interact with the 3rd generation partnership project (3GPP) core network to provide services, to affect service flow routing, access network capability opening, policy control, etc. For example, in 5G, the application function network element may be an AF network element, as shown in Figure 2. In future communications, such as 6G, the application function network element may still be an AF network element, or have other names, which are not limited in this application. When the application function network element is an AF network element, the AF network element may provide Naf services.

所述数据管理网元,可用于管理所述终端设备的签约数据、与所述终端设备相关的注册信息等。例如,在5G中,所述数据管理网元可以是统一数据管理网元(unified datamanagement,UDM),例如图2所示,在未来通信,如6G中,所述数据管理网元仍可以是UDM网元,或有其它的名称,本申请不做限定。当所述数据管理网元是UDM网元时,所述UDM网元可以提供Nudm服务。The data management network element can be used to manage the contract data of the terminal device, the registration information related to the terminal device, etc. For example, in 5G, the data management network element can be a unified data management network element (UDM), as shown in Figure 2. In future communications, such as 6G, the data management network element can still be a UDM network element, or have other names, which are not limited in this application. When the data management network element is a UDM network element, the UDM network element can provide Nudm services.

所述网络开放功能网元,可用于使3GPP能够安全地向第三方的AF(例如,业务能力服务器(Services Capability Server,SCS)、应用服务器(Application Server,AS)等)提供网络业务能力等。例如,在5G中,所述网络开放功能网元可以是NEF,例如图2所示,在未来通信,如6G中,所述网络开放功能网元仍可以是NEF网元,或有其它的名称,本申请不做限定。当所述网络开放功能网元是NEF时,所述NEF可以向其他网络功能网元提供Nnef服务。The network open function network element can be used to enable 3GPP to securely provide network service capabilities, etc. to third-party AFs (e.g., service capability servers (SCS), application servers (AS), etc.). For example, in 5G, the network open function network element may be an NEF, as shown in FIG2 . In future communications, such as 6G, the network open function network element may still be an NEF network element, or have other names, which are not limited in this application. When the network open function network element is an NEF, the NEF may provide Nnef services to other network function network elements.

核心网中的以上各个网元也可以称为功能实体,既可以是在专用硬件上实现的网络元件,也可以是在专用硬件上运行的软件实例,或者是在适当平台上虚拟化功能的实例,例如,上述虚拟化平台可以为云平台。The above network elements in the core network can also be called functional entities, which can be network elements implemented on dedicated hardware, software instances running on dedicated hardware, or instances of virtualized functions on an appropriate platform. For example, the above virtualization platform can be a cloud platform.

需要说明的是,图2所示的通信系统的架构中不限于仅包含图中所示的网元,还可以包含其它未在图中表示的设备,具体本申请在此处不再一一列举。It should be noted that the architecture of the communication system shown in FIG. 2 is not limited to including only the network elements shown in the figure, but may also include other devices not shown in the figure, which will not be listed one by one in this application.

需要说明的是,本申请实施例并不限定核心网中各个网元的分布形式,图2所示的分布形式只是示例性的,本申请不作限定。It should be noted that the embodiments of the present application do not limit the distribution form of each network element in the core network. The distribution form shown in Figure 2 is only exemplary and is not limited in this application.

为方便说明,本申请后续均以图2所示的网元为例进行说明,并将XX网元直接简称为XX,如将AMF网元简称为AMF。应理解,本申请中所有网元的名称仅仅作为示例,在未来通信中还可以称为其它名称,或者在未来通信中本申请涉及的网元还可以通过其它具有相同功能的实体或者设备等来替代,本申请对此均不作限定。这里做统一说明,后续不再赘述。For the convenience of explanation, this application will be described later using the network element shown in Figure 2 as an example, and the XX network element will be directly referred to as XX, such as the AMF network element will be referred to as AMF. It should be understood that the names of all network elements in this application are only examples, and they can also be called other names in future communications, or the network elements involved in this application can also be replaced by other entities or devices with the same functions in future communications, and this application does not limit this. A unified explanation is given here, and no further elaboration will be given later.

需要说明的是,图2所示的通信系统并不构成本申请实施例能够适用的通信系统的限定。图2所示的通信系统架构为5G系统架构,可选的,本申请实施例的方法还适用于未来的各种通信系统,例如6G或者其他通信网络等。It should be noted that the communication system shown in Figure 2 does not constitute a limitation on the communication system to which the embodiments of the present application can be applied. The communication system architecture shown in Figure 2 is a 5G system architecture. Optionally, the method of the embodiments of the present application is also applicable to various future communication systems, such as 6G or other communication networks.

以CAG为例,协议中关于签约信息的描述为:Taking CAG as an example, the description of contract information in the agreement is:

终端设备会预先配置或者重配置以下的CAG信息,这个CAG信息属于移动性限制的一部分:The terminal device will pre-configure or reconfigure the following CAG information, which is part of the mobility restriction:

-被允许接入的CAG小区列表,意味着终端设备可以接入到这些CAG小区,其余没提到的CAG小区则不能接入。-The list of CAG cells that are allowed to be accessed means that the terminal device can access these CAG cells, and the other CAG cells not mentioned cannot be accessed.

-只允许接入CAG指示,如果带这个指示则意味着该终端设备无法接入公网。-Only CAG indication is allowed. If this indication is present, it means that the terminal device cannot access the public network.

可选的,上述CAG信息可以是每一个PLMN配置的。Optionally, the above CAG information can be configured for each PLMN.

对于处于Inactive的终端设备,作为一种可能的实现方式AMF在触发配置更新流程时,将向源基站发送下行非接入层(non-access stratum,NAS)传输(DOWNLINK NASTRANSPORT),该下行NAS传输中携带NAS-协议数据单元(protocol data unit,PDU)和移动约束列表(Mobility Restriction List),其中,NAS-PDU是AMF发给终端设备的,基站在接收到NAS-PDU透传给终端设备。Mobility Restriction List是AMF发给基站的,NAS-PDU和Mobility Restriction List均携带更新后的私网签约信息。源基站为终端设备从连接态进入inactive态之前的最后服务基站。源基站对终端设备的RNA内的基站发送寻呼消息,这些基站再透传给与自己相连的所有的UE,监听到寻呼消息的UE会查看其中是否含有自己的I-RNTI,是的话就向当前服务小区所属的基站发起RRC恢复请求。若当前服务小区所属的基站即为源基站,终端设备可以接收源基站发送的更新的私网签约信息。若当前服务小区所属的基站是不同于源基站的目标基站,则终端设备可以在目标基站接收更新的私网签约信息。目标基站可以从源基站或者从核心网设备获取该终端设备的更新的私网签约信息,本申请实施例对此不作限定。For the terminal device in Inactive state, as a possible implementation method, AMF will send a downlink non-access stratum (NAS) transmission (DOWNLINK NAS TRANSPORT) to the source base station when triggering the configuration update process. The downlink NAS transmission carries a NAS-protocol data unit (PDU) and a mobility restriction list (Mobility Restriction List), wherein the NAS-PDU is sent by AMF to the terminal device, and the base station transparently transmits it to the terminal device after receiving the NAS-PDU. The Mobility Restriction List is sent by AMF to the base station, and both the NAS-PDU and the Mobility Restriction List carry the updated private network contract information. The source base station is the last serving base station before the terminal device enters the inactive state from the connected state. The source base station sends a paging message to the base stations in the RNA of the terminal device, and these base stations then transparently transmit it to all UEs connected to themselves. The UE that monitors the paging message will check whether it contains its own I-RNTI. If so, it will initiate an RRC recovery request to the base station to which the current serving cell belongs. If the base station to which the current service cell belongs is the source base station, the terminal device can receive the updated private network contract information sent by the source base station. If the base station to which the current service cell belongs is a target base station different from the source base station, the terminal device can receive the updated private network contract information at the target base station. The target base station can obtain the updated private network contract information of the terminal device from the source base station or from the core network device, which is not limited in the embodiments of the present application.

以目标基站从核心网设备AMF获取UE的更新的私网签约信息为例,对于处在INACTIVE的终端设备,如果源基站收到了AMF发来的DOWNLINK NAS TRANSPORT,就发起寻呼对应的inactive UE。若该inactive UE发起接入的目标基站不是源基站(即最后提供服务的基站(last serving gNB),断开空口连接进入INACTIVE的那个基站),源小区可以发送指示信息给AMF,指示信息用于指示源基站无法向该UE发送更新后的签约信息。而AMF则等目标基站做完路径切换(path switch)后发含有更新的私网签约信息的DOWNLINK NASTRANSPORT发给目标基站,目标基站把NAS-PDU转发给UE。Taking the example of the target base station obtaining the UE's updated private network contract information from the core network device AMF, for the terminal device in INACTIVE, if the source base station receives the DOWNLINK NAS TRANSPORT sent by AMF, it initiates paging of the corresponding inactive UE. If the target base station initiated by the inactive UE is not the source base station (that is, the last serving gNB, the base station that disconnects the air interface connection and enters INACTIVE), the source cell can send an indication message to the AMF, which is used to indicate that the source base station cannot send the updated contract information to the UE. The AMF waits for the target base station to complete the path switch and then sends the DOWNLINK NAS TRANSPORT containing the updated private network contract information to the target base station, and the target base station forwards the NAS-PDU to the UE.

对于更新后的签约信息,源基站、目标基站可能在新的签约小区列表中,也可能不在新的签约小区列表中,而如果源基站、目标基站不在新的签约小区列表,AMF如何更新终端设备中的签约信息,目前并没有很好的解决方案。For the updated contract information, the source base station and the target base station may or may not be in the new contract cell list. If the source base station and the target base station are not in the new contract cell list, there is currently no good solution for how AMF updates the contract information in the terminal device.

基于此,本申请提供一种私网签约信息更新方法及装置,用以完善处于INACTIVE状态的终端设备的私网签约信息的更新流程。其中,方法和装置是基于同一发明构思的,由于方法及装置解决问题的原理相似,因此装置与方法的实施可以相互参见,重复之处不再赘述。Based on this, the present application provides a private network contract information update method and device, which are used to improve the update process of the private network contract information of the terminal device in the INACTIVE state. The method and the device are based on the same invention concept. Since the principles of solving the problem by the method and the device are similar, the implementation of the device and the method can refer to each other, and the repeated parts will not be repeated.

需要说明的是,本申请实施例中涉及的多个,是指两个或两个以上。“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。字符“/”一般表示前后关联对象是一种“或”的关系。同时,应当理解,在本申请实施例的描述中,“第一”、“第二”等词汇,仅用于区分描述的目的,而不能理解为指示或暗示相对重要性,也不能理解为指示或暗示顺序。It should be noted that the multiple involved in the embodiments of the present application refers to two or more. "And/or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and/or B can represent: A exists alone, A and B exist at the same time, and B exists alone. The character "/" generally indicates that the previous and next associated objects are in an "or" relationship. At the same time, it should be understood that in the description of the embodiments of the present application, words such as "first" and "second" are only used for the purpose of distinguishing the description, and cannot be understood as indicating or implying relative importance, nor can they be understood as indicating or implying order.

下面结合具体场景对本申请实施例进行详细说明。The embodiments of the present application are described in detail below in conjunction with specific scenarios.

可以理解的,本申请实施例中,终端设备和/或网络设备可以执行本申请实施例中的部分或全部步骤,这些步骤或操作仅是示例,本申请实施例还可以执行其它操作或者各种操作的变形。此外,各个步骤可以按照本申请实施例呈现的不同的顺序来执行,并且有可能并非要执行本申请实施例中的全部操作。It is understandable that in the embodiment of the present application, the terminal device and/or the network device can perform some or all of the steps in the embodiment of the present application, and these steps or operations are only examples. The embodiment of the present application can also perform other operations or variations of various operations. In addition, each step can be performed in a different order presented in the embodiment of the present application, and it is possible not to perform all the operations in the embodiment of the present application.

参见图6,为本申请提供的私网签约信息更新方法的流程图。该方法包括:See Figure 6, which is a flow chart of a method for updating private network contract information provided by this application. The method includes:

S601,第一接入网设备恢复与终端设备之间的RRC连接。S601, the first access network device restores the RRC connection with the terminal device.

终端设备可以为处于inactive的UE,第一接入网设备为该终端设备发起恢复请求的接入网设备。The terminal device may be an inactive UE, and the first access network device is the access network device that initiates a recovery request for the terminal device.

S602,第一接入网设备向核心网设备发送的私网信息。S602, the first access network device sends private network information to the core network device.

其中,私网信息包括第一接入网设备与终端设备用于恢复RRC连接的小区所支持的至少一个私网的标识。相应的,核心网设备可以接收第一接入网设备发送的私网信息。The private network information includes at least one private network identifier supported by the cell used by the first access network device and the terminal device to restore the RRC connection. Accordingly, the core network device can receive the private network information sent by the first access network device.

核心网设备可以基于该私网信息确定第一接入网设备支持的至少一个私网的标识。The core network device can determine the identifier of at least one private network supported by the first access network device based on the private network information.

可选的,第一接入网设备可以通过路径切换请求消息向核心网设备发送上述私网信息。Optionally, the first access network device may send the private network information to the core network device via a path switching request message.

一种实现方式中,至少一个私网依赖于第一公网,第一公网为终端设备选择的目标网络所依赖的公共网络。In one implementation, at least one private network depends on a first public network, and the first public network is a public network on which a target network selected by a terminal device depends.

本申请实施例中不限于私网的类型,私网可以是独立私网,也可以是非独立私网。应理解,“私网”仅是一种示例性命名,在未来通信发展中也可以命名为其他,只要可以实现本申请实施例中私网的功能则可以理解为本申请实施例中的私网。The embodiments of the present application are not limited to the type of private network, and the private network can be an independent private network or a non-independent private network. It should be understood that "private network" is only an exemplary name, and it can also be named as other in the future development of communications. As long as the function of the private network in the embodiments of the present application can be realized, it can be understood as the private network in the embodiments of the present application.

公网也可以称为公共陆地移动网络,也可以称为PLMN。应理解,“公网”仅是一种示例性命名,在未来通信发展中也可以命名为其他,只要可以实现本申请实施例中公网的功能则可以理解为本申请实施例中的公网。The public network may also be referred to as a public land mobile network, or PLMN. It should be understood that "public network" is only an exemplary name, and may also be named otherwise in future communication developments. As long as the functions of the public network in the embodiments of the present application can be realized, it can be understood as the public network in the embodiments of the present application.

若私网为非独立私网,则私网的标识可以包括两部分,分别是PLMN ID和CAG ID,其中,PLMN ID和所依赖公网ID的一致。对于依赖于同一个公网下的多个非独立私网,每个非独立私网的CAG ID是唯一的。例如,非独立私网#1的标识可以表示为:PLMN#1CAG#1;非独立私网#2的标识可以表示为:PLMN#1CAG#2。其中,非独立私网#1和非独立私网#2均是依赖于标识为PLMN#1的公网所搭建的私网。If the private network is a non-independent private network, the identifier of the private network may include two parts, namely the PLMN ID and the CAG ID, wherein the PLMN ID is consistent with the public network ID on which it depends. For multiple non-independent private networks that depend on the same public network, the CAG ID of each non-independent private network is unique. For example, the identifier of non-independent private network #1 can be expressed as: PLMN#1CAG#1; the identifier of non-independent private network #2 can be expressed as: PLMN#1CAG#2. Among them, non-independent private network #1 and non-independent private network #2 are both private networks built based on the public network identified as PLMN#1.

若私网为独立私网,则私网的标识可以包括两部分,分别是PLMN ID和NID,例如,私网的标识可以为PLMN#1。对于依赖于公网的独立私网,其PLMN ID和所依赖的公网一致,对于不依赖于公网(例如可以是企业自己部署)的独立私网,其PLMN ID的MCC是一个固定值,如999。例如,独立私网#1的标识可以表示为:PLMN#1NID#1;独立私网#2的标识可以表示为:PLMN#1NID#2;独立私网#3的标识可以表示为:PLMN#3(MCC=999)NID#1。其中,独立私网#1和独立私网#2均是依赖于标识为PLMN#1的公网所搭建的私网。If the private network is an independent private network, the identifier of the private network may include two parts, namely, PLMN ID and NID. For example, the identifier of the private network may be PLMN#1. For an independent private network that relies on a public network, its PLMN ID is consistent with the public network it relies on. For an independent private network that does not rely on a public network (for example, it may be deployed by an enterprise itself), the MCC of its PLMN ID is a fixed value, such as 999. For example, the identifier of independent private network #1 may be expressed as: PLMN#1NID#1; the identifier of independent private network #2 may be expressed as: PLMN#1NID#2; the identifier of independent private network #3 may be expressed as: PLMN#3(MCC=999)NID#1. Among them, both independent private network #1 and independent private network #2 are private networks that rely on the public network identified as PLMN#1.

一种示例性说明中,第一接入网设备可以是终端设备由INACTIVE态恢复RRC连接时接入的接入网设备。In an exemplary description, the first access network device may be an access network device to which the terminal device accesses when restoring the RRC connection from an INACTIVE state.

一种示例性说明中,核心网设备可以为AMF。In an exemplary description, the core network device may be an AMF.

S603,核心网设备基于私网信息以及终端设备的私网签约信息进行验证。S603, the core network device performs verification based on the private network information and the private network contract information of the terminal device.

可选的,私网签约信息为核心网设备保存的。Optionally, private network contract information is stored in the core network device.

本申请实施例中,对INACTIVE态UE更新私网签约信息中遇到源小区和/或目标小区不在私网签约信息中的情况,提供了一种解决方案,从而可以完善处于INACTIVE状态的终端设备的私网签约信息的更新流程。In an embodiment of the present application, a solution is provided for the situation where the source cell and/or target cell is not in the private network contract information when the INACTIVE state UE updates the private network contract information, thereby improving the update process of the private network contract information of the terminal device in the INACTIVE state.

一种可能的实现方式中,核心网设备基于私网信息以及终端设备的私网签约信息进行验证时,若私网信息中至少一个私网标识属于更新后的私网签约信息,则验证成功,或者验证通过。In one possible implementation, when the core network device performs verification based on the private network information and the private network contract information of the terminal device, if at least one private network identifier in the private network information belongs to the updated private network contract information, the verification is successful, or the verification passes.

一种举例说明,假设私网签约信息包括PLMN#1CAG#1、PLMN#1CAG#2和PLMN#2CAG#2,第一接入网设备发送的私网信息包括PLMN#1CAG#1、PLMN#1CAG#3和PLMN#1CAG#4,私网信息中的PLMN#1CAG#1包括在终端设备的私网签约信息内,因此可以判定为验证通过。As an example, assuming that the private network contract information includes PLMN#1CAG#1, PLMN#1CAG#2 and PLMN#2CAG#2, the private network information sent by the first access network device includes PLMN#1CAG#1, PLMN#1CAG#3 and PLMN#1CAG#4, and PLMN#1CAG#1 in the private network information is included in the private network contract information of the terminal device, so it can be determined that the verification is passed.

若私网信息中私网标识不属于更新后的私网签约信息,则验证失败,或者验证不通过。If the private network identifier in the private network information does not belong to the updated private network contract information, the verification fails or the verification is not passed.

一种举例说明,假设私网签约信息包括PLMN#1CAG#1、PLMN#1CAG#2和PLMN#2CAG#2,第一接入网设备发送的私网信息包括PLMN#1CAG#5、PLMN#1CAG#3和PLMN#1CAG#4,私网信息中的PLMN#1CAG#5、PLMN#1CAG#3和PLMN#1CAG#4均没有包括在终端设备的私网签约信息内,因此可以判定为验证不通过。As an example, assuming that the private network contract information includes PLMN#1CAG#1, PLMN#1CAG#2 and PLMN#2CAG#2, and the private network information sent by the first access network device includes PLMN#1CAG#5, PLMN#1CAG#3 and PLMN#1CAG#4, PLMN#1CAG#5, PLMN#1CAG#3 and PLMN#1CAG#4 in the private network information are not included in the private network contract information of the terminal device, so it can be determined that the verification failed.

进一步的,若验证通过,核心网设备可以向第一接入网设备发送终端设备的私网签约信息。可以理解的,该私网签约信息可以为最新的私网签约信息。或者,该私网签约信息可以为更新后的私网签约信息。Further, if the verification is successful, the core network device may send the private network contract information of the terminal device to the first access network device. It is understandable that the private network contract information may be the latest private network contract information. Alternatively, the private network contract information may be the updated private network contract information.

若验证不通过,则核心网设备可以向第一接入网设备发送释放消息,释放消息用于指示第一接入网设备释放该终端设备的第一接入网设备和核心网设备之间的连接。可选的,第一接入网设备还可以向终端设备发送RRC(连接)释放消息,用于释放终端的RRC连接。示例性的,释放消息可以携带第一指示信息,第一指示信息用于指示释放原因,例如可以指示释放终端设备的原因与私网签约信息相关。If the verification fails, the core network device may send a release message to the first access network device, and the release message is used to instruct the first access network device to release the connection between the first access network device and the core network device of the terminal device. Optionally, the first access network device may also send an RRC (connection) release message to the terminal device to release the RRC connection of the terminal. Exemplarily, the release message may carry first indication information, and the first indication information is used to indicate the reason for the release, for example, it may indicate that the reason for releasing the terminal device is related to the private network contract information.

或者,第一指示信息用于指示路径转换失败的原因与私网签约信息相关。Alternatively, the first indication information is used to indicate that the reason for the path switching failure is related to the private network contract information.

又或者,第一指示信息用于指示释放终端设备的原因以及路径转换失败的原因与私网签约信息相关。Alternatively, the first indication information is used to indicate that the reason for releasing the terminal device and the reason for the path switching failure are related to the private network contract information.

一种可能的实施方式中,第一指示信息可以但不限于包括如下至少一种:无效的私网标识;不支持的私网标识;不在私网签约范围内;不合理的私网接入。In a possible implementation, the first indication information may include but is not limited to at least one of the following: invalid private network identification; unsupported private network identification; not within the scope of the private network contract; unreasonable private network access.

另一种可能的实施方式中,若验证不通过,核心网设备可以向第一接入网设备发送第一通知信息,第一通知信息用于通知第一接入网设备该终端设备通过公网进行接入。In another possible implementation, if the verification fails, the core network device may send a first notification message to the first access network device, where the first notification message is used to notify the first access network device that the terminal device accesses the public network.

在一些实施例中,核心网设备可以向第一接入网设备发送释放消息之前,核心网设备可以向第一接入网设备发送携带私网签约信息的NAS-PDU,由第一接入网设备透传给终端设备。通过上述方式,终端设备可以及时更新私网签约信息,一方面可以节省更新时间,另一方面可以提高资源利用率。In some embodiments, before the core network device sends a release message to the first access network device, the core network device may send a NAS-PDU carrying private network contract information to the first access network device, which is transparently transmitted to the terminal device by the first access network device. In the above manner, the terminal device can update the private network contract information in a timely manner, which can save update time on the one hand and improve resource utilization on the other hand.

在另一些实施例中,核心网设备也可以在释放消息中携带NAS-PDU,该NAS-PDU携带私网签约信息,从而第一接入网设备在接收到释放消息时可以将该NAS-PDU透传给终端设备。In other embodiments, the core network device may also carry a NAS-PDU in the release message, where the NAS-PDU carries private network subscription information, so that the first access network device may transparently transmit the NAS-PDU to the terminal device when receiving the release message.

一种可能的实施方式中,在核心网设备接收来自第一接入网设备的路径转换请求之前,核心网设备可以触发私网签约信息更新流程。例如,核心网设备可以向第二接入网设备发送私网签约信息,第二接入网设备为终端设备进入INACTIVE态之前连接的接入网设备。In one possible implementation, before the core network device receives the path switching request from the first access network device, the core network device may trigger the private network subscription information update process. For example, the core network device may send the private network subscription information to the second access network device, where the second access network device is the access network device connected before the terminal device enters the INACTIVE state.

核心网设备触发私网签约信息更新流程之后,可以接收来自第二接入网设备的第二指示信息,第二指示信息用于指示核心网设备在收到第一接入网设备的私网信息后把私网签约信息发给第一接入网设备,或者,第二指示信息用于指示核心网设备第二接入网设备无法向终端设备发送最新的私网签约信息。After the core network device triggers the private network contract information update process, it can receive a second indication information from the second access network device. The second indication information is used to instruct the core network device to send the private network contract information to the first access network device after receiving the private network information from the first access network device, or the second indication information is used to instruct the core network device that the second access network device cannot send the latest private network contract information to the terminal device.

另一种可能的实施方式中,在核心网设备接收来自第一接入网设备的路径转换请求之前,终端设备可以触发恢复RRC连接流程。例如,终端设备向第一接入网设备发送RRC恢复请求。In another possible implementation, before the core network device receives the path switching request from the first access network device, the terminal device may trigger the RRC connection recovery process. For example, the terminal device sends an RRC recovery request to the first access network device.

一种示例性说明中,第一接入网设备与第二接入网设备可以是同一个接入网设备,且,终端设备在进入INACTIVE态之前接入的小区(为了描述上的方便,下面将其称为源小区),与终端设备由INACTIVE态恢复RRC连接时接入的小区(为了描述上的方便,下面将其称为目标小区)为同一个小区。In an exemplary description, the first access network device and the second access network device may be the same access network device, and the cell accessed by the terminal device before entering the INACTIVE state (for the convenience of description, referred to as the source cell below) and the cell accessed by the terminal device when restoring the RRC connection from the INACTIVE state (for the convenience of description, referred to as the target cell below) are the same cell.

另一种示例性说明中,第一接入网设备与第二接入网设备可以是同一个接入网设备,且,终端设备的源小区与终端设备的目标小区为不同小区。In another exemplary description, the first access network device and the second access network device may be the same access network device, and the source cell of the terminal device and the target cell of the terminal device are different cells.

有一种示例性说明中,第一接入网设备与第二接入网设备可以是不同接入网设备。In one exemplary description, the first access network device and the second access network device may be different access network devices.

为了更好的理解本申请实施例提供的方法,下面结合具体场景对私网签约信息更新过程进行详尽描述。为了描述上的方便,下面以核心网设备为AMF,私网为CAG,公网为PLMN为例进行描述。In order to better understand the method provided in the embodiment of the present application, the private network subscription information update process is described in detail below in combination with a specific scenario. For the convenience of description, the following description is based on the core network device as AMF, the private network as CAG, and the public network as PLMN as an example.

场景一:UE1在进入INACTIVE态之前接入源基站的第一小区,UE1由INACTIVE态恢复RRC连接时接入目标基站的第二小区,其中,源基站与目标基站为不同基站。Scenario 1: UE1 accesses the first cell of the source base station before entering the INACTIVE state, and accesses the second cell of the target base station when UE1 recovers the RRC connection from the INACTIVE state, wherein the source base station and the target base station are different base stations.

私网签约信息更新流程可以如图7所示:The private network contract information update process can be shown in Figure 7:

S701,AMF向源基站发送UE1的私网签约信息。其中,私网签约信息可以保存在AMF中。执行S702。S701, AMF sends the private network subscription information of UE1 to the source base station. The private network subscription information can be stored in AMF. Execute S702.

一种示例性说明中,私网签约信息可以是UE1更新后的私网签约信息。例如,UE1更新后的私网签约信息相比于更新前的私网签约信息,所指示的签约小区可以不完全相同。In an exemplary description, the private network subscription information may be the private network subscription information updated by UE1. For example, the subscription cell indicated by the private network subscription information updated by UE1 may not be completely the same as that of the private network subscription information before the update.

一种举例说明,假设更新前的私网签约信息包括PLMN#1CAG#1、PLMN#1CAG#2和PLMN#2CAG#2,更新后的私网签约信息包括PLMN#1CAG#1、PLMN#1CAG#3和PLMN#2CAG#2。As an example, it is assumed that the private network subscription information before updating includes PLMN#1CAG#1, PLMN#1CAG#2 and PLMN#2CAG#2, and the private network subscription information after updating includes PLMN#1CAG#1, PLMN#1CAG#3 and PLMN#2CAG#2.

一种实现方式中,AMF可以向源基站发送DOWNLINK NAS TRANSPORT,该DOWNLINKNAS TRANSPORT可以携带UE1的私网签约信息。In one implementation, the AMF may send a DOWNLINK NAS TRANSPORT to the source base station, and the DOWNLINK NAS TRANSPORT may carry the private network subscription information of UE1.

S702,源基站向AMF发送第二指示信息。执行S703。S702: The source base station sends second indication information to the AMF. Execute S703.

该第二指示信息用于指示UE1处于INACTIVE态,或者,该第二指示信息也可以指示AMF在收到目标基站的私网信息后把私网签约信息发给目标基站,或者,第二指示信息也可以指示AMF在收到目标基站的路径转换请求后把私网签约信息发给目标基站,或者,第二指示信息用于指示核心网设备第二接入网设备无法向终端设备发送最新的私网签约信息。The second indication information is used to indicate that UE1 is in the INACTIVE state, or the second indication information may also instruct the AMF to send the private network contract information to the target base station after receiving the private network information of the target base station, or the second indication information may also instruct the AMF to send the private network contract information to the target base station after receiving the path switching request of the target base station, or the second indication information is used to indicate that the core network device and the second access network device cannot send the latest private network contract information to the terminal device.

一种实现方式中,该第二指示信息可以是UE上下文传输指示,或者,可以是服务基站变化指示。In one implementation, the second indication information may be a UE context transmission indication, or may be a serving base station change indication.

S703,源基站向目标基站发送寻呼消息(paging)。该paging可以用于通知UE1恢复RRC连接。执行S704。S703: The source base station sends a paging message to the target base station. The paging message can be used to notify UE1 to restore the RRC connection. Execute S704.

示例性的,该paging的范围可以是UE1的RNA。Exemplarily, the scope of the paging may be the RNA of UE1.

S704,目标基站向UE1发送paging。该paging可以用于通知UE1恢复RRC连接。执行S705。S704: The target base station sends a paging to UE1. The paging may be used to notify UE1 to restore the RRC connection. S705 is executed.

示例性的,该paging可以基于UE1的RNA。Exemplarily, the paging may be based on the RNA of UE1.

一种实现方式中,目标基站可以将源基站发送的paging转发给UE1。In one implementation manner, the target base station may forward the paging sent by the source base station to UE1.

S705,UE1通过第二小区向目标基站发送RRC恢复请求(RRC RESUME REQUEST)。执行S706。S705, UE1 sends an RRC recovery request (RRC RESUME REQUEST) to the target base station through the second cell. Execute S706.

RRC恢复请求,可以用于UE在目标基站下的目标小区请求恢复RRC连接。The RRC recovery request can be used by the UE to request the target cell under the target base station to restore the RRC connection.

S706,目标基站向源基站发送恢复上下文请求(RETRIEVE UE CONTEXT REQUEST)。执行S707。S706: The target base station sends a restore context request (RETRIEVE UE CONTEXT REQUEST) to the source base station. Execute S707.

恢复上下文请求,可以用于目标基站请求源基站发送UE1的上下文,该上下文用于目标基站与UE1恢复RRC连接。The context restoration request may be used by the target base station to request the source base station to send the context of UE1, where the context is used by the target base station to restore the RRC connection with UE1.

可以理解的,作为另一种实现方式,UE可以执行步骤701,步骤703~706后,再执行步骤702。It can be understood that, as another implementation manner, the UE may execute step 701, steps 703 to 706, and then execute step 702.

S707,源基站向目标基站发送恢复上下文响应(RETRIEVE UE CONTEXTRESPONSE)。执行S708。S707: The source base station sends a restore context response (RETRIEVE UE CONTEXTRESPONSE) to the target base station. Then, S708 is executed.

恢复上下文响应可以携带UE1的上下文。The restore context response may carry the context of UE1.

S708,目标基站与UE1之间进行RRC恢复(RRC RESUME)。执行S709。S708: The target base station performs RRC recovery (RRC RESUME) with UE1. Then, S709 is executed.

示例性的,目标基站可以根据UE1的上下文与UE1之间恢复RRC连接。Exemplarily, the target base station may restore the RRC connection with UE1 according to the context of UE1.

S709,UE1向目标基站发送RRC恢复完成消息(RRC RESUME COMPLETE)。执行S710。S709, UE1 sends an RRC recovery complete message (RRC RESUME COMPLETE) to the target base station. Execute S710.

一种实现方式中,RRC恢复完成消息可以携带UE1所选择的目标网络的公网标识,如PLMN ID。假设该公网标识为PLMN 1。In one implementation, the RRC recovery complete message may carry the public network identifier of the target network selected by UE1, such as PLMN ID. Assume that the public network identifier is PLMN 1.

此外,若目标网络为私网,RRC恢复完成消息可以携带第三指示信息,所述第三指示信息用于指示该目标网络为私网,或者,也可以用于指示该公网标识为该目标网络所依赖的公网的标识。In addition, if the target network is a private network, the RRC recovery completion message may carry third indication information, and the third indication information is used to indicate that the target network is a private network, or may also be used to indicate that the public network identifier is the identifier of the public network on which the target network depends.

若目标网络为公网,RRC恢复完成消息可以携带第三指示信息,所述第三指示信息用于指示该目标网络为网络。If the target network is a public network, the RRC recovery completion message may carry third indication information, where the third indication information is used to indicate that the target network is a network.

可以理解的,本申请实施例中,目标网络为私网,因此,RRC恢复完成消息可以携带第三指示信息。It can be understood that in the embodiment of the present application, the target network is a private network, and therefore, the RRC recovery completion message can carry the third indication information.

S710,目标基站向AMF发送私网信息,私网信息包括第二小区所支持的至少一个CAG的ID。进一步的,该私网信息包括终端设备选择的第二小区所支持的PLMN下的至少一个CAG的ID。比如,该终端设备通过第二小区的PLMN1接入,则该至少一个CAG的ID可以理解为依赖于PLMN 1的CAG的ID,或者PLMN1下的CAG的ID。其中,PLMN 1为UE1选择的目标网络所依赖的公共网络。执行S711。S710, the target base station sends private network information to the AMF, and the private network information includes the ID of at least one CAG supported by the second cell. Furthermore, the private network information includes the ID of at least one CAG under the PLMN supported by the second cell selected by the terminal device. For example, if the terminal device accesses through PLMN1 of the second cell, the ID of the at least one CAG can be understood as the ID of the CAG that depends on PLMN 1, or the ID of the CAG under PLMN1. Among them, PLMN 1 is the public network that the target network selected by UE1 depends on. Execute S711.

该至少一个CAG依赖于PLMN 1,也可以理解为该至少一个CAG的PLMN ID为PLMN1。UE1选择的目标网络所依赖的公共网络为PLMN 1,也可以理解为UE1选择的目标网络所依赖的公共网络的PLMN ID为PLMN 1。The at least one CAG depends on PLMN 1, which can also be understood as the PLMN ID of the at least one CAG is PLMN 1. The public network on which the target network selected by UE1 depends is PLMN 1, which can also be understood as the PLMN ID of the public network on which the target network selected by UE1 depends is PLMN 1.

例如,UE1向目标基站上报选择的目标网络,该目标网络的PLMN ID为PLMN 1。目标基站向AMF发送第二小区支持的所有CAG中PLMN ID为PLMN 1的CAG的CAG ID。For example, UE1 reports the selected target network to the target base station, and the PLMN ID of the target network is PLMN 1. The target base station sends the CAG ID of the CAG whose PLMN ID is PLMN 1 among all CAGs supported by the second cell to the AMF.

一种实施方式中,PLMN 1可以是UE1在RRC恢复完成消息中所携带的已选择的网络的PLMN ID。In one implementation, PLMN 1 may be the PLMN ID of the selected network carried by UE1 in the RRC recovery complete message.

一种举例说明,假设目标基站支持的私网有:PLMN#1CAG#1;PLMN#1CAG#2;PLMN#1CAG#3;PLMN#2CAG#1;PLMN#2CAG#2;PLMN#2CAG#3。UE1在RRC恢复完成消息中所携带的已选择的网络的PLMN ID为PLMN#1。目标基站向AMF上报的私网信息中可以包括PLMN#1CAG#1;PLMN#1CAG#2;PLMN#1CAG#3。As an example, assume that the private networks supported by the target base station are: PLMN#1CAG#1; PLMN#1CAG#2; PLMN#1CAG#3; PLMN#2CAG#1; PLMN#2CAG#2; PLMN#2CAG#3. The PLMN ID of the selected network carried by UE1 in the RRC recovery complete message is PLMN#1. The private network information reported by the target base station to the AMF may include PLMN#1CAG#1; PLMN#1CAG#2; PLMN#1CAG#3.

另一种实施方式中,RRC恢复完成消息中可以携带该私网信息,即UE1可以通过RRC恢复完成消息向目标基站上报私网信息。目标基站可以将该RRC恢复完成消息中携带的私网信息转发给AMF。In another implementation, the private network information may be carried in the RRC recovery complete message, that is, UE1 may report the private network information to the target base station through the RRC recovery complete message. The target base station may forward the private network information carried in the RRC recovery complete message to the AMF.

一种实现方式中,目标基站可以向AMF发送路径切换请求(PATH SWITCHREQUEST),该PATH SWITCH REQUEST可以携带私网信息。路径转换请求,可以用于请求AMF将AMF与目标基站之间的接口和/或数据通道的数据接收点转移到目标基站。可以理解为,核心网向UE1发送数据时,可以会先发送给目标基站,由目标基站向UE1进行转发。In one implementation, the target base station may send a path switch request (PATH SWITCH REQUEST) to the AMF, and the PATH SWITCH REQUEST may carry private network information. The path switch request may be used to request the AMF to transfer the data receiving point of the interface and/or data channel between the AMF and the target base station to the target base station. It can be understood that when the core network sends data to UE1, it may be sent to the target base station first, and then forwarded to UE1 by the target base station.

S711,AMF基于该私网信息以及UE1的私网签约信息进行验证。若验证通过执行步骤S712;若验证失败,执行步骤S716。S711, AMF performs verification based on the private network information and the private network subscription information of UE1. If the verification passes, execute step S712; if the verification fails, execute step S716.

其中,若私网信息中至少一个CAG ID属于UE1的私网签约信息,则验证通过。Among them, if at least one CAG ID in the private network information belongs to the private network contract information of UE1, the verification is successful.

若私网信息中CAG ID不属于UE1的私网签约信息,则验证失败,或者验证不通过。If the CAG ID in the private network information does not belong to the private network contract information of UE1, the verification fails or the verification fails.

S712,AMF向目标基站发送路径切换响应(path switch acknowledge)。执行S713。S712, AMF sends a path switch acknowledgement to the target base station. Execute S713.

路径切换响应,可以用于通知目标基站:核心网设备已把该UE1的数据接收点转移到目标基站。The path switching response may be used to notify the target base station that the core network device has transferred the data receiving point of the UE1 to the target base station.

S713,目标基站向源基站发送UE上下文释放消息(UE CONTEXT RELEASE)。执行S714。S713: The target base station sends a UE CONTEXT RELEASE message to the source base station. Then, S714 is executed.

UE上下文释放消息,可以用于指示源基站释放UE1的上下文。从而,源基站可以不再存储UE1的上下文。The UE context release message may be used to instruct the source base station to release the context of UE1, so that the source base station may no longer store the context of UE1.

S714,AMF向目标基站发送UE1的私网签约信息。执行S715。S714, AMF sends the private network subscription information of UE1 to the target base station. Execute S715.

一种实现方式中,AMF可以向目标基站发送DOWNLINK NAS TRANSPORT,该DOWNLINKNAS TRANSPORT可以携带UE1的私网签约信息。In one implementation, the AMF may send a DOWNLINK NAS TRANSPORT to the target base station, and the DOWNLINK NAS TRANSPORT may carry the private network subscription information of UE1.

S715,目标基站向UE1发送私网签约信息。S715, the target base station sends private network subscription information to UE1.

一种实现方式中,目标基站可以向UE1发送下行信息转发消息,该下行信息转发消息可以携带UE1的私网签约信息。In one implementation, the target base station may send a downlink information forwarding message to UE1, and the downlink information forwarding message may carry the private network subscription information of UE1.

在一些实施例中,目标基站可以将AMF发送的DOWNLINK NAS TRANSPORT透传给UE1。In some embodiments, the target base station may transparently transmit the DOWNLINK NAS TRANSPORT sent by the AMF to UE1.

S716,AMF向目标基站发送释放消息。S716, AMF sends a release message to the target base station.

释放消息,可以用于指示目标基站释放与UE1之间的RRC连接。The release message may be used to instruct the target base station to release the RRC connection between the target base station and UE1.

进一步的,目标基站可以向UE1发送该释放消息。UE1可以根据释放消息的类型,从RRC CONNECTED态转换成RRC IDLE态或者RRC INATIVE态,或者,由RRC INATIVE态转换成RRC IDLE态。Further, the target base station may send the release message to UE 1. UE 1 may convert from the RRC CONNECTED state to the RRC IDLE state or the RRC INATIVE state, or convert from the RRC INATIVE state to the RRC IDLE state according to the type of the release message.

在一些实施例中,释放消息可以携带第一指示信息,第一指示信息用于指示路径转换失败的原因与私网签约信息相关。In some embodiments, the release message may carry first indication information, where the first indication information is used to indicate that the reason for the path switching failure is related to the private network subscription information.

第一指示信息可以但不限于包括如下至少一种:无效的私网标识;不支持的私网标识;不在私网签约范围内;不合理的私网接入。The first indication information may include but is not limited to at least one of the following: invalid private network identification; unsupported private network identification; not within the scope of the private network contract; unreasonable private network access.

在一种可能的实施方式中,在步骤S711之后,在步骤S716之前,AMF可以向目标基站发送UE1的私网签约信息,目标基站可以向UE1发送UE1的私网签约信息,具体过程可以参阅步骤S714和S715,重复之处不再赘述。In a possible implementation, after step S711 and before step S716, AMF may send UE1's private network subscription information to the target base station, and the target base station may send UE1's private network subscription information to UE1. The specific process may refer to steps S714 and S715, and the repeated parts will not be repeated.

在另一种可能的实施方式中,AMF也可以在释放消息中携带UE1的私网签约信息,例如,可以在释放消息中携带NAS-PDU,该NAS-PDU携带UE1的私网签约信息。再由目标基站向UE1发送UE1的私网签约信息,具体过程可以参阅步骤S715,重复之处不再赘述。In another possible implementation, the AMF may also carry the private network subscription information of UE1 in the release message, for example, the release message may carry a NAS-PDU, and the NAS-PDU carries the private network subscription information of UE1. The target base station then sends the private network subscription information of UE1 to UE1. For the specific process, please refer to step S715, and the repeated parts will not be repeated.

场景二:UE1在进入INACTIVE态之前接入源基站的第一小区,UE1由INACTIVE态恢复RRC连接时接入源基站的第二小区,即源基站和目标基站为同一个基站。Scenario 2: UE1 accesses the first cell of the source base station before entering the INACTIVE state. When UE1 recovers the RRC connection from the INACTIVE state, it accesses the second cell of the source base station, that is, the source base station and the target base station are the same base station.

场景二的私网签约信息更新流程与场景一的私网签约信息更新流程类似,区别在于,在场景二的私网签约信息更新流程中由同一个基站执行场景一的私网签约信息更新流程中源基站和目标基站的动作,重复之处不再赘述。The private network contract information update process of scenario two is similar to that of scenario one. The difference is that in the private network contract information update process of scenario two, the same base station performs the actions of the source base station and the target base station in the private network contract information update process of scenario one, and the repeated parts are not repeated here.

可选的,在场景二中,源基站和目标基站之间的信息交互可以不执行。Optionally, in scenario 2, information interaction between the source base station and the target base station may not be performed.

场景三:UE1在进入INACTIVE态之前接入源基站的第一小区,UE1由INACTIVE态恢复RRC连接时接入源基站的第一小区,即源小区和目标小区为同一个小区。Scenario three: UE1 accesses the first cell of the source base station before entering the INACTIVE state. When UE1 recovers the RRC connection from the INACTIVE state, it accesses the first cell of the source base station, that is, the source cell and the target cell are the same cell.

一种实现方式中,场景三的私网签约信息更新流程与场景二的私网签约信息更新流程类似,区别在于,在场景二的私网签约信息更新流程中第二小区的信息替换为第一小区的信息,重复之处不再赘述。可选的,在场景三中,源基站和目标基站之间的信息交互可以不执行。源小区和目标小区之间的信息交互也可以不执行。In one implementation, the private network contract information update process of scenario three is similar to the private network contract information update process of scenario two, except that in the private network contract information update process of scenario two, the information of the second cell is replaced by the information of the first cell, and the repeated parts are not repeated. Optionally, in scenario three, the information exchange between the source base station and the target base station may not be performed. The information exchange between the source cell and the target cell may also not be performed.

另一种实现方式中,针对场景三,可以不采用本申请实施例提供的私网签约信息更新方法。In another implementation, for scenario three, the private network contract information update method provided in the embodiment of the present application may not be adopted.

在一种可能的实施方式中,上述场景一~场景三下,私网签约信息更新流程可以是由AMF触发的,即在步骤S709之前可以执行上述步骤S0701~S708,如图7所示。In a possible implementation, in the above scenarios 1 to 3, the private network contract information update process may be triggered by AMF, that is, the above steps S0701 to S708 may be executed before step S709, as shown in FIG. 7 .

在另一种可能的实施方式中,上述场景一~场景三下,私网签约信息更新流程可以是由UE1触发的,即在步骤S709之前可以执行上述步骤S0705~S708,如图8所示。In another possible implementation, in the above scenarios 1 to 3, the private network subscription information update process may be triggered by UE1, that is, the above steps S0705 to S708 may be executed before step S709, as shown in FIG. 8 .

实施例二:本申请提供另一种私网签约信息更新方法。Embodiment 2: This application provides another method for updating private network contract information.

方案一,该方法包括:第一接入网设备向第二接入网设备获取UE的上下文时,第二接入网设备可以基于核心网设备发送的私网签约信息对第一接入网设备进行验证。若验证失败,则第二接入网设备向第一接入网设备发送恢复UE上下文失败,第一接入网设备触发与UE之间的RRC建立过程。若验证成功,则第二接入网设备向第一接入网设备发送UE上下文,第一接入网设备触发与UE之间的RRC恢复过程。Solution 1, the method includes: when the first access network device obtains the context of the UE from the second access network device, the second access network device can verify the first access network device based on the private network contract information sent by the core network device. If the verification fails, the second access network device sends a message to the first access network device that the UE context recovery has failed, and the first access network device triggers the RRC establishment process with the UE. If the verification succeeds, the second access network device sends the UE context to the first access network device, and the first access network device triggers the RRC recovery process with the UE.

其中,第一接入网设备为目标小区所在的接入网设备,第二接入网设备为源小区所在的接入网设备,源小区为终端设备进入INACTIVE态之前接入的第一小区,目标小区为终端设备由INACTIVE态恢复RRC连接时接入的小区。Among them, the first access network device is the access network device where the target cell is located, the second access network device is the access network device where the source cell is located, the source cell is the first cell accessed by the terminal device before entering the INACTIVE state, and the target cell is the cell accessed when the terminal device restores the RRC connection from the INACTIVE state.

第一接入网设备、第二接入网设备、核心网设备,具体参阅实施例一中第一接入网设备、第二接入网设备、核心网设备的相关描述,这里不再赘述。For the first access network device, the second access network device, and the core network device, please refer to the relevant descriptions of the first access network device, the second access network device, and the core network device in Embodiment 1, which will not be repeated here.

为了更好的理解方案一提供的方法,下面以核心网设备为AMF为例进行说明,如图9所示,私网签约信息更新流程可以为:In order to better understand the method provided by Solution 1, the following takes the core network device as AMF as an example for explanation. As shown in Figure 9, the private network contract information update process can be:

S901,AMF给源小区发送下行NAS传输消息,其中的NAS-PDU和MobilityRestriction List都带有新的私网签约信息。S901, AMF sends a downlink NAS transmission message to the source cell, in which the NAS-PDU and MobilityRestriction List both carry new private network subscription information.

S902,源小区对该UE发起RAN寻呼。S902: The source cell initiates RAN paging to the UE.

一种实施方式中,该寻呼消息可以发给UE的RNA内所有的基站。In one implementation, the paging message may be sent to all base stations within the RNA of the UE.

S903,目标小区收到该寻呼消息后,对该UE发起RAN寻呼。S903: After receiving the paging message, the target cell initiates RAN paging to the UE.

示例性的,目标小区可以用非激活态无线网络临时标识(inactive radionetwork temporary identifier,I-RNTI)去寻呼UE。Exemplarily, the target cell may use an inactive radio network temporary identifier (I-RNTI) to page the UE.

S904,在目标小区驻留的UE听到该寻呼消息后,在目标小区发送RRC恢复请求消息。S904: After hearing the paging message, the UE residing in the target cell sends an RRC recovery request message in the target cell.

S905,目标小区向源小区发送获取UE上下文请求消息。S905: The target cell sends a UE context acquisition request message to the source cell.

可选的,目标小区可以根据I-RNTI得到源基站信息。Optionally, the target cell may obtain source base station information according to the I-RNTI.

S906,源小区根据AMF发送的私网签约信息对目标小区进行验证。若验证不通过,执行S907。S906: The source cell verifies the target cell based on the private network subscription information sent by the AMF. If the verification fails, execute S907.

若验证通过,则源小区可以向目标小区发送UE的上下文。If the verification is successful, the source cell can send the UE context to the target cell.

可选的,若目标小区属于私网签约信息中指示的签约小区,则验证通过,反之,则验证不通过。Optionally, if the target cell belongs to the contracted cell indicated in the private network contract information, the verification passes; otherwise, the verification fails.

S907,源小区向目标小区发送恢复UE上下文失败。S907: The source cell sends a message to the target cell indicating that the UE context recovery has failed.

可选的,恢复UE上下文失败可以携带第一指示信息,该第一指示信息用于指示获取UE上下文的原因与私网签约信息相关。第一指示信息,具体可以参阅上述实施例一中第一指示信息的相关描述,这里不再赘述。Optionally, the failure to restore the UE context may carry first indication information, where the first indication information is used to indicate that the reason for obtaining the UE context is related to the private network subscription information. For the first indication information, please refer to the related description of the first indication information in the above embodiment 1, which will not be repeated here.

S908,目标小区与UE之间进行RRC建立。S908: RRC is established between the target cell and the UE.

S909,UE给目标小区发送RRC完成消息。S909, the UE sends an RRC completion message to the target cell.

示例性的,该消息可以标志着UE在目标小区侧完成RRC接入。Exemplarily, the message may indicate that the UE completes RRC access on the target cell side.

S910,目标小区向AMF发送初始UE消息。S910, the target cell sends an initial UE message to the AMF.

S911,AMF向目标小区发送初始上下文建立请求。其中,初始上下文建立请求消息可以携带UE的私网签约信息。S911, AMF sends an initial context establishment request to the target cell. The initial context establishment request message may carry the private network subscription information of the UE.

S912,目标小区向AMF发送初始上下文建立响应。S912, the target cell sends an initial context establishment response to the AMF.

S913,目标小区向UE发送下行信息转发,其中,该下行信息转发消息携带UE的私网签约信息。S913, the target cell sends a downlink information forwarding message to the UE, wherein the downlink information forwarding message carries the private network subscription information of the UE.

S914,UE向目标小区发送上行信息转发,其中,该下行信息转发消息可以用于指示私网签约信息更新完成。S914, the UE sends an uplink information forwarding message to the target cell, wherein the downlink information forwarding message can be used to indicate that the private network subscription information update is complete.

S915,目标小区向AMF发送上行NAS传输,其中,该上行NAS传输消息可以用于指示私网签约信息更新完成。S915, the target cell sends an uplink NAS transmission to the AMF, wherein the uplink NAS transmission message can be used to indicate that the private network contract information update is complete.

可以理解的,上述源小区的动作可以由源小区所在的接入网设备即第二接入网设备执行,上述目标小区的动作可以由目标小区所在的接入网设备即第一接入网设备执行。It can be understood that the above-mentioned source cell action can be performed by the access network device where the source cell is located, that is, the second access network device, and the above-mentioned target cell action can be performed by the access network device where the target cell is located, that is, the first access network device.

方案二:该方法包括:第一接入网设备向第二接入网设备获取UE的上下文时,第二接入网设备可以向第一接入网设备发送UE上下文信息。第一接入网设备触发与UE之间的RRC恢复过程,并在第一接入网设备与UE之间的RRC连接恢复后向UE发送私网签约信息。Solution 2: The method includes: when the first access network device obtains the context of the UE from the second access network device, the second access network device can send the UE context information to the first access network device. The first access network device triggers the RRC recovery process between the first access network device and the UE, and sends the private network subscription information to the UE after the RRC connection between the first access network device and the UE is restored.

其中,第一接入网设备为目标小区所在的接入网设备,第二接入网设备为源小区所在的接入网设备,源小区为终端设备进入INACTIVE态之前接入的第一小区,目标小区为终端设备由INACTIVE态恢复RRC连接时接入的小区。Among them, the first access network device is the access network device where the target cell is located, the second access network device is the access network device where the source cell is located, the source cell is the first cell accessed by the terminal device before entering the INACTIVE state, and the target cell is the cell accessed when the terminal device restores the RRC connection from the INACTIVE state.

第一接入网设备、第二接入网设备、核心网设备,具体参阅实施例一中第一接入网设备、第二接入网设备、核心网设备的相关描述,这里不再赘述。For the first access network device, the second access network device, and the core network device, please refer to the relevant descriptions of the first access network device, the second access network device, and the core network device in Embodiment 1, which will not be repeated here.

为了更好的理解实施例三提供的方法,下面以核心网设备为AMF为例进行说明,私网签约信息更新流程可以为:In order to better understand the method provided in Example 3, the following takes the core network device as AMF as an example for explanation, and the private network subscription information update process may be:

步骤A1~A5,具体可以参阅S901~S905,这里不再赘述。For steps A1 to A5, please refer to S901 to S905 for details, which will not be described again here.

A6,源小区向目标小区发送UE上下文,该UE上下文中包含新的私网签约信息。A6: The source cell sends a UE context to the target cell, where the UE context includes new private network subscription information.

A7,目标小区向UE发送RRC恢复消息。A7: The target cell sends an RRC recovery message to the UE.

A8,UE向目标小区发送RRC恢复完成消息。A8. The UE sends an RRC recovery complete message to the target cell.

A9,目标小区向UE发新的私网签约信息。A9: The target cell sends new private network subscription information to the UE.

A10,UE向目标小区发送配置完成消息,该配置完成消息用于指示私网签约信息更新完成。A10, the UE sends a configuration completion message to the target cell, where the configuration completion message is used to indicate that the private network subscription information update is complete.

A11,目标小区向AMF转发UE的该配置完成消息。A11, the target cell forwards the UE's configuration completion message to the AMF.

可以理解的,上述源小区的动作可以由源小区所在的接入网设备即第二接入网设备执行,上述目标小区的动作可以由目标小区所在的接入网设备即第一接入网设备执行。It can be understood that the above-mentioned source cell action can be performed by the access network device where the source cell is located, that is, the second access network device, and the above-mentioned target cell action can be performed by the access network device where the target cell is located, that is, the first access network device.

本申请实施例二引入了一种解决方案,目标小区向源小区去获取上下文失败时,目标小区触发RRC建立过程。或者目标小区获取上下文成功,触发RRC恢复过程。对通信协议的完整性做了补充,从而可以解决私网签约信息中无法完成更新的问题。The second embodiment of the present application introduces a solution. When the target cell fails to obtain the context from the source cell, the target cell triggers the RRC establishment process. Or the target cell successfully obtains the context and triggers the RRC recovery process. The integrity of the communication protocol is supplemented, so as to solve the problem that the private network contract information cannot be updated.

实施例三:本申请提供另一种私网签约信息更新方法。以核心网设备为AMF为例,如图10所示,私网签约信息更新流程可以为:Embodiment 3: This application provides another method for updating private network contract information. Taking the core network device as AMF as an example, as shown in FIG10 , the private network contract information update process may be:

S1001,AMF给源小区发送下行NAS传输消息,其中的NAS-PDU携带有新的私网签约信息。S1001, AMF sends a downlink NAS transmission message to the source cell, in which the NAS-PDU carries new private network subscription information.

一种可能的实施方式中,下行NAS传输消息可以只在NAS-PDU携带有新的私网签约信息。In a possible implementation manner, the downlink NAS transmission message may carry new private network subscription information only in the NAS-PDU.

例如,下行NAS传输消息包括NAS-PDU以及Mobility Restriction List,其中,NAS-PDU携带有新的私网签约信息,Mobility Restriction List不携带新的私网签约信息。For example, the downlink NAS transmission message includes NAS-PDU and Mobility Restriction List, wherein the NAS-PDU carries new private network subscription information, and the Mobility Restriction List does not carry new private network subscription information.

又例如,下行NAS传输消息包括NAS-PDU,不包括Mobility Restriction List,其中,NAS-PDU携带有新的私网签约信息。For another example, the downlink NAS transmission message includes NAS-PDU but does not include Mobility Restriction List, wherein the NAS-PDU carries new private network subscription information.

S1002~S1005,可以参阅S902~S905,这里不再赘述。S1002~S1005 can refer to S902~S905, which will not be repeated here.

S1006,源小区可以向目标小区发送恢复UE上下文响应,其中,该恢复UE上下文响应携带新的签约信息,例如,携带AMF发送的NAS-PDU。S1006. The source cell may send a restore UE context response to the target cell, wherein the restore UE context response carries new subscription information, for example, carries the NAS-PDU sent by the AMF.

S1007,目标小区与UE进行RRC恢复。S1007, the target cell and the UE perform RRC recovery.

S1008,UE给目标小区发送RRC恢复完成消息。S1008, the UE sends an RRC recovery complete message to the target cell.

示例性的,该消息可以标志着UE在目标小区侧完成RRC恢复消息。Exemplarily, the message may indicate that the UE completes the RRC recovery message on the target cell side.

S1009,目标小区向UE发送下行信息转发,其中,该下行信息转发消息携带UE的私网签约信息。S1009, the target cell sends a downlink information forwarding message to the UE, wherein the downlink information forwarding message carries the private network subscription information of the UE.

S1010,UE向目标小区发送上行信息转发,其中,该下行信息转发消息可以用于指示私网签约信息更新完成。S1010, the UE sends an uplink information forwarding message to the target cell, wherein the downlink information forwarding message can be used to indicate that the private network subscription information update is complete.

S1011,目标小区向AMF发送上行NAS传输,其中,该上行NAS传输消息可以用于指示私网签约信息更新完成。S1011, the target cell sends an uplink NAS transmission to the AMF, wherein the uplink NAS transmission message can be used to indicate that the private network contract information update is complete.

S1012,AMF向目标小区发送下行NAS传输,其中的Mobility Restriction List携带有新的私网签约信息。S1012, AMF sends a downlink NAS transmission to the target cell, in which the Mobility Restriction List carries the new private network subscription information.

可以理解的,上述源小区的动作可以由源小区所在的接入网设备即第二接入网设备执行,上述目标小区的动作可以由目标小区所在的接入网设备即第一接入网设备执行。第一接入网设备、第二接入网设备、核心网设备,具体参阅实施例一中第一接入网设备、第二接入网设备、核心网设备的相关描述,这里不再赘述。It can be understood that the above-mentioned source cell action can be performed by the access network device where the source cell is located, that is, the second access network device, and the above-mentioned target cell action can be performed by the access network device where the target cell is located, that is, the first access network device. For the first access network device, the second access network device, and the core network device, please refer to the relevant description of the first access network device, the second access network device, and the core network device in Embodiment 1, which will not be repeated here.

本申请实施例三引入了一种解决方案:AMF分两次发送新的签约信息,分别通知UE和基站,从而可以避免源基站进一步判断。这样,基站侧的行为则和现有流程基本一样,对协议改动比较小。The third embodiment of the present application introduces a solution: AMF sends new subscription information twice, notifying UE and base station respectively, so as to avoid further judgment by the source base station. In this way, the behavior of the base station side is basically the same as the existing process, and the protocol is slightly changed.

实施例四:本申请提供另一种私网签约信息更新方法。以核心网设备为AMF为例,如图11所示,私网签约信息更新流程可以为:Embodiment 4: This application provides another method for updating private network contract information. Taking the core network device as AMF as an example, as shown in FIG11 , the private network contract information update process may be:

S1101,AMF确定该UE处于INACTIVE态且源小区不在新的签约信息中。S1101, AMF determines that the UE is in the INACTIVE state and the source cell is not in the new subscription information.

可选的,源小区在UE处于INACTIVE态后可以上报给AMF。Optionally, the source cell can be reported to the AMF after the UE is in the INACTIVE state.

S1102,AMF向源小区发送释放消息。S1102, AMF sends a release message to the source cell.

可选的,该释放消息可以携带第一指示信息,该第一指示信息用于指示获取UE上下文的原因与私网签约信息相关。第一指示信息,具体可以参阅上述实施例一中第一指示信息的相关描述,这里不再赘述。Optionally, the release message may carry first indication information, and the first indication information is used to indicate that the reason for acquiring the UE context is related to the private network subscription information. For the first indication information, please refer to the relevant description of the first indication information in the above embodiment 1, which will not be repeated here.

可选的,S1103,源小区向AMF发送该UE的RNA范围。Optionally, S1103, the source cell sends the RNA range of the UE to the AMF.

通过执行步骤S1103,AMF在发起寻呼的时候,不需要在TAI list范围内,只需要在RNA范围内,一般说来,RNA比TAI list范围小。如TAI list是基站1-基站10下的所有小区,而该UE的RNA可能是基站1-基站5下的所有小区。所以如果源基站把RNA范围给AMF,AMF可以只在RNA范围内寻呼,从而可以节省很多信令和资源。By executing step S1103, when AMF initiates paging, it does not need to be within the TAI list range, but only within the RNA range. Generally speaking, the RNA range is smaller than the TAI list range. For example, the TAI list is all cells under base station 1 to base station 10, and the RNA of the UE may be all cells under base station 1 to base station 5. Therefore, if the source base station gives the RNA range to the AMF, the AMF can only page within the RNA range, thereby saving a lot of signaling and resources.

其中,步骤S1103是可选的,可以执行,也可以不执行。Among them, step S1103 is optional and may be executed or not.

S1104,AMF发起CN寻呼。S1104, AMF initiates CN paging.

其中,若执行步骤S1103,则AMF可以在RNA范围内发起CN寻呼。Among them, if step S1103 is executed, the AMF can initiate CN paging within the RNA range.

若不执行步骤S1103,则AMF可以在TAI list范围内发起CN寻呼。If step S1103 is not performed, the AMF can initiate CN paging within the TAI list.

示例性的,核心网设备(如AMF)发起的寻呼,可以称为CN Paging。CN寻呼可以由5G核心网的AMF发起,发送寻呼消息基站,基站再透传给与自己的相关小区相连的所有的UE,监听到寻呼消息的UE会查看其中是否含有自己的ID,是的话可以发起RRC建立请求,和网络进行连接;不是的话,可以忽略这个寻呼请求。For example, paging initiated by core network equipment (such as AMF) can be called CN Paging. CN paging can be initiated by the AMF of the 5G core network, sending a paging message to the base station, which then transparently transmits it to all UEs connected to its related cells. The UE that monitors the paging message will check whether it contains its own ID. If so, it can initiate an RRC establishment request to connect to the network; if not, it can ignore the paging request.

S1105,目标小区发送CN寻呼。S1105, the target cell sends a CN paging.

S1106,处于INACTIVE态的UE收到CN寻呼后,与目标小区进行RRC建立。S1106: After receiving the CN paging, the UE in the INACTIVE state establishes an RRC connection with the target cell.

S1107~S1112,可以参阅S910~S915,这里不再赘述。S1107~S1112 can refer to S910~S915, which will not be repeated here.

可以理解的,上述源小区的动作可以由源小区所在的接入网设备即第二接入网设备执行,上述目标小区的动作可以由目标小区所在的接入网设备即第一接入网设备执行。第一接入网设备、第二接入网设备、核心网设备,具体参阅实施例一中第一接入网设备、第二接入网设备、核心网设备的相关描述,这里不再赘述。It can be understood that the above-mentioned source cell action can be performed by the access network device where the source cell is located, that is, the second access network device, and the above-mentioned target cell action can be performed by the access network device where the target cell is located, that is, the first access network device. For the first access network device, the second access network device, and the core network device, please refer to the relevant description of the first access network device, the second access network device, and the core network device in Embodiment 1, which will not be repeated here.

本申请实施例四,引入了一种解决方案:AMF发起RRC释放,并带上NPN相关的原因,源基站则把该UE的RNA发给AMF,以便于AMF在RNA内发起CN寻呼,相比于在TAI List里寻呼节约大量开销。并且,通过实施例四的方案,INACTIVE UE可以完成NPN签约信息更新。In the fourth embodiment of the present application, a solution is introduced: AMF initiates RRC release with NPN-related reasons, and the source base station sends the RNA of the UE to AMF, so that AMF can initiate CN paging in RNA, which saves a lot of overhead compared to paging in TAI List. Moreover, through the solution of the fourth embodiment, INACTIVE UE can complete the NPN subscription information update.

实施例五:本申请提供另一种私网签约信息更新方法。该方法包括:Embodiment 5: This application provides another method for updating private network contract information. The method includes:

源小区在收到AMF发送的新的私网签约信息时,对RNA内的小区进行区别对待:When the source cell receives the new private network subscription information sent by AMF, it treats the cells in RNA differently:

对于仍在新的私网签约信息内的小区发送RAN paging,仍在新的私网签约信息内的小区在小区内进行RAN paging。UE如果在仍在新的私网签约信息内的小区接收到寻呼消息,则发起RRC恢复。可选的,RAN paging可以携带I-RNTI。For cells that are still in the new private network subscription information, RAN paging is sent, and cells that are still in the new private network subscription information perform RAN paging in the cells. If the UE receives a paging message in a cell that is still in the new private network subscription information, RRC recovery is initiated. Optionally, RAN paging can carry I-RNTI.

而对不在新的私网签约信息范围内的小区,则发送携带指示信息的Paging,该指示信息用于指示该小区不属于私网签约信息指示的签约小区。不在新的私网签约信息范围内的小区在小区内进行CN paging。如果UE在不在新的私网签约信息范围内的小区收到CNpaging,在该小区发起RRC建立请求。可选的,该指示信息可以为S-TMSI。此外,该Paging还可以携带I-RNTI。For cells that are not within the scope of the new private network contract information, a Paging carrying indication information is sent, and the indication information is used to indicate that the cell does not belong to the contracted cell indicated by the private network contract information. Cells that are not within the scope of the new private network contract information perform CN paging within the cell. If the UE receives CN paging in a cell that is not within the scope of the new private network contract information, an RRC establishment request is initiated in the cell. Optionally, the indication information can be S-TMSI. In addition, the Paging can also carry I-RNTI.

为了更好的理解本申请实施例五提供的方案,以核心网设备为AMF为例,如图12所示,私网签约信息更新流程可以为:In order to better understand the solution provided in Embodiment 5 of the present application, taking the core network device as AMF as an example, as shown in FIG12, the private network subscription information update process may be:

S1201,可以参阅S901,这里不再赘述。For S1201, please refer to S901, which will not be repeated here.

S1201,源基站向目标基站发送寻呼消息。S1201, the source base station sends a paging message to the target base station.

该寻呼消息可以携带I-RNTI和/或S-TMSI。可选的,上述I-RNTI或者S-TMSI可以是per cell指示的,使得目标基站可以确定在对应的小区发送的寻呼消息中需要携带的UE标识。或者,该寻呼消息中还可以携带指示信息,该指示信息用于指示目标基站在对应的小区发送包含I-RNTI还是S-TMSI的寻呼消息,或者,该指示信息用于指示目标基站下的小区是否仍在新的私网签约信息内。The paging message may carry I-RNTI and/or S-TMSI. Optionally, the above-mentioned I-RNTI or S-TMSI may be indicated per cell, so that the target base station can determine the UE identifier that needs to be carried in the paging message sent by the corresponding cell. Alternatively, the paging message may also carry indication information, which is used to indicate whether the target base station sends a paging message containing I-RNTI or S-TMSI in the corresponding cell, or the indication information is used to indicate whether the cell under the target base station is still within the new private network contract information.

具体的,(a)若目标基站下的小区向仍在新的私网签约信息内,目标基站基于上述寻呼消息,确定在该小区携带I-RNTI的寻呼消息。Specifically, (a) if the cell under the target base station is still in the new private network subscription information, the target base station determines, based on the above paging message, a paging message carrying the I-RNTI in the cell.

(b),若目标基站下的小区向不在新的私网签约信息内,目标基站基于上述寻呼消息,确定在该小区发送携带S-TMSI的寻呼消息。(b) If the cell under the target base station is not in the new private network subscription information, the target base station determines to send a paging message carrying the S-TMSI in the cell based on the above paging message.

S1203,目标基站基于上述寻呼消息在目标小区中发送携带I-RNTI或者S-TMSI的寻呼消息。S1203: The target base station sends a paging message carrying the I-RNTI or S-TMSI in the target cell based on the paging message.

S1204,UE与目标小区之间建立RRC连接。S1204: An RRC connection is established between the UE and the target cell.

S1205~S1210,可以参阅S910~S915,这里不再赘述。S1205~S1210 can refer to S910~S915, which will not be repeated here.

可以理解的,上述源小区的动作可以由源小区所在的接入网设备即第二接入网设备执行,上述目标基站和/或目标小区的动作可以由目标小区所在的接入网设备即第一接入网设备执行。第一接入网设备、第二接入网设备、核心网设备,具体参阅实施例一中第一接入网设备、第二接入网设备、核心网设备的相关描述,这里不再赘述。It can be understood that the above-mentioned source cell action can be performed by the access network device where the source cell is located, that is, the second access network device, and the above-mentioned target base station and/or target cell action can be performed by the access network device where the target cell is located, that is, the first access network device. For the first access network device, the second access network device, and the core network device, please refer to the relevant description of the first access network device, the second access network device, and the core network device in Embodiment 1, which will not be repeated here.

本申请实施例五提供了一种解决方案:源小区对于仍在新的私网签约信息中的小区以及不在新的私网签约信息中的小区进行区别对待,从而不在新的私网签约信息中的小区可以触发UE发起RRC建立过程,从而INACTIVE UE可以完成私网签约信息更新。Embodiment 5 of the present application provides a solution: the source cell treats cells that are still in the new private network contract information and cells that are not in the new private network contract information differently, so that the cells that are not in the new private network contract information can trigger the UE to initiate the RRC establishment process, so that the INACTIVE UE can complete the update of the private network contract information.

实施例六:本申请提供另一种私网签约信息更新方法。该方法可以应用于源小区和目标小区是相同基站的场景中,该方法包括:Embodiment 6: This application provides another method for updating private network subscription information. This method can be applied to a scenario where the source cell and the target cell are the same base station, and the method includes:

源小区在收到AMF发送的新的私网签约信息,发现目标小区不在新的私网签约消息中,并不释放该UE,而是发送RRC建立给UE,让INACTIVE态的UE和IDLE态的行为一致。When the source cell receives the new private network subscription information sent by AMF and finds that the target cell is not in the new private network subscription message, it does not release the UE, but sends an RRC establishment to the UE to make the behavior of the UE in the INACTIVE state consistent with that in the IDLE state.

或者,因为该源小区以及目标小区所在的基站有UE的上下文和新的私网签约信息,因此可以触发UE进行RRC恢复,完成私网签约信息的更新。Alternatively, because the base stations where the source cell and the target cell are located have the UE's context and new private network subscription information, the UE can be triggered to perform RRC recovery to complete the update of the private network subscription information.

为了更好的理解本申请实施例六提供的方案,以核心网设备为AMF为例,如图13所示,私网签约信息更新流程可以为:In order to better understand the solution provided in Embodiment 6 of the present application, taking the core network device as AMF as an example, as shown in FIG13, the private network subscription information update process may be:

S1301~S1304,可以参阅S901~S904,这里不再赘述。S1301~S1304 can refer to S901~S904, which will not be repeated here.

S1305,目标小区确定自己不在新的私网签约信息内。S1305: The target cell determines that it is not included in the new private network contract information.

S1306~S1313,可以参阅S908~S915,这里不再赘述。S1306~S1313, please refer to S908~S915, which will not be repeated here.

可以理解的,上述源小区和目标小区的动作可以由同一个接入网设备即源小区和目标小区所在的接入网设备执行。It can be understood that the above-mentioned actions of the source cell and the target cell can be executed by the same access network device, that is, the access network device where the source cell and the target cell are located.

本申请实施例五,针对源小区和目标小区是相同基站,目标小区不在新的私网签约信息中的情况,引入了一种解决方案:该基站忽略新的私网签约信息,让UE完成RRC恢复,完成新的私网签约信息更新。In the fifth embodiment of the present application, a solution is introduced for the situation where the source cell and the target cell are the same base station and the target cell is not in the new private network contract information: the base station ignores the new private network contract information, allows the UE to complete RRC recovery, and completes the update of the new private network contract information.

基于与方法实施例的同一发明构思,本申请实施例提供一种私网签约信息更新装置。该装置的结构可以如图14所示,包括通信单元1401、处理单元402。Based on the same inventive concept as the method embodiment, the embodiment of the present application provides a private network contract information updating device. The structure of the device may be as shown in FIG. 14 , including a communication unit 1401 and a processing unit 402 .

一种具体实施方式中,该装置具体可以用于实现图6~图7所述的实施例中核心网设备执行的方法,该装置可以是核心网设备本身,也可以是核心网设备中的芯片或芯片组或芯片或芯片中用于执行相关方法功能的一部分。其中,通信单元1401,用于接收来自第一接入网设备的私网信息,私网信息包括第一接入网设备与终端设备用于恢复无线资源控制RRC连接的小区所支持的至少一个私网的标识。处理单元1402,用于基于私网信息以及终端设备的私网签约信息进行验证,私网签约信息为核心网设备保存的。In a specific implementation, the device can be specifically used to implement the method executed by the core network device in the embodiments described in Figures 6 to 7. The device can be the core network device itself, or it can be a chip or chipset in the core network device or a chip or a part of the chip used to execute the function of the relevant method. Among them, the communication unit 1401 is used to receive private network information from the first access network device, and the private network information includes the identifier of at least one private network supported by the cell used by the first access network device and the terminal device to restore the radio resource control RRC connection. The processing unit 1402 is used to perform verification based on the private network information and the private network contract information of the terminal device, and the private network contract information is saved by the core network device.

可选的,处理单元1402,在基于私网信息以及终端设备的私网签约信息进行验证时,可以:若私网信息中至少一个私网标识属于私网签约信息,则验证通过;或者,若私网信息中私网标识不属于私网签约信息,则验证不通过。Optionally, when processing unit 1402 performs verification based on the private network information and the private network contract information of the terminal device: if at least one private network identifier in the private network information belongs to the private network contract information, the verification is successful; or, if the private network identifier in the private network information does not belong to the private network contract information, the verification fails.

通信单元1401,还可以用于在接收来自第一接入网设备的私网信息之后,私网信息中私网标识不属于私网签约信息,则向第一接入网设备发送释放消息,释放消息用于指示第一接入网设备释放与终端设备之间的RRC连接。Communication unit 1401 can also be used to send a release message to the first access network device after receiving private network information from the first access network device, if the private network identifier in the private network information does not belong to the private network contract information, and the release message is used to instruct the first access network device to release the RRC connection between the first access network device and the terminal device.

示例性的,释放消息携带第一指示信息,第一指示信息用于指示路径转换失败的原因与私网签约信息相关。Exemplarily, the release message carries first indication information, and the first indication information is used to indicate that the reason for the path switching failure is related to the private network contract information.

示例性的,第一指示信息为无效私网的标识。Exemplarily, the first indication information is an identifier of an invalid private network.

一种具体实施方式中,该装置具体可以用于实现图6~图7所述的实施例中核心网设备执行的方法,该装置可以是核心网设备本身,也可以是核心网设备中的芯片或芯片组或芯片或芯片中用于执行相关方法功能的一部分。其中,处理单元1402,用于恢复与终端设备之间的无线资源控制RRC连接;通信单元1401,用于向核心网设备发送私网信息,私网信息包括第一接入网设备与终端设备恢复无线资源控制RRC连接的小区所支持的至少一个私网的标识。In a specific implementation, the device can be specifically used to implement the method executed by the core network device in the embodiments described in Figures 6 to 7. The device can be the core network device itself, or it can be a chip or chipset in the core network device or a chip or a part of the chip used to execute the function of the related method. Among them, the processing unit 1402 is used to restore the radio resource control RRC connection with the terminal device; the communication unit 1401 is used to send private network information to the core network device, and the private network information includes at least one private network identifier supported by the cell where the first access network device and the terminal device restore the radio resource control RRC connection.

通信单元1401,还可以用于在向核心网设备发送私网信息之后,接收终端设备的私网签约信息。The communication unit 1401 may also be used to receive private network subscription information of the terminal device after sending the private network information to the core network device.

通信单元1401,还可以用于在向核心网设备发送私网信息之后,接收来自核心网设备的释放消息,释放消息用于指示第一接入网设备释放与终端设备之间的RRC连接。The communication unit 1401 can also be used to receive a release message from the core network device after sending private network information to the core network device, and the release message is used to instruct the first access network device to release the RRC connection between the first access network device and the terminal device.

示例性的,释放消息携带第一指示信息,第一指示信息用于指示释放所述终端设备的原因和/或路径转换失败的原因。Exemplarily, the release message carries first indication information, and the first indication information is used to indicate the reason for releasing the terminal device and/or the reason for the path switching failure.

示例性的,第一指示信息包括如下至少一种:无效的私网标识;不支持的私网标识;不在私网签约范围内;不合理的私网接入。Exemplarily, the first indication information includes at least one of the following: invalid private network identification; unsupported private network identification; not within the scope of the private network contract; unreasonable private network access.

一种具体实施方式中,该装置具体可以用于实现图8所述的实施例中第二接入网设备执行的方法,该装置可以是第二接入网设备本身,也可以是第二接入网设备中的芯片或芯片组或芯片或芯片中用于执行相关方法功能的一部分。其中,通信单元1401,用于收发信号;处理单元1402,用于通过通信单元1401执行:接收来自第一接入网设备的第三消息,第三消息用于向第二接入网设备请求终端设备的上下文信息;若第二接入网设备以及第一接入网设备中至少一个接入网设备不属于私网签约信息指示的签约小区,向第一接入网设备发送第四消息,第四消息用于指示第一接入网设备获取上下文信息失败,第四消息携带指示信息,指示信息用于指示获取上下文信息失败的原因与私网签约信息相关。In a specific implementation, the device can be specifically used to implement the method executed by the second access network device in the embodiment described in FIG8 . The device can be the second access network device itself, or a chip or chipset in the second access network device or a part of a chip or a chip used to execute the function of the related method. Among them, the communication unit 1401 is used to send and receive signals; the processing unit 1402 is used to execute through the communication unit 1401: receiving a third message from the first access network device, the third message is used to request the context information of the terminal device from the second access network device; if at least one of the second access network device and the first access network device does not belong to the contracted cell indicated by the private network contract information, a fourth message is sent to the first access network device, the fourth message is used to indicate that the first access network device failed to obtain the context information, and the fourth message carries indication information, and the indication information is used to indicate that the reason for the failure to obtain the context information is related to the private network contract information.

一种具体实施方式中,该装置具体可以用于实现图8所述的实施例中第一接入网设备执行的方法,该装置可以是第一接入网设备本身,也可以是第一接入网设备中的芯片或芯片组或芯片或芯片中用于执行相关方法功能的一部分。其中,通信单元1401,用于收发信号;处理单元1402,用于通过通信单元1401执行:向第二接入网设备发送第三消息,第三消息用于向第二接入网设备请求终端设备的上下文信息;接收来自第二接入网设备的第四消息,第四消息用于指示第一接入网设备获取上下文信息失败,第四消息携带指示信息,指示信息用于指示获取上下文信息失败的原因与私网签约信息相关。In a specific implementation, the device can be specifically used to implement the method executed by the first access network device in the embodiment described in FIG. 8 . The device can be the first access network device itself, or it can be a chip or chipset in the first access network device or a part of a chip or a chip used to execute the function of the related method. Among them, the communication unit 1401 is used to send and receive signals; the processing unit 1402 is used to execute through the communication unit 1401: sending a third message to the second access network device, the third message is used to request the context information of the terminal device from the second access network device; receiving a fourth message from the second access network device, the fourth message is used to indicate that the first access network device failed to obtain the context information, and the fourth message carries indication information, and the indication information is used to indicate that the reason for the failure to obtain the context information is related to the private network contract information.

示例性的,第一指示信息包括如下至少一种:无效的私网标识;不支持的私网标识;不在私网签约范围内;不合理的私网接入。Exemplarily, the first indication information includes at least one of the following: invalid private network identification; unsupported private network identification; not within the scope of the private network contract; unreasonable private network access.

一种具体实施方式中,该装置具体可以用于实现图11所述的实施例中核心网设备执行的方法,该装置可以是核心网设备本身,也可以是核心网设备中的芯片或芯片组或芯片或芯片中用于执行相关方法功能的一部分。其中,处理单元1402,用于确定第二接入网设备不属于终端设备的签约小区,第二接入网设备为终端设备在进入非激活态之前最后为终端设备提供服务的接入网设备;通信单元1401,用于向第二接入网设备发送第一消息,第一消息用于指示第二接入网设备释放终端设备的上下文信息。In a specific implementation, the device can be specifically used to implement the method executed by the core network device in the embodiment described in FIG. 11. The device can be the core network device itself, or a chip or chipset in the core network device or a part of a chip or a chip used to execute the function of the related method. Among them, the processing unit 1402 is used to determine that the second access network device does not belong to the contracted cell of the terminal device, and the second access network device is the access network device that last provided services to the terminal device before the terminal device entered the inactive state; the communication unit 1401 is used to send a first message to the second access network device, and the first message is used to instruct the second access network device to release the context information of the terminal device.

示例性的,释放消息携带第一指示信息,第一指示信息用于指示路径转换失败的原因与私网签约信息相关。Exemplarily, the release message carries first indication information, and the first indication information is used to indicate that the reason for the path switching failure is related to the private network contract information.

示例性的,第一指示信息包括如下至少一种:无效的私网标识;不支持的私网标识;不在私网签约范围内;不合理的私网接入。Exemplarily, the first indication information includes at least one of the following: invalid private network identification; unsupported private network identification; not within the scope of the private network contract; unreasonable private network access.

通信单元101,还可以用于:在向第二接入网设备发送第一消息之后,接收来自第二接入网设备的第二信息,第二信息用于指示终端设备基于接入网的通知区RNA信息。The communication unit 101 may also be used to: after sending the first message to the second access network device, receive second information from the second access network device, where the second information is used to indicate access network-based notification area RNA information of the terminal device.

处理单元10402,还可以用于:在通信单元1401接收来自第二接入网设备的第二信息之后,在第二信息指示的RNA范围内发送寻呼消息。The processing unit 10402 may also be configured to: after the communication unit 1401 receives the second information from the second access network device, send a paging message within the RNA range indicated by the second information.

本申请实施例中对单元的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,另外,在本申请各个实施例中的各功能单元可以集成在一个处理器中,也可以是单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。可以理解的是,本申请实施例中各个单元的功能或者实现可以进一步参考方法实施例的相关描述。The division of units in the embodiments of the present application is schematic and is only a logical function division. There may be other division methods in actual implementation. In addition, each functional unit in each embodiment of the present application may be integrated into a processor, or may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of a software functional unit. It is understood that the functions or implementations of each unit in the embodiments of the present application may further refer to the relevant description of the method embodiment.

一种可能的方式中,通信装置可以如图15所示,该通信装置可以是终端设备或者终端设备中的芯片、或者可以是网络或者网络中的芯片。该通信装置可以包括处理器1501,通信接口1502,存储器1503。其中,处理单元1402可以为处理器1501。通信单元1401可以为通信接口1502。In a possible manner, the communication device may be as shown in FIG15, and the communication device may be a terminal device or a chip in the terminal device, or may be a network or a chip in the network. The communication device may include a processor 1501, a communication interface 1502, and a memory 1503. Among them, the processing unit 1402 may be the processor 1501. The communication unit 1401 may be a communication interface 1502.

处理器1501,可以是一个中央处理单元(central processing unit,CPU),或者为数字处理单元等等。通信接口1502可以是收发器、也可以为接口电路如收发电路等、也可以为收发芯片等等。该通信装置还包括:存储器1503,用于存储处理器1502执行的程序。存储器1503可以是非易失性存储器,比如硬盘(hard disk drive,HDD)或固态硬盘(solid-state drive,SSD)等,还可以是易失性存储器(volatile memory),例如随机存取存储器(random-access memory,RAM)。存储器1503是能够用于携带或存储具有指令或数据结构形式的期望的程序代码并能够由计算机存取的任何其他介质,但不限于此。The processor 1501 may be a central processing unit (CPU) or a digital processing unit, etc. The communication interface 1502 may be a transceiver, an interface circuit such as a transceiver circuit, etc., or a transceiver chip, etc. The communication device also includes: a memory 1503 for storing programs executed by the processor 1502. The memory 1503 may be a non-volatile memory, such as a hard disk drive (HDD) or a solid-state drive (SSD), etc., or a volatile memory (volatile memory), such as a random-access memory (RAM). The memory 1503 is any other medium that can be used to carry or store desired program codes in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto.

处理器1501用于执行存储器1503存储的程序代码,具体用于执行上述处理单元1402的动作,本申请在此不再赘述。The processor 1501 is used to execute the program code stored in the memory 1503, specifically to execute the actions of the above-mentioned processing unit 1402, which will not be described in detail in this application.

本申请实施例中不限定上述通信接口1501、处理器1502以及存储器1503之间的具体连接介质。本申请实施例在图15中以存储器1503、处理器1502以及通信接口1501之间通过总线15014连接,总线在图15中以粗线表示,其它部件之间的连接方式,仅是进行示意性说明,并不引以为限。所述总线可以分为地址总线、数据总线、控制总线等。为便于表示,图15中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。The specific connection medium between the communication interface 1501, the processor 1502 and the memory 1503 is not limited in the embodiment of the present application. In FIG. 15 , the memory 1503, the processor 1502 and the communication interface 1501 are connected via a bus 15014, and the bus is represented by a bold line in FIG. 15 . The connection mode between other components is only for schematic illustration and is not limited thereto. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, only one bold line is used in FIG. 15 , but it does not mean that there is only one bus or one type of bus.

本发明实施例还提供了一种计算机可读存储介质,用于存储为执行上述处理器所需执行的计算机软件指令,其包含用于执行上述处理器所需执行的程序。An embodiment of the present invention further provides a computer-readable storage medium for storing computer software instructions required to be executed by the above-mentioned processor, which includes a program required to be executed by the above-mentioned processor.

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

本申请是参照根据本申请的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present application is described with reference to the flowchart and/or block diagram of the method, device (system), and computer program product according to the present application. It should be understood that each process and/or box in the flowchart and/or block diagram, as well as the combination of the process and/or box in the flowchart and/or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device produce a device for implementing the functions specified in one process or multiple processes in the flowchart and/or one box or multiple boxes in the block diagram.

这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer-readable memory produce a manufactured product including an instruction device that implements the functions specified in one or more processes in the flowchart and/or one or more boxes in the block diagram.

这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions may also be loaded onto a computer or other programmable data processing device so that a series of operational steps are executed on the computer or other programmable device to produce a computer-implemented process, whereby the instructions executed on the computer or other programmable device provide steps for implementing the functions specified in one or more processes in the flowchart and/or one or more boxes in the block diagram.

显然,本领域的技术人员可以对本申请进行各种改动和变型而不脱离本申请的精神和范围。这样,倘若本申请的这些修改和变型属于本申请权利要求及其等同技术的范围之内,则本申请也意图包含这些改动和变型在内。Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.

Claims (10)

1.一种私网签约信息更新方法,其特征在于,包括:1. A method for updating private network contract information, comprising: 核心网设备接收来自第二接入网设备的第二指示信息,所述第二指示信息用于指示所述第二接入网设备无法向终端设备发送私网签约信息,所述终端设备处于非激活态,所述第二接入网设备为所述终端设备进入非激活态之前连接的接入网设备;The core network device receives second indication information from the second access network device, where the second indication information is used to indicate that the second access network device cannot send private network subscription information to the terminal device, the terminal device is in an inactive state, and the second access network device is the access network device to which the terminal device is connected before entering the inactive state; 所述核心网设备接收来自第一接入网设备的私网信息,所述第一接入网设备为所述终端设备发起无线资源控制RRC连接恢复请求的接入网设备,所述私网信息包括用于恢复所述终端设备的RRC连接的小区所支持的至少一个私网的标识,所述至少一个私网依赖于第一公网;The core network device receives private network information from a first access network device, where the first access network device is an access network device that initiates a radio resource control (RRC) connection recovery request for the terminal device, and the private network information includes an identifier of at least one private network supported by a cell for recovering the RRC connection of the terminal device, and the at least one private network depends on the first public network; 所述核心网设备基于所述私网信息以及所述终端设备的私网签约信息进行验证;The core network device performs verification based on the private network information and the private network subscription information of the terminal device; 若验证通过,所述核心网设备向所述第一接入网设备发送所述终端设备的私网签约信息。If the verification is successful, the core network device sends the private network signing information of the terminal device to the first access network device. 2.如权利要求1所述的方法,其特征在于,所述核心网设备基于所述私网信息以及所述终端设备的私网签约信息进行验证,包括:2. The method according to claim 1, wherein the core network device performs verification based on the private network information and the private network contract information of the terminal device, comprising: 若所述私网信息中至少一个私网标识属于所述私网签约信息,则验证通过;If at least one private network identifier in the private network information belongs to the private network contract information, the verification is successful; 或者,若所述私网信息中私网标识不属于所述私网签约信息,则验证不通过。Alternatively, if the private network identifier in the private network information does not belong to the private network contract information, the verification fails. 3.如权利要求1或2所述的方法,其特征在于,在核心网设备接收来自第一接入网设备的私网信息之后,还包括:3. The method according to claim 1 or 2, characterized in that after the core network device receives the private network information from the first access network device, it also includes: 若验证不通过,则所述核心网设备向所述第一接入网设备发送释放消息,所述释放消息用于指示所述第一接入网设备释放与所述终端设备之间的RRC连接。If the verification fails, the core network device sends a release message to the first access network device, and the release message is used to instruct the first access network device to release the RRC connection between the first access network device and the terminal device. 4.如权利要求3所述的方法,其特征在于,所述释放消息携带第一指示信息,所述第一指示信息用于指示释放所述终端设备的原因和/或路径转换失败的原因与私网签约信息相关。4. The method as claimed in claim 3 is characterized in that the release message carries first indication information, and the first indication information is used to indicate that the reason for releasing the terminal device and/or the reason for the path conversion failure is related to the private network contract information. 5.如权利要求4所述的方法,其特征在于,所述第一指示信息包括如下至少一种:无效的私网标识;不支持的私网标识;不在私网签约范围内;不合理的私网接入。5. The method as claimed in claim 4 is characterized in that the first indication information includes at least one of the following: invalid private network identification; unsupported private network identification; not within the scope of the private network contract; unreasonable private network access. 6.一种私网签约信息更新装置,其特征在于,所述装置包括处理单元和收发单元,所述收发单元,用于执行如权利要求1至5中任一项所述的方法中收发信号的动作;所述处理单元用于执行如权利要求1至5中任一项所述的方法中除收发信号以外的动作。6. A private network contract information updating device, characterized in that the device comprises a processing unit and a transceiver unit, the transceiver unit is used to perform the action of sending and receiving signals in the method as described in any one of claims 1 to 5; the processing unit is used to perform the actions other than sending and receiving signals in the method as described in any one of claims 1 to 5. 7.一种私网签约信息更新装置,其特征在于,所述装置包括处理器和通信接口,所述通信接口,用于接收计算机程序代码或指令并传输至所述处理器;所述处理器运行所述计算机程序代码或指令以使得所述装置实现如权利要求1-5任一项所述的方法。7. A private network contract information updating device, characterized in that the device includes a processor and a communication interface, the communication interface is used to receive computer program code or instructions and transmit them to the processor; the processor runs the computer program code or instructions so that the device implements the method described in any one of claims 1-5. 8.一种计算机可读存储介质,其特征在于,所述计算机可读存储介质中存储程序,所述程序在被一个或多个处理器读取并执行时可实现权利要求1-5任一项所述的方法。8. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a program, and when the program is read and executed by one or more processors, it can implement the method described in any one of claims 1 to 5. 9.一种通信系统,其特征在于,包括:如权利要求6中所述的装置。9. A communication system, comprising: the device as claimed in claim 6. 10.一种通信系统,其特征在于,包括:如权利要求7中所述的装置。10. A communication system, comprising: the device as claimed in claim 7.
CN202010091446.5A 2020-02-13 2020-02-13 Private network subscription information updating method and device Active CN113259924B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202010091446.5A CN113259924B (en) 2020-02-13 2020-02-13 Private network subscription information updating method and device
PCT/CN2021/076048 WO2021160096A1 (en) 2020-02-13 2021-02-08 Private network subscription information update method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010091446.5A CN113259924B (en) 2020-02-13 2020-02-13 Private network subscription information updating method and device

Publications (2)

Publication Number Publication Date
CN113259924A CN113259924A (en) 2021-08-13
CN113259924B true CN113259924B (en) 2024-07-05

Family

ID=77219907

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010091446.5A Active CN113259924B (en) 2020-02-13 2020-02-13 Private network subscription information updating method and device

Country Status (2)

Country Link
CN (1) CN113259924B (en)
WO (1) WO2021160096A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113727329B (en) * 2021-08-16 2023-05-02 中国联合网络通信集团有限公司 Communication method and device
CN115577206B (en) * 2022-12-06 2023-06-20 广东新禾道信息科技有限公司 Internet-based data processing method and system for online signing of housing transactions

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018027995A1 (en) * 2016-08-12 2018-02-15 华为技术有限公司 Paging method and paging device
CN110536331A (en) * 2019-01-29 2019-12-03 中兴通讯股份有限公司 A kind of configuration method of non-public network, device, CU, DU and base station
WO2021066171A1 (en) * 2019-10-04 2021-04-08 Nec Corporation Method, and base station

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017123428A1 (en) * 2016-01-12 2017-07-20 Intel IP Corporation Radio resource control enhancements for access stratum context reuse
CN108616950B (en) * 2016-12-28 2019-12-20 电信科学技术研究院 Mobility management method between wireless access networks, core network equipment and base station
CN110636572A (en) * 2018-06-21 2019-12-31 华为技术有限公司 Communication method and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018027995A1 (en) * 2016-08-12 2018-02-15 华为技术有限公司 Paging method and paging device
CN110536331A (en) * 2019-01-29 2019-12-03 中兴通讯股份有限公司 A kind of configuration method of non-public network, device, CU, DU and base station
WO2021066171A1 (en) * 2019-10-04 2021-04-08 Nec Corporation Method, and base station

Also Published As

Publication number Publication date
CN113259924A (en) 2021-08-13
WO2021160096A1 (en) 2021-08-19

Similar Documents

Publication Publication Date Title
CN110049070B (en) Event notification method and related equipment
WO2022257549A1 (en) Network slicing method and device, and storage medium
CN108322937B (en) Resource allocation method and orchestrator for network slices in a radio access network
CN113784418B (en) A session management method and device
CN110831261A (en) Combined RRC inactivity recovery, RRC RNA & NAS registration procedure
WO2020042860A1 (en) Rate control method, device and system
US20210329504A1 (en) Communication method and apparatus
CN110958623B (en) A cell configuration method and device
WO2021093438A1 (en) Network access method and communication apparatus
CN113259924B (en) Private network subscription information updating method and device
WO2020088467A1 (en) Terminal communication capability transmitting and receiving method and apparatus
CN102480796B (en) A kind of method and system realizing radio resource control connection reconstruction
WO2017032124A1 (en) Communication method and base station
WO2024032552A1 (en) Communication method and apparatus, and storage medium
WO2019119236A1 (en) Method and terminal for redirecting network, access network device, and mobile management device
CN109041265A (en) A kind of core network access method and base station
TW202308356A (en) Communication method and apparatus
CN103477675B (en) Obtain the method, apparatus and the network equipment of network node adjacent relation
CN115915092A (en) A communication method and device
WO2024109518A1 (en) Number segment cutover method, apparatus and system
WO2023061207A1 (en) Communication method, communication apparatus, and communication system
CN118250676A (en) A communication method and device
WO2025065568A1 (en) Task management method, communication apparatus, and communication system
WO2022016338A1 (en) Communication method and apparatus
CN116867004A (en) Communication processing method, terminal and network side equipment

Legal Events

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