Communication method and device

By receiving the first message to update the subscription information of the terminal device, the problem of the terminal device being unable to obtain network configuration in time after moving out of the CAG coverage is solved, and automatic and timely update of subscription information and network access are achieved.

CN113365324BActive Publication Date: 2025-09-09HUAWEI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202010153607.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-03-06
Publication Date
2025-09-09
Estimated Expiration
2040-03-06

AI Technical Summary

Technical Problem

After the terminal device moves out of the coverage of the allowed CAG list, it cannot obtain the updated configuration on the network side in time, resulting in the inability to connect to the network.

Method used

By receiving the first indication information in the first message, the subscription information of the terminal device is updated, including the allowed CAG list, and the deletion or addition of only the CAG indication, to ensure that the terminal device can obtain the updated subscription information in time to access the network.

Benefits of technology

This enables automatic and timely updating of subscription information when the terminal device is unable to connect to the network, ensuring that the terminal device can access the network normally.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113365324B_ABST
    Figure CN113365324B_ABST
Patent Text Reader

Abstract

An embodiment of the present application provides a communication method and apparatus. The method is applied to a communication device that is not within the coverage of an allowed CAG list. The method includes: receiving a first message, the first message including first indication information; and updating subscription information of the communication device based on the first indication information, the subscription information including the allowed CAG list of the communication device and a CAG-only indication of the communication device. When the communication device is unable to access a network, the updated subscription information can be obtained using the first indication information included in the first message, and the network can be accessed based on the updated subscription information.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communication technology, and in particular to a communication method and device. Background Art

[0002] The Public Network Integrated Non-Public Network (PNI-NPN) supports the Public Land Mobile Network (PLMN) and the Closed Access Group (CAG).

[0003] When a terminal device signs up for CAG, two pieces of information will be configured in the subscription information. One is the allowed CAG list of the terminal device, which is used to store the identification IDs of all CAG cells that the terminal device can currently access. The other is an identification of whether the terminal device can only access the network through the CAG cell, that is, the CAG-only indication. Terminal devices configured with this indication can only access the network through the CAG cell, while terminal devices not configured with this indication can access the network through the CAG cell or the PLMN cell. For terminal devices configured with the CAG-only indication, if they are moved out of the coverage of the CAG ID in the allowed CAG list, or the allowed CAG list is empty, and they cannot access the network, at this time, if the network side deletes the CAG-only indication of the terminal device, or configures a new CAG identification for the terminal device, but because the terminal device cannot access the network, there is no way to send the updated configuration. In other words, the current solution will cause the terminal device to be unable to obtain the updated configuration in a timely manner, and thus unable to connect to the network. Summary of the Invention

[0004] The embodiments of the present application provide a communication method and apparatus that can solve the problem of a terminal device timely acquiring updated subscription information and thereby accessing a network.

[0005] The first aspect provides a communication method, which is applied to a communication device, and the communication device is not within the coverage area included in the allowed closed access group CAG list. The method includes: receiving a first message, the first message including first indication information; and updating the subscription information of the communication device according to the first indication information. The subscription information of the communication device includes the CAG list allowed by the communication device and the CAG-only indication. Since the CAG-only indication is configured, the communication device can only access the network through the CAG cell, and the communication device is not within the coverage area included in the allowed CAG list, so the communication device cannot access the network. The solution of the present application enables the communication device to obtain updated subscription information through the first indication information included in the first message when the communication device cannot access the network, thereby achieving access to the network according to the updated subscription information.

[0006] In one possible implementation, the first indication information includes at least one of the following information:

[0007] a CAG information list, wherein the CAG information list includes an allowed CAG list and a CAG-only indication, and the allowed CAG list includes at least one CAG identifier. In this case, the communication device may use the allowed CAG list as its own updated CAG list and access the network through the CAG cell corresponding to the CAG identifier in the allowed CAG list; or, the CAG information list includes an allowed CAG list, and the allowed CAG list includes 0, 1, or multiple CAG identifiers. In this case, the communication device deletes the CAG-only indication and may access the network through the PLMN. When the allowed CAG list includes a CAG identifier, the communication device may also access the network through the CAG cell corresponding to the CAG identifier;

[0008] Deleting the indication information of the CAG-only indication, and after the communication device deletes the CAG-only indication according to the indication information, it can access the network through the PLMN;

[0009] There is no indication information indicating only the CAG. After the communication device deletes the CAG indication according to the indication information, it can access the network through the PLMN.

[0010] An allowed CAG list, where the allowed CAG list includes one or more CAG identifiers. The communication device uses the allowed CAG list as its own updated allowed CAG list, thereby accessing the network through a CAG cell corresponding to a CAG identifier in the allowed CAG list;

[0011] One or more CAG identifiers, where the communication device adds the one or more CAG identifiers to an allowed CAG list, thereby accessing the network through the CAG cells corresponding to the one or more CAG identifiers;

[0012] The indication information of the CAG identifier is added to indicate that a new CAG identifier has been added to the allowed CAG list of the communication device. The communication device is informed of the new CAG identifier update based on the indication information, and can establish a temporary connection with the network side to obtain the new CAG identifier. After obtaining the new CAG identifier, the communication device accesses the network according to the CAG cell corresponding to the new CAG identifier.

[0013] By carrying the first indication information in the first message, automatic and timely updating of subscription information of the communication device when the communication device cannot connect to the network is achieved according to the first indication information.

[0014] In one possible implementation, the first message originates from a first network device, wherein the first message includes at least one of a paging message and a radio resource control message; or the first message originates from a second network device, wherein the first message includes at least one of a communication device configuration update command and a non-access stratum message. Therefore, the first indication information can be optionally carried in any one of the paging message, radio resource control message, communication device configuration update command, or non-access stratum message, so that upon receiving the first message, the communication device timely and automatically updates subscription information based on the first indication information in the first message.

[0015] In one possible implementation, the first indication information includes a CAG information list. Updating the subscription information of the communication device based on the first indication information includes: using the allowed CAG list in the CAG information list as the updated allowed CAG list for the communication device, so that the communication device can access the network through the CAG cell corresponding to the CAG identifier in the allowed CAG list; when the CAG information list includes a CAG-only indication, maintaining the CAG-only indication for the communication device; otherwise, deleting the CAG-only indication for the communication device. After deleting the CAG-only indication, the communication device can access the network through the PLMN. When the allowed CAG list includes a CAG identifier, the communication device can also access the network through the CAG cell corresponding to the CAG identifier. When the second network device updates at least one of the CAG-only indication and the allowed CAG list for the communication device, the CAG information list can be included in the first message. After obtaining the CAG information list in the first message, the communication device promptly and automatically updates its subscription information based on the CAG information list.

[0016] In one possible implementation, the first indication information includes indication information for deleting the CAG-only indication, and updating the subscription information of the communication device according to the first indication information includes: deleting the CAG-only indication of the communication device according to the indication information for deleting the CAG-only indication. After deleting the CAG-only indication, the communication device completes the update of its subscription information and becomes a normal communication device. The communication device can access the network through the PLMN cell.

[0017] In one possible implementation, the first indication information includes indication information without a CAG-only indication, and updating the subscription information of the communication device according to the first indication information includes: deleting the CAG-only indication of the communication device according to the indication information without the CAG-only indication. After deleting the CAG-only indication, the communication device completes the update of its subscription information and becomes a normal communication device, capable of accessing the network through the PLMN cell.

[0018] In one possible implementation, the first indication information includes an allowed CAG list, and the subscription information of the communication device is updated according to the first indication information, including: using the allowed CAG list as the allowed CAG list after the communication device is updated, and the communication device can access the network through the CAG cell corresponding to the CAG identifier in the allowed CAG list.

[0019] In one possible implementation, the first indication information includes one or more CAG identifiers, and updating the subscription information of the communication device based on the first indication information includes adding the one or more CAG identifiers to a CAG list allowed by the communication device. The subscription information is updated using the one or more CAG identifiers in the first message. After the update is complete, the communication device can access the network through the CAG cell corresponding to the one or more CAG identifiers.

[0020] In one possible implementation, the first indication information includes indication information for adding a CAG identifier, and updating the subscription information of the communication device based on the first indication information includes: sending a temporary service request to a third network device based on the indication information for adding the CAG identifier to establish a temporary connection with the third network device; receiving updated subscription information from the second network device, and updating the subscription information of the communication device based on the updated subscription information, where the updated subscription information is a CAG information list, an allowed CAG list, or an updated CAG identifier. By carrying the indication information for adding the CAG identifier in the first message, the communication device learns that the new CAG identifier has been added to the allowed CAG list after receiving the first message. The communication device can establish a temporary connection request and send an indication to the network device to inform the network device that the temporary connection request is for receiving updated configuration. After the temporary connection is successfully established, the communication device can obtain the added CAG identifier and add the added CAG identifier to the allowed CAG list, thereby achieving automatic and timely updating of subscription information. The communication device can access the network based on the updated subscription information.

[0021] A second aspect provides a communication method, applied to a communication device, the method comprising: receiving a second message sent by a first network device, the second message originating from a second network device; marking a CAG identifier according to the second message, wherein the subscription information of the communication device includes a CAG list allowed by the communication device and a CAG-only indication of the communication device, and the CAG identifier is only one CAG identifier included in the CAG list allowed by the communication device. By marking the last CAG identifier in the allowed CAG list, the communication device learns that it cannot access the network to obtain normal services through the CAG cell corresponding to the CAG identifier, and can only access the network to obtain configuration updates through the CAG identifier. Therefore, the communication device takes corresponding measures based on the marked CAG identifier to prevent continuous access attempts to the CAG cell corresponding to the CAG identifier, thereby achieving the effect of reducing power loss of the communication device.

[0022] In one possible implementation, the second message includes at least one of the following: a communication device configuration update command; and a non-access stratum message. By carrying indication information in the communication device configuration update command or the non-access stratum message to instruct the communication device to mark the CAG identifier, the communication device is informed that it cannot access the network through the CAG cell corresponding to the CAG identifier, thereby preventing the communication device from continuously attempting to access the CAG cell corresponding to the CAG identifier, thereby reducing power consumption of the communication device.

[0023] In one possible implementation, the second message includes a communication device configuration update command, and marking the CAG identifier according to the second message includes: marking the CAG identifier according to instruction information in the communication device configuration update command; or marking the CAG identifier according to instruction information in the communication device configuration update command for deleting the CAG identifier. A scheme for marking the CAG identifier is provided, in which the configuration update command carries instruction information for deleting the CAG identifier. This enables a communication device to be informed that it cannot access the network through the CAG cell corresponding to the CAG identifier even when it is not connected to the network, thereby preventing the communication device from continuously attempting to access the CAG cell corresponding to the CAG identifier, thereby reducing power consumption of the communication device.

[0024] In one possible implementation, the second message includes a non-access stratum message, and marking the CAG identifier according to the second message includes marking the CAG identifier according to a cause value in the non-access stratum message. A scheme for marking the CAG identifier is provided. This scheme enables a communication device to be informed, based on the cause value in the non-access stratum message, that it cannot access the network through the CAG cell corresponding to the CAG identifier even when the communication device is not connected to the network. This prevents the communication device from continuously attempting to access the CAG cell corresponding to the CAG identifier, thereby reducing power consumption of the communication device.

[0025] In a possible implementation, the method further includes: stopping sending connection requests to the network device corresponding to the marked CAG identifier, so that the communication device does not continue to attempt to access the CAG cell corresponding to the CAG identifier, thereby reducing power consumption of the communication device.

[0026] In one possible implementation, the method further includes: starting a timer to perform a timing operation; during the timer timing, stopping sending a connection request to the network device corresponding to the marked CAG identifier, so that the communication device will not continue to attempt to access the CAG cell corresponding to the CAG identifier, thereby reducing the power loss of the communication device.

[0027] A third aspect provides a communication method, applied to a first network device, the method comprising: obtaining a first message, the first message including first indication information, the first indication information being used to indicate an update of subscription information of the communication device, the subscription information including a list of CAGs allowed by the communication device and a CAG-only indication of the communication device; and sending the first message to the communication device. The solution of the present application enables the communication device to obtain updated subscription information through the first indication information included in the first message when the communication device is unable to access the network, thereby enabling network access based on the updated subscription information.

[0028] In one possible implementation, the first indication information includes at least one of the following information:

[0029] a CAG information list, wherein the CAG information list includes an allowed CAG list and a CAG-only indication, and the allowed CAG list includes at least one CAG identifier. In this case, the communication device may use the allowed CAG list as its own updated CAG list and access the network through the CAG cell corresponding to the CAG identifier in the allowed CAG list; or, the CAG information list includes an allowed CAG list, and the allowed CAG list includes 0, 1, or multiple CAG identifiers. In this case, the communication device deletes the CAG-only indication and may access the network through the PLMN. When the allowed CAG list includes a CAG identifier, the communication device may also access the network through the CAG cell corresponding to the CAG identifier;

