Method and apparatus for registering terminal device

Registering terminal devices without physical connection through mobility management network elements solves the problems of high access network sharing costs and complex signaling interactions, and achieves efficient terminal device registration and business continuity.

WO2024193398A1PCT designated stage expired Publication Date: 2024-09-26HUAWEI TECH CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2024/081253
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-03-17
Filing Date
2024-03-12
Publication Date
2024-09-26

AI Technical Summary

Technical Problem

Existing technologies require physical connections when implementing access network sharing, resulting in high costs and complex signaling interactions, which affect the efficiency of registering terminal devices.

Method used

The mobility management network element address in the second network is determined through the mobility management network element and used as a control point to register the terminal device, so that the terminal device can be registered without physical connection, simplifying the registration process and reducing costs.

Benefits of technology

It reduces the implementation cost of access network sharing, simplifies the process of registering terminal equipment, improves registration efficiency, and maintains business continuity of terminal equipment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024081253_26092024_PF_FP
    Figure CN2024081253_26092024_PF_FP
Patent Text Reader

Abstract

Provided in the present application are a method and apparatus for registering a terminal device, which method and apparatus are used for reducing the cost of realizing access network sharing. The method comprises: a first mobility management network element in a first network receiving a first message from an access network element, wherein the first mobility management network element requests a second mobility management network element in a second network to register a terminal device. In this way, even if no physical connection exists between the second network and the access network element, the second network can also establish wireless communication with the access network element and provide services for the terminal device, such that access network sharing is realized, and the cost for realizing access network sharing is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Method and device for registering terminal equipment

[0001] CROSS-REFERENCE TO RELATED APPLICATIONS

[0002] This application claims priority to the Chinese patent application filed with the State Intellectual Property Office of China on March 17, 2023, with application number 202310296808.8 and application name “A method and device for registering terminal equipment”, the entire contents of which are incorporated by reference into this application. Technical Field

[0003] The embodiments of the present application relate to the field of communication technologies, and in particular to a method and apparatus for registering a terminal device. Background Art

[0004] Network sharing is an important means of reducing network deployment costs. For example, operator A can share operator B's network without having to deploy that network, reducing operator A's network deployment costs. Network sharing can be categorized into site sharing, access network sharing, and core network sharing, depending on the scope of the shared network. Access network sharing can be understood as multiple core networks sharing a single access network. An access network shared by multiple core networks is called a shared access network.

[0005] Under the access network sharing solution, a direct physical connection (e.g., fiber optic connection) exists between the shared access network and multiple core networks, allowing users to communicate with any of these core networks through the shared access network. If the shared access network does not have a direct physical connection with a core network, a physical fiber must be deployed between the shared access network and the core network to establish a physical connection between the shared access network and the core network in order to achieve access network sharing. However, this will undoubtedly lead to higher costs for implementing access network sharing.

[0006] Summary of the Invention

[0007] The embodiments of the present application provide a method and apparatus for registering a terminal device, which are used to reduce the cost of implementing a shared access network.

[0008] In a first aspect, an embodiment of the present application provides a method for registering a terminal device, which can be executed by a first mobility management network element. The first mobility management network element is, for example, a mobility management network element in a first network. The first mobility management network element is, for example, an access and mobility management function (AMF) or a mobility management entity (MME), etc. The method includes: receiving a first message from an access network network element, the first message being used to request registration of a terminal device, and the first message indicating an identifier of a second network, sending a second message to a second mobility management network element in the second network according to the identifier of the second network, and receiving a third message from the second mobility management network element, the third message indicating acceptance of registration of the terminal device.

