Mobility measurement method and apparatus
This application provides a mobility measurement method and an apparatus, to help resolve a problem of validity of mobility measurement of a terminal device in a conventional technology. The method includes that a network device sends a message to a terminal device, where the message includes a plurality of sets of measurement configuration information. The method further includes that the terminal device uses one of a plurality of sets of measurement configurations from the network device for mobility measurement based on a current location and/or a current time. According to the method, validity of mobility measurement is improved, and improves the terminal device to obtain a good service.
1 . A mobility measurement method, comprising:
receiving, by a terminal device, a message from a network device, wherein the message comprises a plurality of sets of measurement configuration information, wherein each of the plurality of sets of measurement configuration information comprises frequency information, and the frequency information in each set of measurement configuration information indicates a frequency and a priority corresponding to the frequency;
selecting, by the terminal device, one of the plurality of sets of measurement configuration information for mobility measurement based on at least one of the following:
a current location of the terminal device; or
a current time of the terminal device; and
performing the mobility measurement based on the selected set of measurement configuration information;
wherein each of the plurality of sets of measurement configuration information comprises at least one of the following parameters:
location information; or
time information, wherein
the location information is used to compare with the current location of the terminal device; and
the time information is used to compare with the current time of the terminal device;
wherein the plurality of sets of measurement configuration information comprises one set of general measurement configuration information; and
the method further comprises:
when the location information cannot match the current location of the terminal device or the time information cannot match the current time of the terminal device, performing, by the terminal device, the mobility measurement based on the general measurement configuration information.
2 . The method according to claim 1 , wherein: the location information of the measurement configuration information used for the mobility measurement matches the current location of the terminal device; or the time information of the measurement configuration information used for the mobility measurement matches the current time of the terminal device.
3 . The method according to claim 1 , wherein:
each of the plurality of sets of measurement configuration information further comprises an offset; and
the method further comprises:
correcting, by the terminal device, a mobility measurement result based on the offset.
4 . A network device, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor and configured to store executable instructions for execution by the at least one processor to instruct the at least one processor to:
send a message to a terminal device, wherein the message comprises a plurality of sets of measurement configuration information, and each of the plurality of sets of measurement configuration information comprises frequency information, and the frequency information in each set of measurement configuration information indicates a frequency and a priority corresponding to the frequency, and wherein one of the plurality of sets of measurement configuration information is selected for mobility measurement of the terminal device;
wherein each of the plurality of sets of measurement configuration information comprises at least one of the following parameters:
location information; or
time information, wherein:
the location information is used to compare with the current location of the terminal device; and
the time information is used to compare with the current time of the terminal device;
wherein the plurality of sets of measurement configuration information comprises one set of general measurement configuration information; and
when the location information cannot match the current location of the terminal device or the time information cannot match the current time of the terminal device, performing, by the terminal device, the mobility measurement based on the general measurement configuration information.
5 . The method according to claim 4 , wherein: the location information of the measurement configuration information used for the mobility measurement matches the current location of the terminal device; or the time information of the measurement configuration information used for the mobility measurement matches the current time of the terminal device.
6 . The method according to claim 4 , wherein
each of the plurality of sets of measurement configuration information further comprises an offset, and the offset is used to correct a mobility measurement result of the terminal device.
7 . A mobility measurement apparatus, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor and configured to store executable instructions for execution by the at least one processor to instruct the at least one processor to:
receive a message from a network device, wherein the message comprises a plurality of sets of measurement configuration information, wherein each of the plurality of sets of measurement configuration information comprises frequency information, and the frequency information in each set of measurement configuration information indicates a frequency and a priority corresponding to the frequency;
select one of the plurality of sets of measurement configuration information for mobility measurement based on at least one of the following:
a current location of the apparatus; or
a current time of the apparatus; and
perform the mobility measurement based on the selected set of measurement configuration;
wherein each of the plurality of sets of measurement configuration information comprises at least one of the following parameters;
location information; or time information, wherein:
the location information is used to compare with the current location of the apparatus; and
the time information is used to compare with the current time of the apparatus;
wherein the plurality of sets of measurement configuration information comprises one set of general measurement configuration information; and
the executable instructions further instruct the at least one processor to:
when the location information cannot match the current location of the apparatus or the time information cannot match the current time of the apparatus, performing, by the apparatus, the mobility measurement based on the general measurement configuration information.
8 . The apparatus according to claim 7 , wherein: the location information of the measurement configuration information used for the mobility measurement matches the current location of the apparatus; or the time information of the measurement configuration information used for the mobility measurement matches the current time of the apparatus.
9 . The apparatus according to claim 7 , wherein:
each of the plurality of sets of measurement configuration information further comprises an offset; and
the executable instructions further instruct the at least one processor to:
correct a mobility measurement result based on the offset.
10 . A non-transitory computer-readable storage medium, comprising computer instructions, wherein when the computer instructions are run on an electronic device, the electronic device is enabled to perform the operations of claim 1 .
11 . A non-transitory computer-readable storage medium, comprising computer instructions, wherein when the computer instructions are run on an electronic device, the electronic device is enabled to perform the operations of claim 4 .
12 . A non-transitory computer-readable storage medium, comprising computer instructions, wherein when the computer instructions are run on an electronic device, the electronic device is enabled to perform the operations of claim 7 .