[0030] Deleting the indication information of the CAG-only indication, and after the communication device deletes the CAG-only indication according to the indication information, it can access the network through the PLMN;

[0031] There is no indication information indicating only the CAG. After the communication device deletes the CAG indication according to the indication information, it can access the network through the PLMN.

[0032] An allowed CAG list, where the allowed CAG list includes one or more CAG identifiers. The communication device uses the allowed CAG list as its own updated allowed CAG list, thereby accessing the network through a CAG cell corresponding to a CAG identifier in the allowed CAG list;

[0033] One or more CAG identifiers, where the communication device adds the one or more CAG identifiers to an allowed CAG list, thereby accessing the network through the CAG cells corresponding to the one or more CAG identifiers;

[0034] The indication information of the CAG identifier is added to indicate that a new CAG identifier has been added to the allowed CAG list of the communication device. The communication device is informed of the new CAG identifier update based on the indication information, and can establish a temporary connection with the network side to obtain the new CAG identifier. After obtaining the new CAG identifier, the communication device accesses the network according to the CAG cell corresponding to the new CAG identifier.

[0035] By carrying the first indication information in the first message, automatic and timely updating of subscription information of the communication device when the communication device cannot connect to the network is achieved according to the first indication information.

[0036] In one possible implementation, the first message includes at least one of the following: a paging message; a radio resource control message; a communication device configuration update command; or a non-access stratum message. Therefore, the first indication information can be carried in any one of the paging message, radio resource control message, communication device configuration update command, or non-access stratum message, so that upon receiving the first message, the communication device automatically and timely updates the subscription information based on the first indication information in the first message.

[0037] In one possible implementation, the first message includes a paging message, and obtaining the first message includes: receiving a paging request message from a second network device, and determining the paging message based on the paging request message. The first network device can determine the paging message based on the paging request message, carry the first indication information in the paging message, and page the communication device via the paging message, thereby sending the first indication information to the communication device, so that the communication device can automatically update subscription information based on the first indication information.

[0038] In one possible implementation, the first message includes a communication device configuration update command, and obtaining the first message includes: receiving the communication device configuration update command from the second network device; or, the first message includes a non-access layer message, and obtaining the first message includes: receiving the non-access layer message from the second network device.

[0039] A fourth aspect provides a communication method, applied to a second network device, comprising: determining multiple CAG identifiers updated by the communication device; and sending a paging request message to a first network device, the paging request message including one of the multiple CAG identifiers. A solution is provided in which, after the second network device configures multiple new CAG identifiers for the communication device, it can select some of them and send them to the communication device via the first network device. The communication device can then access the network based on the CAG cells corresponding to these updated CAG identifiers.

[0040] A fifth aspect provides a communication method, applied to a second network device, the method comprising: generating a second message, wherein the second message includes indication information for indicating a marked CAG identifier, where the CAG identifier is only one CAG identifier included in a CAG list allowed by the communication device; and sending the second message to the communication device via the first network device. By instructing the communication device to mark the last CAG identifier in the allowed CAG list, the communication device is informed that it cannot access the network through the CAG cell corresponding to the CAG identifier. Therefore, the communication device takes corresponding measures based on the marked CAG identifier to prevent continued access attempts to the CAG cell corresponding to the CAG identifier, thereby achieving the effect of reducing power consumption of the communication device.

[0041] In one possible implementation, the second message includes at least one of the following: a communication device configuration update command, wherein the indication information in the communication device configuration update command indicates a CAG identifier; and a non-access stratum message, wherein the cause value in the non-access stratum message indicates a CAG identifier. By carrying the indication information in the communication device configuration update command or the non-access stratum message to indicate that the communication device has the CAG identifier, the communication device can be informed that it cannot access the network through the CAG cell corresponding to the CAG identifier even when it is not connected to the network, thereby avoiding the communication device from continuously attempting to access the CAG cell corresponding to the CAG identifier and reducing power consumption of the communication device.

[0042] A sixth aspect provides a communication device, including:

[0043] a transceiver module, configured to receive a first message, where the first message includes first indication information;

[0044] A processing module is used to update the subscription information of the communication device according to the first indication information, where the communication device is not within the coverage area included in the allowed closed access group CAG list, and the subscription information includes the CAG list allowed by the communication device and the CAG-only indication of the communication device.

[0045] In a possible implementation, the first indication information includes at least one of the following information:

[0046] A CAG information list, wherein the CAG information list includes an allowed CAG list and the CAG-only indication, and the allowed CAG list includes at least one CAG identifier; or

[0047] The CAG information list includes an allowed CAG list, and the allowed CAG list includes 0 or 1 or more CAG identifiers;

[0048] Delete the instruction information of CAG only;

[0049] There is no indication of CAG indication only;

[0050] an allowed CAG list, wherein the allowed CAG list includes one or more CAG identifiers;

[0051] One or more CAG logos;

[0052] Indication information for adding a CAG identifier, where the indication information for adding a CAG identifier indicates that a new CAG identifier is added to the allowed CAG list of the communication device.

[0053] In a possible implementation, the first message comes from the first network device, wherein the first message includes at least one of the following messages:

[0054] paging messages;

[0055] Radio Resource Control message; or,

[0056] The first message comes from the second network device, wherein the first message includes at least one of the following messages:

[0057] Communication equipment configuration update command;

[0058] Non-access stratum message.

[0059] In a possible implementation, the first indication information includes a CAG information list, and the processing module is specifically configured to:

[0060] Using the allowed CAG list in the CAG information list as the updated allowed CAG list of the communication device;

[0061] When the CAG-only indication is included in the CAG information list, the CAG-only indication of the communication device is maintained; otherwise, the CAG-only indication of the communication device is deleted.

[0062] In a possible implementation, the first indication information includes indication information for deleting only the CAG indication, and the processing module is specifically configured to:

[0063] Delete the CAG-only indication of the communication device according to the indication information for deleting the CAG-only indication.

[0064] In a possible implementation, the first indication information includes indication information without a CAG-only indication, and the processing module is specifically configured to:

[0065] The CAG-only indication of the communication device is deleted according to the indication information without the CAG-only indication.

[0066] In a possible implementation, the first indication information includes an allowed CAG list, and the processing module is specifically configured to:

[0067] The allowed CAG list is used as the allowed CAG list after the communication device is updated.

[0068] In a possible implementation, the first indication information includes one or more CAG identifiers, and the processing module is specifically configured to:

[0069] Add the one or more CAG identifiers to a CAG list allowed by the communication device.

[0070] In a possible implementation, the first indication information includes indication information for adding a CAG identifier, and the processing module is specifically configured to:

[0071] Sending a temporary service request to the third network device according to the instruction information for adding the CAG identifier, and establishing a temporary connection with the third network device;

[0072] Receive updated subscription information from the second network device, and update the subscription information of the communication device according to the updated subscription information, where the updated subscription information is a CAG information list, an allowed CAG list, or an updated CAG identifier.

[0073] A seventh aspect provides a communication device, including:

[0074] a transceiver module, configured to receive a second message sent by the first network device, where the second message comes from the second network device;

[0075] A processing module is used to mark a CAG identifier according to the second message, wherein the subscription information of the communication device includes a CAG list allowed by the communication device and a CAG-only indication of the communication device, and the CAG identifier is only one CAG identifier included in the CAG list allowed by the communication device.

[0076] In a possible implementation, the second message includes at least one of the following messages:

[0077] Communication equipment configuration update command;

[0078] Non-access stratum message.

[0079] In a possible implementation, the second message includes the communication device configuration update command, and the processing module is specifically configured to:

[0080] Mark the CAG identifier according to the instruction information in the communication device configuration update command; or

[0081] The CAG identifier is marked according to the instruction information for deleting the CAG identifier in the communication device configuration update command.

[0082] In a possible implementation, the second message includes the non-access stratum message, and the processing module is specifically configured to:

[0083] The CAG identifier is marked according to the cause value in the non-access layer message.

[0084] In a possible implementation, the processing module is further configured to:

[0085] Stop sending connection requests to the network device corresponding to the CAG identifier.

[0086] In a possible implementation, the processing module is further configured to:

[0087] Start the timer to perform timing operation;

[0088] During the timing of the timer, stop sending connection requests to the network device corresponding to the CAG identifier.

[0089] An eighth aspect provides a communication device, including:

[0090] a receiving module, configured to obtain a first message, where the first message includes first indication information, where the first indication information is used to indicate updating subscription information of a communication device, where the subscription information includes a CAG list allowed by the communication device and a CAG-only indication of the communication device;

[0091] A sending module is used to send the first message to the communication device.

[0092] In a possible implementation, the first indication information includes at least one of the following information:

[0093] a CAG information list, wherein the CAG information list includes an allowed CAG list and the CAG-only indication, and the allowed CAG list includes at least one CAG identifier; or, the CAG information list includes an allowed CAG list, and the allowed CAG list includes 0 or 1 or more CAG identifiers;

[0094] Delete the instruction information of CAG only;

[0095] There is no indication of CAG indication only;

[0096] an allowed CAG list, wherein the allowed CAG list includes one or more CAG identifiers;

[0097] One or more CAG logos;

[0098] Indication information for adding a CAG identifier, where the indication information for adding a CAG identifier indicates that a new CAG identifier is added to the allowed CAG list of the communication device;

[0099] In a possible implementation, the first message includes at least one of the following messages:

[0100] paging messages;

[0101] Radio resource control message;

[0102] Communication equipment configuration update command;

[0103] Non-access stratum message.

[0104] In a possible implementation, the first message includes a paging message, and the receiving module is specifically configured to:

[0105] A paging request message is received from a second network device, and the paging message is determined according to the paging request message.

[0106] In a possible implementation, the first message includes a communication device configuration update command, and the receiving module is specifically configured to:

[0107] Receive the communication device configuration update command from the second network device; or,

[0108] The first message includes a non-access layer message, and the receiving module is specifically configured to:

[0109] The non-access stratum message is received from a second network device.

[0110] A ninth aspect provides a communication device, including:

[0111] A processing module, configured to determine multiple CAG identifiers after the communication device is updated;

[0112] The transceiver module is configured to send a paging request message to the first network device, where the paging request message includes one of the multiple CAG identifiers.

[0113] A tenth aspect provides a communication device, including:

[0114] The processing module is configured to generate a second message, wherein the indication information included in the second message is used to indicate a CAG identifier, and the CAG identifier is only one CAG identifier included in a CAG list allowed by the communication device.

[0115] The transceiver module is used to send a second message to the communication device through the first network device.

[0116] In a possible implementation, the second message includes at least one of the following messages:

[0117] A communication device configuration update command, wherein the instruction information in the communication device configuration update command indicates the CAG identifier;

[0118] A non-access layer message, wherein the cause value in the non-access layer message indicates the CAG identifier.

[0119] The eleventh aspect provides a communication device, comprising a processor, the processor being connected to a memory, the memory being used to store a computer program, and the processor being used to execute the computer program stored in the memory so that the device executes the method described in any one of the first aspect or the second aspect.

[0120] The twelfth aspect provides a network device, comprising a processor, the processor being connected to a memory, the memory being used to store a computer program, the processor being used to execute the computer program stored in the memory, so that the device executes any method described in the third aspect.

[0121] The thirteenth aspect provides a network device, comprising a processor, the processor being connected to a memory, the memory being used to store a computer program, and the processor being used to execute the computer program stored in the memory so that the device executes the method described in any one of the fourth aspect or the fifth aspect.

[0122] A fourteenth aspect provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed, the method described in any one of the first to fifth aspects is implemented. BRIEF DESCRIPTION OF THE DRAWINGS

[0123] Figure 1 A schematic diagram of a communication architecture provided in an embodiment of the present application;

[0124] Figure 2 An example of an application scenario provided in this application embodiment Figure 1 ;

[0125] Figure 3 An example of an application scenario provided in this application embodiment Figure 2 ;

[0126] Figure 4 An example of an application scenario provided in this application embodiment Figure 3 ;

[0127] Figure 5 A flow chart of a communication method provided in an embodiment of the present application;

[0128] Figure 6 Signaling for obtaining updated subscription information provided in the embodiment of the present application Figure 1 ;

[0129] Figure 7 Signaling for obtaining updated subscription information provided in the embodiment of the present application Figure 2 ;

[0130] Figure 8 Signaling for obtaining updated subscription information provided in the embodiment of the present application Figure 3 ;