[0009] In an embodiment of the present application, the access network network element can determine the address of the second mobility management network element through the first mobility management network element, and request the second mobility management network element to register the terminal device. The second mobility management network element can register the terminal device, which is equivalent to the second mobility management network element serving as the control point for registering the terminal device. In this way, even if there is no physical connection between the access network network element and the second network, the second mobility management network element in the second network can register the terminal device, so that the second network provides services for the terminal device, which is conducive to reducing the cost of implementing access network sharing. Moreover, since the second mobility management network element can implement the process of registering the terminal device by interacting with the network element in the second network, that is, the second mobility management network element does not need to interact with the network element in the first network during this process, a simplified process of registering the terminal device is provided, which is conducive to reducing the signaling interaction in the process of registering the terminal device, and is also conducive to improving the efficiency of registering the terminal device. In addition, the types of the first network and the second network can be arbitrary, for example, the types of the first network and the second network are the same, or the types of the first network and the second network are different. Specifically, for example, the first network is a fourth generation (4 th generation, 4G) communication network, and the second network is the fifth generation (5 th Thus, on the one hand, the method provided by the embodiment of the present application has strong applicability, and on the other hand, it can ensure the service continuity of terminal devices between various types of networks.

[0010] In a possible implementation, the method further includes: determining, based on the identifier of the second network, whether to allow registration of the terminal device. It should be understood that the first mobility management network element may determine whether to allow registration of the terminal device before sending the second message.

[0011] Optionally, the first mobility management network element may pre-store an identifier of at least one network that is allowed to interact with the first network. If the identifier of the second network is one of the identifiers of the at least one network, the first mobility management network element determines that registration of the terminal device is allowed. Conversely, if the identifier of the second network is not one of the identifiers of the at least one network, the first mobility management network element determines that registration of the terminal device is not allowed.

[0012] In the above embodiment, the first mobility management network element can determine whether to allow the terminal device to register, ensuring that the terminal device can be successfully registered later, which is conducive to improving the success rate of terminal device registration. In addition, it avoids the situation where the terminal device is not allowed to register but the subsequent process is still executed, which causes the resources of each network element to be wasted.

[0013] In one possible implementation, several possible forms of the first message are provided. For example, in the first form, the first message includes a registration request message and a first parameter, wherein one of the registration request message and the first parameter includes the identifier of the second network and / or the identifier of the terminal device. For example, in the second form, the first message includes the registration request message and the first parameter, and further includes the identifier of the second network and / or the identifier of the terminal device. The identifier of the terminal device can be used to determine the identifier of the second network. The first parameter is used to facilitate access to the terminal device.

[0014] In the above embodiment, the identifier of the second network and / or the identifier of the terminal device can be carried in the registration request message, the first parameter, or in the content of the first message other than the registration request message and the first parameter, providing multiple methods for indicating the identifier of the second network. Furthermore, these carrying methods enable the first mobility management network element to determine the identifier of the second network by simply parsing part of the content of the first message, which helps reduce the processing load of the first mobility management network element and eases the difficulty of determining the identifier of the second network.

[0015] In one possible embodiment, when the first message also includes the first parameter and the first parameter includes the identifier of the second network and / or the identifier of the terminal device, the first message indicates that the first mobility management network element does not parse the registration request message; or, when the first message also includes the first parameter and the first message also includes the identifier of the second network and / or the identifier of the terminal device, the first message indicates that the first mobility management network element does not parse the registration request message and the first parameter.

[0016] In the above embodiment, the first message may indicate not to parse the registration request message, or indicate not to parse the registration request message and the first parameter. In this way, after the first mobility management network element receives the first message, it can clearly identify the part of the first message that does not need to be parsed. Accordingly, the first mobility management network element can parse part of the content in the first message (such as the content other than the content indicating not to parse) to determine the identifier of the second network, which is beneficial for the first mobility management network element to determine the identifier of the second network more directly and quickly.

[0017] In a possible implementation manner, the second message may further include the first parameter.

[0018] In the above embodiment, the second message may include part or all of the first message, which enables the first mobility management network element to generate the second message even without parsing all the contents of the first message, making the method of generating the second message simpler.

[0019] In one possible implementation, the second message includes a first connection identifier and / or an identifier of the terminal device, the third message includes a registration acceptance message, the third message also includes the first connection identifier and / or an identifier of the terminal device, the registration acceptance message indicates acceptance of registration of the terminal device, and the first connection identifier is used to identify the connection between the access network network element and the first mobility management network element; the method also includes: sending the registration acceptance message to the terminal device through the access network network element according to the first connection identifier and / or the identifier of the terminal device.

[0020] In the above embodiment, the first mobility management network element can send a registration acceptance message to the terminal device using the first connection identifier and / or the terminal device in the third message, providing multiple ways for the first mobility management network element to communicate with the terminal device. Furthermore, the terminal device can promptly determine the registration result, which helps improve the user experience of the terminal device.

[0021] In one possible implementation, sending a second message to a second mobility management network element in the second network according to the identifier of the second network includes: determining an address of the second mobility management network element according to the identifier of the second network; and sending a fourth message to a security edge protection agent in the second network, so that the security edge protection agent in the second network sends the second message to the second mobility management network element, the fourth message including the address of the second mobility management network element and the registration request message.

[0022] In the above embodiment, the first mobility management network element can determine the address of the second mobility management network element based on the identifier of the second network, and send a second message to the second mobility management network element through the security edge protection agent in the second network, so that the way for the first mobility management network element to discover the second mobility management network element is simple and direct.

[0023] In a possible implementation manner, the first network is a visited network of the terminal device, and the second network is a home network of the terminal device.

[0024] In the above embodiment, the home network of the terminal device is generally fixed, so the control point for registering the terminal device is the second mobility management network element in the home network. This means that even if the terminal device subsequently switches to another network, the control point for registering the terminal device can still be the second mobility management network element, that is, the terminal device does not need to switch the control point for registering the terminal device, which can maintain the service continuity of the terminal device to the greatest extent, and is conducive to improving the user experience of using the terminal device. For example, when the terminal device switches from the second network to the third network, the terminal device can still register the network through the second mobility management network element, so that the terminal device can quickly switch to the third network without having to shut down to switch to the third network.

[0025] In a possible implementation, the access network element is a shared access network element of the first network and the second network. A shared access network element can be understood as a shared access network element through which multiple networks can provide services to the terminal device.

[0026] In a second aspect, embodiments of the present application provide a method for registering a terminal device. The method can be performed by a second mobility management network element, for example, a second mobility management network element in a second network, for example, an AMF or MME. The method includes: receiving a second message from a first mobility management network element in a first network, the second message including a registration request message, the registration request message being used to request registration of the terminal device; and sending a third message to the first mobility management network element, the third message indicating acceptance of registration of the terminal device.

[0027] In a possible implementation, the second message and the third message both include a first connection identifier and / or an identifier of the terminal device, where the first connection identifier is used to identify a connection between an access network element and the first mobility management network element.

[0028] In one possible embodiment, before sending the third message to the first mobility management network element, the method also includes at least one of the following: sending a message to the unified data management network element in the second network for requesting the contract information of the terminal device, and receiving the contract information of the terminal device from the unified data management network element in the second network; sending a message to the authentication service network element in the second network for requesting the authorization information of the terminal device, and receiving the authorization information of the terminal device from the authentication service network element in the second network; or sending a message to the policy control network element in the second network for requesting the access policy information of the terminal device, and receiving the access policy information of the terminal device from the policy control network element in the second network.

[0029] In one possible implementation, the second message further includes a first parameter; one of the registration request message and the first parameter includes an identifier of the second network and / or an identifier of the terminal device; wherein the first parameter is used to assist in accessing the terminal device, and the identifier of the terminal device is used to determine the identifier of the second network.

[0030] In a possible implementation manner, the first network is a visited network of the terminal device, and the second network is a home network of the terminal device.

[0031] In a possible implementation manner, the access network element is a shared access network element of the first network and the second network.

[0032] In a third aspect, an embodiment of the present application provides a method for registering a terminal device, which can be executed by an access network network element, such as a base station, a centralized unit (CU), which can also be called an aggregation unit, or a distributed unit (DU), etc. The method includes: receiving a fifth message from the terminal device, the fifth message including a registration request message, the registration request message being used to request registration of the terminal device, the fifth message indicating an identifier of a second network, the identifier of the second network being used to determine a second mobility management network element in the second network; sending a first message to a first mobility management network element in a first network, the first message including the registration request message, the first message indicating an identifier of the second network; receiving a registration acceptance message from the first mobility management network element, the registration acceptance message indicating that the second mobility management network element accepts registration of the terminal device.

[0033] In one possible implementation, the fifth message also includes a second parameter; one of the registration request message and the second parameter includes an identifier of the second network and / or an identifier of the terminal device; wherein the second parameter is used to assist access to the terminal device, and the identifier of the terminal device is used to determine the identifier of the second network.

[0034] In a possible implementation, the first message further includes a first parameter, and one of the registration request message and the first parameter includes an identifier of the second network and / or an identifier of the terminal device; alternatively, when the first message includes the registration request message and the first parameter, the first message further includes an identifier of the second network and / or an identifier of the terminal device; wherein the first parameter is used to assist access to the terminal device, and the identifier of the terminal device is used to determine the identifier of the second network.

[0035] In one possible embodiment, when the first message also includes the first parameter and the first parameter includes the identifier of the second network and / or the identifier of the terminal device, the first message indicates that the first mobility management network element does not parse the registration request message; or, when the first message also includes the first parameter and the first message also includes the identifier of the second network and / or the identifier of the terminal device, the first message indicates that the first mobility management network element does not parse the registration request message and the first parameter.

[0036] In a possible implementation, the method further includes: determining, based on an identifier of the second network, whether to allow registration of the terminal device.

[0037] In a possible implementation manner, the first network is a visited network of the terminal device, and the second network is a home network of the terminal device.

[0038] In a possible implementation manner, the access network element is a shared access network element of the first network and the second network.

[0039] In a fourth aspect, an embodiment of the present application provides a method for registering a terminal device, which can be performed by a first mobility management network element, such as a mobility management network element in a first network, and the first mobility management network element is, for example, an AMF or MME. The method includes: receiving a sixth message from an access network network element, the sixth message being used to request setting up a communication connection between the access network network element and a second mobility management network element in a second network, the sixth message including an address of the second mobility management network element; sending the sixth message to the second mobility management network element; and receiving a seventh message from the second mobility management network element, the seventh message instructing the second mobility management network element to accept setting up a communication connection with the access network network element.

[0040] In an embodiment of the present application, the access network element can determine the address of the second mobility management element in the second network and establish a connection with the second mobility management element through the first mobility management element, etc. In this way, even if the access network element has no physical connection with the second network, it can establish wireless communication with the second network, thereby realizing access network sharing, which is conducive to reducing the implementation cost of access network sharing. In addition, the access network element can communicate directly with the second mobility management element, so that the subsequent access network element can directly request the second mobility management element to register the terminal device without the participation of other network elements, which is conducive to simplifying the process of registering terminal devices and saving signaling, etc., which is also conducive to improving the efficiency of registering terminal devices.

[0041] In a possible implementation, the sixth message includes an identifier of the second network and / or an identifier of the first network, and the identifier of the first network is used to determine an identifier of the second network.

[0042] In the above embodiment, the sixth message may include the identifier of the second network and / or the identifier of the first network, so that the second mobility management network element can subsequently determine whether to accept the communication connection setting with the access network element.

[0043] In one possible implementation, the seventh message includes a connection setup response message and the address of the access network network element, and the connection setup response message indicates that the second mobility management network element accepts the communication connection setup with the access network network element; the method also includes: sending the connection setup response message to the access network network element according to the address of the access network network element.

[0044] In the above embodiment, the first mobility management network element can communicate with the access network element based on the address of the access network element in the seventh message, providing a method for communicating with the access network element. Furthermore, the access network element can promptly determine whether the second mobility management network element accepts the connection setup, which facilitates the access network element to promptly request the second mobility management network element to register the terminal device.

[0045] In a possible implementation manner, the first network is a visited network of the terminal device, and the second network is a home network of the terminal device.

[0046] In a possible implementation manner, the access network element is a shared access network element of the first network and the second network.

[0047] In a fifth aspect, an embodiment of the present application provides a method for registering a terminal device, which can be applied to a second mobility management network element, for example, a mobility management network element in a second network, for example, an AMF or MME. The method includes: receiving a sixth message from a first mobility management network element in a first network, the sixth message being used to request setting a communication connection between an access network element and a second mobility management network element in a second network; and sending a seventh message to the first mobility management network element, the seventh message instructing the second mobility management network element to accept the communication connection setting with the access network element.

[0048] In one possible implementation, after sending the seventh message to the first mobility management network element in the first network, the method further includes: receiving an eighth message from the access network network element, the eighth message being used to request registration of the terminal device; and sending a ninth message to the access network network element, the ninth message indicating acceptance of registration of the terminal device.

[0049] In one possible embodiment, before sending the seventh message to the first mobility management network element in the first network, the method also includes at least one of the following: sending a message to the unified data management network element in the second network for requesting the contract information of the terminal device, and receiving the contract information of the terminal device from the unified data management network element in the second network; sending a message to the authentication service network element in the second network for requesting the authorization information of the terminal device, and receiving the authorization information of the terminal device from the authentication service network element in the second network; or sending a message to the policy control network element in the second network for requesting the access policy information of the terminal device, and receiving the access policy information of the terminal device from the policy control network element in the second network.

[0050] In one possible implementation, the seventh message includes an identifier of the second network and / or an identifier of the first network, and the identifier of the first network is used to determine the identifier of the second network; the method further includes: determining to accept the communication connection setting with the access network network element based on the identifier of the second network and / or the identifier of the first network.

[0051] In a possible implementation manner, the first network is a visited network of the terminal device, and the second network is a home network of the terminal device.

[0052] In a possible implementation manner, the access network element is a shared access network element of the first network and the second network.

[0053] In a sixth aspect, an embodiment of the present application provides a method for registering a terminal device, which can be executed by an access network network element, such as a base station, a CU, or a DU. The method includes: receiving a tenth message from the terminal device, the tenth message including a registration request message, the registration request being used to request registration of the terminal device, the tenth message indicating an identifier of the second network; sending a sixth message to a first mobility management network element in the first network, the sixth message being used to request setting up a communication connection between the access network network element and a second mobility management network element in the second network, the sixth message including an address of the second mobility management network element, the address of the second mobility management network element being related to the identifier of the second network; receiving a connection setting response message from the first mobility management network element, the connection setting response message indicating that the second mobility management network element accepts the communication connection setting with the access network network element.

[0054] It should be understood that the address of the second mobility management network element is related to the identifier of the second network, which can be understood as the address of the second mobility management network element is determined based on the identifier of the second network. Optionally, the address of the second mobility management network element includes a domain name or an Internet Protocol address of the second mobility management network element.

[0055] In a possible implementation, the tenth message also includes a second parameter, and one of the registration request message and the second parameter includes an identifier of the second network and / or an identifier of the terminal device; wherein the second parameter is used to assist access to the terminal device, and the identifier of the terminal device is used to determine the identifier of the second network.

[0056] In one possible implementation, after receiving a connection setup response message from the first mobility management network element, the method further includes: sending an eighth message to the second mobility management network element, the eighth message being used to request registration of the terminal device; and receiving a ninth message from the second mobility management network element, the ninth message indicating acceptance of registration of the terminal device.

[0057] In a possible implementation, the method further includes: determining, based on an identifier of the second network, whether to allow registration of the terminal device.

[0058] In a possible implementation manner, the first network is a visited network of the terminal device, and the second network is a home network of the terminal device.

[0059] In a possible implementation manner, the access network element is a shared access network element of the first network and the second network.

[0060] In a seventh aspect, an embodiment of the present application provides a method for registering a terminal device, which can be executed by a communication system, wherein the communication system includes, for example, a first mobility management network element in a first network and a second mobility management network element in a second network. The method includes: the first mobility management network element in the first network receives a first message from an access network element, the first message includes a registration request message, the registration request message is used to request registration of the terminal device, and the first message indicates an identifier of the second network; the first mobility management network element sends a second message to the second mobility management network element in the second network based on the identifier of the second network, the second message includes the registration request message; the second mobility management network element sends a third message to the first mobility management network element, the third message indicating acceptance of registration of the terminal device.

[0061] In a possible implementation, the communication system further includes an access network element, which receives a fifth message from the terminal device, where the fifth message includes the registration request message, and the fifth message indicates an identifier of the second network.

[0062] Optionally, the first mobility management network element may also execute any of the methods described in the first aspect and possible implementations executed by the first mobility management network element, the second mobility management network element may also execute any of the methods described in the second aspect and possible implementations executed by the second mobility management network element, and the access network network element may also execute any of the methods described in the third aspect and possible implementations executed by the access network network element, which are not listed here.

[0063] In an eighth aspect, an embodiment of the present application provides a method for registering a terminal device, which can be executed by a communication system, where the communication system includes, for example, an access network element, a first mobility management network element in a first network, and a second mobility management network element in a second network. The method includes: the access network element receiving a tenth message from the terminal device, the tenth message including a registration request message, the registration request being used to request registration of the terminal device, the tenth message indicating an identifier of the second network, and sending a sixth message to a first mobility management network element in the first network, the sixth message being used to request setting a communication connection between the access network element and a second mobility management network element in the second network, the sixth message including an address of the second mobility management network element, the address of the second mobility management network element being related to the identifier of the second network; the first mobility management network element sending the sixth message to the second mobility management network element; the second mobility management network element sending a seventh message to the first mobility management network element, the seventh message indicating that the second mobility management network element accepts the communication connection setting between the access network network element; the first mobility management network element sending a connection setting response message to the access network network element, the connection setting response message indicating that the second mobility management network element accepts the communication connection setting between the access network network element.

[0064] In a possible implementation, the access network network element sends an eighth message to the second mobility management network element, and the eighth message is used to request registration of the terminal device; the second mobility management network element sends a ninth message to the access network element, and the ninth message indicates acceptance of registration of the terminal device.

[0065] Optionally, the first mobility management network element may also execute any of the methods described in the first aspect and possible implementations executed by the first mobility management network element, the second mobility management network element may also execute any of the methods described in the second aspect and possible implementations executed by the second mobility management network element, and the access network network element may also execute any of the methods described in the third aspect and possible implementations executed by the access network network element, which are not listed here.

[0066] In a ninth aspect, an embodiment of the present application provides a communication device, which may be the first mobility management network element in the first aspect above, or a software or hardware module (such as a chip) having the function of the first mobility management network element. The communication device includes corresponding means (means) or modules for executing the first aspect above or any possible implementation method. For example, the communication device includes a processing module (sometimes also referred to as a processing unit), and a transceiver module (sometimes also referred to as a transceiver unit).

[0067] Exemplarily, the transceiver module is used to receive a first message from an access network element under the control of the processing module, the first message including a registration request message, the registration request message being used to request registration of a terminal device, the first message indicating an identifier of a second network; send a second message to a second mobility management network element in the second network according to the identifier of the second network, the second message including the registration request message; and receive a third message from the second mobility management network element, the third message indicating acceptance of registration of the terminal device.

[0068] In a possible implementation, the processing module is further configured to: determine, based on an identifier of the second network, whether to allow registration of the terminal device.

[0069] In a possible implementation, the first message further includes a first parameter, and one of the registration request message and the first parameter includes an identifier of the second network and / or an identifier of the terminal device; alternatively, when the first message further includes the first parameter, the first message further includes an identifier of the second network and / or an identifier of the terminal device; wherein the first parameter is used to assist access to the terminal device, and the identifier of the terminal device is used to determine the identifier of the second network.

[0070] In one possible embodiment, when the first message also includes the first parameter and the first parameter includes the identifier of the second network and / or the identifier of the terminal device, the first message indicates that the first mobility management network element does not parse the registration request message; or, when the first message also includes the first parameter and the first message also includes the identifier of the second network and / or the identifier of the terminal device, the first message indicates that the first mobility management network element does not parse the registration request message and the first parameter.

[0071] In one possible implementation, the second message includes a first connection identifier and / or an identifier of the terminal device, the third message includes a registration acceptance message, the third message also includes the first connection identifier and / or an identifier of the terminal device, the registration acceptance message indicates acceptance of registration of the terminal device, and the first connection identifier is used to identify the connection between the access network network element and the first mobility management network element; the transceiver module is also used to: send the registration acceptance message to the terminal device through the access network network element according to the first connection identifier and / or the identifier of the terminal device.

[0072] In a possible implementation, the sending module is specifically used to: determine the address of the second mobility management network element based on the identifier of the second network; send a fourth message to the security edge protection agent in the first network so that the security edge protection agent in the second network sends the second message to the second mobility management network element, and the fourth message includes the address of the second mobility management network element and the registration request message.

[0073] In a possible implementation, the communication device includes a storage module, and the processing module can be coupled to the storage module and execute a program or instruction in the storage module to enable the communication device to perform the functions of the first mobility management network element.

[0074] In a tenth aspect, an embodiment of the present application provides a communication device, which may be the second mobility management network element in the second aspect above, or a software or hardware module (such as a chip) having the function of the second mobility management network element. The communication device includes corresponding means (means) or modules for executing the second aspect above or any possible implementation method. For example, the communication device includes a processing module (sometimes also referred to as a processing unit), and a transceiver module (sometimes also referred to as a transceiver unit).

[0075] Exemplarily, under the control of the processing module, the transceiver module receives a second message from the first mobility management network element in the first network, where the second message includes a registration request message, and the registration request message is used to request registration of the terminal device; and sends a third message to the first mobility management network element, where the third message indicates acceptance of registration of the terminal device.

[0076] In a possible implementation, the second message and the third message both include a first connection identifier and / or an identifier of the terminal device, where the first connection identifier is used to identify a connection between an access network element and the first mobility management network element.

[0077] In one possible embodiment, before sending the third message to the first mobility management network element, the transceiver module is also used to perform at least one of the following: sending a message to the unified data management network element in the second network for requesting the contract information of the terminal device, and receiving the contract information of the terminal device from the unified data management network element in the second network; sending a message to the authentication service network element in the second network for requesting the authorization information of the terminal device, and receiving the authorization information of the terminal device from the authentication service network element in the second network; or sending a message to the policy control network element in the second network for requesting the access policy information of the terminal device, and receiving the access policy information of the terminal device from the policy control network element in the second network.

[0078] In a possible implementation, the second message further includes a first parameter; one of the registration request message and the first parameter includes an identifier of the second network and / or an identifier of the terminal device; wherein the first parameter is used to assist access to the terminal device, and the identifier of the terminal device is used to determine the identifier of the second network.

[0079] In a possible implementation, the communication device includes a storage module, and the processing module can be coupled to the storage module and execute a program or instruction in the storage module to enable the communication device to perform the functions of the first mobility management network element.

[0080] In an eleventh aspect, an embodiment of the present application provides a communication device, which may be the access network element in the third aspect above, or a software or hardware module (such as a chip) having the function of an access network element. The communication device includes corresponding means (means) or modules for executing the third aspect above or any possible implementation method. For example, the communication device includes a processing module (sometimes also referred to as a processing unit), and a transceiver module (sometimes also referred to as a transceiver unit).

[0081] Exemplarily, under the control of the processing module, the transceiver module receives a fifth message from the terminal device, the fifth message including a registration request message, the registration request message being used to request registration of the terminal device, the fifth message indicating an identifier of the second network, the identifier of the second network being used to determine a second mobility management network element in the second network; sends a first message to a first mobility management network element in the first network, the first message including the registration request message indicating an identifier of the second network; receives a registration acceptance message from the first mobility management network element, the registration acceptance message indicating that the second mobility management network element accepts registration of the terminal device.

[0082] In one possible implementation, the fifth message also includes a second parameter; one of the registration request message and the second parameter includes an identifier of the second network and / or an identifier of the terminal device; wherein the second parameter is used to assist access to the terminal device, and the identifier of the terminal device is used to determine the identifier of the second network.

[0083] In a possible implementation, the first message further includes a first parameter, and one of the registration request message and the first parameter includes an identifier of the second network and / or an identifier of the terminal device; alternatively, when the first message includes the registration request message and the first parameter, the first message further includes an identifier of the second network and / or an identifier of the terminal device; wherein the first parameter is used to assist access to the terminal device, and the identifier of the terminal device is used to determine the identifier of the second network.

[0084] In one possible embodiment, when the first message also includes the first parameter and the first parameter includes the identifier of the second network and / or the identifier of the terminal device, the first message indicates that the first mobility management network element does not parse the registration request message; or, when the first message also includes the first parameter and the first message also includes the identifier of the second network and / or the identifier of the terminal device, the first message indicates that the first mobility management network element does not parse the registration request message and the first parameter.

[0085] In a possible implementation, the processing module is further configured to: determine, based on an identifier of the second network, whether to allow registration of the terminal device.

[0086] In a possible implementation, the communication device includes a storage module, and the processing module can be coupled to the storage module and execute a program or instruction in the storage module to enable the communication device to perform the functions of the first mobility management network element.

[0087] In a twelfth aspect, an embodiment of the present application provides a communication device, which may be the first mobility management network element in the fourth aspect, or a software or hardware module (such as a chip) having the function of the first mobility management network element. The communication device includes corresponding means (means) or modules for executing the fourth aspect or any possible implementation method. For example, the communication device includes a processing module (sometimes also referred to as a processing unit), and a transceiver module (sometimes also referred to as a transceiver unit).

[0088] Exemplarily, under the control of the processing module, the transceiver module receives a sixth message from the access network network element, where the sixth message is used to request the setting of a communication connection between the access network element and a second mobility management network element in the second network, and the sixth message includes the address of the second mobility management network element; sends the sixth message to the second mobility management network element; and receives a seventh message from the second mobility management network element, where the seventh message instructs the second mobility management network element to accept the communication connection setting with the access network network element.

[0089] In a possible implementation, the sixth message includes an identifier of the second network and / or an identifier of the first network, and the identifier of the first network is used to determine an identifier of the second network.

[0090] In one possible implementation, the seventh message includes a connection setup response message and the address of the access network network element, and the connection setup response message indicates that the second mobility management network element accepts the communication connection setup with the access network network element; the transceiver module is also used to: send the connection setup response message to the access network network element according to the address of the access network network element.

[0091] In a possible implementation, the communication device includes a storage module, and the processing module can be coupled to the storage module and execute a program or instruction in the storage module to enable the communication device to perform the functions of the first mobility management network element.

[0092] In a thirteenth aspect, an embodiment of the present application provides a communication device, which may be the second mobility management network element in the fifth aspect, or a software or hardware module (such as a chip) having the function of the second mobility management network element. The communication device includes corresponding means (means) or modules for executing the fifth aspect or any possible implementation method. For example, the communication device includes a processing module (sometimes also referred to as a processing unit), and a transceiver module (sometimes also referred to as a transceiver unit).

[0093] Exemplarily, under the control of the processing module, the transceiver module receives a sixth message from the first mobility management network element in the first network, wherein the sixth message is used to request the setting of a communication connection between the access network network element and the second mobility management network element in the second network; and sends a seventh message to the first mobility management network element, wherein the seventh message instructs the second mobility management network element to accept the communication connection setting with the access network network element.

[0094] In a possible implementation, the transceiver module is also used to receive an eighth message from the access network element after sending a seventh message to the first mobility management network element in the first network, wherein the eighth message is used to request registration of the terminal device; and to send a ninth message to the access network element, wherein the ninth message indicates acceptance of registration of the terminal device.

[0095] In one possible embodiment, the transceiver module is also used to: before sending the seventh message to the first mobility management network element in the first network, perform at least one of the following: sending a message to the unified data management network element in the second network for requesting the contract information of the terminal device, and receiving the contract information of the terminal device from the unified data management network element in the second network; sending a message to the authentication service network element in the second network for requesting the authorization information of the terminal device, and receiving the authorization information of the terminal device from the authentication service network element in the second network; or sending a message to the policy control network element in the second network for requesting the access policy information of the terminal device, and receiving the access policy information of the terminal device from the policy control network element in the second network.

[0096] In one possible implementation, the seventh message includes the identifier of the second network and / or the identifier of the first network, and the identifier of the first network is used to determine the identifier of the second network; the transceiver module is also used to: determine to accept the communication connection setting between the access network network element based on the identifier of the second network and / or the identifier of the first network.

[0097] In a possible implementation, the communication device includes a storage module, and the processing module can be coupled to the storage module and execute a program or instruction in the storage module to enable the communication device to perform the functions of the first mobility management network element.

[0098] In a fourteenth aspect, an embodiment of the present application provides a communication device, which may be the access network element in the sixth aspect, or a software or hardware module (such as a chip) having the function of an access network element. The communication device includes corresponding means (means) or modules for executing the sixth aspect or any possible implementation method. For example, the communication device includes a processing module (sometimes also referred to as a processing unit), and a transceiver module (sometimes also referred to as a transceiver unit).

[0099] For example, under the control of the processing module, the transceiver module receives a tenth message from the terminal device, the tenth message including a registration request message, the registration request being used to request registration of the terminal device, and the tenth message indicating the identifier of the second network; sends a sixth message to the first mobility management network element in the first network, the sixth message being used to request setting up a communication connection between the access network element and the second mobility management network element in the second network, the sixth message including the address of the second mobility management network element, the address of the second mobility management network element being related to the identifier of the second network; receives a connection setting response message from the first mobility management network element, the connection setting response message indicating that the second mobility management network element accepts the communication connection setting with the access network element.

[0100] In a possible implementation, the tenth message also includes a second parameter, and one of the registration request message and the second parameter includes an identifier of the second network and / or an identifier of the terminal device; wherein the second parameter is used to assist access to the terminal device, and the identifier of the terminal device is used to determine the identifier of the second network.

[0101] In a possible implementation, the transceiver module is also used to: after receiving a connection setup response message from the first mobility management network element, send an eighth message to the second mobility management network element, wherein the eighth message is used to request registration of the terminal device; and receive a ninth message from the second mobility management network element, wherein the ninth message indicates acceptance of registration of the terminal device.

[0102] In a possible implementation, the transceiver module is further configured to: determine, based on an identifier of the second network, whether to allow registration of the terminal device.

[0103] In a possible implementation, the communication device includes a storage module, and the processing module can be coupled to the storage module and execute a program or instruction in the storage module to enable the communication device to perform the functions of the first mobility management network element.

[0104] In a fifteenth aspect, an embodiment of the present application provides a communication system, comprising the communication device as described in any one of the ninth aspect and possible implementations and the communication device as described in any one of the tenth aspect and possible implementations. Optionally, the communication system further comprises the communication device as described in any one of the eleventh aspect and possible implementations.

[0105] In the sixteenth aspect, an embodiment of the present application provides a communication system, which includes a communication device as described in any one of the twelfth aspect and possible implementation methods, a communication device as described in any one of the thirteenth aspect and possible implementation methods, and a communication device as described in any one of the fourteenth aspect and possible implementation methods.

[0106] In the seventeenth aspect, an embodiment of the present application provides a communication device, comprising: a processor and a communication interface, wherein the communication interface is used to receive signals from other devices outside the communication device and transmit them to the processor or send signals from the processor to other devices outside the communication device, and the processor executes code instructions through a logic circuit to implement the method described in any one of the first to sixth aspects and possible implementations.

[0107] Optionally, the communication device further includes other components, such as an antenna, an input / output module, an interface, etc. These components may be hardware, software, or a combination of software and hardware.

[0108] In aspect 18, an embodiment of the present application provides a communication device comprising: a processor and a memory; the memory is used to store one or more computer programs, and the one or more computer programs include computer execution instructions. When the communication device is running, the processor executes the one or more computer programs stored in the memory, so that the communication device performs the method described in any one of aspects 1 to 6 and possible implementations.

[0109] Optionally, the communication device further includes other components, such as an antenna, an input / output module, an interface, etc. These components may be hardware, software, or a combination of software and hardware.

[0110] In a nineteenth aspect, an embodiment of the present application provides a chip system, comprising: a processor and an interface. The processor is configured to call and execute instructions from the interface, and when the processor executes the instructions, the method described in any one of the first to sixth aspects and possible implementations is implemented.

[0111] In the twentieth aspect, an embodiment of the present application provides a computer-readable storage medium for storing computer programs or instructions, which, when executed, implements the method described in any one of the above-mentioned first to sixth aspects and possible implementations.

[0112] In aspect 21, an embodiment of the present application provides a computer program product comprising instructions, which, when executed on a computer, implements the method described in any one of aspects 1 to 6 and possible implementations.

[0113] Regarding the beneficial effects of the second aspect, the third aspect, and the fifth to the twenty-first aspects, reference may be made to the beneficial effects discussed in the first and fourth aspects, which will not be listed here. BRIEF DESCRIPTION OF THE DRAWINGS

[0114] FIG1 is a schematic diagram of a scenario applicable to an embodiment of the present application;

[0115] FIG2 is a schematic diagram of another scenario applicable to the embodiment of the present application;

[0116] FIG3 is a schematic diagram of another scenario applicable to the embodiment of the present application;

[0117] FIG4 is a schematic diagram of another scenario provided in an embodiment of the present application;

[0118] Figures 5 to 10 are schematic diagrams of several methods for registering terminal devices provided in embodiments of the present application;

[0119] FIG11 is a schematic structural diagram of a communication device provided in an embodiment of the present application;

[0120] FIG12 is a schematic structural diagram of another communication device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0121] 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.

