CN-122028119-A - Communication method and communication device
Abstract
The embodiment of the application provides a communication method and a communication device, which can solve the problem of disorder of the connection state of a terminal under the condition that the terminal establishes connection with two networks respectively and the connection state of the terminal changes. Taking a first network function of a first network as an example, the method comprises the steps of obtaining connection information of a terminal and a second network, wherein the connection information indicates whether the terminal is connected with the second network, the first network serves the terminal with the second network, paging the terminal if the terminal is not connected with the second network under the condition that the first network expects to be connected with the terminal, and establishing a connection corresponding to the terminal with a first access network device if the terminal is connected with the second network, and the terminal is connected with the second network through the first access network device.
Inventors
- XU YISHAN
- LI HAORAN
Assignees
- 华为技术有限公司
Dates
- Publication Date
- 20260512
- Application Date
- 20241111
Claims (20)
- 1. A method of communication, characterized by a first network function applied to a first network, the method comprising: Acquiring connection information of a terminal and a second network, wherein the connection information indicates whether the terminal and the second network are connected, and the first network and the second network serve the terminal; And if the terminal is connected with the second network, establishing the connection corresponding to the terminal with first access network equipment, and establishing the connection between the terminal and the second network through the first access network equipment.
- 2. The method according to claim 1, wherein the method further comprises: and acquiring a first temporary identifier from a second access network device, wherein the first temporary identifier is a temporary identifier allocated to the terminal by the second network when the terminal establishes a connection with the second network through the second access network device, the first temporary identifier is associated with a context of the terminal stored by the first network function, and the second access network device is an access network device serving the terminal before the terminal establishes a connection with the first access network device.
- 3. The method of claim 2, wherein the obtaining the first temporary identity from the second access network device comprises: And acquiring the first temporary identifier from the second access network equipment under the condition that the terminal establishes connection with the first network through the second access network equipment or under the condition that the second access network equipment and the first network function update the context of the terminal.
- 4. A method according to claim 2 or 3, wherein the obtaining connection information of the terminal and the second network comprises: And acquiring the connection information from the first access network equipment, wherein the connection information comprises the first temporary identifier and indication information for indicating that the terminal is in a connection state.
- 5. The method according to claim 4, wherein the method further comprises: And acquiring a second temporary identifier from the first access network device, wherein the second temporary identifier is a temporary identifier allocated by the second network to the terminal under the condition that the terminal establishes connection with the second network through the first access network device.
- 6. The method according to claim 4 or 5, characterized in that the method further comprises: Acquiring first identification information or second identification information from the first access network device, wherein the first identification information is identification information which is distributed by the first access network device for the terminal and is used for identifying the terminal on a first interface, the first interface is an interface where the first access network device interacts with the first network function, the second identification information is identification information which is used for identifying the terminal on a second interface, and the second interface is an interface where the first access network device interacts with the second network function of the second network.
- 7. Method according to claim 6, characterized in that the first identification information is a transaction identification for identifying the terminal or for indicating data and/or signaling to be transmitted to the terminal.
- 8. A method according to any of claims 1-3, wherein the obtaining connection information of the terminal and the second network comprises: And acquiring the connection information from a second network function of the second network, wherein the connection information comprises a permanent identification of the terminal and indication information for indicating that the terminal is in a connection state.
- 9. The method of claim 8, wherein the method further comprises: And acquiring second identification information from the second network function, wherein the second identification information is identification information for identifying the terminal on a second interface, and the second interface is an interface where the first access network device interacts with the second network function.
- 10. A method according to claim 7 or 9, wherein, in case the first network needs to establish a connection with the terminal, if the terminal has a connection with the second network, establishing a connection with a first access network device comprises: And sending a first message to the first access network device, wherein the first message comprises the first identification information or the second identification information, and the first identification information or the second identification information is used for determining that the first message is a message for the terminal by the first access network device.
- 11. The method of claim 10, wherein the first message is configured to instruct the first access network device to send first indication information to the terminal, where the first indication information is configured to instruct the terminal to initiate a connection establishment procedure to the first network; Or the first message includes the first identification information, the identification information allocated by the first network for the terminal and identifying the terminal on the first interface, and data and/or signaling to be transmitted to the terminal, where the first message is used to instruct the first access network device to send the data and/or signaling to be transmitted to the terminal.
- 12. The method according to any one of claims 2-7, 10, 11, wherein the method further comprises: Acquiring a third temporary identifier and a fourth temporary identifier, wherein the third temporary identifier is a temporary identifier allocated to the terminal by the first network when the terminal establishes a connection with the first network through the second access network equipment, and the fourth temporary identifier is a temporary identifier allocated to the terminal by the first network when the terminal establishes a connection with the first network through the first access network equipment; And sending the third temporary identifier and the fourth temporary identifier to the first access network equipment.
- 13. The method according to claim 12, wherein the method further comprises: And sending indication information for indicating the first access network device to send the third temporary identifier and the fourth temporary identifier to a second network function of the second network to the first access network device.
- 14. The method according to claim 12 or 13, characterized in that the method further comprises: And sending an identification of a second network function of the second network to the first access network device, wherein the identification of the second network function is used for the first access network device to communicate with the second network function.
- 15. The method according to any one of claims 4-14, further comprising: And updating the service access network equipment of the terminal from the second access network equipment to the first access network equipment.
- 16. The method according to any one of claims 4-15, further comprising: And receiving second indication information, wherein the second indication information is used for indicating that the context established by the first network function for the terminal is not released.
- 17. A method of communication, for application to a first access network device, the method comprising: Acquiring an identification of a first network function of a first network; and sending connection information of a terminal and a second network to the first network function according to the identification of the first network function, wherein the connection information indicates whether the terminal and the second network are connected, and the first network and the second network serve the terminal.
- 18. The method of claim 17, wherein the method further comprises: And acquiring third indication information, wherein the third indication information indicates to send the connection information to the first network function.
- 19. The method according to claim 17 or 18, wherein the sending connection information of the terminal and the second network to the first network function according to the identification of the first network function comprises: And under the condition that the second network establishes connection with the terminal through the first access network equipment, sending the connection information to the first network function according to the identification of the first network function, wherein the connection information indicates that the terminal is connected with the second network.
- 20. The method of claim 19, wherein the method further comprises: and receiving a first temporary identifier from the second network, wherein the first temporary identifier is a temporary identifier allocated by the second network to the terminal before the terminal establishes connection with the second network through the first access network equipment.
Description
Communication method and communication device Technical Field The present application relates to the field of communications, and in particular, to a communication method and a communication device. Background Currently, a distributed subnet (distributed subnetwork) is proposed, and the architecture of the distributed subnet includes two Core Networks (CN), one is a large network and the other is a subnet. The large network is a central network deployed by an operator, has a complete core network function, and can provide complete management service for the terminal. There may be a plurality of subnets, and one terminal may simultaneously acquire services of a plurality of subnets. The Network Functions (NF) in the sub-network are set as required, and the network functions not set in the sub-network can be obtained through the large network, i.e. part of the network functions in the central network can be shared by the sub-network. The terminal desires to establish a connection (e.g., a non-access-stratum (NAS) connection) with the large network and the sub-network, respectively. However, when the connection state of the terminal is changed, the connection state of the terminal may be disturbed. Disclosure of Invention The communication method and the communication device provided by the embodiment of the application can solve the problem that the connection state of the terminal is disordered under the condition that the terminal is respectively connected with two networks and the connection state of the terminal is changed. In order to achieve the above purpose, the embodiment of the present application adopts the following technical scheme: In a first aspect, a communication method is provided, where the method is applied to a first network side, for example, a first network function of a first network, or an apparatus implementing the first network function, or a logic node, a logic module or software capable of implementing all or part of the first network function. The method is applied to a first network function as an example, and comprises the steps of obtaining connection information of a terminal and a second network, wherein the connection information indicates whether the terminal is connected with the second network, the first network serves the terminal with the second network, paging the terminal if the terminal is not connected with the second network under the condition that the first network expects to be connected with the terminal, and establishing connection corresponding to the terminal with a first access network device if the terminal is connected with the second network, and establishing connection with the second network through the first access network device. In the embodiment of the application, under the scene of the first network and the second network service terminal, the first network function can acquire the connection information of the terminal and the second network, and then under the condition that the first network expects to establish connection with the terminal, the first network function determines whether to connect with the paging terminal or establish the connection corresponding to the terminal with the first access network equipment according to whether the terminal is connected with the second network or not, and then the first network and the second network can synchronize the connection state of the terminal, thereby solving the problem of disorder of the connection state of the terminal. The connection state of the terminal is disturbed, for example, in the case that the terminal establishes a connection with the second network and the first network desires to establish a connection with the terminal, the first network does not know that the terminal establishes a connection with the second network through the first access network device, the first network sends a paging message to all access network devices under the tracking area identifier (TRACE AREA IDENTITY, TAI) registered by the terminal, and if the terminal detects the paging message from other access network devices except the first access network device, the terminal may switch the serving access network device from the first access network device to other access network devices, so that no connection exists between the terminal and the second network, that is, the connection state of the terminal is disturbed. In addition, if the terminal is connected with the second network, the first network function establishes the connection corresponding to the terminal with the first access network device, so that the first network does not page the terminal, and the problem that the first network and the terminal cannot establish connection because the terminal does not respond to the paging of the first network under the condition that the terminal establishes the connection with the second network through the first access network device is solved. Problems with the terminal not responding to the fir