[0131] Figure 9 Signaling for obtaining updated subscription information provided in the embodiment of the present application Figure 4 ;

[0132] Figure 10 Signaling for obtaining updated subscription information provided in the embodiment of the present application Figure 5 ;

[0133] Figure 11 Signaling for obtaining updated subscription information provided in the embodiment of the present application Figure 6 ;

[0134] Figure 12 A signaling diagram of a communication method provided in yet another embodiment of the present application;

[0135] Figure 13 Schematic diagram of the structure of the communication device provided in the embodiment of the present application Figure 1 ;

[0136] Figure 14 Schematic diagram of the structure of the communication device provided in the embodiment of the present application Figure 2 ;

[0137] Figure 15 Schematic diagram of the structure of the communication device provided in the embodiment of the present application Figure 3;

[0138] Figure 16 Schematic diagram of the structure of the communication device provided in the embodiment of the present application Figure 4 ;

[0139] Figure 17 Schematic diagram of the structure of the communication device provided in the embodiment of the present application Figure 5 ;

[0140] Figure 18 A schematic diagram of the structure of a communication device provided in an embodiment of the present application;

[0141] Figure 19 A schematic diagram of the structure of a terminal device provided in an embodiment of the present application;

[0142] Figure 20 Schematic block diagram of a communication device provided in an embodiment of the present application Figure 1 ;

[0143] Figure 21 Schematic block diagram of a communication device provided in an embodiment of the present application Figure 2 ;

[0144] Figure 22 A schematic diagram of the structure of the network device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0145] In order to facilitate the understanding of this application, the concepts involved in this application are first explained.

[0146] Terminal device: It can be a device that includes wireless transceiver functions and can cooperate with network devices to provide communication services to users. Specifically, terminal device can refer to user equipment (UE), access terminal, user unit, user station, mobile station, mobile station, remote station, remote terminal, mobile device, user terminal, terminal, wireless communication device, user agent or user device. For example, the terminal device can be a cellular phone, a cordless phone, a Session Initiation Protocol (SIP) phone, a Wireless Local Loop (WLL) station, a Personal Digital Assistant (PDA), a handheld device with wireless communication function, a computing device or other processing device connected to a wireless modem, an in-vehicle device, a wearable device, a terminal device in a future 5G network or a network after 5G, etc.

[0147] Network equipment: A network equipment may be a device used to communicate with a terminal device, for example, it may be a base station (BTS) in a Global System for Mobile Communication (GSM) or Code Division Multiple Access (CDMA) communication system, a base station (NodeB, NB) in a Wideband Code Division Multiple Access (WCDMA) system, or an evolved base station (eNB or eNodeB) in an LTE system, or the network equipment may be a relay station, an access point, an in-vehicle device, a wearable device, a network-side device in a future 5G network or a network after 5G, or a network device in a future evolved Public Land Mobile Network (PLMN) network, etc.

[0148] The network devices involved in the embodiments of the present application may also be referred to as radio access network (RAN) devices. RAN devices are connected to terminal devices and are used to receive data from terminal devices and send it to core network devices. RAN devices correspond to different devices in different communication systems. For example, in 2G systems, they correspond to base stations and base station controllers, in 3G systems, they correspond to base stations and radio network controllers (RNCs), in 4G systems, they correspond to evolved base stations (eNBs), and in 5G systems, they correspond to 5G systems, such as access network devices in NR (e.g., gNBs, centralized units CUs, and distributed units DUs).

[0149] Public Land Mobile Network (PLMN): A network established and operated to provide land mobile communication services.

[0150] Non-Public Network (NPN): Different from the public network, it is a network that provides services to specific users. There are two main types of NPNs: one is an independent non-public network, and the other is a non-public network integrated with the public network.

[0151] Public Network Integrated Non-Public Network (PNI-NPN): A type of non-public network. A PNI-NPN provides NPN services through a PLMN network, for example by allocating one or more network slice entities to the NPN to implement non-public network functions. In this type of network, the UE has a subscription to the PLMN network.

[0152] RRC: Radio Resource Control.

[0153] UDM: Unified Data Management.

[0154] AMF: Access and Mobility Management Function, access and mobility management function.

[0155] Next, combine Figure 1 , describes the system architecture corresponding to the communication method in this application.

[0156] Figure 1 A communication architecture diagram is provided for an embodiment of the present application, such as Figure 1 As shown, it includes core network equipment 11 and wireless access network equipment 12. The core network equipment 11 includes, for example, AMF, UDM, etc., and the wireless access network equipment 12 includes, for example, gNB, ng-eNB, etc.

[0157] The gNB provides NR user plane and control plane protocol terminations for the UE, while the ng-eNB provides Evolved-UMTS Terrestrial Radio Access (E-UTRA) user plane and control plane protocol terminations for the UE. The gNB and ng-eNB are interconnected via the Xn interface, and both connect to the 5G core network via the NG interface.

[0158] The relevant technical background of this application is described below.

[0159] Figure 2 An example of an application scenario provided in this application embodiment Figure 1 ,like Figure 2 As shown, it includes a terminal device 21, a first network device 22 and a second network device 23. Figure 2The example application scenario is the PNI-NPN scenario of the 5G system. PNI-NPN relies on PLMN to implement NPN, for example, it can be implemented in the form of network slicing. According to the contract information between the enterprise and the operator, the operator can provide NPN services to the enterprise only within certain specific ranges. Taking the form of network slicing as an example, a service area can be divided in the form of network slicing. When the NPN-UE is within the coverage of the network slice, it can connect to the network. When the NPN-UE moves out of the coverage of the network slice, it will no longer enjoy the NPN service. Figure 2 As shown in , area 24 is the coverage area of ​​a network slice, and the terminal device 21 is within the coverage area of ​​the network slice.

[0160] Since network slicing can only limit the activity range of NPN-UE, but cannot restrict other terminal devices from attempting to access the NPN network, a closed access group (Cell Access Group, hereinafter referred to as CAG) is introduced to perform access control to prevent other terminal devices from attempting to access PNI-NPN.

[0161] A CAG represents a group of subscribers that can access one or more CAG cells. A CAG is uniquely identified by a CAG identifier (CAG ID). Each CAG ID is unique within the range of a PLMN identifier (PLMN ID). A PLMN ID can correspond to multiple CAG IDs, and a CAG cell can broadcast one or more CAG IDs for each PLMN.

[0162] To support CAG, the terminal device 21 may be pre-configured or (re)configured using the following information, which is included in the terminal device 21's subscription information as part of mobility restrictions:

[0163] Allowed CAG list: a list of CAG IDs that the UE is allowed to access, including the CAG IDs of each CAG cell that the UE is allowed to access.

[0164] CAG-only indication (optional): A UE configured with this subscription information can only access the 5G system via a CAG cell. If this subscription information is not configured, the UE can access the 5G system via a PLMN.

[0165] Figure 3 An example of an application scenario provided in this application embodiment Figure 2 ,like Figure 3 As shown, it includes a terminal device 21, a first network device 22 and a second network device 23. Figure 3In the subscription information of the terminal device 21, only the CAG indication and the allowed CAG list are configured, wherein the CAG ID included in the allowed CAG list of the terminal device 21 is CAG 24. Figure 3 The allowed CAG list in the example includes only one CAG ID, but in fact the allowed CAG list may include multiple CAG IDs.

[0166] exist Figure 3 In the example, the terminal device 21 is initially within the coverage of CAG24 (i.e., area 24). As the terminal device 21 moves out of area 24, the terminal device 21 is no longer within the coverage of CAG24. At this time, since the terminal device 21 is configured with a CAG-only indication, it can only access the network through the CAG cell. Therefore, after the terminal device 21 moves out of the coverage of the CAG cell, the terminal device 21 cannot connect to the network. In this case, if the first network device 22 updates the subscription information of the terminal device 21, such as deleting the CAG-only indication of the terminal device 21, or configuring a new CAG ID that allows access for the terminal device 21, since the terminal device 21 cannot access the network at this time and cannot receive the configuration updated by the first network device 22 for the terminal device 21, the terminal device 21 still cannot connect to the network.

[0167] against Figure 3 One current solution to the technical problem in this example is that when terminal device 21 moves out of CAG coverage and is unable to connect to the network, terminal device 21 can search for nearby connectable PLMN networks and then offer them to the user for manual selection. Although terminal device 21 is configured with a CAG-only indication, allowing network access only through CAG, when the user manually selects a connection, a temporary permission is granted to the terminal device, ignoring the CAG-only indication and allowing network access through the user-selected PLMN. After connecting to the network, terminal device 21 can obtain subscription information updated for it by first network device 22.

[0168] The above solution enables terminal device 21 to obtain updated subscription information, but it can only be obtained actively. That is, when the user wants to access the network, the user actively controls terminal device 21 to access the network through the PLMN to obtain the updated subscription information. Automatic configuration updates are not possible, and updates are not timely. Before the user controls terminal device 21 to access the network through the PLMN, terminal device 21 is in a state without network connection.

[0169] Figure 4 An example of an application scenario provided in this application embodiment Figure 3 ,like Figure 4 As shown, it includes a terminal device 21, a first network device 22 and a second network device 23. Figure 4In the subscription information of the terminal device 21, only a CAG indication and an allowed CAG list are configured, wherein the allowed CAG list of the terminal device 21 includes only one CAG ID, namely CAG 24. In the embodiment of the present application, initially, the allowed CAG list of the terminal device 21 may include multiple CAG IDs, and then the first network device 22 deletes some CAG IDs in the allowed CAG list of the terminal device 21 when updating the configuration, resulting in the terminal device's allowed CAG list including only one CAG ID at this time; initially, the allowed CAG list of the terminal device 21 may also include only one CAG ID, which is not limited in the embodiment of the present application.

[0170] exist Figure 4 In the example, the terminal device 21 is initially in the coverage area of ​​CAG 24 (i.e., area 24) and can connect to the network. If the first network device 22 deletes the last CAG ID in the allowed CAG list, such as Figure 4 The CAG 24 shown in FIG. The operation of deleting the CAG ID by the first network device 22 may be a deletion operation performed by the AMF upon receiving an update message from the UDM. The first network device 22 then notifies the terminal device 21 to update the subscription information. Alternatively, when connecting to the network using this CAG ID, if a non-access layer rejection message is received, the terminal device 21 deletes the CAG ID from its own allowed CAG list. At this point, the allowed CAG list of the terminal device 21 becomes empty, and the terminal device 21 cannot connect to the network, and thus cannot receive updated subscription information.

[0171] against Figure 4 A current solution to the technical problem in the example is that upon receiving an update message from the UDM, the AMF deletes the last CAG ID in the allowed CAG list of the terminal device 21 stored in its own storage, but does not notify the terminal device 21 to perform the synchronous deletion. Then, the AMF will regard all service areas as areas that the terminal device 21 is not allowed to access, and reject the terminal device 21's attempt to access the network. The terminal device 21 is allowed to access the network only when it applies for access for a configuration update.

[0172] The above solution allows terminal device 21 to apply for network access when its configuration is updated to obtain the updated subscription information. However, before this happens, because first network device 22 deletes the last CAG ID in the allowed CAG list, terminal device 21 does not simultaneously delete the CAG ID, resulting in information being out of sync between the two. As a result, terminal device 21 will believe it can access the network through the CAG cell corresponding to the CAG ID, when in fact it cannot. Terminal device 21 will continue to attempt to access the network, resulting in unnecessary power consumption.

[0173] In order to solve the above problems, the present application provides a communication method. Below, the solution of the present application will be described in conjunction with the accompanying drawings.

[0174] Figure 5 A flow chart of a communication method provided in an embodiment of the present application is provided. The method is applied to a terminal device. The terminal device is not within the coverage range included in the allowed CAG list, such as Figure 5 As shown, the method may include:

[0175] S51, a first network device obtains a first message, where the first message includes first indication information, and the first indication information is used to indicate an update of subscription information of a terminal device.

[0176] In an embodiment of the present application, the subscription information of the terminal device includes a CAG list allowed by the terminal device and a CAG-only indication of the terminal device, wherein the CAG list allowed by the terminal device may include one or more CAG identifiers, and the CAG identifier included in the CAG list allowed by the terminal device is an identifier of each CAG cell that the terminal device is allowed to access, that is, the CAG ID of each CAG cell that the terminal device is allowed to access.

[0177] Each CAG cell has a corresponding coverage range, and the coverage range included in the allowed CAG list refers to the coverage range of each CAG cell corresponding to each CAG identifier in the CAG list allowed by the terminal device. The terminal device is not within the coverage range included in the allowed CAG list, which means that the terminal device is not within the coverage range of the CAG cell corresponding to any CAG identifier in the CAG list.