[0122] Below, some of the terms involved in the embodiments of the present application are explained to facilitate understanding by those skilled in the art.

[0123] 1. A terminal device is a device with wireless transceiver capabilities, which can be a fixed device, mobile device, handheld device, wearable device, vehicle-mounted device, or a wireless device built into any of the above devices (e.g., a communication module or chip system, etc.). The terminal device is used to connect people, objects, machines, etc. and can be widely used in various scenarios, including but not limited to the following scenarios: cellular communications, device-to-device communications (D2D), vehicle-to-everything (V2X), machine-to-machine / machine-type communications (M2M / MTC), Internet of Things (IoT), virtual reality (VR), augmented reality (AR), industrial control, self-driving, remote medical, smart grid, smart furniture, smart office, smart wearable, smart transportation, smart city, drones, robots, and other scenarios. The terminal device may sometimes be referred to as user equipment (UE), terminal, access station, UE station, remote station, wireless communication device, or user device, etc.

[0124] The network equipment includes, for example, access network elements (or, referred to as access network equipment) and / or core network (CN) network elements (or, referred to as core network equipment).

[0125] 2. An access network element is a device with wireless transceiver functions, configured to communicate with the terminal device. The access network element is also, for example, a radio access network (RAN) element. The access network element includes, but is not limited to, base stations (BTS, Node B, eNodeB / eNB, or gNodeB / gNB) in the above-mentioned communication systems, transmission reception points (TRPs), base stations of subsequent 3GPP evolutions, access nodes in wireless fidelity (WiFi) systems, wireless relay nodes, wireless backhaul nodes, satellites or drones, etc. The base station may be: a macro base station, a micro base station, a pico base station, a small station, a relay station, etc. Multiple base stations may support networks with the same access technology mentioned above, or they may support networks with different access technologies mentioned above. A base station may include one or more co-located or non-co-located transmission and reception points. The access network element may also be a wireless controller, CU, and / or DU in a cloud radio access network (C(R)AN) scenario. The network device may also be a server, a wearable device, or an in-vehicle device, etc. For example, the access network element in vehicle-to-everything (V2X) technology may be a roadside unit (RSU). The following description uses a base station as an example of an access network element. The multiple access network elements in the communication system may be base stations of the same type or different types. A base station may communicate with a terminal device or with a terminal device through a relay station. A terminal device may communicate with multiple base stations using different access technologies.

[0126] The core network element is used to implement at least one of the following functions: mobility management, data processing, session management, policy and billing. The names of the devices that implement the core network functions in systems with different access technologies may be different, and this embodiment of the present application is not limited to this. Taking the 5G system as an example, the core network elements include: AMF, session management function (SMF), policy control function (PCF), or user plane function (UPF).

[0127] 3. A network element may be a single device, or a device integrating multiple devices, or a logical concept. A network element may be, for example, a software module, or a network function corresponding to the services provided by each network element. A network function may be understood as a virtualization function under virtualization implementation, or as a network function providing services under a service-oriented network, such as SMF or AMF, etc. The embodiments of the present application do not specifically limit this.

[0128] In the embodiments of the present application, the number of nouns, unless otherwise specified, means "singular noun or plural noun", that is, "one or more". "At least one" means one or more, and "plural" means two or more. "And / or" describes the association relationship of associated objects, indicating that there may be three relationships. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural. The character " / " generally indicates that the previous and next associated objects are in an "or" relationship. For example, A / B means: A or B. "At least one of the following items" or similar expressions refers to any combination of these items, including any combination of single items or plural items. For example, at least one of a, b, or c means: a, b, c, a and b, a and c, b and c, or a and b and c, where a, b, c can be single or multiple.

[0129] Please refer to Figure 1, which is a schematic diagram of a scenario applicable to an embodiment of the present application. Alternatively, Figure 1 can also be viewed as a schematic diagram of a network structure for access network sharing. For example, Figure 1 can specifically be viewed as a schematic diagram of a network structure for independent carrier access network sharing (RAN sharing). Alternatively, Figure 1 can also be viewed as a schematic diagram of the structure of a communication system.

[0130] As shown in Figure 1, the scenario includes terminal devices (such as a first terminal device and a second terminal device), an access network, and a first network and a second network that share the access network. Since the access network is shared by the first network and the second network, the access network can also be called a shared access network. The first network and the second network are, for example, both core networks (CN). In this case, the first network can also be called a first core network, and the second network can also be called a second core network. The first network and the second network can belong to different operators respectively. In the scenario shown in Figure 1, different networks share an access network, but do not share the frequency domain resources of the access network. For example, the first network uses the first frequency domain resources of the access network, and the second network uses the second frequency domain resources of the access network.

[0131] The access network can determine the network providing services to a terminal device based on the cell the terminal device is currently residing in. For example, if the access network determines that a first terminal device is in cell 1, cell 2, or cell 3, the network providing services to the first terminal device can be determined to be the first network. For another example, if the access network determines that a second terminal device is in cell 4, cell 5, or cell 6, the network providing services to the first terminal device can be determined to be the second network.

[0132] Please refer to Figure 2, which is a schematic diagram of another scenario applicable to embodiments of the present application. Alternatively, Figure 2 can be viewed as a schematic diagram of another network structure for access network sharing. For example, Figure 2 can be specifically viewed as a multiple operator core network (MOCN). MOCN refers to networks of multiple operators sharing the frequency domain resources of the access network. Alternatively, Figure 2 can be viewed as a schematic diagram of the structure of a communication system.

[0133] As shown in Figure 2, this scenario includes a terminal device, an access network, and a first network and a second network that share the access network. For example, both the first network and the second network are core networks. In the scenario shown in Figure 2, different networks can share the frequency domain resources of the access network. For example, the first network and the second network share the same frequency domain resources.

[0134] The access network can determine the network providing services to the terminal device based on the operator of the terminal device. For example, the access network can determine the operator corresponding to the terminal device based on the international mobile subscriber identity (IMSI) or temporary mobile subscriber identity (TMSI) of the terminal device.

[0135] Currently, access network sharing solutions require a physical connection between the access network and the network sharing it. This allows multiple networks to share the access network. For example, using Figures 1 and 2 as examples, the access network must be physically connected to both the first and second networks. If there is no physical connection between the access network and the second network, a direct physical connection (such as a fiber optic connection) must be deployed between the access network and the second network to enable the first and second networks to share the access network. This results in higher costs for sharing the access network.

[0136] In view of this, an embodiment of the present application provides a method for registering a terminal device. In this method, an access network network element may request a first mobility management network element in a network (such as a first network) to register the terminal device to the network, and the first mobility management network element discovers a second mobility management network element in another network (such as a second network), and there is a direct physical connection between the first network and the second network. The second mobility management network element may register the terminal device to the second network. In this way, even if the access network network element has no direct physical connection with the second network, the second mobility management network element may register the terminal device to the second network, without the need to separately deploy a direct physical connection between the access network network element and the second network, thereby reducing the cost of implementing access network sharing. In addition, the second mobility management network element registers the terminal device, simplifies the process of registering the terminal device to the network, and reduces the signaling interaction between the first network and the second network during the registration of the terminal device, thereby improving the efficiency of terminal device registration.

[0137] The embodiments of the present application are applicable to scenarios involving registering terminal devices to achieve access network sharing. The types of terminal device registration include, but are not limited to, initial registration, mobility registration update, periodic registration update, or emergency registration, and are not limited in the embodiments of the present application.

[0138] Please refer to Figure 3, which is a schematic diagram of another scenario applicable to the embodiments of the present application. Alternatively, Figure 3 can also be viewed as a structural diagram of a communication system.

[0139] As shown in Figure 3, the scenario includes a terminal device, an access network element, a first network, and a second network. The first network is, for example, a visited public land mobile network (VPLMN / vPLMN) of the terminal device, and the second network is, for example, a home public land mobile network (HPLMN / hPLMN) of the terminal device. The visited public land mobile network may also be referred to as a visited (or visited) public land mobile network or a visited network, and the home public land mobile network may also be referred to as a home public land mobile network or a home network. Both the first network and the second network can provide services to the terminal device through the access network element. For example, both the first network and the second network are core networks.

[0140] The first network may, for example, include a first mobility management network element and a first security edge protection proxy (SEPP). The second network may, for example, include a second mobility management network element and a second SEPP. The mobility management network element may be, for example, an AMF or an MME, etc., which is not limited in this embodiment of the present application.

[0141] The mobility management network element is responsible for access and mobility management functions. For example, the first mobility management network element is responsible for access and mobility management functions in the first network, and the second mobility management network element is responsible for access and mobility management functions in the second network. SEPP is responsible for the centralized and secure forwarding of signaling between the network and other networks. All signaling across public land mobile networks (public land mobile networks) can be forwarded through SEPP. SEPP also has a topology hiding function that can hide the fully qualified domain name (FQDN) of the network elements within this network. For example, the first SEPP is responsible for the centralized and secure forwarding of signaling between the first network and other networks (such as the second network), and the second SEPP is responsible for the centralized and secure forwarding of signaling between the second network and other networks (such as the first network).

[0142] In a possible implementation manner, there is a direct physical connection between the second network and the first network, but there may be no direct physical connection between the second network and the access network element.

[0143] Please refer to Figure 4, which is another schematic diagram of a scenario applicable to the embodiments of the present application. Alternatively, Figure 4 can be viewed as a schematic diagram of the structure of a communication system. Alternatively, Figure 4 can also be viewed as a schematic diagram of a roaming architecture, such as a schematic diagram of a roaming architecture based on home routing (HR).

[0144] In Figure 4, the first network in Figure 3 is a vPLMN, the second network is an hPLMN, the first AMF is the AMF in the vPLMN (which can be called a visited AMF, vAMF or VAMF), the second AMF is the AMF in the hPLMN (which can be called a home AMF, hAMF or HAMF), the first SEPP is the SEPP in the vPLMN (which can be called a visited SEPP, vSEPP or VSEPP), the second SEPP is the SEPP in the hPLMN (which can be called a home SEPP, hSEPP or HSEPP), and the terminal device is a UE as an example.

[0145] As shown in FIG4 , the vPLMN and the hPLMN can communicate via the vSEPP and the hSEPP.

[0146] vPLMN includes vAMF and vSEPP. Optionally, hPLMN may also include network slice selection function (NSSF), network exposure function (NEF), network repository function (NRF), PCF, network slice admission control function (NSACF), SMF and UPF.

[0147] In vPLMN, the UE accesses the network through the (R)AN network element, and the UE can communicate with the vAMF through the N1 interface (N1 for short); the (R)AN network element communicates with the vAMF through the N2 interface (N2 for short); the (R)AN network element communicates with the UPF in the vPLMN through the N3 interface (N3 for short); the SMF in the vPLMN communicates with the UPF in the vPLMN through the N4 interface (N4 for short); and the UPFs within the vPLMN can communicate with each other through the N9 interface (N9 for short).

