Communication method and apparatus
A communication method and apparatus are provided. One example method includes: receiving a first message from a network device, wherein the first message comprises first indication information, and the first indication information indicates to allow a request to adjust a capability mode of a terminal device to one capability mode in M capability modes; and the one capability mode in the M capability modes corresponds to a group of capability information sets, and M is an integer greater than 0; and determining the M capability modes based on the first message.
1 . A communication method, comprising:
receiving a first message from a network device, wherein the first message comprises first indication information, and the first indication information indicates to allow a request to adjust a capability mode of a terminal device to one capability mode in M capability modes by allowing the terminal device to send a request message that indicates to adjust the capability mode of the terminal device to the one capability mode to the network device, wherein the first message includes the M capability modes; and the one capability mode in the M capability modes corresponds to a group of capability information sets that include a positioning capability of the terminal device, and M is an integer greater than 0; and
determining the M capability modes based on the first message.
2 . The method according to claim 1 , wherein before the receiving a first message from a network device, the method further comprises:
sending a second message to the network device, wherein the second message comprises second indication information; and
the second indication information indicates N capability modes, one capability mode in the N capability modes corresponds to a group of capability information sets, the M capability modes are included in the N capability modes, and N is an integer greater than or equal to M.
3 . The method according to claim 1 , wherein the method further comprises:
sending a third message to the network device, wherein the third message comprises third indication information, the third indication information indicates a first capability mode, and the first capability mode is one capability mode in the M capability modes; and the third message indicates to adjust the capability mode of the terminal device to the first capability mode.
4 . The method according to claim 3 , wherein the third message further comprises fourth indication information, and the fourth indication information indicates an adjustment reason or an adjustment purpose of the first capability mode.
5 . The communication method according to claim 1 , wherein the request message requires feedback that indicates agreeing with content of the request message from the network device.
6 . A communication method, comprising:
determining a first message; and
sending the first message to a terminal device, wherein the first message comprises first indication information, and the first indication information indicates to allow a request to adjust a capability mode of the terminal device to one capability mode in M capability modes by allowing the terminal device to send a request message that indicates to adjust the capability mode of the terminal device to the one capability mode to a network device, wherein the first message includes the M capability modes; and the one capability mode in the M capability modes corresponds to a group of capability information sets that include a positioning capability of the terminal device, and the M capability modes are included in N capability modes, and Mis an integer greater than 0 and less than or equal to N.
7 . The method according to claim 6 , wherein the method further comprises:
receiving a second message from the terminal device, wherein the second message comprises second indication information; and
the second indication information indicates the N capability modes, one capability mode in the N capability modes corresponds to a group of capability information sets.
8 . The method according to claim 6 , wherein the method further comprises:
receiving a third message from the terminal device, wherein the third message comprises third indication information, the third indication information indicates a first capability mode, and the first capability mode is one capability mode in the M capability modes; and the third message indicates to adjust the capability mode of the terminal device to the first capability mode.
9 . The method according to claim 8 , wherein the third message further comprises fourth indication information, and the fourth indication information indicates an adjustment reason or an adjustment purpose of the first capability mode.
10 . The communication method according to claim 6 , wherein a type of the first message is a broadcast message or a multicast message.
11 . An apparatus comprising: one or more processors configured to receive a first message from a network device, wherein the first message comprises first indication information, and the first indication information indicates to allow a request to adjust a capability mode of a terminal device to one capability mode in M capability modes by allowing the terminal device to send a request message that indicates to adjust the capability mode of the terminal device to the one capability mode to the network device, wherein the first message includes the M capability modes; and the one capability mode in the M capability modes corresponds to a group of capability information sets that include a positioning capability of the terminal device, and M is an integer greater than 0; and
determine the M capability modes based on the first message.
12 . The apparatus according to claim 11 , wherein before receiving the first message from the network device, the one or more processors is configured to:
send a second message to the network device, wherein the second message comprises second indication information; and
the second indication information indicates N capability modes, one capability mode in the N capability modes corresponds to a group of capability information sets, the M capability modes are included in the N capability modes, and N is an integer greater than or equal to M.
13 . The apparatus according to claim 11 , wherein the one or more processors is further configured to:
send a third message to the network device, wherein the third message comprises third indication information, the third indication information indicates a first capability mode, and the first capability mode is one capability mode in the M capability modes; and the third message indicates to adjust the capability mode of the terminal device to the first capability mode.
14 . The apparatus according to claim 13 , wherein the third message further comprises fourth indication information, and the fourth indication information indicates an adjustment reason or an adjustment purpose of the first capability mode.
15 . The apparatus according to claim 11 , wherein the request message requires feedback that indicates agreeing with content of the request message from the network device.
16 . An apparatus comprising: one or more processors configured to determine a first message; and
send the first message to a terminal device, wherein the first message comprises first indication information, and the first indication information indicates to allow a request to adjust a capability mode of the terminal device to one capability mode in M capability modes by allowing the terminal device to send a request message that indicates to adjust the capability mode of the terminal device to the one capability mode to a network device, wherein the first message includes the M capability modes; and the one capability mode in the M capability modes corresponds to a group of capability information sets that include a positioning capability of the terminal device, and the M capability modes are included in N capability modes, and M is an integer greater than 0 and less than or equal to N.
17 . The apparatus according to claim 16 , wherein the one or more processors is further configured to:
receive a second message from the terminal device, wherein the second message comprises second indication information; and
the second indication information indicates the N capability modes, one capability mode in the N capability modes corresponds to a group of capability information sets.
18 . The apparatus according to claim 16 , wherein the one or more processors is further configured to:
receive a third message from the terminal device, wherein the third message comprises third indication information, the third indication information indicates a first capability mode, and the first capability mode is one capability mode in the M capability modes; and the third message indicates to adjust the capability mode of the terminal device to the first capability mode.
19 . The apparatus according to claim 18 , wherein the third message further comprises fourth indication information, and the fourth indication information indicates an adjustment reason or an adjustment purpose of the first capability mode.
20 . The apparatus according to claim 16 , wherein a type of the first message is a broadcast message or a multicast message.