[0178] Furthermore, when the CAG identifier is not included in the CAG list allowed by the terminal device, there is no coverage of the CAG cell corresponding to the CAG identifier in the allowed CAG list. Therefore, it can be considered that the terminal device is not within the coverage included in the allowed CAG list.

[0179] Before the terminal device's subscription information is updated, it includes the allowed CAG list and the CAG-only indication. For a terminal device configured with the CAG-only indication, it means that the terminal device can only access the network through the CAG cell, and cannot access the network through the PLMN. Accessing the network through the CAG cell requires the terminal device to be within the coverage of the CAG cell. Therefore, in the case where the CAG-only indication is configured and the terminal device is not within the coverage included in the allowed CAG list, the terminal device cannot access the network. In this case, the terminal device's subscription information needs to be updated to enable the terminal device to re-access the network.

[0180] Since only CAG indication is configured and the terminal device is not within the coverage of the allowed CAG list, the terminal device cannot access the network. Therefore, even if the network device updates the subscription information of the terminal device, the terminal device cannot obtain the updated subscription information. Based on this, the embodiment of the present application proposes a solution, in which a first network device obtains a first message and carries first indication information in the first message, which is used to indicate the update of the subscription information of the terminal device. When the terminal device is not connected to the network, the first message can also be sent by the first network device to the terminal device.

[0181] S52: The first network device sends the first message to the terminal device.

[0182] After receiving the first message, the first network device sends the first message to the terminal device. Since the first message includes the first indication information, the first indication information is sent to the terminal device together with the first message.

[0183] S53, the terminal device receives a first message, which includes first indication information.

[0184] The terminal device receives the first message, thereby being able to obtain the first indication information from the first message.

[0185] S54: The terminal device updates the subscription information of the terminal device according to the first indication information.

[0186] The subscription information of the terminal device includes the allowed CAG list and the CAG indication only. Therefore, the update of the subscription information can be an update of the CAG list, such as adding or deleting CAG identifiers in the CAG list, configuring a new CAG list for the terminal device, etc. The update of the subscription information can also be an update of the CAG indication only, such as deleting the CAG indication, so that the terminal device can access the network through the PLMN. The update of the subscription information indicated by the first indication information can be an update of the CAG list, an update of the CAG indication only, or an update of both.

[0187] The communication method provided in the embodiment of the present application is for a terminal device configured with only CAG indication. When the terminal device is not within the coverage area included in the allowed CAG list, resulting in the terminal device being unable to access the network, the method receives a first message, obtains first indication information from the first message, and updates its own subscription information based on the first indication information, so that the terminal device can obtain updated subscription information in a timely manner even when it is unable to connect to the network.

[0188] In an embodiment of the present application, a terminal device updates subscription information based on the first indication information included in the first message. The update of the subscription information may be an update of only the allowed CAG list, only the CAG indication, or both the allowed CAG list and the CAG indication. Furthermore, the first indication information may include only the updated portion of the subscription information, or may include both the updated portion and the unupdated portion of the subscription information. Depending on the above-mentioned possible scenarios, the first indication information includes at least one of the following information:

[0189] First, the first indication information includes a CAG information list.

[0190] The CAG information list is an indication of two subscription information, namely, the CAG list and the CAG-only indication allowed for the terminal device. When the core network device updates the allowed CAG list of the terminal device, for example, adds some new CAG identifiers, but does not delete the CAG-only indication of the terminal device, the first indication information may include a CAG information list, and the CAG information list includes an allowed CAG list and a CAG-only indication, and the allowed CAG list included in the CAG list includes at least one CAG identifier. When the terminal device obtains the CAG information list from the first message, the allowed CAG list in the CAG information list is used as the updated allowed CAG list of the terminal device, and then the CAG-only indication of the terminal device is maintained, thereby completing the update of the subscription information of the terminal device. Since the allowed CAG list of the terminal device is updated, the allowed CAG list includes at least one CAG identifier, so the terminal device can connect to the network through the CAG cell corresponding to the at least one CAG identifier.

[0191] The CAG information list described above describes an update to the terminal device's allowed CAG list. Alternatively, it may also describe an update to the terminal device's CAG indication only, or an update to both subscription information items. In this case, the first indication information may include a CAG information list, and the CAG information list may include an allowed CAG list. The allowed CAG list in the CAG information list may not include any CAG identifiers, or may include one or more CAG identifiers. When the terminal device obtains the CAG information list from the first message, the allowed CAG list in the CAG information list is used as the terminal device's updated allowed CAG list. Since the CAG information list does not include the CAG-only indication, the terminal device deletes the CAG-only indication, thereby completing the update of the terminal device's subscription information. Since the terminal device deletes the CAG-only indication, the terminal device can access the network through the PLMN regardless of whether the updated allowed CAG list includes CAG identifiers. If the updated allowed CAG list includes one or more CAG identifiers, the terminal device can also choose to access the network through the CAG cell corresponding to these one or more CAG identifiers.

[0192] To sum up, when the terminal device obtains the CAG information list from the first message, the CAG list allowed in the CAG information list is used as the CAG list allowed after the terminal device is updated. If the CAG information list includes only the CAG indication, the terminal device maintains only the CAG indication. If the CAG information list does not include only the CAG indication, the terminal device deletes only the CAG indication.

[0193] Second, the first indication information includes deleting the indication information of only CAG indication.

[0194] The indication information for deleting the CAG-only indication is used to instruct the terminal device to delete the CAG-only indication. After the terminal device obtains the indication information for deleting the CAG-only indication from the first message, it deletes the CAG-only indication, thereby completing the update of the terminal device's subscription information. When there is no CAG-only indication in the subscription information of the terminal device, the terminal device can access the network through the PLMN.

[0195] The third type is that the first indication information includes indication information without only CAG indication.

[0196] The indication information without the CAG-only indication is used to instruct the terminal device not to configure the CAG-only indication in the subscription information. After the terminal device obtains the indication information without the CAG-only indication from the first message, since the subscription information of the terminal device includes the CAG-only indication, the CAG-only indication is deleted, thereby completing the update of the subscription information.

[0197] In the second and third cases, the terminal device obtains two different indication information, but the results are consistent, that is, the terminal device will delete only the CAG indication and become an ordinary terminal device, so that it can access the network through the PLMN.

[0198] Fourthly, the first indication information includes an allowed CAG list, and the allowed CAG list includes one or more CAG identifiers.

[0199] The one or more CAG identifiers included in the allowed CAG list may all be identifiers of the CAG cell newly configured by the core network device for the terminal device, or may be part of the identifier of the CAG cell newly configured by the core network device for the terminal device, which may also include all or part of the CAG identifiers in the original CAG list of the terminal device. After the terminal device obtains the allowed CAG list from the first message, the allowed CAG list is used as the allowed CAG list after the terminal device is updated. Since the allowed CAG list includes one or more new CAG identifiers, the terminal device can access the network through the CAG cell corresponding to the one or more new CAG identifiers.

[0200] Fifth, the first indication information includes one or more CAG identifiers.

[0201] When the core network device newly configures a CAG identifier for the terminal device, the first indication information may include a CAG identifier. When the core network device newly configures multiple CAG identifiers for the terminal device, the first indication information may include one CAG identifier or multiple CAG identifiers. That is, the first indication information may include all newly configured CAG identifiers, and the first indication information may also include a part of all newly configured CAG identifiers. When the terminal device obtains one or more CAG identifiers, it adds the one or more CAG identifiers to its own allowed CAG list to complete the update of the terminal device subscription information. Therefore, the terminal device can access the network through the CAG cell corresponding to the one or more CAG identifiers.

[0202] The sixth type, the first indication information includes indication information for adding a CAG identifier, which is used to indicate that a new CAG identifier has been added to the allowed CAG list of the terminal device.

[0203] The indication information of adding a CAG identifier is only used to inform the terminal device that there is an update of the CAG identifier in its allowed CAG list, but it does not tell the terminal device what the specific CAG identifier added is. At this time, the terminal device needs to establish a temporary service connection to obtain these new CAG identifiers. For example, the terminal device sends a temporary service request to the third network device based on the indication information of adding the CAG identifier, and establishes a temporary connection with the third network device. The third network device can be a base station or other equipment in the PLMN cell. The terminal device can carry an indication in the temporary service request to indicate that it establishes a temporary connection to obtain configuration updates. In the above manner, the terminal device can establish a temporary connection through the PLMN, obtain updated subscription information, and update its own subscription information. The updated subscription information obtained can be, for example, a CAG information list, or an allowed CAG list, or an updated CAG identifier.

[0204] The above embodiments describe various possible information included in the first indication information. Furthermore, depending on the source of the first information, the type of the first information may also vary. For example, when the first message originates from a first network device, the first message may be a paging message or an RRC message; when the first message originates from a second network device, the first message may be a terminal device configuration update command or a non-access stratum message.

[0205] Regardless of the type of message, the first indication information included in the first message may include various information in the above-mentioned embodiments. The following describes the solution of the present application in detail, taking a paging message as an example, with reference to specific figures. When the first message is another message, the specific message transmission may differ, but the update of the subscription information of the terminal device is similar to that of the paging message.

[0206] Figure 6 Signaling for obtaining updated subscription information provided in the embodiment of the present application Figure 1 , Figure 6 The example in FIG is a case where only the CAG indication of the UE is updated, such as Figure 6 Shown, including:

[0207] S601: The UE normally accesses the network through the CAG cell.

[0208] In an embodiment of the present application, the subscription information of the UE includes an allowed CAG list and a CAG-only indication. The UE configured with the CAG-only indication can access the network normally within the coverage of the CAG.

[0209] S602: The UE moves out of the CAG coverage area, cannot find the CAG target cell, and becomes idle.

[0210] After a UE configured with only CAG indication moves out of the CAG coverage, it becomes idle because no suitable CAG target cell is found. Alternatively, a UE configured with only CAG indication becomes idle within the CAG coverage and then moves out of the CAG coverage.

[0211] When a UE moves out of the CAG coverage area, it cannot access the network through the CAG. However, the UE is configured with a CAG-only indication and can only access the network through the CAG. Therefore, in this case, the UE cannot access the network.

[0212] S603: UDM deletes the CAG-only indication in the UE's subscription information.

[0213] On the UDM side, the subscription information of the UE has changed, and the UDM has deleted the CAG-only indication in the subscription information of the UE, but the update has not yet been synchronized to the UE.

[0214] S604: UDM sends a message to notify AMF to delete the CAG-only indication in the UE's subscription information.

[0215] After deleting the CAG-only indication in the UE's subscription information, UDM will send a message to notify AMF. For example, it can send a subscription data notification (Nudm_SDM_Notification) to AMF, and carry an indication of deleting the CAG-only indication in Nudm_SDM_Notification.

[0216] S605: AMF deletes the CAG-only indication in the UE's subscription information.

[0217] After receiving the notification from UDM, AMF performs a Mobility Restrictions Update and deletes the UE's CAG-only indication.

[0218] S606: The AMF sends a paging request message to the gNB, where the paging request message carries indication information for deleting only the CAG indication.

[0219] When the UDM and AMF sides update the UE's subscription information, the updated subscription information is carried in the paging request message. For example, in the embodiment of the present application, if the updated subscription information is to delete only the CAG indication, the paging request message carries the indication information of deleting only the CAG indication.

[0220] S607: The gNB determines a paging message based on the paging request message.

[0221] S608: The gNB sends a paging message to the UE, where the paging message includes indication information for deleting only the CAG indication.

[0222] After receiving the Paging Request message, the gNB determines a paging message based on the Paging Request message, where the paging message includes information indicating the removal of the CAG-only indication. The gNB sends the paging message to the UE, paging the UE, thereby transmitting the information indicating the removal of the CAG-only indication to the UE.

[0223] S609: The UE deletes the CAG-only indication according to the indication information for deleting the CAG-only indication in the paging message.

[0224] After receiving the paging message, the UE deletes the CAG-only indication in the UE's subscription information according to the indication information of deleting the CAG-only indication in the paging message.

[0225] S610: The UE initiates a normal connection request.

[0226] After deleting the CAG-only indication, the UE becomes a normal UE and can connect to the network through the PLMN. The UE can initiate normal service requests, mobility registrations, or periodic registrations.

[0227] It should be noted that Figure 6 The first message is a paging message. The first message is not limited to a paging message. When the first message is other types of messages, Figure 6 Some steps in the method need to be adjusted accordingly, but the first message still carries the indication information for deleting the CAG-only indication. The UE deletes the CAG-only indication in the subscription information according to the indication information for deleting the CAG-only indication carried in the first message and becomes a normal UE.