[0148] In addition, the NSSF, NEF, NRF, PCF, NSACF, AMF, and SMF of the vPLMN can interact using service-based interfaces. For example, the service-based interface provided by the NSSF is Nnssf; the service-based interface provided by the NEF is Nnef; the service-based interface provided by the NRF is Nnrf; the service-based interface provided by the PCF is Npcf; the service-based interface provided by the NSACF is Nnsacf; the service-based interface provided by the AMF is Namf; and the service-based interface provided by the SMF is Nsmf.

[0149] hPLMN includes hAMF and hSEPP. Optionally, hPLMN may also include unified data management function (UDM), NRF, NEF, NSSF, NSACF, SMF, hAMF, authentication server function (AUSF), PCF, application function (AF), and network slice-specific authentication and authorization function (NSSAAF).

[0150] In the hPLMN, the SMF in the hPLMN communicates with the UPF in the hPLMN through N4; the UPFs in the hPLMN can communicate with each other through N9; the UPF in the hPLMN can also communicate with the UPF in the vPLMN through N9; the UPF in the hPLMN can also access the data network (DN) through the N6 interface (abbreviated as N6).

[0151] In addition, the hPLMN's UDM, NRF, NEF, NSSF, NSACF, SMF, AMF, AUSF, PCF, AF, and NSSAAF can interact using service-based interfaces. For example, the UDM provides the service-based interface Nudm; the NRF provides the service-based interface Nnrf; the NEF provides the service-based interface Nnef; the NSSF provides the service-based interface Nnssf; the NSACF provides the service-based interface Nnsacf; the SMF provides the service-based interface Nsmf; the AMF provides the service-based interface Namf; the AUSF provides the service-based interface Nausf; the PCF provides the service-based interface Npcf; the AF provides the service-based interface Naf; and the NSSAAF provides the service-based interface Nnssaaf.

[0152] The functions of the network elements involved in FIG4 are described below.

[0153] 1. AMF is responsible for access and mobility management functions, including user registration, reachability, mobility management, N1 / N2 interface signaling transmission, access authentication and authorization, etc.

[0154] For example, the vAMF is responsible for access and mobility management functions in the vPLMN, and the hAMF is responsible for access and mobility management functions in the HPLMN.

[0155] 2. SEPP is responsible for the centralized and secure forwarding of signaling between the network and other networks.

[0156] For example, the vSEPP is responsible for the centralized and secure forwarding of signaling between the vPLMN and other networks (such as the hPLMN), and the hSEPP is responsible for the centralized and secure forwarding of signaling between the hPLMN and other networks (such as the vPLMN).

[0157] 3. NSSF is responsible for determining the network slice used to provide services for the UE.

[0158] For example, the NSSF in the vPLMN determines the network slice to provide services for the UE accessing the vPLMN, and the NSSF in the hPLMN determines the network slice to provide services for the UE accessing the hPLMN.

[0159] 4. NEF is responsible for providing the function of opening network data to the outside world.

[0160] For example, the NEF in the vPLMN provides a function of developing network data for the VPLMN, and the NEF in the hPLMN provides a function of developing network data for the hPLMN.

[0161] 5. NRF is responsible for the registration, storage and management of network functions.

[0162] For example, the NRF in the vPLMN is responsible for the registration, storage, and management of network functions in the vPLMN, and the NRF in the hPLMN is responsible for the registration, storage, and management of network functions in the hPLMN.

[0163] 6. PCF is responsible for policy control functions, including billing for sessions and service flows, QoS bandwidth guarantee, mobility policy management, terminal device access policy, and other policy control functions.

[0164] For example, the PCF in the hPLMN is responsible for the policy control function in the hPLMN.

[0165] 7. NSACF is responsible for controlling the number of terminal devices registered for each network slice and the number of sessions corresponding to each network slice.

[0166] For example, the NSACF in the vPLMN can be used to control the number of terminal devices registered for network switching in the vPLMN and the number of sessions corresponding to each network slice.

[0167] 8. SMF is used to implement session management, including providing session management of UE sessions (such as session establishment, modification, and release), execution of control policies issued by PCF, selection and control of UPF, and allocation of Internet Protocol (IP) addresses for terminal devices.

[0168] For example, the SMF in the vPLMN is responsible for session management in the vPLMN, and the SMF in the hPLMN is responsible for session management in the hPLMN.

[0169] 9. UPF is responsible for the user plane functions of the core network, including providing user plane functions such as forwarding and processing of user messages, connection with DN, session anchor point, and QoS policy execution.

[0170] For example, the UPF in the vPLMN is responsible for the user plane functions of the core network in the vPLMN, and the SMF in the hPLMN is responsible for the user plane functions of the core network in the hPLMN.

[0171] 10. UDM is responsible for unified data management functions, including user contract management, access authorization, authentication information generation, etc.

[0172] For example, the UDM in the hPLMN is responsible for unified data management functions in the hPLMN.

[0173] 11. AUSF is responsible for the authentication service function.

[0174] For example, the AUSF in the hPLMN is responsible for the authentication service function in the hPLMN.

[0175] 12. AF is responsible for providing application layer services.

[0176] For example, the AF in the hPLMN is responsible for application layer services in the hPLMN.

[0177] 13. NSSAAF is responsible for the authentication and authorization of network slices.

[0178] For example, the NSSAAF in the hPLMN is responsible for the authentication and authorization of network slices in the hPLMN.

[0179] The following describes the methods provided by the embodiments of the present application in conjunction with the accompanying drawings. In the accompanying drawings corresponding to the various embodiments of the present application, all steps indicated by dashed lines are optional steps. The first network involved in the various embodiments of the present application is, for example, the first network involved in Figure 1, Figure 2, or Figure 3, or the vPLMN involved in Figure 4. The second network involved in the various embodiments of the present application is, for example, the second network involved in Figure 1, Figure 2, or Figure 3, or the hPLMN involved in Figure 4.

[0180] The RAN involved in the various embodiments of the present application is, for example, the network element in the access network involved in Figure 1 or Figure 2, the access network network element involved in Figure 3, or the RAN involved in Figure 4. The terminal device involved in the various embodiments of the present application is, for example, the first terminal device or the second terminal device involved in Figure 1, or the UE involved in Figure 2, Figure 3, or Figure 4. The first AMF involved in the various embodiments of the present application is, for example, the first AMF involved in Figure 3, or the vAMF involved in Figure 4. The second AMF involved in the various embodiments of the present application is, for example, the second AMF involved in Figure 3, or the hAMF involved in Figure 4. The first SEPP involved in the various embodiments of the present application is, for example, the first SEPP involved in Figure 3, or the vSEPP involved in Figure 4. The second SEPP involved in the various embodiments of the present application is, for example, the second SEPP involved in Figure 3, or the hSEPP involved in Figure 4. In addition, the RAN involved in the various embodiments of this application can be replaced by a radio access network or an access network element; the AMF involved in the various embodiments of this application can be replaced by a mobility management network element or an access and mobility management network element; the SEPP involved in the various embodiments of this application can be replaced by a security edge protection agent, etc. It should be understood that with the continuous evolution of standards, the names and / or functions of the network elements involved in the various embodiments of this application may change, and the various embodiments of this application do not limit this.

[0181] Please refer to Figure 5, which is a schematic diagram of a method for registering a terminal device to a network provided in an embodiment of the present application.

[0182] S501: The terminal device sends a message 1 to the RAN. Correspondingly, the RAN receives the message 1 from the terminal device. The message 1 may also be referred to as a fifth message.

[0183] Message 1 may indicate an identifier (ID) of the second network. The second network may be considered the target network for the terminal device to register. Message 1 may include a registration request message, which is used to request registration of the terminal device, or may be understood as a request to register the terminal device with a network (e.g., the second network). The registration request message is a non-access stratum (NAS) message. The registration request message may indicate information shown in A1 and / or A2 below.

[0184] A1. Identification of the second network.

[0185] For example, the registration request message includes an identifier of the second network and / or an identifier of the terminal device. The identifier of the second network is, for example, a PLMN ID of the second network. The PLMN ID may include, for example, a mobile country code (MCC) and a mobile network code (MNC).

[0186] Exemplarily, the registration request message includes N bits, where N is a positive integer. These N bits carry the identifier of the second network. Alternatively, the registration request message includes M bits, where M is a positive integer, carrying the identifier of the terminal device. The identifier of the terminal device can be used to determine the identifier of the second network. In this manner, message 1 indirectly indicates the identifier of the second network.