[0228] For example, when the first message is an RRC message, the gNB sends an RRC message to the UE, where the RRC message includes indication information for deleting the CAG-only indication. The UE deletes the CAG-only indication in the subscription information according to the indication information for deleting the CAG-only indication carried in the RRC message, and becomes a normal UE.

[0229] When the first message is a terminal device configuration update message, the second network device sends the terminal device configuration update message to the UE, where the terminal device configuration update message includes indication information for deleting only the CAG indication. The UE deletes the only CAG indication in the subscription information according to the indication information for deleting only the CAG indication carried in the terminal device configuration update message, and becomes a normal UE.

[0230] When the first message is a non-access layer message, the second network device sends a non-access layer message to the UE, and the non-access layer message includes indication information for deleting only the CAG indication. The UE deletes only the CAG indication in the subscription information according to the indication information for deleting only the CAG indication carried in the non-access layer message, and becomes a normal UE.

[0231] When the first message includes a terminal device configuration update message or a non-access stratum message, the terminal device configuration update message or the non-access stratum message sent to the UE needs to be forwarded through the gNB, but the gNB does not process the terminal device configuration update message or the non-access stratum message sent by the second network device.

[0232] Optionally, the RRC message is an RRC reconfiguration message or an RRC release message.

[0233] Figure 6 The example in the figure shows the processing process when the first indication information includes the indication information for deleting only the CAG indication. When the CAG indication in the subscription information of the UE is updated, the first indication information may also include the indication information without the CAG indication. The UE may also update the subscription information according to the indication information without the CAG indication. When the first indication information includes the indication information without the CAG indication, the processing process is the same as that in the figure. Figure 6 The processing of the example in which the first indication information includes the indication information of deleting only the CAG indication is similar, the only difference is that the indication information of deleting only the CAG indication is replaced with the indication information without only the CAG indication. Therefore, in the case where the first indication information includes the indication information without only the CAG indication, please refer to Figure 6 Example processing.

[0234] When the second network device updates the CAG-only indication in the subscription information of the UE, in addition to the following Figure 6 The first indication information of the example includes the indication information of deleting the CAG indication only or including the indication information without the CAG indication only, and may also include a CAG information list, wherein the CAG information list includes an allowed CAG list, and the allowed CAG list is consistent with the original CAG list of the UE. Figure 7 This situation will be described.

[0235] Figure 7 Signaling for obtaining updated subscription information provided in the embodiment of the present application Figure 2 ,like Figure 7 Shown, including:

[0236] S701: The UE normally accesses the network through the CAG cell.

[0237] S702: The UE moves out of the CAG coverage area, cannot find the CAG target cell, and becomes idle.

[0238] S703: UDM deletes the CAG-only indication in the UE's subscription information.

[0239] S704: UDM sends a message to notify AMF to delete the CAG-only indication in the UE's subscription information.

[0240] S705: AMF deletes the CAG-only indication in the UE's subscription information.

[0241] The steps S701-S705 in the embodiment of the present application are similar to those in the above embodiment S601-S605. Figure 6 The embodiments will not be described in detail here.

[0242] S706: The AMF sends a paging request message to the gNB, where the paging request message includes a CAG information list.

[0243] When the UDM and AMF sides update the UE's subscription information, the updated subscription information is carried in the paging request message. For example, in the embodiment of the present application, the updated subscription information is to delete only the CAG indication, and the paging request message carries the CAG information list. The CAG information list includes an allowed CAG list, and the allowed CAG list includes zero, one, or more CAG identifiers.

[0244] Since the updated subscription information in this embodiment of the present application is to delete the CAG-only indication, the UE's allowed CAG list is not updated. Therefore, the CAG identifiers included in the allowed CAG list in the CAG information list are the same as the CAG identifiers included in the UE's original allowed CAG list. If the CAG information list does not include the CAG-only indication, it indicates that the UE is instructed to delete the CAG-only indication.

[0245] S707: The gNB determines a paging message based on the paging request message.

[0246] S708: The gNB sends a paging message to the UE, where the paging message includes a new CAG information list.

[0247] After receiving the Paging Request message, the gNB determines a paging message based on the Paging Request message, which includes the CAG information list. The gNB then sends the paging message to the UE, paging the UE and thereby delivering the CAG information list to the UE.

[0248] S709: The UE updates its own CAG information list according to the new CAG information list in the paging message.

[0249] After receiving the paging message, the UE obtains the CAG information list and then updates the CAG information list with its own CAG information list. Since the CAG identifiers in the allowed CAG list remain unchanged, only the CAG indication in the UE's subscription information is deleted after the update.

[0250] S710: The UE initiates a normal connection request.

[0251] After deleting the CAG-only indication, the UE becomes a normal UE and can connect to the network through the PLMN. The UE can initiate normal service requests, mobility registrations, or periodic registrations.

[0252] It should be noted that Figure 7 The first message is a paging message. The first message is not limited to a paging message. When the first message is other types of messages, Figure 7 Some steps in the method need to be adjusted accordingly, but the first message still carries the CAG information list. The UE updates its own CAG information list according to the CAG information list carried in the first message and becomes a normal UE.

[0253] For example, when the first message is an RRC message, the gNB sends an RRC message to the UE. The RRC message includes a CAG information list. The UE updates its own CAG information list according to the new CAG information list carried in the RRC message and becomes a normal UE.

[0254] When the first message is a terminal device configuration update message, the second network device sends the terminal device configuration update message to the UE, where the terminal device configuration update message includes a CAG information list. The UE updates its own CAG information list according to the CAG information list carried in the terminal device configuration update message and becomes a normal UE.

[0255] When the first message is a non-access layer message, the second network device sends a non-access layer message to the UE, where the non-access layer message includes a CAG information list. The UE updates its own CAG information list according to the CAG information list carried in the non-access layer message and becomes a normal UE.

[0256] When the first message includes a terminal device configuration update message or a non-access stratum message, the terminal device configuration update message or the non-access stratum message sent to the UE needs to be forwarded through the gNB, but the gNB does not process the terminal device configuration update message or the non-access stratum message sent by the second network device.

[0257] Optionally, the RRC message is an RRC reconfiguration message or an RRC release message.

[0258] Figure 6 and Figure 7 The example is an update of only the CAG indication in the subscription information. In addition to the update of only the CAG indication, the update of the allowed CAG list may also be included. The update of the allowed CAG list will be illustrated below.

[0259] Figure 8 Signaling for obtaining updated subscription information provided in the embodiment of the present application Figure 3 ,like Figure 8 Shown, including:

[0260] S801, the UE normally accesses the network through the CAG cell.

[0261] S802: The UE moves out of the CAG coverage area, cannot find the CAG target cell, and becomes idle.

[0262] The steps S801-S802 in the embodiment of the present application are similar to those in the above embodiment S601-S602. Figure 6 The embodiments will not be described in detail here.

[0263] S803: UDM configures a new CAG identifier for the UE.

[0264] On the UDM side, the subscription information of the UE has changed, and the UDM configures a new CAG identifier for the UE, but the update has not yet been synchronized to the UE.

[0265] S804: UDM sends a message to notify AMF that a new CAG identifier has been configured in the UE's subscription information.

[0266] After UDM configures a new CAG identifier for the UE, it will send a message to notify AMF. For example, it can send Nudm_SDM_Notification to AMF, and carry the new CAG identifier configured for the UE in Nudm_SDM_Notification.

[0267] S805: AMF adds a new CAG identifier to the UE's subscription information.

[0268] After receiving the notification from the UDM, the AMF performs a mobility restriction update and adds a new CAG identifier to the UE's subscription information.

[0269] S806: The AMF sends a paging request message to the gNB, where the paging request message carries an indication of adding a CAG identifier.

[0270] When the UDM and AMF sides update the UE's subscription information, the updated subscription information is carried in the paging request message. For example, in the embodiment of the present application, the updated subscription information is to configure a new CAG identifier for the UE, then the paging request message carries the indication information of adding the CAG identifier.

[0271] S807: The gNB determines a paging message based on the paging request message.

[0272] S808: The gNB sends a paging message to the UE, where the paging message includes information indicating the addition of a CAG identifier.

[0273] After receiving the paging request message, the gNB determines a paging message based on the paging request message. The paging message includes information indicating the addition of the CAG identifier. The gNB sends the paging message to the UE, paging the UE and thereby transmitting the information indicating the addition of the CAG identifier to the UE.

[0274] S809: The UE learns that a CAG identifier is added to the allowed CAG list according to the indication information of adding the CAG identifier in the paging message.

[0275] After receiving the paging message, the UE can learn that a new CAG identifier has been added according to the indication information of adding the CAG identifier in the paging message, but the UE cannot learn the specific added CAG identifier.

[0276] S810: The UE initiates a temporary service connection request.

[0277] The UE initiates a temporary service request, mobility registration, or periodic registration process through a third network device (PLMN cell), and carries an indication that its temporary access is only for obtaining configuration updates. After establishing the temporary service connection, the UE can obtain updated subscription information, which can be a CAG information list, an allowed CAG list, or an updated CAG identifier. The temporary service connection can then be disconnected.

[0278] It should be noted that Figure 8 The first message is a paging message. The first message is not limited to a paging message. When the first message is other types of messages, Figure 8 Some steps in the method need to be adjusted accordingly, but the first message still carries the CAG identification indication information for addition. The UE establishes a temporary service connection with the PLMN cell according to the CAG identification indication information for addition carried in the first message, and obtains the updated subscription information.

[0279] For example, when the first message is an RRC message, the gNB sends an RRC message to the UE, where the RRC message includes CAG identity addition indication information. The UE establishes a temporary service connection with the PLMN cell according to the CAG identity addition indication information carried in the RRC message, and obtains updated subscription information.

[0280] When the first message is a terminal device configuration update message, the second network device sends the terminal device configuration update message to the UE, where the terminal device configuration update message includes CAG identifier addition indication information. The UE establishes a temporary service connection with the PLMN cell according to the CAG identifier addition indication information carried in the terminal device configuration update message, and obtains updated subscription information;

[0281] When the first message is a non-access layer message, the second network device sends a non-access layer message to the UE, and the non-access layer message includes an indication information for adding a CAG identifier. The UE establishes a temporary service connection with the PLMN cell according to the indication information for adding a CAG identifier carried in the non-access layer message, and obtains updated subscription information.

[0282] When the first message includes a terminal device configuration update message or a non-access stratum message, the terminal device configuration update message or the non-access stratum message sent to the UE needs to be forwarded through the gNB, but the gNB does not process the terminal device configuration update message or the non-access stratum message sent by the second network device.

[0283] Optionally, the RRC message is an RRC reconfiguration message or an RRC release message.

[0284] Figure 9 Signaling for obtaining updated subscription information provided in the embodiment of the present application Figure 4 ,like Figure 9 Shown, including:

[0285] S901, the UE normally accesses the network through the CAG cell.

[0286] S902: The UE moves out of the CAG coverage area, cannot find the CAG target cell, and becomes idle.

[0287] S903: UDM configures a new CAG identifier for the UE.

[0288] S904: UDM sends a message to notify AMF that a new CAG identifier has been configured in the UE's subscription information.

[0289] S905: AMF adds a new CAG identifier to the UE's subscription information.

[0290] The steps S901-S905 in the embodiment of the present application are similar to those in the above embodiment S801-S805. Figure 8 The embodiments will not be described in detail here.

[0291] S906: The AMF sends a paging request message to the gNB, where the paging request message carries a CAG identifier.

[0292] When the UDM and AMF sides update the UE's subscription information, the updated subscription information is carried in the paging request message. For example, in the embodiment of the present application, the updated subscription information is to configure a new CAG identifier for the UE. The AMF selects one CAG ID from multiple new CAG identifiers to update the UE. In this case, the paging request message carries a CAG identifier.

[0293] S907: The gNB determines a paging message based on the paging request message.

[0294] S908: The gNB sends a paging message to the UE, where the paging message includes a CAG identifier.

[0295] After receiving the Paging Request message, the gNB determines the paging message based on the Paging Request message, which includes a CAG ID. The gNB sends the paging message to the UE, paging the UE and thereby transmitting a CAG ID to the UE.

[0296] S909: The UE receives the paging message and adds a CAG identifier in the paging message to its own allowed CAG list.

[0297] S910: The UE initiates a normal connection request.

[0298] After a new CAG identifier is added, the UE can connect to the network through the CAG cell corresponding to the CAG identifier. The UE can initiate normal service requests, mobility registrations, or periodic registrations, and can also obtain other updated CAG identifiers.

[0299] It should be noted that Figure 9 The first message is a paging message. The first message is not limited to a paging message. When the first message is other types of messages, Figure 9 Some steps in the method need to be adjusted accordingly, but the first message still carries a CAG identifier, and the UE updates its own allowed CAG list according to the CAG identifier carried in the first message.

[0300] For example, when the first message is an RRC message, the gNB sends an RRC message to the UE, where the RRC message includes a CAG identifier. The UE updates its own allowed CAG list according to the CAG identifier carried in the RRC message.

[0301] When the first message is a terminal device configuration update message, the second network device sends the terminal device configuration update message to the UE, where the terminal device configuration update message includes a CAG identifier, and the UE updates its own allowed CAG list according to the CAG identifier carried in the terminal device configuration update message;

[0302] When the first message is a non-access layer message, the second network device sends a non-access layer message to the UE, where the non-access layer message includes a CAG identifier, and the UE updates its own allowed CAG list according to the CAG identifier carried in the non-access layer message.

[0303] When the first message includes a terminal device configuration update message or a non-access stratum message, the terminal device configuration update message or the non-access stratum message sent to the UE needs to be forwarded through the gNB, but the gNB does not process the terminal device configuration update message or the non-access stratum message sent by the second network device.

[0304] Optionally, the RRC message is an RRC reconfiguration message or an RRC release message.

[0305] Figure 10 Signaling for obtaining updated subscription information provided in the embodiment of the present application Figure 5 ,like Figure 10 Shown, including:

[0306] S1001: UE accesses the network normally through the CAG cell.

[0307] S1002: The UE moves out of the CAG coverage area, cannot find the CAG target cell, and becomes idle.

[0308] S1003: UDM configures a new CAG identifier for the UE.

[0309] S1004: UDM sends a message to notify AMF that a new CAG identifier has been configured in the UE's subscription information.

[0310] S1005: AMF adds a new CAG identifier to the UE's subscription information.

[0311] S1006: The AMF sends a paging request message to the gNB, where the paging request message includes all new CAG identifiers.

[0312] The steps S1001-S1005 in the embodiment of the present application are similar to S801-S805 in the above embodiment. For specific steps, please refer to Figure 8 The embodiments will not be described in detail here.

[0313] S1007. The gNB determines a paging message based on the paging request message.

[0314] S1008: The gNB sends a paging message to the UE, where the paging message includes all new CAG identifiers.

[0315] When the UDM and AMF sides update the UE's subscription information, the updated subscription information is carried in the paging request message. For example, in the embodiment of the present application, the updated subscription information is to configure a new CAG identifier for the UE, and the AMF chooses to update all new CAG identifiers to the UE, then the paging request message carries all new CAG identifiers.

[0316] S1009: The UE receives the paging message and adds all new CAG identifiers in the paging message to its own allowed CAG list.

[0317] After receiving the paging message, the UE obtains all new CAG identities and then adds all new CAG identities to the allowed CAG list.

[0318] S1010: The UE initiates a normal connection request.

[0319] After adding all new CAG identifiers, the UE can connect to the network through the CAG cell corresponding to the CAG identifier. The UE can initiate normal service requests, mobility registrations, or periodic registrations.

[0320] It should be noted that Figure 10 The first message is a paging message. The first message is not limited to a paging message. When the first message is other types of messages, Figure 10 Some steps in the method need to be adjusted accordingly, but the first message still carries all new CAG identifiers, and the UE updates its own allowed CAG list according to all new CAG identifiers carried in the first message.

[0321] For example, when the first message is an RRC message, the gNB sends an RRC message to the UE, where the RRC message includes all new CAG identifiers. The UE updates its allowed CAG list according to all new CAG identifiers carried in the RRC message.

[0322] When the first message is a terminal device configuration update message, the second network device sends the terminal device configuration update message to the UE, where the terminal device configuration update message includes all new CAG identifiers, and the UE updates its own allowed CAG list according to all new CAG identifiers carried in the terminal device configuration update message;

[0323] When the first message is a non-access layer message, the second network device sends a non-access layer message to the UE, where the non-access layer message includes all new CAG identifiers, and the UE updates its own allowed CAG list according to all new CAG identifiers carried in the non-access layer message.

[0324] When the first message includes a terminal device configuration update message or a non-access stratum message, the terminal device configuration update message or the non-access stratum message sent to the UE needs to be forwarded through the gNB, but the gNB does not process the terminal device configuration update message or the non-access stratum message sent by the second network device.

[0325] Optionally, the RRC message is an RRC reconfiguration message or an RRC release message.

[0326] Figure 11 Signaling for obtaining updated subscription information provided in the embodiment of the present application Figure 6 ,like Figure 11 Shown, including:

[0327] S1101, the UE normally accesses the network through the CAG cell.

[0328] S1102: The UE moves out of the CAG coverage area, cannot find the CAG target cell, and becomes idle.

[0329] S1103: UDM configures a new allowed CAG list for the UE.

[0330] S1104: UDM sends a message to notify AMF that a new allowed CAG list is configured in the UE's subscription information.

[0331] S1105: AMF adds a new allowed CAG list to the UE's subscription information.

[0332] S1106: The AMF sends a paging request message to the gNB, where the paging request message includes a new CAG information list.

[0333] When the UDM and AMF sides update the UE's subscription information, the updated subscription information is carried in the paging request message. For example, in the embodiment of the present application, the updated subscription information is to configure a new allowed CAG list for the UE. In this case, the paging request message carries a new CAG information list, which includes the allowed CAG list and the CAG identifier only.

[0334] S1107: The gNB determines the paging message based on the paging request message.

[0335] S1108: The gNB sends a paging message to the UE, where the paging message includes a new CAG information list.

[0336] After receiving the Paging Request message, the gNB determines a Paging Message based on the Paging Request message. The Paging Message includes the new CAG information list. The gNB sends the Paging Message to the UE, paging the UE and sending the new CAG information list to the UE.

[0337] S1109: The UE receives the paging message and updates its own CAG information list with the new CAG information list in the paging message.

[0338] The allowed CAG list in the CAG information list is used as the updated allowed CAG list, and the CAG-only indication of the system is maintained according to the CAG-only indication in the CAG information list.

[0339] S1110, the UE initiates a normal connection request.

[0340] It should be noted that Figure 11 The first message is a paging message. The first message is not limited to a paging message. When the first message is other types of messages, Figure 11 Some steps in the method need to be adjusted accordingly, but the first message still carries the CAG information list, and the UE updates its own CAG information list according to the CAG information list carried in the first message.

[0341] For example, when the first message is an RRC message, the gNB sends an RRC message to the UE, where the RRC message includes a CAG information list. The UE updates its own CAG information list according to the new CAG information list carried in the RRC message.

[0342] When the first message is a terminal device configuration update message, the second network device sends the terminal device configuration update message to the UE, where the terminal device configuration update message includes a CAG information list, and the UE updates its own CAG information list according to the CAG information list carried in the terminal device configuration update message;

[0343] When the first message is a non-access layer message, the second network device sends a non-access layer message to the UE, where the non-access layer message includes a CAG information list, and the UE updates its own CAG information list according to the CAG information list carried in the non-access layer message.

[0344] When the first message includes a terminal device configuration update message or a non-access stratum message, the terminal device configuration update message or the non-access stratum message sent to the UE needs to be forwarded through the gNB, but the gNB does not process the terminal device configuration update message or the non-access stratum message sent by the second network device.

[0345] Figure 12A signaling diagram of a communication method provided in another embodiment of the present application is shown in FIG. Figure 12 As shown, the method may include:

[0346] S121. The second network device generates a second message, where the second message includes indication information for indicating a CAG identifier.

[0347] The CAG identifier referred to in the embodiment of the present application is the CAG identifier included in the CAG list allowed by the terminal device, and the CAG identifier included in the CAG list allowed by the terminal device is only this one. Figure 4 In the example scenario, if a terminal device only has one CAG identifier in its allowed CAG list, and if the second network device deletes this CAG identifier from the terminal device without the terminal device deleting it simultaneously, the terminal device will assume that it can still access the network using this CAG identifier. Even after failed access attempts, it will continue to attempt to access the network, resulting in unnecessary power consumption for the terminal device.

[0348] In view of this situation, after deleting the only CAG identifier in the CAG list allowed by the terminal device, the second network device can generate a second message, where the second message includes indication information for indicating the marking of this CAG identifier.

[0349] S122: The second network device sends a second message to the terminal device through the first network device.

[0350] S123, the terminal device receives the second message.

[0351] After generating the second message, the second network device sends the second message to the terminal device via the first network device. The instruction information included in the second message is also sent to the terminal device along with the second message. The second network device sending the second message to the terminal device via the first network device means that when the second network device generates the second message and needs to send it to the terminal device, it needs to be transferred through the first network device. However, the first network device does not process the second message in any way and only forwards or transmits it. After receiving the second message, the terminal device can obtain the instruction information in the second message.

[0352] S124, the terminal device marks the CAG identifier according to the indication information in the second message.

[0353] The terminal device marks the CAG identifier according to the indication information in the second message, so that the terminal device can know that this CAG identifier is the last CAG identifier in the allowed CAG list. Therefore, when the terminal device fails to access the network through the CAG cell corresponding to the CAG identifier, certain measures can be taken based on the marking of the CAG identifier, such as suspending access attempts, reducing unnecessary power consumption, etc.

[0354] Because the second message originates from the second network device, there are various possibilities for the second message. For example, the second message may be a terminal device configuration update command, in which the second network device sets indication information to indicate that the CAG identifier is marked. For example, the second message may also be a non-access stratum message, in which a cause value in the non-access stratum message indicates that the CAG identifier is marked.

[0355] Several possible scenarios are described below.

[0356] When the terminal device's allowed CAG list contains only one CAG identifier, if the UDM deletes this CAG identifier and notifies the AMF to update the terminal device's subscription information, the AMF and the terminal device may perform the following operations:

[0357] The first method is that the AMF deletes the only CAG identifier in the CAG list allowed by the terminal device from its own storage and sends a terminal device configuration update command to the terminal device. The AMF adds an indication information to the terminal device configuration update command, instructing the terminal device to mark the last CAG identifier. After receiving the configuration update command, the terminal device marks the CAG identifier.

[0358] The second method is that the AMF deletes the only CAG identifier in the CAG list allowed by the terminal device stored in its own storage and sends a terminal device configuration update command to the terminal device. The AMF adds an indication information in the terminal device configuration update command to instruct the terminal device to delete the last CAG identifier. After receiving the configuration update command, the terminal device chooses not to delete the CAG identifier but to mark it.

[0359] The third type is that the AMF deletes the only CAG identifier in the CAG list allowed by the terminal device stored in itself. If the terminal device is initiating access to the CAG cell corresponding to the CAG identifier, since the CAG identifier has been deleted on the AMF side, the terminal device cannot access the network through the CAG cell corresponding to the CAG identifier. The AMF sends a non-access layer rejection message to the terminal device and adds a reason value to the non-access layer rejection message to instruct the terminal device to mark the CAG identifier.

[0360] For the above three possible operations performed by the AMF and the terminal device, the final result is that the terminal device marks the last CAG identifier in the allowed CAG list, so that the terminal device knows that the CAG cell corresponding to the CAG identifier is inaccessible. Therefore, after marking the CAG identifier, the terminal device can choose not to attempt to access the CAG cell corresponding to the CAG identifier to avoid power loss.

[0361] Furthermore, since the network side may update the subscription information of the terminal device, for example, the second network device reconfigures the marked CAG identifier to the CAG list allowed by the terminal device, if the terminal device has not attempted to access the CAG cell, the CAG cell corresponding to the CAG identifier will not be able to provide network services to the terminal device.

[0362] To avoid this situation, after the terminal device marks the CAG identifier, it can also choose to attempt to access the CAG cell corresponding to the CAG identifier within a certain time period, and stop attempting to access the CAG cell corresponding to the CAG identifier within a certain time period. For example, a timer can be started, and no access attempt will be made to the CAG cell corresponding to the CAG identifier during the timer running, and the attempt will be made again until the timer expires. The timer can be configured by the terminal device or by the network device. If the terminal device receives a configuration update command from the AMF while the timer is running, it can stop the timer and update its own configuration.

[0363] Furthermore, under the premise of reducing power loss, when the second network device deletes the last CAG identifier in the CAG list allowed by the terminal device, the terminal device is actually in a state where it cannot connect to the network. Therefore, it is also possible to use Figure 5-Figure 11 The solution in the exemplary embodiment is used to obtain updated subscription information and connect to the network.