[0187] The terminal device identifier is, for example, a user permanent identifier (SUPI), a user concealed identifier (SUCI), a fifth-generation globally unique temporary identifier (5 th The SUPI may include, for example, a generation globally unique temporary identifier (5G-GUTI), a 5G-TMSI, or a permanent equipment identifier (PEI). Alternatively, the SUPI may include, for example, an MCC, an MNC, and a mobile subscription identification number (MSIN) in sequence. The SUCI may be obtained by encrypting the SUPI.

[0188] A2. Registration type.

[0189] The registration type is used to indicate the type of terminal device registration, including initial registration, mobility registration update, periodic registration update, emergency registration, etc.

[0190] In addition to including the registration request message, message 1 may also include a second parameter. This second parameter may also be referred to as an AN parameter. The second parameter may indicate the identifier of the second network. The manner in which the second parameter indicates the identifier of the second network may be similar to the manner in which the registration request message indicates the identifier of the second network, and is not further detailed here.

[0191] In this case, the identifier of the second network may be indicated by the second parameter of message 1. Alternatively, the identifier of the second network may also be indicated by the registration request message in message 1. In other words, at least one of the registration request message in message 1 and the second parameter indicates the identifier of the second network.

[0192] Exemplarily, the registration request message in message 1 includes the identifier of the second network and / or the identifier of the terminal device. Alternatively, the second parameter in message 1 includes the identifier of the second network and / or the identifier of the terminal device. Alternatively, the registration request message and the second parameter in message 1 both include the identifier of the second network and / or the identifier of the terminal device.

[0193] This second parameter can be used to assist a terminal device in accessing a network, or can be described as assisting a terminal device in accessing a network. The access terminal device may include the terminal device establishing communication with the RAN and the AMF. For example, the second parameter indicates second access information of the terminal device. This second access information is used to assist the terminal device in accessing a network. The second access information may indicate at least one of the information listed in B1 to B4 below.

[0194] B1. Identification of the first AMF.

[0195] The identifier of the first AMF may be, for example, a temporary mobile user identification code (5 th generation system TMSI, 5G-S-TMSI), 5G-S-TMSI can be used to identify AMF and terminal equipment. 5G-S-TMSI can be determined, for example, based on the AMF set ID, AMF pointer and 5G-TMSI. The AMF set ID uniquely represents an AMF set, and the AMF pointer identifies one or more AMFs in the AMF set, that is, the AMF set ID and the AMF pointer can jointly identify the AMF. Alternatively, the identifier of the first AMF is, for example, a globally unique AMF identifier (GUAMI).

[0196] B2. Identification of the network selected by the terminal device. To simplify the description, the network selected by the terminal device may be referred to as a selected network hereinafter. The selected network may be, for example, the first network and / or the second network.

[0197] The following describes how the terminal device determines the identifier of the selected network.

[0198] In a possible implementation, the RAN may broadcast an identifier of at least one network, and the terminal device may determine an identifier of the selected network from the identifier of the at least one network broadcast by the RAN.

[0199] Exemplarily, the identifier of the first network includes a first identifier and a second identifier. The first identifier is used to access the first network and can also be considered as the original identifier of the first network. The second identifier is used to access other networks through the first network and can also be considered as a dedicated (or newly added) identifier of the first network. The identifier of the second network may include a third identifier, which is used to access the second network. The identifier of the network is, for example, the network ID, which can be, for example, the PLMN ID.

[0200] For example, if the identifier of at least one network broadcast by the RAN includes a first identifier, the terminal device may use the first identifier as the identifier of the network to be selected. Alternatively, if the identifier of at least one network broadcast by the RAN includes a second identifier, the terminal device may use the second identifier as the identifier of the network to be selected. Alternatively, if the identifier of at least one network broadcast by the RAN includes a third identifier, the terminal device may use the third identifier as the identifier of the network to be selected. Alternatively, if the identifier of at least one network broadcast by the RAN includes the first identifier, the second identifier, and the third identifier, the terminal device may use the second identifier or the third identifier as the identifier of the network to be selected.

[0201] For example, the first identifier is 123000, the second identifier is 123022, and the third identifier is 123006. The identifier of at least one network broadcast by the RAN includes 123000 and 123022, and the terminal device may use 123022 as the identifier of the selected network. For another example, the identifier of at least one network broadcast by the RAN includes 123000 and 123006, and the terminal device may use 123006 as the identifier of the selected network. For another example, the identifier of at least one network broadcast by the RAN includes 123000, 123022, and 123006, and the terminal device may use 123022 or 123006 as the identifier of the selected network. For another example, the identifier of at least one network broadcast by the RAN includes 123000, and the terminal device may use 123000 as the identifier of the selected network.

[0202] B3. Slice information of the terminal device.

[0203] The slice information of the terminal device may be, for example, information about the slice that the terminal device expects to access, and / or information about the slice that the terminal device currently accesses.

[0204] B4. Establishment cause value of the terminal device's request to establish a connection with the RAN. The cause value may be used to indicate the reason why the terminal device requests to establish a connection with the RAN.

[0205] After executing S501, the RAN may also determine the identifier of the second network according to message 1, and determine whether to allow the terminal device to be registered according to the identifier of the second network. Allowing the terminal device to be registered may be described as the terminal device being a terminal device that is allowed to access a different network (such as the second network), or as the user corresponding to the terminal device being a user that is allowed to access a different network (such as the second network).

[0206] For example, if the RAN can determine, based on the identifier of the second network, that the second network is a network that can interact with the first network for services, then the RAN determines to allow registration of the terminal device. If the RAN determines, based on the identifier of the second network, that the second network is not a network that can interact with the first network for services, then the RAN determines to deny (or not permit) registration of the terminal device, and the RAN can send a message to the terminal device indicating the denial of registration of the terminal device.

[0207] For example, the RAN may pre-store the identifier of at least one network that is allowed to interact with the first network. If the identifier of the second network belongs to the identifier of the at least one network, the RAN determines that registration of the terminal device is allowed. If the identifier of the second network does not belong to the identifier of the at least one network, the RAN determines that registration of the terminal device is not allowed.

[0208] S502: The RAN sends Message 2 to the first AMF. Accordingly, the first AMF receives Message 2 from the RAN. Message 2 may also be referred to as a first message. Message 2 may indicate an identifier of the second network.

[0209] Message 2 can be in various forms, for example, it can be in the form of an N2 message. Message 2 can include a registration request message, and the RAN can obtain Message 2 based on the registration request message without parsing the registration request message in Message 1, which helps reduce the processing load of the RAN.

[0210] Message 2 can be any one of the following C1 to C12, which are introduced below.

[0211] C1. Message 2 includes a registration request message, where the registration request message includes an identifier of the second network.

[0212] C2. Message 2 includes a registration request message, which includes an identifier of the terminal device.

[0213] C3. Message 2 includes a registration request message, which includes an identifier of the second network and an identifier of the terminal device.

[0214] C4. Message 2 includes a registration request message and a first parameter. The registration request message includes the identifier of the second network, and the first parameter is used to assist the access terminal device. The meaning of the access terminal device can be found in the above text.

[0215] The first parameter may, for example, indicate first access information. The first access information may be specifically used to assist in accessing the terminal device. The first parameter may include at least one of an identifier of a selected network, an identifier of a cell in which the terminal device resides, a context request of the terminal device, and a reason value for the terminal device requesting to establish a connection with the RAN.

[0216] The resided cell identifier is used to indicate the cell where the terminal device resides. The context request, for example, indicates that a terminal device context including security information needs to be established in the RAN. The contents of the network identifier and cause value can be referred to in the previous content.

[0217] C5. Message 2 includes a registration request message and a first parameter. The registration request message includes an identifier of the terminal device, and the first parameter indicates first access information.

[0218] C6. Message 2 includes a registration request message and a first parameter. The registration request message includes the identifier of the terminal device and the identifier of the second network, and the first parameter indicates the first access information.

[0219] C7. Message 2 includes a registration request message and a first parameter. The first parameter includes the first access information and the identifier of the second network. In this case, message 2 may also indicate that the registration request message is not to be parsed.

[0220] For example, the RAN may send Message 2 via a new elementary procedure (EP), after which the first AMF determines, based on the EP, that the registration request message in Message 2 does not need to be parsed. The new EP can be understood as the communication protocol between the RAN and the first AMF. In this case, the RAN sending Message 2 via the new EP is equivalent to Message 2 indicating that the registration request message in Message 2 does not need to be parsed.

[0221] Optionally, the registration request message in message 2 may also include the identifier of the terminal device and / or the identifier of the second network device. Alternatively, the registration request message in message 2 may not include the identifier of the terminal device and the identifier of the second network device.

[0222] C8. Message 2 includes a registration request message and a first parameter. The first parameter includes the first access information and the terminal device identifier. In this case, Message 2 may also indicate that the registration request message is not to be parsed. The method for indicating that the registration request message is not to be parsed in Message 2 can be found in the previous discussion.

[0223] In the message 2 shown in C8, the registration request message in the message 2 may also include the identifier of the terminal device and / or the identifier of the second network device. Alternatively, the registration request message in the message 2 may not include the identifier of the terminal device and the identifier of the second network device.

[0224] C9. Message 2 includes a registration request message and a first parameter. The first parameter includes the first access information, the terminal device identifier, and the second network identifier. In this case, Message 2 may also indicate that the registration request message should not be parsed. The method for indicating that the registration request message should not be parsed in Message 2 can be found in the previous section.

[0225] In the message 2 shown in C9, the registration request message in the message 2 may also include the identifier of the terminal device and / or the identifier of the second network device. Alternatively, the registration request message in the message 2 may not include the identifier of the terminal device and the identifier of the second network device.

[0226] C10. Message 2 includes the registration request message, the first parameter, and the identifier of the second network. In this case, the identifier of the second network is equivalent to being carried in the content of Message 2 in addition to the registration request message and the first parameter. In this case, Message 2 may also indicate that the registration request message and the first parameter are not to be parsed.

[0227] Exemplarily, after the RAN sends Message 2 through the new EP, the first AMF determines, based on the EP, that it is not necessary to parse the registration request message and the first parameter in Message 2. In this case, the RAN sends Message 2 through the new EP, which is equivalent to Message 2 indicating that the registration request message and the first parameter in Message 2 do not need to be parsed.

[0228] In message 2 shown in C10, the registration request message and / or the first parameter in message 2 may also carry the identifier of the terminal device and / or the identifier of the second network device. Alternatively, the registration request message and the first parameter in message 2 do not include the identifier of the terminal device and the identifier of the second network device.

[0229] C11. Message 2 includes the registration request message, the first parameter, and the terminal device identifier. In this case, Message 2 may also indicate that the registration request message and the first parameter are not to be parsed. The method for indicating that the registration request message and the first parameter are not to be parsed in Message 2 can be found in the previous section. In this case, the terminal device identifier is equivalent to being carried in the content of Message 2 in addition to the registration request message and the first parameter.

[0230] In message 2 shown in C11, the registration request message and / or the first parameter in message 2 may also carry the identifier of the terminal device and / or the identifier of the second network device. Alternatively, the registration request message and the first parameter in message 2 do not include the identifier of the terminal device and the identifier of the second network device.

[0231] C12. Message 2 includes the registration request message, the first parameter, the second network identifier, and the terminal device identifier. In this case, Message 2 may also indicate that the registration request message and the first parameter are not to be parsed. The method for indicating that the registration request message and the first parameter are not to be parsed in Message 2 can be found in the previous section. In this case, the second network identifier and the terminal device identifier are equivalently carried in Message 2 in addition to the registration request message and the first parameter.

[0232] In message 2 shown in C12, the registration request message and / or the first parameter in message 2 may also carry the identifier of the terminal device and / or the identifier of the second network device. Alternatively, the registration request message and the first parameter in message 2 do not include the identifier of the terminal device and the identifier of the second network device.

[0233] S503: The first AMF sends message 3 to the second AMF. Correspondingly, the second AMF receives message 3 from the first AMF. Message 3 may also be referred to as a second message.

[0234] Exemplarily, message 3 may include a registration request message. Alternatively, message 3 may also include a first connection identifier and / or an identifier of the terminal device. The contents of the identifier of the terminal device and the first connection identifier may refer to the contents above.

[0235] The first connection identifier and / or the identifier of the terminal device may be carried in the registration request message of message 3, or carried in the content of message 3 other than the registration request message, which is not limited in this embodiment of the present application.

[0236] After receiving Message 2, or after determining that registration of the terminal device is permitted, the first AMF may generate Message 3. Message 3 may be in the form of an N14 message container. Message 3 indicates the address of the second AMF. The address of the second AMF may be, for example, the domain name address or Internet Protocol (IP) address of the second AMF. The domain name address of the second AMF may be, for example, the Full Qualified Domain Name (FQDN) of the second AMF. The following describes how the first AMF determines the address of the second AMF.

[0237] In the first approach, the first AMF pre-stores a first correspondence relationship. The first AMF determines the address of the second AMF based on the identifier of the second network and the first correspondence relationship. The first correspondence relationship may be configured in the first AMF through a protocol or received from another network element. The first correspondence relationship may include the identifier of the second network and the address of the second AMF corresponding to the identifier of the second network (e.g., the domain name address of the second AMF).

[0238] For example, the first AMF may use the domain name address of the AMF corresponding to the identifier of the second network in the first correspondence as the address of the second AMF. Alternatively, the first AMF may perform a domain name query on the determined domain name of the AMF to obtain the IP address of the second AMF, and use the IP address of the second AMF as the address of the second AMF. For example, the first AMF may query the IP address of the second AMF from one or more domain name servers (DNS) based on the determined domain name of the AMF. The one or more DNSs may include a local DNS, or include a local DNS and an external DNS.

[0239] In the second method, the first AMF can construct the address of the second AMF based on the identifier of the second network.

[0240] Illustratively, the first AMF pre-stores a rule for constructing the address of the second AMF. After obtaining the identifier of the second network, the first AMF may determine the address of the second AMF based on the identifier of the second network and the rule. The rule is used to indicate the rule for constructing the address of the second AMF.

[0241] For example, the identifier of the second network is the PLMN ID of the second network, and the PLMN ID includes the MCC and MNC. A rule for constructing the domain name address of the second AMF is: amf.5g.mnc <mnc>.mcc <mcc>.pub.3gppnetwork.org. Accordingly, after determining the identifier of the second network, the first AMF may determine the address of the second AMF based on the identifier of the second network and the rule. The rule may take various forms, which are not limited in this embodiment of the present application.

[0242] The third method is that the first AMF obtains the address of the second AMF from the NRF of the second network.

[0243] For example, the first AMF sends a first request message to the NRF of the first network to discover the second AMF based on the locally configured NRF information of the first network. The first request message includes the identifier of the second network. The NRF of the first network constructs the address of the NRF of the second network according to the protocol based on the identifier of the second network. Alternatively, the NRF of the first network locally configures the correspondence between the identifier of the second network and the NRF of the second network, and the NRF of the first network determines the address of the NRF of the second network based on the identifier of the second network and the correspondence.

[0244] The NRF of the first network sends a second request message to the NRF of the second network to discover the second AMF through the first SEPP and the second SEPP according to the address of the NRF of the second network. The NRF of the second network may then send the address of the second AMF to the first AMF through the second SEPP, the first SEPP, and the NRF of the first network.

[0245] The contents of Message 3 are described below. In addition to indicating the address of the second AMF, Message 3 may also include a registration request message. Optionally, Message 3 may also include at least one of the first parameter, a terminal device identifier, and a first connection identifier. The terminal device identifier may be determined by the first AMF from Message 2. The first connection identifier may be pre-stored in the first AMF.

[0246] The first connection identifier indicates a connection (or communication link) between the RAN and the first AMF, specifically, for example, an interface between the RAN and the first AMF, such as a next generation control plane (NG-C) interface.

[0247] For example, the first connection identifier may include an identifier of a next generation application protocol UE transport network layer association (NGAP UE TNLA) associated with the terminal device. The NGAP UE TNLA may be understood as a first communication link between the RAN and the first AMF, and the first communication link is used to transmit information of a specific terminal device. Alternatively, it may be understood that the first communication link is bound to a specific terminal device and is used to transmit information of the terminal device. Alternatively, the first connection identifier is an identifier of TNLA, and TNLA may also be understood as a second communication link between the RAN and the first AMF, and the second communication link is used to transmit information between the RAN and the first AMF, and is not used to transmit information of a specific terminal device.

[0248] If the content of message 2 is different, the content of message 3 will also be different, which are introduced below.

[0249] D1, message 2 is the message 2 shown in C1 above.

[0250] In this case, message 3 may include the address of the second AMF, the registration request message and the first connection identifier.

[0251] D2, message 2 is the message 2 shown in C2 or C3 above.

[0252] In this case, message 3 may include the address of the second AMF and the registration request message. Alternatively, message 3 may include the address of the second AMF, the registration request message and the first connection identifier.

[0253] D3, message 2 is the message 2 shown in C4 or C7 above.

[0254] In this case, message 3 may include the address of the second AMF, the registration request message and the first connection identifier. Alternatively, message 3 may include the first parameter, the address of the second AMF, the registration request message and the first connection identifier.

[0255] D4, message 2 is the message 2 shown in C5 or C6 above.

[0256] In this case, Message 3 may include the address of the second AMF and the registration request message. Alternatively, Message 3 may include the address of the second AMF, the registration request message, and the first connection identifier. Alternatively, Message 3 may include the address of the second AMF, the registration request message, and the first parameter. Alternatively, Message 3 may include the address of the second AMF, the registration request message, the first connection identifier, and the first parameter.

[0257] D5. Message 2 is the message 2 shown in C8 or C9 above.

[0258] In this case, Message 3 may include the address of the second AMF, the registration request message, and the first parameter. Alternatively, Message 3 may include the address of the second AMF, the registration request message, and the first connection identifier. Alternatively, Message 3 may include the first parameter, the address of the second AMF, the registration request message, and the first connection identifier.

[0259] D6, message 2 is the message 2 shown in C10 above.

[0260] In this case, the message 3 may include the registration request message, the first parameter, and the first connection identifier. Alternatively, the message 3 includes the registration request message and the first connection identifier.

[0261] D7, message 2 is the message 2 shown in C11 or C12 above.

[0262] In this case, message 3 includes a registration request message and the terminal device's identifier. Alternatively, message 3 includes a registration request message, a first parameter, and the terminal device's identifier. Alternatively, message 3 includes a registration request message and a first connection identifier. Alternatively, message 3 includes a registration request message, a first parameter, and a first connection identifier. Alternatively, message 3 includes a registration request message, the terminal device's identifier, and the first connection identifier. Alternatively, message 3 includes a registration request message, a first parameter, the terminal device's identifier, and the first connection identifier.

[0263] If the RAN does not determine whether to allow the terminal device to register, in one possible implementation, the first AMF may determine whether to allow the terminal device to register based on the identifier of the second network. The manner in which the first AMF determines whether to allow the terminal device to register can be referenced above regarding the RAN's determination of whether to allow the terminal device to register and is not further detailed here. Before determining whether to allow the terminal device to register, the first AMF must determine the identifier of the second network. Depending on the content of Message 2, the manner in which the first AMF determines the identifier of the second network also differs, as described below.

[0264] Case 1: When message 2 is any message 2 from C1 to C6 above, the first AMF can determine the identifier of the second network according to the registration request message.

[0265] If the registration request message is obtained by encrypting the information shown in A1 and / or A2 above by the terminal device or the RAN, the first AMF may decrypt the registration request message to obtain the identifier of the second network. The decrypted information may be configured in the first AMF through a protocol, or may be obtained by the first AMF from a network element other than the first AMF. The decrypted information may include, for example, a decryption algorithm and / or key.

[0266] If the registration request message is obtained by encrypting part or all of the information shown in A1 above by the terminal device or the RAN, the first AMF may decrypt the encrypted part or all of the information shown in A1 to obtain the identifier of the second network. The method for the first AMF to obtain the decrypted information and the content of the decrypted information can be found in the previous section.

[0267] Alternatively, if the registration request message is obtained by the terminal device or RAN encrypting part or all of the information shown in A1 above, but the encrypted information does not affect the first AMF's determination of the identifier of the second network, then the first AMF may not decrypt the encrypted information. The first AMF may parse the information other than the encrypted information in the registration request message to obtain the identifier of the second network.

[0268] Of course, if the registration request message is not encrypted, the first AMF can directly parse the registration request message to obtain the identifier of the second network.

[0269] Case 2: When Message 2 is any of Messages 2 from C7 to C9 above, the first AMF may determine the identifier of the second network based on the first parameter. In this case, the first AMF may parse the first parameter to obtain the identifier of the second network without parsing the Registration Request message.

[0270] Case 3: When message 2 is any message 2 in C11 to C13 above, the first AMF may not parse the registration request message and the first parameter, and obtain the identifier of the second network based on the content in message 2 except the registration request message and the first parameter.

[0271] It should be understood that when the first AMF uses information other than the identifier of the terminal device in message 2 to determine the identifier of the second network, the identifier of the terminal device included in message 2 may not be needed to determine the identifier of the second network. When the first AMF uses the identifier of the terminal device in message 2 to determine the identifier of the second network, the role of the identifier of the terminal device includes but is not limited to determining the identifier of the second network, and this embodiment of the present application does not limit this.

[0272] In a possible implementation, the first AMF may send message 3 directly to the second AMF. For example, the first AMF may send message 3 directly to the second AMF based on the IP address of the second AMF.

[0273] In another possible implementation, the first AMF may send message 3 to the second AMF through the first SEPP and the second SEPP in sequence.

[0274] In this case, S503 may include S503a, S503b and S503c, and each step will be introduced separately below.

[0275] S503a is: the first AMF sends message 4 to the first SEPP. Correspondingly, the first SEPP receives message 4 from the first AMF.

[0276] For example, the first AMF may pre-store the address of the first SEPP. For example, the first AMF may be configured with the address of the first SEPP through a protocol, or the first AMF may receive the address of the first SEPP from the first SEPP. The first AMF may send message 4 to the first SEPP based on the address of the first SEPP.

[0277] S503b is: the first SEPP sends a message 5 to the second SEPP. Correspondingly, the second SEPP receives the message 5 from the first SEPP. The message 5 may also be referred to as a fourth message.

[0278] The message 5 may be used to request registration of the terminal device. For example, the message 5 may include a registration request message, a second parameter, and an address of a second AMF. Alternatively, the message 5 may include a registration request message and an address of a second AMF.

[0279] S503c: The second SEPP sends message 3 to the second AMF. Correspondingly, the second AMF receives message 3 from the second SEPP.

[0280] If the address of the second AMF in message 5 is the IP address of the second AMF, the second SEPP may directly send message 3 to the second AMF based on the IP address of the second AMF. If the address of the second AMF in message 5 is the domain name address of the second AMF, the second SEPP may determine the IP address of the second AMF based on the domain name address of the second AMF and send message 3 to the second AMF based on the IP address of the second AMF.

[0281] Illustratively, the second SEPP may pre-store a second correspondence relationship, and the second SEPP may determine the IP address of the second AMF corresponding to the domain name address of the second AMF in the second correspondence relationship as the IP address of the second AMF. The second correspondence relationship includes the domain name addresses of K AMFs and the IP address corresponding to each of the K AMFs. K is a positive integer. The K AMFs include the second AMF. The second SEPP may be configured with the second correspondence relationship through a protocol, or the second SEPP may receive the second correspondence relationship from another network element (such as the second AMF).

[0282] Alternatively, the second SEPP may query and obtain the IP address of the second AMF based on the domain name address of the second AMF. The manner in which the second SEPP queries and obtains the IP address of the second AMF may refer to the manner in which the first AMF queries the IP address of the second AMF described above and is not further detailed here.

[0283] In another possible implementation, the first AMF may send message 3 to the second AMF via the second SEPP. In this case, S503 may specifically include: the first AMF may send message 5 to the second SEPP. Accordingly, the second SEPP receives message 5 from the first AMF. Message 5 may also be referred to as a fourth message. The second SEPP sends message 3 to the second AMF. Accordingly, the second AMF receives message 3 from the second SEPP.

[0284] S504. The second AMF registers the terminal device.

[0285] Exemplarily, the second AMF may discover at least one of the UDM, AUSF and PCF in the second network, and register the terminal device through at least one of the UDM, AUSF and PCF in the second network. To simplify the description, the UDM in the second network is referred to as the second UDM, the AUSF in the second network is referred to as the second AUSF, and the PCF in the second network is referred to as the second PCF. The second UDM is, for example, the UDM in the HPLMN involved in Figure 4, the second AUSF is, for example, the AUSF in the HPLMN involved in Figure 4, and the second PCF is, for example, the PCF in the PLMN. The way in which the second AMF discovers the UDM, AUSF and PCF in the second network can be the same, and the following is introduced using the example of the second AMF discovering the UDM.

[0286] For example, the second AMF may pre-store the address of the NRF in the second network and send a request message to the NRF in the second network to discover the second UDM. The NRF in the second network may then send information about the second UDM to the second AMF. To simplify the description, the NRF in the second network is referred to as the second NRF below. The second NRF is, for example, the NRF in the hPLMN involved in Figure 4. The information about the second UDM includes, for example, the address of the UDM, which is, for example, an IP address.

[0287] The manner in which the second AMF discovers the second AUSF and the second PCF can also refer to the content of the second AMF discovering the UDM, which is not listed here. The following describes the process of the second AMF registering the terminal device through at least one of the second UDM, the second AUSF, and the second PCF.

[0288] Exemplarily, the second AMF may send a message to the second UDM requesting the contract information of the terminal device. Accordingly, the second UDM receives the message from the second AMF requesting the contract information of the terminal device. The second UDM may send the contract information of the terminal device to the second AMF. The contract information of the terminal device is used to sign the contract of the terminal device.

[0289] The subscription information of the terminal device includes, for example, at least one of mobility subscription data, slice selection subscription data, SMF subscription data in the second network, UE context data in the SMF in the second network, and short message service (SMS) management subscription data. The mobility subscription data may, for example, indicate at least one of a subscribed UE-aggregated maximum bit rate (subscribed UE-AMBR), a radio access technology restriction (RAT restriction), and a service area restriction subscribed by the terminal device.

[0290] The second AMF may send a message to the second AUSF for requesting authorization information of the terminal device. Accordingly, the second AUSF receives the message from the second AMF for requesting authorization information of the terminal device. The second AUSF may send the authorization information of the terminal device to the second AMF. The authorization information of the terminal device is used to authorize the terminal device. The authorization information, for example, indicates a security key of the terminal device, which can be used to parse the NAS message.

[0291] The second AMF may send a message to the second PCF requesting access policy information for the terminal device. Accordingly, the second PCF receives the message from the second AMF requesting access policy information for the terminal device. The second PCF may send the access policy information for the terminal device to the second AMF. The access policy information may, for example, indicate an access network discovery and selection policy and a routing selection policy.

[0292] The above is an introduction to one way of registering a terminal device with the second AMF. In fact, there may be other ways for the second AMF to register a terminal device, and this embodiment of the present application does not specifically limit this.

[0293] S505: The second AMF sends message 6 to the first AMF. Correspondingly, the first AMF receives message 6 from the second AMF. Message 6 may also be referred to as a third message.

[0294] Message 6 may be used to indicate acceptance of the terminal device registration. Message 6 may include a registration accept message. The registration accept message indicates acceptance of the terminal device registration. In addition to the registration accept message, the third message may also include the first connection identifier and / or the terminal device identifier. Optionally, Message 6 may be in the form of an N14 message container.

[0295] Exemplarily, the second AMF may send message 6 directly to the first AMF. Alternatively, the second AMF may send message 6 to the first AMF via the second SEPP and the first SEPP in sequence.

[0296] S506: The first AMF sends message 7 to the terminal device. Accordingly, the terminal device receives message 7 from the first AMF. Message 7 may also be referred to as a registration acceptance message. Message 7 may be used to indicate acceptance of the terminal device's registration. The registration acceptance message is used to indicate acceptance of the terminal device's registration.

[0297] Optionally, S506 may include S506a and S506b. In S506a, the first AMF sends message 7 to the RAN. Accordingly, the RAN receives message 7 from the first AMF. In S506b, the RAN sends message 7 to the terminal device. Accordingly, the terminal device receives message 7 from the RAN.

[0298] If message 6 includes the terminal device identifier, the first AMF may send message 7 to the terminal device via the RAN based on the terminal device identifier. For example, message 7 may be transparently transmitted to the terminal device via the RAN. Alternatively, if message 6 includes the first connection identifier, the first AMF may send message 7 to the RAN based on the first connection identifier, and the RAN may then send message 7 to the terminal device.

[0299] In this embodiment of the present application, even if there is no physical connection between the RAN and the second network, the first AMF can request the second AMF in the second network to register the terminal device, allowing the second network where the second AMF is located to provide services to the terminal device, thereby reducing the cost of implementing access network sharing. Furthermore, the process of registering the terminal device in the second network by the second AMF does not require the participation of network elements in the first network, simplifying the process of registering the terminal device and reducing signaling interactions, which is conducive to improving the efficiency of registering the terminal device. In addition, the second AMF can parse some information in Message 2 to determine the identity of the second network, which is conducive to reducing the processing volume of the second AMF.

[0300] Below, the first network is hPLMN, the second network is vPLMN, the first AMF is vAMF, the second AMF is hAMF, the first SEPP is vSEPP, the second SEPP is hSEPP, the first network is the network corresponding to operator A, and the second network is the network corresponding to operator B. As an example, the method of registering a terminal device in an embodiment of the present application is introduced.

[0301] Please refer to Figure 6, which is a schematic diagram of a method for registering a terminal device according to an embodiment of the present application. Figure 6 takes an example in which messages 1 to 5 include a registration request message and a terminal device identifier, message 6 includes a registration accept message and the terminal device identifier, and message 7 includes a registration accept message, and the hAMF sends message 7 to the RAN based on the terminal device identifier.

[0302] S601: The terminal device sends a message 1 to the RAN. Correspondingly, the RAN receives the message 1 from the terminal device.

[0303] The content of message 1 can refer to the content discussed above.

[0304] S602: RAN sends message 2 to vAMF. In response, vAMF receives message 2 from RAN.

[0305] The content of message 2 can refer to the content discussed above.

[0306] S603: vAMF sends message 4 to vSEPP. In response, vSEPP receives message 4 from vAMF.

[0307] The content of message 4 and the content of message 4 determined by vAMF can refer to the content discussed above.

[0308] S604: vSEPP sends message 5 to hSEPP. Correspondingly, hSEPP receives message 5 from vSEPP.

[0309] The content of message 5 can refer to the content discussed above.

[0310] S605: hSEPP sends message 3 to hAMF. In response, hAMF receives message 3 from hSEPP.

[0311] The content of message 3 can refer to the content discussed above.

[0312] S606. hAMF registers the terminal device through the second UDM, the second AUSF and the second PCF.

[0313] The method of hAMF registering terminal devices can refer to the content discussed above.

[0314] S607. hAMF sends message 6 to vAMF.

[0315] The content of Message 6 can be found in the previous section. Optionally, S607 includes S607a, S607b, and S607c. S607a includes the hAMF sending Message 6 to the hSEPP. Accordingly, the hSEPP receives Message 6 from the hAMF. S607b includes the hSEPP sending Message 6 to the vSEPP. Accordingly, the vSEPP receives Message 6 from the hSEPP. S607c includes the vSEPP sending Message 6 to the vAMF. Accordingly, the vAMF receives Message 6 from the vSEPP.

[0316] S608. The vAMF sends message 7 to the terminal device through the RAN.

[0317] Exemplarily, the vAMF may send message 7 to the terminal device through the RAN based on the identifier of the terminal device in message 6.

[0318] In this embodiment of the present application, the hAMF serves as the control point for terminal device registration. Even if the terminal device subsequently roams to another network, there is no need to switch the control point for terminal device registration, which helps maintain service continuity for the terminal device. Furthermore, the vAMF can determine the hPLMN identifier based on the terminal device identifier and communicate with the terminal device. This means that the terminal device identifier can have multiple functions, which helps reduce the amount of data exchanged between the vAMF and other network elements.

[0319] Please refer to Figure 7, which is a schematic diagram of another method for registering a terminal device provided in an embodiment of the present application. In Figure 7, messages 1 to 5 include a registration request message and an NGAP UE TNLA identifier, message 6 includes a registration accept message and an NGAP UE TNLA identifier, and message 7 includes a registration accept message. The hAMF sends message 7 to the RAN based on the first connection identifier, and the first connection identifier is the NGAP UE TNLA identifier. As an example,

[0320] S701: The terminal device sends a message 1 to the RAN. Correspondingly, the RAN receives the message 1 from the terminal device.

[0321] The content of message 1 can refer to the content discussed above.

[0322] S702: RAN sends message 2 to vAMF. In response, vAMF receives message 2 from RAN.

[0323] The content of message 2 can refer to the content discussed above.

[0324] S703: vAMF sends message 4 to vSEPP. In response, vSEPP receives message 4 from vAMF.

[0325] The content of message 4 can refer to the content discussed above.

[0326] S704: vSEPP sends message 5 to hSEPP. Correspondingly, hSEPP receives message 5 from vSEPP.

[0327] The content of message 5 can refer to the content discussed above.

[0328] S705: hSEPP sends message 3 to hAMF. In response, hAMF receives message 3 from hSEPP.

[0329] The content of message 3 can refer to the content discussed above.

[0330] S706. hAMF registers the terminal device through the second UDM, the second AUSF and the second PCF.

[0331] The process of hAMF registering the terminal device through the second UDM, the second AUSF and the second PCF can refer to the content discussed above.

[0332] S707. hAMF sends message 6 to vAMF.

[0333] The content of Message 6 can be found in the previous discussion. Optionally, S707 includes S707a, S707b, and S707c. S707a includes the hAMF sending Message 6 to the hSEPP. Accordingly, the hSEPP receives Message 6 from the hAMF. S707b includes the hSEPP sending Message 6 to the vSEPP. Accordingly, the vSEPP receives Message 6 from the hSEPP. S707c includes the vSEPP sending Message 6 to the vAMF. Accordingly, the vAMF receives Message 6 from the vSEPP.

[0334] S708. vAMF sends message 7 to the terminal device through RAN.

[0335] The content of message 7 can refer to the content discussed above.

[0336] Exemplarily, the vAMF may send message 7 to the RAN via the NGAP UE TNLA according to the identifier of the NGAP UE TNLA in message 6. Accordingly, the RAN receives message 7 from the vAMF and sends message 7 to the terminal device.

[0337] In this embodiment of the present application, the hAMF serves as the control point for controlling terminal device registration. Even if the terminal device subsequently roams to another network, there is no need to switch the control point for controlling terminal device registration, which helps maintain service continuity for the terminal device. In addition, the vAMF can communicate with the terminal device based on NGAP UE TNLA, providing another way for the vAMF to establish communication with the terminal device.

[0338] Please refer to Figure 8, which is a schematic diagram of another method for registering a terminal device provided in an embodiment of the present application. Figure 8 takes the example of messages 1 to 5 including a registration request message and a TNLA identifier, message 6 including a registration accept message and a TNLA identifier, and message 7 including a registration accept message. The hAMF sends message 7 to the RAN based on a first connection identifier, and the first connection identifier is a TNLA identifier.

[0339] S801: The terminal device sends a message 1 to the RAN. Correspondingly, the RAN receives the message 1 from the terminal device.

[0340] The content of message 1 can refer to the content discussed above.

[0341] S802: RAN sends message 2 to vAMF. In response, vAMF receives message 2 from RAN.

[0342] The content of message 2 can refer to the content discussed above.

[0343] S803: vAMF sends message 4 to vSEPP. In response, vSEPP receives message 4 from vAMF.

[0344] The content of message 4 can refer to the content discussed above.

[0345] S804: vSEPP sends message 5 to hSEPP. Correspondingly, hSEPP receives message 5 from vSEPP.

[0346] The content of message 5 can refer to the content discussed above.

[0347] S805. hSEPP sends message 6 to hAMF. In response, hAMF receives message 6 from hSEPP.

[0348] The content of message 6 can refer to the content discussed above.

[0349] S806. hAMF registers the terminal device through the second UDM, the second AUSF and the second PCF.

[0350] The process of hAMF registering the terminal device through the second UDM, the second AUSF and the second PCF can refer to the content discussed above.

[0351] S807. hAMF sends message 6 to vAMF via hSEPP and vSEPP in sequence.

[0352] The content of Message 6 can be found in the previous discussion. Optionally, S807 includes S807a, S807b, and S807c. S807a includes the hAMF sending Message 6 to the hSEPP. Accordingly, the hSEPP receives Message 6 from the hAMF. S807b includes the hSEPP sending Message 6 to the vSEPP. Accordingly, the vSEPP receives Message 6 from the hSEPP. S807c includes the vSEPP sending Message 6 to the vAMF. Accordingly, the vAMF receives Message 6 from the vSEPP.

[0353] S808. vAMF sends message 7 to the terminal device through RAN.

[0354] The content of message 7 can refer to the content discussed above. For example, the vAMF can send message 7 to the RAN via the TNLA based on the TNLA identifier in message 6. Correspondingly, the RAN receives message 7 from the vAMF and sends message 7 to the terminal device.

[0355] In this embodiment of the present application, the hAMF serves as the control point for controlling terminal device registration. Even if the terminal device subsequently roams to another network, there is no need to switch the control point for controlling terminal device registration, which helps maintain service continuity for the terminal device. In addition, the vAMF can communicate with the terminal device based on the TNLA, providing another way for the vAMF to establish communication with the terminal device.

[0356] In order to reduce the cost of access network sharing, an embodiment of the present application also provides a method for registering a terminal device, in which the access network network element can discover the address of the mobility management network element (such as the second AMF) in the second network, and establish wireless communication with the second AMF through the mobility management network element (such as the first AMF) in the first network. The access network network element can directly request the second AMF to register the terminal device, thereby completing the registration of the terminal device. In this way, even if there is no physical connection between the access network network element and the second network, the second AMF can register the terminal device, so that the second network can provide services for the terminal device, thereby reducing the cost of implementing access network sharing.

[0357] Please refer to Figure 9, which is a schematic diagram of a method for registering a terminal device provided in an embodiment of the present application.

[0358] S901: The terminal device sends a message 8 to the RAN. Correspondingly, the RAN receives the message 8 from the terminal device. The message 8 may also be referred to as a tenth message. The message 8 may indicate an identifier of a second network.

[0359] Exemplarily, the message 8 may include a registration request message. Optionally, the message 8 may also include a second parameter. The content of the registration request message may refer to the content of the registration request message in the foregoing text, and the content of the second parameter may refer to the content of the second parameter in the foregoing text.

[0360] S902. The RAN determines the address of the second AMF based on the identifier of the second network.

[0361] The address of the second AMF is, for example, the IP address or domain name address of the second AMF. The manner in which the RAN determines the address of the second AMF can refer to the content of the first AMF determining the address of the second AMF above, and will not be listed here.

[0362] In a possible implementation, the RAN may determine, based on the identifier of the second network, whether to allow the terminal device to be registered. The details of how the RAN determines whether to allow the terminal device to be registered can be found in the foregoing description and are not detailed here.

[0363] S903: The RAN sends message 9 to the first AMF. Accordingly, the first AMF receives message 9 from the RAN. Message 9 may also be referred to as the sixth message. Message 9 is used to request the establishment of a communication connection between the RAN and the second AMF. Message 9 may include the address of the second AMF. Optionally, message 9 may also include the identifier of the second network and / or the identifier of the selected network. The meaning of the identifier of the selected network can be found in the previous section.

[0364] Exemplarily, message 9 may include a connection setup request message, which is used to request the setup of a communication connection between the RAN and the second AMF.

[0365] S904: The first AMF sends message 9 to the second AMF. Correspondingly, the second AMF receives message 9 from the first AMF.

[0366] In a possible implementation, the first AMF may send message 9 directly to the second AMF. For example, the first AMF may send message 9 directly to the second AMF based on the IP address of the second AMF.

[0367] In another possible implementation, the first AMF may send message 9 to the second AMF through the first SEPP and the second SEPP in sequence.

[0368] In this case, S904 may include S904a, S904b and S904c, and each step is introduced below.

[0369] S904a is: the first AMF sends message 9 to the first SEPP. Correspondingly, the first SEPP receives message 9 from the first AMF.

[0370] For example, the first AMF may pre-store the address of the first SEPP. For example, the first AMF may be configured with the address of the first SEPP through a protocol, or the first AMF may receive the address of the first SEPP from the first SEPP. The first AMF may send message 9 to the first SEPP based on the address of the first SEPP.

[0371] S904b is: the first SEPP sends a message 9 to the second SEPP. Correspondingly, the second SEPP receives the message 9 from the first SEPP.

[0372] S904c is: the second SEPP sends message 9 to the second AMF. Correspondingly, the second AMF receives message 9 from the second SEPP. The content of message 10 can refer to the content of message 9.

[0373] If the address of the second AMF in message 9 is the IP address of the second AMF, the second SEPP may send message 9 directly to the second AMF. Alternatively, if the address of the second AMF in message 9 is the domain name address of the second AMF, the second SEPP may determine the IP address of the second AMF based on the domain name address of the second AMF, and then send message 9 to the second AMF based on the IP address of the second AMF. The method for the second SEPP to determine the IP address of the second AMF can be referred to the above discussion.

[0374] In another possible implementation, the first AMF may send message 9 to the second AMF via the second SEPP. The content of message 9 sent by the first AMF to the second AMF via the second SEPP may refer to the content of message 3 sent by the first AMF to the second AMF via the second SEPP described above.

[0375] S905: The second AMF sends message 10 to the first AMF. Accordingly, the first AMF receives message 10 from the second AMF. Message 10 may also be referred to as the seventh message. Message 10 indicates that the second AMF accepts the communication connection setup with the RAN. Optionally, message 10 may be a connection setup response message, which indicates acceptance of the communication connection between the RAN and the second AMF.

[0376] Exemplarily, the second AMF may send message 10 to the first AMF via the second SEPP and the first SEPP in sequence.

[0377] In a possible implementation, before the second AMF executes S905, and message 9 includes the identifier of the second network and / or the identifier of the selected network, the second AMF may further determine whether to accept the communication connection setting with the RAN based on the identifier of the second network and / or the identifier of the selected network.

[0378] Illustratively, if message 9 includes the identifier of the second network, the second AMF determines to accept the request to establish a communication connection between the RAN and the second AMF. For another example, if message 9 includes the identifier of the selected network, the second AMF determines to accept the request to establish a communication connection between the RAN and the second AMF. For another example, if message 9 does not include the identifier of the second network and the identifier of the selected network, the second AMF determines not to accept the request to establish a communication connection between the RAN and the second AMF.

[0379] S906: The first AMF sends message 11 to the RAN. Correspondingly, the RAN receives message 11 from the first AMF. Message 11 may also be called a connection setup response message.

[0380] In this way, it is equivalent to establishing a wireless communication connection between RAN and the second AMF.

[0381] S907: The RAN sends message 12 to the second AMF. Correspondingly, the second AMF receives message 14 from the RAN. Message 12 may also be referred to as the eighth message.

[0382] Exemplarily, the message 12 may indicate a request to register the terminal device. For example, the message 12 includes a registration request message, and the registration request message indicates a request to register the terminal device.

[0383] S908. The second AMF sends message 13 to the RAN. Correspondingly, the RAN receives message 13 from the second AMF. Message 13 may also be referred to as a ninth message.

[0384] The second AMF can also register the terminal device. The process of registering the terminal device can refer to the content of registering the terminal device discussed above and will not be listed here.

[0385] Exemplarily, the message 13 may indicate that the terminal device is accepted for registration. For example, the message 13 includes a registration acceptance message, and the registration acceptance message indicates that the terminal device is accepted for registration.

[0386] S909: The RAN sends a message 13 to the terminal device. Correspondingly, the terminal device receives the message 13 from the RAN.

[0387] In this embodiment of the present application, the RAN can directly determine the address of the second AMF in the second network, establish wireless communication with the second AMF, and request the second AMF to register the terminal device. Therefore, even if the RAN and the second network are not physically connected, the second network can still provide services to the terminal device through the RAN, reducing the cost of the shared access network. In addition, the control point for registering the terminal device is in the second AMF of the second network, which also helps to simplify the process of registering the terminal device and reduce signaling interactions. In addition, the first AMF can forward messages based on the RAN request, reducing the processing load of the first AMF.

[0388] Below, the first network is hPLMN, the second network is vPLMN, the first AMF is vAMF, the second AMF is hAMF, the first SEPP is vSEPP, the second SEPP is hSEPP, the first network is the network corresponding to operator A, and the second network is the network corresponding to operator B. As an example, the process of the method for registering a terminal device in an embodiment of the present application is introduced.

[0389] Please refer to Figure 10, which is a schematic diagram of a method for registering a terminal device according to an embodiment of the present application. Figure 10 takes as an example a method in which message 8 indicates the identifier of an hPLMN, message 9 includes a connection setup request message, messages 10 and 11 include connection setup response messages, message 12 includes a registration request message, and message 13 includes a registration accept message.

[0390] S1001: The terminal device sends a message 8 to the RAN. Accordingly, the RAN receives the message 8 from the terminal device. Message 8 may indicate the identifier of the hPLMN. The content of message 8 may refer to the content discussed above.

[0391] S1002: RAN determines the address of hAMF. The content of RAN determining the address of hAMF can refer to the content discussed above.

[0392] S1003: The RAN sends a connection setup request to the hAMF. Accordingly, the hAMF receives the connection setup request from the RAN. The connection setup request includes the address of the hAMF.

[0393] Optionally, S1003 may include S1003a, S1003b, S1003c, and S1003d. S1003a indicates that the RAN sends message 9 to the vAMF. Accordingly, the vAMF receives message 9 from the RAN. S1003b indicates that the vAMF sends message 9 to the vSEPP. Accordingly, the vSEPP receives message 9 from the vAMF. S1003c indicates that the vSEPP sends message 9 to the hSEPP. Accordingly, the hSEPP receives message 9 from the vSEPP. S1003d indicates that the hSEPP sends message 9 to the hAMF. Accordingly, the hAMF receives message 9 from the hSEPP. This completes the process of the RAN sending a connection setup request to the hAMF.

[0394] S1004: hAMF sends a connection setup response message to RAN. Correspondingly, RAN receives the connection setup response message from hAMF.

[0395] Optionally, the hAMF may sequentially send a connection setup response message to the RAN via the hSEPP, vSEPP, and vAMF. In this case, S1004 may include S1004a, S1004b, and S1004c. S1004a involves the hAMF sending a connection setup response message to the hSEPP. Accordingly, the hSEPP receives the connection setup response message from the hAMF. S1004b involves the hSEPP sending a connection setup response message to the vSEPP. Accordingly, the vSEPP receives the connection setup response message from the hSEPP. S1004c involves the vSEPP sending a connection setup response message to the vAMF. Accordingly, the vAMF receives the connection setup response message from the vSEPP.

[0396] S1005: RAN sends a registration request message to hAMF. Correspondingly, hAMF receives the registration request message from RAN.

[0397] S1006. The hAMF may register the terminal device through the second UDM, the second AUSF, and the second PCF. The details of registering the terminal device may refer to the above-mentioned details and will not be listed here.

[0398] S1007: hAMF sends a registration acceptance message to RAN. Correspondingly, RAN receives the registration acceptance message from hAMF.

[0399] S1008: The RAN sends a registration acceptance message to the terminal device. Correspondingly, the terminal device receives the registration acceptance message from the RAN.

[0400] In this embodiment of the present application, the RAN can directly establish wireless communication with the second AMF and request the hAMF to register the terminal device. Therefore, even if the RAN and hPLMN are not physically connected, the hPLMN can still provide services to the terminal device through the RAN, reducing the cost of shared access networks. Furthermore, the control point for terminal device registration is within the hPLMN's hAMF, which simplifies the terminal device registration process, reduces signaling interactions, and maintains service continuity for the terminal device. Furthermore, the hAMF can directly exchange messages with the RAN, reducing the number of information exchanges within the communication system.

[0401] Please refer to Figure 11, which is a structural diagram of a communication device provided in an embodiment of the present application.

[0402] As shown in Figure 11, a communication device 1100 includes a transceiver module 1101 and a processing module 1102. The communication device 1100 may be a hardware device, a component in a hardware device, or a software module in a hardware device.

[0403] In the first embodiment, the communication device 1100 may be used to implement the functions of any of the first AMFs involved in FIG. 5 to FIG. 8 . Accordingly, the communication device 1100 may also implement the steps performed by any of the first AMFs involved in FIG. 5 to FIG. 8 .

[0404] For example, the communication device 1100 may be used to implement the function of the first AMF involved in FIG. 5 above.

[0405] Exemplarily, the transceiver module 1101 may execute the aforementioned steps S502 , S503 , S505 and S506 a under the control of the processing module 1102 .

[0406] For another example, the communication device 1100 may be used to implement the function of the first AMF involved in FIG. 6 above.

[0407] Illustratively, the transceiver module 1101 may execute the aforementioned steps S602 , S603 , S607 and S608 under the control of the processing module 1102 .

[0408] For another example, the communication device 1100 may be used to implement the function of the first AMF involved in FIG. 7 above.

[0409] Illustratively, the transceiver module 1101 may execute the aforementioned steps S702 , S703 , S707 and S708 under the control of the processing module 1102 .

[0410] For another example, the communication device 1100 may be used to implement the function of the first AMF involved in FIG. 8 above.

[0411] Illustratively, the transceiver module 1101 may execute the aforementioned steps S802 , S803 , S807 and S808 under the control of the processing module 1102 .

[0412] In the second embodiment, the communication device 1100 may be used to implement the functions of the second AMF involved in any of Figures 5 to 8 above. Accordingly, the communication device 1100 may also implement the steps performed by the second AMF involved in any of Figures 5 to 8 above.

[0413] For example, the communication device 1100 may be used to implement the functions of the second AMF involved in FIG. 5 above.

[0414] Exemplarily, the transceiver module 1101 may execute the aforementioned steps S503 and S505 under the control of the processing module 1102. Optionally, the transceiver module 1101 may also execute the step S504 under the control of the processing module 1102.

[0415] For another example, the communication device 1100 may be used to implement the function of the second AMF involved in FIG. 6 above.

[0416] Exemplarily, the transceiver module 1101 may execute the aforementioned steps S605 and S607 under the control of the processing module 1102. Optionally, the transceiver module 1101 may also execute the step S606 under the control of the processing module 1102.

[0417] For another example, the communication device 1100 may be used to implement the function of the second AMF involved in FIG. 7 above.

[0418] Exemplarily, the transceiver module 1101 may execute the aforementioned steps S705 and S707 under the control of the processing module 1102. Optionally, the transceiver module 1101 may also execute the step S706 under the control of the processing module 1102.

[0419] For another example, the communication device 1100 may be used to implement the function of the second AMF involved in FIG. 8 above.

[0420] Exemplarily, the transceiver module 1101 may execute the aforementioned steps S805 and S807 under the control of the processing module 1102. Optionally, the transceiver module 1101 may also execute the step S806 under the control of the processing module 1102.

[0421] In the third embodiment, the communication device 1100 can be used to implement any of the RAN functions mentioned in Figures 5 to 8. Accordingly, the communication device 1100 can also implement any of the steps performed by the RAN mentioned in Figures 5 to 8.

[0422] For example, the communication device 1100 may be used to implement the functions of the RAN involved in FIG. 5 above.

[0423] Exemplarily, the transceiver module 1101 may execute the aforementioned steps S501, S502, and S506a under the control of the processing module 1102. Optionally, the transceiver module 1101 may also execute step S506b under the control of the processing module 1102.

[0424] For another example, the communication device 1100 may be used to implement the functions of the RAN involved in FIG. 6 above.

[0425] Exemplarily, the transceiver module 1101 may execute the aforementioned steps S601 and S602 under the control of the processing module 1102 .

[0426] For another example, the communication device 1100 may be used to implement the functions of the RAN involved in FIG. 7 above.

[0427] Exemplarily, the transceiver module 1101 may execute the aforementioned steps S701 and S702 under the control of the processing module 1102 .

[0428] For another example, the communication device 1100 may be used to implement the functionality of the RAN in FIG. 8 above.

[0429] Exemplarily, the transceiver module 1101 may execute the aforementioned steps S801 and S802 under the control of the processing module 1102 .

[0430] In the fourth embodiment, the communication device 1100 may be used to implement the functions of the first AMF involved in FIG. 9 or FIG. 10 . Accordingly, the communication device 1100 may also implement the steps performed by the first AMF involved in FIG. 9 or FIG. 10 .

[0431] For example, the communication device 1100 may be used to implement the functions of the first AMF involved in FIG. 9 above.

[0432] Illustratively, the transceiver module 1101 may execute the aforementioned steps S903 , S904 , S905 and S906 under the control of the processing module 1102 .

[0433] For another example, the communication device 1100 may be used to implement the function of the first AMF involved in FIG. 10 above.

[0434] Exemplarily, the transceiver module 1101 may execute step S1003b under the control of the processing module 1102 .

[0435] In the fifth embodiment, the communication device 1100 may be used to implement the functions of the second AMF involved in FIG. 9 or FIG. 10 . Accordingly, the communication device 1100 may also implement the steps performed by the second AMF involved in FIG. 9 or FIG. 10 .

[0436] For example, the communication device 1100 may be used to implement the functions of the second AMF involved in FIG. 9 above.

[0437] Illustratively, the transceiver module 1101 may execute the aforementioned steps S904 , S905 , S907 , and S908 under the control of the processing module 1102 .

[0438] For another example, the communication device 1100 may be used to implement the function of the second AMF involved in FIG. 10 above.

[0439] Exemplarily, the transceiver module 1101 may execute steps S1003d and S1004a under the control of the processing module 1102. Optionally, the transceiver module 1101 may execute step S1006 under the control of the processing module 1102.

[0440] In the sixth embodiment, the communication device 1100 may be used to implement the functions of the RAN mentioned in Figures 9 or 10. Accordingly, the communication device 1100 may also implement the steps performed by the RAN mentioned in Figures 9 or 10.

[0441] For example, the communication device 1100 may be used to implement the functions of the RAN involved in FIG. 9 above.

[0442] Illustratively, the transceiver module 1101 may execute the aforementioned steps S901, S903, and S906-S908 under the control of the processing module 1102. The processing module 1102 may be configured to execute the step S902. Optionally, the transceiver module 1101 may execute the step S909 under the control of the processing module 1102.

[0443] For another example, the communication device 1100 may be used to implement the functions of the RAN involved in FIG. 10 above.

[0444] Illustratively, the transceiver module 1101 may execute steps S1001 , S1002 , S1003 a , S1004 , S1005 , S1007 , and S1008 under the control of the processing module 1102 .

[0445] The specific contents of each step mentioned in the embodiments of the present application can be referred to the contents discussed above and will not be listed here again.

[0446] Please refer to Figure 12, which is a structural diagram of a communication device provided in an embodiment of the present application.

[0447] As shown in Figure 12, the communication device 1200 includes a processor 1201 and a communication interface 1202. The processor 1201 and the communication interface 1202 are coupled to each other or designed relatively independently. The communication interface 1202 can be, for example, a transceiver or an input / output interface. The processor 1201 and the communication interface 1202 can implement any of the methods described in Figures 5 to 10 above. The processor 1201 and the communication interface 1202 can also implement the steps of the first AMF, the second AMF, or the RAN involved in Figures 5 to 10 above.

[0448] Optionally, the communication device 1200 may further include a memory 1203 for storing instructions executed by the processor 1201 or storing input data required by the processor 1201 to run instructions or storing data generated after the processor 1201 runs instructions.

[0449] Any two of the processor 1201, the communication interface 1202, and the memory 1203 can communicate with each other via a bus. The bus can be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus, for example. Buses can be divided into address buses, data buses, control buses, etc. Optionally, the processor 1201 is used to implement the functions of the processing module 1102, and the communication interface 1202 is used to implement the functions of the transceiver module 1101.

[0450] It is understood that the processor 1201 can be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field programmable gate arrays (FPGA) or other programmable logic devices, transistor logic devices, hardware components or any combination thereof. The general-purpose processor can be a microprocessor or any conventional processor. The memory 1203 can include volatile memory, such as random access memory (RAM). The memory can also include non-volatile memory, such as read-only memory (ROM), flash memory, hard disk drive (HDD) or solid state drive (SSD).

[0451] An embodiment of the present application provides a communication system, comprising a first AMF and a second AMF as described in any of Figures 5 to 8 . Optionally, the communication system further comprises a RAN as described in any of Figures 5 to 8 . The functions of the first AMF, the second AMF, and the RAN can be found in the previous discussion and are not detailed here.

[0452] An embodiment of the present application provides a communication system, which includes a first AMF, a second AMF, and a RAN as shown in Figure 9 or Figure 10. The functions of the first AMF, the second AMF, and the RAN can be referred to as described above and are not listed here.

[0453] An embodiment of the present application provides a chip system, comprising: a processor and an interface, wherein the processor is configured to call and execute instructions from the interface, and when the processor executes the instructions, implements any of the above-described methods, such as any of the methods in Figures 5 to 10.

[0454] An embodiment of the present application provides a computer-readable storage medium for storing a computer program or instruction, which, when executed, implements any of the methods described above, such as any of the methods in Figures 5 to 10.

[0455] An embodiment of the present application provides a computer program product comprising instructions, which, when executed on a computer, implements any of the methods described above, such as any of the methods in FIG. 5 to FIG. 10 .

[0456] The method steps in the embodiments of the present application can be implemented by hardware or by a processor executing software instructions. The software instructions can be composed of corresponding software modules, and the software modules can be stored in a random access memory, a flash memory, a read-only memory, a programmable read-only memory, an erasable programmable read-only memory, an electrically erasable programmable read-only memory, a register, a hard disk, a mobile hard disk, a CD-ROM or any other form of storage medium well known in the art. An exemplary storage medium is coupled to the processor so that the processor can read information from the storage medium and write information to the storage medium. Of course, the storage medium can also be an integral part of the processor. The processor and the storage medium can be located in an ASIC. In addition, the ASIC can be located in a base station or a terminal. Of course, the processor and the storage medium can also exist in a base station or a terminal as discrete components.

[0457] In the above embodiments, all or part of the embodiments may be implemented using software, hardware, firmware, or any combination thereof. When implemented using software, all or part of the embodiments may be implemented in the form of a computer program product. The computer program product includes one or more computer programs or instructions. When the computer program or instructions are loaded and executed on a computer, the processes or functions described in the embodiments of the present application are performed in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, a network device, a user device, or other programmable device. The computer program or instructions may be stored in a computer-readable storage medium or transferred from one computer-readable storage medium to another. For example, the computer program or instructions may be transferred from one website, computer, server, or data center to another website, computer, server, or data center via wired or wireless means. The computer-readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server or data center that integrates one or more available media. The available medium may be a magnetic medium, such as a floppy disk, hard disk, or magnetic tape; an optical medium, such as a digital video disk; or a semiconductor medium, such as a solid-state drive. The computer-readable storage medium may be a volatile or nonvolatile storage medium, or may include both volatile and nonvolatile types of storage media.

[0458] In the various embodiments of the present application, unless otherwise specified or there is a logical conflict, the terms and / or descriptions between different embodiments are consistent and can be referenced by each other. The technical features in different embodiments can be combined to form new embodiments according to their inherent logical relationships.

[0459] It is understood that the various numbers used in the embodiments of this application are merely for ease of description and are not intended to limit the scope of the embodiments of this application. The order of the sequence numbers of the above-mentioned processes does not necessarily imply a specific order of execution; the order of execution of the processes should be determined by their functions and inherent logic.< / mcc> < / mnc>

Claims

1. A method for registering a terminal device, characterized in that: Applied to a first mobility management network element in a first network, the method comprising: receiving a first message from an access network element, the first message including a registration request message, the registration request message being used to request registration of a terminal device, the first message indicating an identifier of a second network; Sending a second message to a second mobility management network element in the second network according to the identifier of the second network, where the second message includes the registration request message; A third message is received from the second mobility management network element, where the third message indicates acceptance of registration of the terminal device.

2. The method according to claim 1, characterized in that The method further comprises: According to the identifier of the second network, it is determined that registration of the terminal device is allowed.

3. The method according to claim 1 or 2, characterized in that: The first message further includes a first parameter, and one of the registration request message and the first parameter includes an identifier of the second network and / or an identifier of the terminal device; or, In the case where the first message further includes the first parameter, the first message further includes an identifier of the second network and / or an identifier of the terminal device; The first parameter is used to assist access to the terminal device, and the identifier of the terminal device is used to determine the identifier of the second network.

4. The method according to claim 3, characterized in that In a case where the first message further includes the first parameter, and the first parameter includes an identifier of the second network and / or an identifier of the terminal device, the first message instructs the first mobility management network element not to parse the registration request message; or, When the first message also includes the first parameter and the first message also includes the identifier of the second network and / or the identifier of the terminal device, the first message instructs the first mobility management network element not to parse the registration request message and the first parameter.

5. The method according to any one of claims 1 to 4, characterized in that: The second message includes the first connection identifier and / or the identifier of the terminal device, the third message includes a registration acceptance message, the third message also includes the first connection identifier and / or the identifier of the terminal device, the registration acceptance message indicates that registration of the terminal device is accepted, and the first connection identifier is used to identify the connection between the access network element and the first mobility management network element; The method further comprises: According to the first connection identifier and / or the identifier of the terminal device, the registration acceptance message is sent to the terminal device through the access network element.

6. The method according to any one of claims 1 to 5, characterized in that: Sending a second message to a second mobility management network element in the second network according to the identifier of the second network includes: Determining, according to the identifier of the second network, an address of the second mobility management network element; A fourth message is sent to a security edge protection agent in the second network so that the security edge protection agent in the second network sends the second message to the second mobility management network element, wherein the fourth message includes an address of the second mobility management network element and the registration request message.

7. A method for registering a terminal device, characterized in that: Applied to a second mobility management network element in a second network, the method comprising: receiving a second message from a first mobility management network element in the first network, where the second message includes a registration request message, where the registration request message is used to request registration of a terminal device; A third message is sent to the first mobility management network element, where the third message indicates acceptance of registration of the terminal device.

8. The method according to claim 7, characterized in that The second message and the third message both include a first connection identifier and / or an identifier of the terminal device, where the first connection identifier is used to identify a connection between an access network element and the first mobility management network element.

9. The method according to claim 7 or 8, characterized in that: Before sending the third message to the first mobility management network element, the method further includes at least one of the following: Sending a message for requesting to obtain the contract information of the terminal device to the unified data management network element in the second network, and receiving the contract information of the terminal device from the unified data management network element in the second network; Sending a message for requesting to obtain authorization information of the terminal device to the authentication service network element in the second network, and receiving authorization information of the terminal device from the authentication service network element in the second network; or, A message for requesting access policy information of the terminal device is sent to the policy control network element in the second network, and access policy information of the terminal device is received from the policy control network element in the second network.

10. The method according to any one of claims 7 to 9, characterized in that: The second message also includes a first parameter; One of the registration request message and the first parameter includes an identifier of the second network and / or an identifier of the terminal device; The first parameter is used to assist access to the terminal device, and the identifier of the terminal device is used to determine the identifier of the second network.

11. A method for registering a terminal device, characterized in that: Applied to an access network element, the method comprises: receiving a fifth message from the terminal device, the fifth message including a registration request message, the registration request message being used to request registration of the terminal device, the fifth message indicating an identifier of the second network, the identifier of the second network being used to determine a second mobility management network element in the second network; Sending a first message to a first mobility management network element in the first network, where the first message includes the registration request message, and the first message indicates an identifier of the second network; A registration acceptance message is received from the first mobility management network element, where the registration acceptance message indicates that the second mobility management network element accepts registration of the terminal device.

12. The method according to claim 11, characterized in that The fifth message also includes a second parameter; One of the registration request message and the second parameter includes an identifier of the second network and / or an identifier of the terminal device; The second parameter is used to assist access to the terminal device, and the identifier of the terminal device is used to determine the identifier of the second network.

13. The method according to claim 11 or 12, characterized in that: The first message further includes a first parameter, and one of the registration request message and the first parameter includes an identifier of the second network and / or an identifier of the terminal device; or, In the case where the first message includes the registration request message and the first parameter, the first message further includes an identifier of the second network and / or an identifier of the terminal device; The first parameter is used to assist access to the terminal device, and the identifier of the terminal device is used to determine the identifier of the second network.

14. The method according to claim 13, characterized in that In a case where the first message further includes the first parameter, and the first parameter includes an identifier of the second network and / or an identifier of the terminal device, the first message instructs the first mobility management network element not to parse the registration request message; or, When the first message also includes the first parameter and the first message also includes the identifier of the second network and / or the identifier of the terminal device, the first message instructs the first mobility management network element not to parse the registration request message and the first parameter.

15. The method according to any one of claims 11 to 14, characterized in that: The method further comprises: According to the identifier of the second network, it is determined that registration of the terminal device is allowed.

16. A method for registering a terminal device, characterized in that: Applied to a first mobility management network element in a first network, the method comprising: receiving a sixth message from an access network element, the sixth message being used to request setting of a communication connection between the access network element and a second mobility management network element in a second network, the sixth message including an address of the second mobility management network element; Sending the sixth message to the second mobility management network element; A seventh message is received from the second mobility management network element, where the seventh message indicates that the second mobility management network element accepts the communication connection setting with the access network element.

17. The method according to claim 16, characterized in that The sixth message includes the identifier of the second network and / or the identifier of the first network, and the identifier of the first network is used to determine the identifier of the second network.

18. The method according to claim 16 or 17, characterized in that The seventh message includes a connection setting response message and an address of the access network element, and the connection setting response message indicates that the second mobility management network element accepts the communication connection setting with the access network element; the method further includes: Send the connection setup response message to the access network element according to the address of the access network element.

19. A method for registering a terminal device, characterized in that: Applied to a second mobility management network element in a second network, the method comprising: receiving a sixth message from a first mobility management network element in the first network, the sixth message being used to request setting of an access network element and a a communication connection between second mobility management network elements in a second network; A seventh message is sent to the first mobility management network element, where the seventh message instructs the second mobility management network element to accept the communication connection setting with the access network element.

20. The method according to claim 19, characterized in that: After sending the seventh message to the first mobility management network element in the first network, the method further includes: receiving an eighth message from the access network element, wherein the eighth message is used to request registration of a terminal device; A ninth message is sent to the access network element, where the ninth message indicates acceptance of registration of the terminal device.

21. The method according to claim 19 or 20, characterized in that Before sending the seventh message to the first mobility management network element in the first network, the method further includes at least one of the following: Sending a message for requesting to obtain the contract information of the terminal device to the unified data management network element in the second network, and receiving the contract information of the terminal device from the unified data management network element in the second network; Sending a message for requesting to obtain authorization information of the terminal device to the authentication service network element in the second network, and receiving authorization information of the terminal device from the authentication service network element in the second network; or, A message for requesting access policy information of the terminal device is sent to the policy control network element in the second network, and access policy information of the terminal device is received from the policy control network element in the second network.

22. The method according to any one of claims 19 to 21, characterized in that: The seventh message includes the identifier of the second network and / or the identifier of the first network, and the identifier of the first network is used to determine the identifier of the second network; the method further includes: According to the identifier of the second network and / or the identifier of the first network, it is determined to accept the communication connection setting with the access network element.

23. A method for registering a terminal device, characterized in that: Applied to an access network element, the method comprises: receiving a tenth message from the terminal device, the tenth message including a registration request message, the registration request being used to request registration of the terminal device, and the tenth message indicating an identifier of the second network; Sending a sixth message to a first mobility management network element in the first network, the sixth message being used to request setting a communication connection between the access network element and a second mobility management network element in the second network, the sixth message including an address of the second mobility management network element, the address of the second mobility management network element being related to an identifier of the second network; A connection setting response message is received from the first mobility management network element, where the connection setting response message indicates that the second mobility management network element accepts the communication connection setting with the access network element.

24. The method according to claim 23, characterized in that The tenth message further includes a second parameter, and one of the registration request message and the second parameter includes an identifier of the second network and / or an identifier of the terminal device; The second parameter is used to assist access to the terminal device, and the identifier of the terminal device is used to determine the identifier of the second network.

25. The method according to claim 23 or 24, characterized in that After receiving the connection setting response message from the first mobility management network element, the method further includes: Sending an eighth message to the second mobility management network element, where the eighth message is used to request registration of the terminal device; A ninth message is received from the second mobility management network element, wherein the ninth message indicates acceptance of registration of the terminal device.

26. The method according to any one of claims 23 to 25, characterized in that: The method further comprises: According to the identifier of the second network, it is determined that registration of the terminal device is allowed.

27. A method for registering a terminal device, characterized in that: include: A first mobility management network element in the first network receives a first message from an access network element, where the first message includes a registration request message, the registration request message is used to request registration of a terminal device, and the first message indicates an identifier of the second network; The first mobility management network element sends a second message to a second mobility management network element in the second network according to the identifier of the second network, where the second message includes the registration request message; The second mobility management network element sends a third message to the first mobility management network element, where the third message indicates acceptance of registration of the terminal device.

28. The method according to claim 27, characterized in that The method further comprises: The access network element receives a fifth message from the terminal device, the fifth message includes the registration request message, and the fifth message indicates an identifier of the second network.

29. The method according to any one of claims 1 to 28, characterized in that The first network is a visited network of the terminal device, and the second network is a home network of the terminal device.

30. The method according to any one of claims 1 to 29, characterized in that The access network element is a shared access network element of the first network and the second network.

31. A communication device, characterized in that: Comprising modules for executing the method according to any one of claims 1 to 30.

32. A communication device, characterized in that: include: A processor and a communication interface, wherein the communication interface is used to receive signals from other devices outside the communication device and transmit them to the processor or send signals from the processor to other devices outside the communication device, and the processor executes code instructions through a logic circuit to implement the method as described in any one of claims 1-30.

33. A communication system, characterized in that: The system comprises a first mobility management network element and a second mobility management network element; wherein: The first mobility management network element is used to execute the method according to any one of claims 1 to 6, and the second mobility management network element is used to execute the method according to any one of claims 7 to 10.

34. A communication system, characterized in that: The system comprises a first mobility management network element, a second mobility management network element and an access network element; wherein: The first mobility management network element is used to execute the method according to any one of claims 16-18, the second mobility management network element is used to execute the method according to any one of claims 19-22, and the access network element is used to execute the method according to any one of claims 23-26.

35. A computer-readable storage medium, characterized in that: The storage medium stores a computer program or an instruction. When the computer program or the instruction is executed by the communication device, the method according to any one of claims 1 to 30 is implemented.

Citation Information

Patent Citations

  • A method and apparatus for managing registration requests

    CN109257815A

  • Communication method and device

    CN110881184A

  • Session state keeping method and session state keeping device

    CN114025400A

  • Method for accessing terminal to public and private networks and communication device

    CN114071697A

  • Method and system for accessing private network services

    US10959097B1