[0364] The communication method provided in the embodiment of the present application is capable of sending a second message to a terminal device configured with only a CAG indication when the second network device deletes the last CAG identifier in the CAG list allowed by the terminal device, instructing the terminal device to mark the last CAG identifier, thereby informing the terminal device that it cannot access the network through the CAG cell corresponding to the CAG identifier. Therefore, the terminal device takes corresponding measures according to the marked CAG identifier to prevent continuous access attempts to the CAG cell corresponding to the CAG identifier, thereby achieving the effect of reducing the power loss of the terminal device.

[0365] Figure 13 Schematic diagram of the structure of the communication device provided in the embodiment of the present application Figure 1 ,like Figure 13 As shown, the communication device 130 includes:

[0366] The transceiver module 131 is configured to receive a first message, where the first message includes first indication information;

[0367] The processing module 132 is configured to update the subscription information of the communication device according to the first indication information, where the communication device is not within the coverage area included in the allowed closed access group CAG list, and the subscription information includes the CAG list allowed by the communication device and the CAG-only indication of the communication device.

[0368] In a possible implementation, the first indication information includes at least one of the following information:

[0369] A CAG information list, wherein the CAG information list includes an allowed CAG list and the CAG-only indication, and the allowed CAG list includes at least one CAG identifier; or

[0370] The CAG information list includes an allowed CAG list, and the allowed CAG list includes 0 or 1 or more CAG identifiers;

[0371] Delete the instruction information of CAG only;

[0372] There is no indication of CAG indication only;

[0373] an allowed CAG list, wherein the allowed CAG list includes one or more CAG identifiers;

[0374] One or more CAG logos;

[0375] Indication information for adding a CAG identifier, where the indication information for adding a CAG identifier indicates that a new CAG identifier is added to the allowed CAG list of the communication device.

[0376] In a possible implementation, the first message comes from the first network device, wherein the first message includes at least one of the following messages:

[0377] paging messages;

[0378] Radio Resource Control message; or,

[0379] The first message comes from the second network device, wherein the first message includes at least one of the following messages:

[0380] Communication equipment configuration update command;

[0381] Non-access stratum message.

[0382] In a possible implementation, the first indication information includes a CAG information list, and the processing module 132 is specifically configured to:

[0383] Using the allowed CAG list in the CAG information list as the updated allowed CAG list of the communication device;

[0384] When the CAG-only indication is included in the CAG information list, the CAG-only indication of the communication device is maintained; otherwise, the CAG-only indication of the communication device is deleted.

[0385] In a possible implementation, the first indication information includes indication information for deleting only the CAG indication, and the processing module 132 is specifically configured to:

[0386] Delete the CAG-only indication of the communication device according to the indication information for deleting the CAG-only indication.

[0387] In a possible implementation, the first indication information includes indication information without a CAG-only indication, and the processing module 132 is specifically configured to:

[0388] The CAG-only indication of the communication device is deleted according to the indication information without the CAG-only indication.

[0389] In a possible implementation, the first indication information includes an allowed CAG list, and the processing module 132 is specifically configured to:

[0390] The allowed CAG list is used as the allowed CAG list after the communication device is updated.

[0391] In a possible implementation, the first indication information includes one or more CAG identifiers, and the processing module 132 is specifically configured to:

[0392] Add the one or more CAG identifiers to a CAG list allowed by the communication device.

[0393] In a possible implementation, the first indication information includes indication information for adding a CAG identifier, and the processing module 132 is specifically configured to:

[0394] Sending a temporary service request to the third network device according to the instruction information for adding the CAG identifier, and establishing a temporary connection with the third network device;

[0395] Receive updated subscription information from the second network device, and update the subscription information of the communication device according to the updated subscription information, where the updated subscription information is a CAG information list, an allowed CAG list, or an updated CAG identifier.

[0396] Figure 14 Schematic diagram of the structure of the communication device provided in the embodiment of the present application Figure 2 ,like Figure 14 As shown, the communication device 140 includes:

[0397] The transceiver module 141 is configured to receive a second message sent by the first network device, where the second message comes from the second network device;

[0398] The processing module 142 is used to mark the CAG identifier according to the second message, wherein the subscription information of the communication device includes the CAG list allowed by the communication device and the CAG-only indication of the communication device, and the CAG identifier is only one CAG identifier included in the CAG list allowed by the communication device.

[0399] In a possible implementation, the second message includes at least one of the following messages:

[0400] Communication equipment configuration update command;

[0401] Non-access stratum message.

[0402] In a possible implementation, the second message includes the communication device configuration update command, and the processing module 142 is specifically configured to:

[0403] Mark the CAG identifier according to the instruction information in the communication device configuration update command; or

[0404] The CAG identifier is marked according to the instruction information for deleting the CAG identifier in the communication device configuration update command.

[0405] In a possible implementation, the second message includes the non-access stratum message, and the processing module 142 is specifically configured to:

[0406] The CAG identifier is marked according to the cause value in the non-access layer message.

[0407] In a possible implementation, the processing module 142 is further configured to:

[0408] Stop sending connection requests to the network device corresponding to the CAG identifier.

[0409] In a possible implementation, the processing module 142 is further configured to:

[0410] Start the timer to perform timing operation;

[0411] During the timing of the timer, stop sending connection requests to the network device corresponding to the CAG identifier.

[0412] Figure 15 Schematic diagram of the structure of the communication device provided in the embodiment of the present application Figure 3 ,like Figure 15 As shown, the communication device 150 includes:

[0413] A receiving module 151 is configured to obtain a first message, where the first message includes first indication information, where the first indication information is used to indicate updating subscription information of a communication device, where the subscription information includes a CAG list allowed by the communication device and a CAG-only indication of the communication device;

[0414] The sending module 152 is configured to send the first message to the communication device.

[0415] In a possible implementation, the first indication information includes at least one of the following information:

[0416] a CAG information list, wherein the CAG information list includes an allowed CAG list and the CAG-only indication, and the allowed CAG list includes at least one CAG identifier; or, the CAG information list includes an allowed CAG list, and the allowed CAG list includes 0 or 1 or more CAG identifiers;

[0417] Delete the instruction information of CAG only;

[0418] There is no indication of CAG indication only;

[0419] an allowed CAG list, wherein the allowed CAG list includes one or more CAG identifiers;

[0420] One or more CAG logos;

[0421] Indication information for adding a CAG identifier, where the indication information for adding a CAG identifier indicates that a new CAG identifier is added to the allowed CAG list of the communication device.

[0422] In a possible implementation, the first message includes at least one of the following messages:

[0423] paging messages;

[0424] Radio resource control message;

[0425] Communication equipment configuration update command;

[0426] Non-access stratum message.

[0427] In a possible implementation, the first message includes a paging message, and the receiving module 151 is specifically configured to:

[0428] A paging request message is received from a second network device, and the paging message is determined according to the paging request message.

[0429] In a possible implementation, the first message includes a communication device configuration update command, and the receiving module 151 is specifically configured to:

[0430] Receive the communication device configuration update command from the second network device; or,

[0431] The first message includes a non-access layer message, and the receiving module 151 is specifically configured to:

[0432] The non-access stratum message is received from a second network device.

[0433] Figure 16 Schematic diagram of the structure of the communication device provided in the embodiment of the present application Figure 4 ,like Figure 16 As shown, the communication device 160 includes:

[0434] The processing module 161 is configured to determine multiple CAG identifiers after the communication device is updated;

[0435] The transceiver module 162 is configured to send a paging request message to the first network device, where the paging request message includes one of the multiple CAG identifiers.

[0436] Figure 17 Schematic diagram of the structure of the communication device provided in the embodiment of the present application Figure 5 ,like Figure 17 As shown, the communication device 170 includes:

[0437] The processing module 171 is configured to generate a second message, wherein the indication information included in the second message is used to indicate a CAG identifier, and the CAG identifier is only one CAG identifier included in a CAG list allowed by the communication device.

[0438] The transceiver module 172 is configured to send a second message to the communication device through the first network device.

[0439] In a possible implementation, the second message includes at least one of the following messages:

[0440] A communication device configuration update command, wherein the instruction information in the communication device configuration update command indicates the CAG identifier;

[0441] A non-access layer message, wherein the cause value in the non-access layer message indicates the CAG identifier.

[0442] Figure 18 A schematic diagram of the structure of the communication device provided in the embodiment of the present application is shown in FIG. Figure 18 As shown, communication device 180 may include a transceiver 181, a memory 182, and a processor 183. Transceiver 181 may include a transmitter and / or a receiver. The transmitter may also be referred to as a transmitter, a transmitter, a transmitting port, a transmitting interface, or similar descriptions, and the receiver may also be referred to as a receiver, a receiver, a receiving port, a receiving interface, or similar descriptions. For example, transceiver 181, memory 182, and processor 183 are interconnected via a bus 184.

[0443] The memory 182 is used to store program instructions;

[0444] The processor 183 is configured to execute program instructions stored in the memory, so as to enable the communication device 180 to execute any of the communication methods shown above.

[0445] The receiver of the transceiver 181 can be used to perform the receiving function of the communication device in the above communication method.

[0446] The present application also provides a communication device, which can be a terminal device or a circuit, and can be used to execute the actions executed by the terminal device in the above method embodiment.

[0447] When the communication device is a terminal device, Figure 19 This is a schematic diagram of the structure of the terminal device provided in the embodiment of the present application. For ease of understanding and illustration, Figure 19 In this article, the terminal device is a mobile phone. Figure 19 As shown, the terminal device includes a processor, a memory, a radio frequency circuit, an antenna, and input and output devices. The processor is mainly used to process communication protocols and communication data, as well as to control the terminal device, execute software programs, process software program data, etc. The memory is mainly used to store software programs and data. The radio frequency circuit is mainly used to convert baseband signals into radio frequency signals and process radio frequency signals. The antenna is mainly used to transmit and receive radio frequency signals in the form of electromagnetic waves. Input and output devices, such as touch screens, displays, keyboards, etc., are mainly used to receive data input by users and output data to users. It should be noted that some types of terminal devices may not have input and output devices.

[0448] When data needs to be sent, the processor performs baseband processing on the data to be sent and outputs the baseband signal to the RF circuit. The RF circuit performs RF processing on the baseband signal and then transmits the RF signal to the outside in the form of electromagnetic waves through the antenna. When data is sent to the terminal device, the RF circuit receives the RF signal through the antenna, converts the RF signal into a baseband signal, and outputs the baseband signal to the processor. The processor converts the baseband signal into data and processes the data. For the sake of explanation, Figure 19Only one memory and processor are shown. In actual terminal device products, one or more processors and one or more memories may exist. Memory may also be referred to as a storage medium or storage device. The memory may be provided independently of the processor or integrated with the processor, and this is not limited in the embodiments of the present application.

[0449] In the embodiment of the present application, the antenna and radio frequency circuit with transceiver functions can be regarded as the transceiver unit of the terminal device, and the processor with processing function can be regarded as the processing unit of the terminal device. Figure 19 As shown, the terminal device includes a transceiver unit 1910 and a processing unit 1920. The transceiver unit may also be referred to as a transceiver, transceiver, or transceiver device. The processing unit may also be referred to as a processor, processing board, processing module, or processing device. Optionally, the device in the transceiver unit 1910 that implements the receiving function may be considered a receiving unit, and the device in the transceiver unit 1910 that implements the transmitting function may be considered a transmitting unit. That is, the transceiver unit 1910 includes a receiving unit and a transmitting unit. The transceiver unit may also be referred to as a transceiver, transceiver, or transceiver circuit. The receiving unit may also be referred to as a receiver, receiver, or receiving circuit. The transmitting unit may also be referred to as a transmitter, transmitter, or transmitting circuit.

[0450] It should be understood that the transceiver unit 1910 is used to perform sending and receiving operations on the terminal device side in the above method embodiment, and the processing unit 1920 is used to perform other operations on the terminal device except the sending and receiving operations in the above method embodiment.

[0451] When the communication device is a chip-type device or circuit, the device may include a transceiver unit and a processing unit, wherein the transceiver unit may be an input / output circuit and / or a communication interface; and the processing unit may be an integrated processor, microprocessor, or integrated circuit.

[0452] Figure 20 Schematic block diagram of a communication device provided in an embodiment of the present application Figure 1 When the communication device in this embodiment is a terminal device, you can refer to Figure 20 As an example, the device can perform similar Figure 18 The function of the processor 183. Figure 20 In the embodiment, the device includes a processor 2010, a sending data processor 2020, and a receiving data processor 2030. Figure 20 A channel encoder and a channel decoder are shown in FIG. 1 , but it can be understood that these modules do not constitute a limitative description of this embodiment and are merely illustrative.

[0453] Figure 21 Schematic block diagram of a communication device provided in an embodiment of the present application Figure 2 ,like Figure 21 As shown, the processing device 2100 includes modules such as a modulation subsystem, a central processing subsystem, and a peripheral subsystem. The communication device in this embodiment can serve as the modulation subsystem therein. Specifically, the modulation subsystem may include a processor 2101 and an interface 2102. As another variation, the modulation subsystem includes a memory 2103, a processor 2101, and a program stored on the memory 2103 and executable on the processor. When the processor 2101 executes the program, the method on the terminal device side in the above-mentioned method embodiment is implemented. It should be noted that the memory 2103 may be non-volatile or volatile, and may be located inside the modulation subsystem or in the processing device 2100, as long as the memory 2103 can be connected to the processor 2101.

[0454] Figure 22 A schematic diagram of the structure of the network device provided in the embodiment of the present application is shown as follows: Figure 22 As shown, network device 220 may include a transceiver 221, a memory 222, and a processor 223. Transceiver 221 may include a transmitter and / or a receiver. The transmitter may also be referred to as a transmitter, a transmitter, a transmission port, a transmission interface, or similar descriptions, and the receiver may also be referred to as a receiver, a receiver, a reception port, a reception interface, or similar descriptions. For example, transceiver 221, memory 222, and processor 223 are interconnected via a bus 224.

[0455] The memory 222 is used to store program instructions;

[0456] The processor 223 is configured to execute program instructions stored in the memory, so as to enable the network device 220 to execute any of the communication methods shown above.

[0457] The receiver of the transceiver 221 can be used to perform the receiving function of the network device in the above communication method.

[0458] As another form of this embodiment, a computer-readable storage medium is provided, on which instructions are stored. When the instructions are executed, the method on the terminal device side or the network device side in the above method embodiment is executed.

[0459] As another form of this embodiment, a computer program product including instructions is provided, which, when executed, executes the method on the terminal device side or the network device side in the above method embodiment.

[0460] In the several embodiments provided in this application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are merely schematic. For example, the division of the units is merely a logical function division. In actual implementation, there may be other division methods, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.

[0461] The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of these units may be selected to achieve the purpose of this embodiment according to actual needs.

[0462] In addition, the functional units in the various embodiments of the present application may be integrated into a single processing unit, or each unit may exist physically separately, or two or more units may be integrated into a single unit. The aforementioned integrated units may be implemented in the form of hardware or software functional units.

[0463] Those skilled in the art will appreciate that all or part of the steps in the above-described method embodiments can be implemented by hardware associated with program instructions. The aforementioned computer program can be stored in a computer-readable storage medium. When executed by a processor, the computer program implements the steps in the above-described method embodiments. The aforementioned storage medium includes various media capable of storing program code, such as ROM, RAM, magnetic disks, or optical disks.

[0464] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some or all of the technical features therein. These modifications or replacements do not deviate the essence of the corresponding technical solutions from the scope of the technical solutions of the embodiments of the present application.

Claims

1. A communication method, characterized in that: Applied to a communication device, where the communication device is not within a coverage area included in a list of allowed closed access groups (CAGs), the method includes: receiving a first message, where the first message includes first indication information; updating subscription information of the communication device according to the first indication information, the subscription information including a CAG list allowed by the communication device and a CAG-only indication of the communication device; The first indication information includes at least one of the following information: a CAG information list, wherein the CAG information list includes an allowed CAG list and the CAG-only indication, and the allowed CAG list includes at least one CAG identifier; or, the CAG information list includes an allowed CAG list, and the allowed CAG list includes 0 or 1 or more CAG identifiers; Delete the instruction information of CAG only; There is no indication of CAG indication only; an allowed CAG list, wherein the allowed CAG list includes one or more CAG identifiers; One or more CAG logos; Indication information for adding a CAG identifier, where the indication information for adding a CAG identifier indicates that a new CAG identifier is added to the allowed CAG list of the communication device.

2. The method according to claim 1, characterized in that The first message comes from the first network device, wherein the first message includes at least one of the following messages: paging messages; Radio Resource Control message; or, The first message comes from the second network device, wherein the first message includes at least one of the following messages: Communication equipment configuration update command; Non-access stratum message.

3. The method according to claim 1 or 2, characterized in that The first indication information includes a CAG information list, and updating the subscription information of the communication device according to the first indication information includes: Using the allowed CAG list in the CAG information list as the updated allowed CAG list of the communication device; When the CAG-only indication is included in the CAG information list, the CAG-only indication of the communication device is maintained; otherwise, the CAG-only indication of the communication device is deleted.

4. The method according to claim 1 or 2, characterized in that The first indication information includes indication information for deleting only the CAG indication, and updating subscription information of the communication device according to the first indication information includes: Delete the CAG-only indication of the communication device according to the indication information for deleting the CAG-only indication.

5. The method according to claim 1 or 2, characterized in that The first indication information includes indication information without a CAG-only indication, and updating subscription information of the communication device according to the first indication information includes: The CAG-only indication of the communication device is deleted according to the indication information without the CAG-only indication.

6. The method according to claim 1 or 2, characterized in that If the first indication information includes an allowed CAG list, updating subscription information of the communication device according to the first indication information includes: The allowed CAG list is used as the allowed CAG list after the communication device is updated.

7. A communication method, characterized in that: Applied to a first network device, the method includes: Obtaining a first message, where the first message includes first indication information, where the first indication information is used to indicate updating subscription information of a communication device, where the subscription information includes a CAG list allowed by the communication device and a CAG-only indication of the communication device; sending the first message to the communication device; The first indication information includes at least one of the following information: a CAG information list, wherein the CAG information list includes an allowed CAG list and the CAG-only indication, and the allowed CAG list includes at least one CAG identifier; or, the CAG information list includes an allowed CAG list, and the allowed CAG list includes 0 or 1 or more CAG identifiers; Delete the instruction information of CAG only; There is no indication of CAG indication only; an allowed CAG list, wherein the allowed CAG list includes one or more CAG identifiers; One or more CAG logos; Indication information for adding a CAG identifier, where the indication information for adding a CAG identifier indicates that a new CAG identifier is added to the allowed CAG list of the communication device.

8. The method according to claim 7, characterized in that The first message includes at least one of the following messages: paging messages; Radio resource control message; Communication equipment configuration update command; Non-access stratum message.

9. The method according to claim 7 or 8, characterized in that The first message includes a paging message, and obtaining the first message includes: A paging request message is received from a second network device, and the paging message is determined according to the paging request message.

10. The method according to claim 7 or 8, characterized in that The first message includes a communication device configuration update command, and obtaining the first message includes: Receive the communication device configuration update command from the second network device; or, The first message includes a non-access layer message, and obtaining the first message includes: The non-access stratum message is received from a second network device.

11. A communication method, characterized in that: Applied to the second network device, the method includes: Determine multiple CAG identifiers after the communication device is updated; Sending a paging request message to the first network device, where the paging request message includes one of the multiple CAG identifiers; The communication device is updated based on first indication information, and the first indication information includes at least one of the following information: a CAG information list, wherein the CAG information list includes an allowed CAG list and a CAG indication only, and the allowed CAG list includes at least one CAG identifier; or, the CAG information list includes an allowed CAG list, and the allowed CAG list includes zero, one, or multiple CAG identifiers; Delete the instruction information of CAG only; There is no indication of CAG indication only; an allowed CAG list, wherein the allowed CAG list includes one or more CAG identifiers; One or more CAG logos; Indication information for adding a CAG identifier, where the indication information for adding a CAG identifier indicates that a new CAG identifier is added to the allowed CAG list of the communication device.

12. A communication device, characterized in that: include: a transceiver module, configured to receive a first message, where the first message includes first indication information; a processing module, configured to update subscription information of a communication device according to the first indication information, where the communication device is not within a coverage area included in an allowed closed access group (CAG) list, and the subscription information includes the allowed CAG list of the communication device and a CAG-only indication of the communication device; The first indication information includes at least one of the following information: a CAG information list, wherein the CAG information list includes an allowed CAG list and the CAG-only indication, and the allowed CAG list includes at least one CAG identifier; or, the CAG information list includes an allowed CAG list, and the allowed CAG list includes 0 or 1 or more CAG identifiers; Delete the instruction information of CAG only; There is no indication of CAG indication only; an allowed CAG list, wherein the allowed CAG list includes one or more CAG identifiers; One or more CAG logos; Indication information for adding a CAG identifier, where the indication information for adding a CAG identifier indicates that a new CAG identifier is added to the allowed CAG list of the communication device.

13. The device according to claim 12, characterized in that The first message comes from the first network device, wherein the first message includes at least one of the following messages: paging messages; Radio Resource Control message; or, The first message comes from the second network device, wherein the first message includes at least one of the following messages: Communication equipment configuration update command; Non-access stratum message.

14. The device according to claim 12 or 13, characterized in that The first indication information includes a CAG information list, and the processing module is specifically configured to: Using the allowed CAG list in the CAG information list as the updated allowed CAG list of the communication device; When the CAG-only indication is included in the CAG information list, maintaining the CAG-only indication of the communication device; Otherwise, the CAG-only indication of the communication device is deleted.

15. The device according to claim 12 or 13, characterized in that The first indication information includes indication information for deleting only the CAG indication, and the processing module is specifically configured to: Delete the CAG-only indication of the communication device according to the indication information for deleting the CAG-only indication.

16. The device according to claim 12 or 13, characterized in that The first indication information includes indication information without a CAG-only indication, and the processing module is specifically configured to: The CAG-only indication of the communication device is deleted according to the indication information without the CAG-only indication.

17. The device according to claim 12 or 13, characterized in that The first indication information includes an allowed CAG list, and the processing module is specifically configured to: The allowed CAG list is used as the allowed CAG list after the communication device is updated.

18. A communication device, characterized in that: include: a receiving module, configured to obtain a first message, where the first message includes first indication information, where the first indication information is used to indicate updating subscription information of a communication device, where the subscription information includes a CAG list allowed by the communication device and a CAG-only indication of the communication device; A sending module, configured to send the first message to the communication device; The first indication information includes at least one of the following information: a CAG information list, wherein the CAG information list includes an allowed CAG list and the CAG-only indication, and the allowed CAG list includes at least one CAG identifier; or, the CAG information list includes an allowed CAG list, and the allowed CAG list includes 0 or 1 or more CAG identifiers; Delete the instruction information of CAG only; There is no indication of CAG indication only; an allowed CAG list, wherein the allowed CAG list includes one or more CAG identifiers; One or more CAG logos; Indication information for adding a CAG identifier, where the indication information for adding a CAG identifier indicates that a new CAG identifier is added to the allowed CAG list of the communication device.

19. The device according to claim 18, characterized in that The first message includes at least one of the following messages: paging messages; Radio resource control message; Communication equipment configuration update command; Non-access stratum message.

20. The device according to claim 18 or 19, characterized in that The first message includes a paging message, and the receiving module is specifically configured to: A paging request message is received from a second network device, and the paging message is determined according to the paging request message.

21. The device according to claim 18 or 19, characterized in that The first message includes a communication device configuration update command, and the receiving module is specifically configured to: Receive the communication device configuration update command from the second network device; or, The first message includes a non-access layer message, and the receiving module is specifically configured to: The non-access stratum message is received from a second network device.

22. A communication device, characterized in that: include: A processing module, configured to determine multiple CAG identifiers after the communication device is updated; a transceiver module, configured to send a paging request message to the first network device, wherein the paging request message includes one of the multiple CAG identifiers; The communication device is updated based on first indication information, and the first indication information includes at least one of the following information: a CAG information list, wherein the CAG information list includes an allowed CAG list and a CAG indication only, and the allowed CAG list includes at least one CAG identifier; or, the CAG information list includes an allowed CAG list, and the allowed CAG list includes zero, one, or multiple CAG identifiers; Delete the instruction information of CAG only; There is no indication of CAG indication only; an allowed CAG list, wherein the allowed CAG list includes one or more CAG identifiers; One or more CAG logos; Indication information for adding a CAG identifier, where the indication information for adding a CAG identifier indicates that a new CAG identifier is added to the allowed CAG list of the communication device.

23. A communication device, characterized in that: The device comprises a processor connected to a memory, the memory is used to store a computer program, and the processor is used to execute the computer program stored in the memory, so that the device performs the method according to any one of claims 1 to 6.

24. A network device, characterized in that: The device comprises a processor connected to a memory, the memory is used to store a computer program, and the processor is used to execute the computer program stored in the memory, so that the device performs the method according to any one of claims 7 to 10.

25. A network device, characterized in that: The device comprises a processor connected to a memory, the memory is used to store a computer program, and the processor is used to execute the computer program stored in the memory, so that the device performs the method according to claim 11.

26. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a computer program, and when the computer program is executed, the method according to any one of claims 1 to 11 is implemented.