(19)
(11)EP 3 703 410 A1

(12)EUROPEAN PATENT APPLICATION
published in accordance with Art. 153(4) EPC

(43)Date of publication:
02.09.2020 Bulletin 2020/36

(21)Application number: 17932651.7

(22)Date of filing:  27.11.2017
(51)International Patent Classification (IPC): 
H04W 24/00(2009.01)
(86)International application number:
PCT/CN2017/113158
(87)International publication number:
WO 2019/100396 (31.05.2019 Gazette  2019/22)
(84)Designated Contracting States:
AL AT BE BG CH CY CZ DE DK EE ES FI FR GB GR HR HU IE IS IT LI LT LU LV MC MK MT NL NO PL PT RO RS SE SI SK SM TR
Designated Extension States:
BA ME
Designated Validation States:
MA MD

(71)Applicant: Huawei Technologies Co., Ltd.
Longgang District Shenzhen, Guangdong 518129 (CN)

(72)Inventor:
  • ZHENG, Delai
    Shenzhen Guangdong 518129 (CN)

(74)Representative: Thun, Clemens 
Mitscherlich PartmbB Patent- und Rechtsanwälte Sonnenstraße 33
80331 München
80331 München (DE)

  


(54)INTER-FREQUENCY CELL MEASUREMENT METHOD, DEVICE, CHIP AND STORAGE MEDIUM


(57) Embodiments of this application provide an inter-frequency cell measurement method, a device, a chip, and a storage medium. The terminal device includes two antennas, one used as a main antenna and the other used as a diversity antenna. The method includes: receiving, by the terminal device, measurement configuration information sent by a network device, where the measurement configuration information is used to instruct the terminal device to measure at least one inter-frequency cell, and in a measurement period for measuring the at least one inter-frequency cell, measurement frequency for measuring the at least one inter-frequency cell by the terminal device is a positive integer greater than or equal to 1 and a measurement gap length for measuring the at least one inter-frequency cell by the terminal device each time is greater than first preset duration; and measuring, by the terminal device, the at least one inter-frequency cell based on the measurement configuration information by using the diversity antenna. With the embodiments of this application, when the terminal device measures the inter-frequency cell, efficiency of data transmission between the terminal device and a serving cell can be improved.




Description

TECHNICAL FIELD



[0001] Embodiments of this application relate to communications technologies, and in particular, to an inter-frequency cell measurement method, a device, a chip, and a storage medium.

BACKGROUND



[0002] In a long term evolution (Long Term Evolution, LTE) communications system, a terminal device in a connected mode may report an A2 event to a network device when signal quality of a serving cell is lower than a preset threshold. After receiving the A2 event sent by the terminal device, the network device may send measurement configuration information to the terminal device, to instruct the terminal device to measure an inter-frequency cell. The inter-frequency cell mentioned herein includes: a neighboring cell (neighboring cell for short) that belongs to a same communications system but does not use a same frequency as the serving cell, a neighboring cell that does not belong to a same communications system as the serving cell, or a neighboring cell not with same center frequency bandwidth as the serving cell.

[0003] In the prior art, when a terminal device equipped with a main antenna and a diversity antenna measures an inter-frequency cell based on measurement configuration information, the terminal device needs to switch the main antenna and the diversity antenna from a frequency of a serving cell to a frequency of the inter-frequency cell. That is, in a process of measuring the inter-frequency cell by the terminal device by using the main antenna and the diversity antenna, no antenna of the terminal device stays at the frequency of the serving cell. As a result, the terminal device cannot perform data transmission with the serving cell, resulting in relatively low data transmission efficiency.

SUMMARY



[0004] This application provides an inter-frequency cell measurement method, a device, a chip, and a storage medium, to improve efficiency of data transmission between a terminal device and a serving cell in a process of measuring an inter-frequency cell by the terminal device.

[0005] According to a first aspect, an inter-frequency cell measurement method is provided, where a terminal device includes two antennas, one as a main antenna and the other as a diversity antenna, and the method includes:

receiving, by the terminal device, measurement configuration information sent by a network device, where the measurement configuration information is used to instruct the terminal device to measure at least one inter-frequency cell, and in a measurement period for measuring the at least one inter-frequency cell, measurement frequency for measuring the at least one inter-frequency cell by the terminal device is a positive integer greater than or equal to 1 and a measurement gap length for measuring the at least one inter-frequency cell by the terminal device each time is greater than first preset duration; and

measuring, by the terminal device, the at least one inter-frequency cell based on the measurement configuration information by using the diversity antenna.



[0006] According to the inter-frequency cell measurement method provided in the first aspect, the terminal device may measure the inter-frequency cell based on the measurement configuration information by using the diversity antenna, while performing data transmission with a serving cell by using the main antenna. With the method, the terminal device can measure the inter-frequency cell without interrupting data transmission of the serving cell, thereby improving efficiency of data transmission between the terminal device and the serving cell.

[0007] In a possible implementation, the measurement configuration information includes: frequency information of the at least one inter-frequency cell, and identification information of a measurement gap pattern; and
the measurement gap pattern is used to indicate the measurement frequency for measuring the at least one inter-frequency cell by the terminal device in the measurement period, and the measurement gap length for measuring the at least one inter-frequency cell by the terminal device.

[0008] According to the inter-frequency cell measurement method provided in this possible implementation, the terminal device may measure the inter-frequency cell by using the diversity antenna and based on the frequency information of the at least one inter-frequency cell and the measurement gap pattern that are included in the measurement configuration information, while performing data transmission with the serving cell by using the main antenna. With the method, the terminal device can measure the inter-frequency cell without interrupting data transmission of the serving cell, thereby improving efficiency of data transmission between the terminal device and the serving cell.

[0009] In a possible implementation, the measurement frequency for measuring the at least one inter-frequency cell by the terminal device in the measurement period is 1.

[0010] According to the inter-frequency cell measurement method provided in this possible implementation, in the measurement period, the terminal device measures at least one inter-frequency cell once by using the measurement gap length, for example, 60 ms. This can implement the measurement on the inter-frequency cell while reducing a probability of antenna switching by the terminal device for inter-frequency cell measurement, thereby ensuring efficiency of data transmission between the terminal device and the serving cell.

[0011] In a possible implementation, the method further includes:
at a first time before measuring the at least one inter-frequency cell each time, sending, by the terminal device, first indication information to the network device, where the first indication information is used to indicate a capability of receiving data by the terminal device by using the main antenna, and an interval between the first time and a corresponding measurement start time is second preset duration.

[0012] According to the inter-frequency cell measurement method provided in this possible implementation, before starting to measure the at least one inter-frequency cell each time, the terminal device reports, to the network device, the first indication information used to indicate the capability of receiving data by the terminal device by using the main antenna, so that when the terminal device measures the at least one inter-frequency cell, the network device may adjust, based on the first indication information, a transmission rate used for transmitting data to the terminal. When the terminal device receives data by using a single antenna, this prevents the network device from sending data to the terminal device by still using a rate used when the two antennas are used to receive data. This reduces a bit error rate when the terminal device receives data by using the main antenna, and further improves data transmission efficiency.

[0013] In a possible implementation, the method further includes:
each time the terminal device measures the at least one inter-frequency cell by using the diversity antenna, receiving, by the terminal device by using the main antenna, data sent by the network device by using a first transmission rate, where the first transmission rate is a transmission rate determined by the network device based on the first indication information.

[0014] According to the inter-frequency cell measurement method provided in this possible implementation, each time the terminal device starts to measure the at least one inter-frequency cell, the terminal device may receive data that is sent by the network device by using a transmission rate adjusted based on the first indication information. When the terminal device receives data by using a single antenna, this prevents the network device from sending data to the terminal device by still using a rate used when the terminal device receives data by using the two antennas. This reduces a bit error rate when the terminal device receives data by using the main antenna, and further improves data transmission efficiency.

[0015] In a possible implementation, the method further includes:
at a second time before finishing measuring the at least one inter-frequency cell each time, sending, by the terminal device, second indication information to the network device, where the second indication information is used to indicate a capability of receiving data by the terminal device by using both the antennas, and an interval between the second time and a corresponding measurement end time is third preset duration.

[0016] According to the inter-frequency cell measurement method provided in this possible implementation, before finishing measuring the at least one inter-frequency cell each time, the terminal device reports, to the network device, the second indication information used to indicate the capability of receiving data by the terminal device by using both the antennas, so that after the terminal device measures the at least one inter-frequency cell, the network device may adjust, based on the second indication information, a transmission rate used for transmitting data to the terminal. When the terminal device receives data by using the two antennas, this prevents the network device from sending data to the terminal device by still using the rate used when the terminal device receives data by using a single antenna. This further improves data transmission efficiency.

[0017] In a possible implementation, the method further includes:
each time the terminal device finishes measuring the at least one inter-frequency cell, receiving, by the terminal device by using the main antenna and the diversity antenna, data sent by the network device by using a second transmission rate, where the second transmission rate is a transmission rate determined by the network device based on the second indication information, and the second transmission rate is greater than the first transmission rate.

[0018] According to the inter-frequency cell measurement method provided in this possible implementation, after measuring the at least one inter-frequency cell each time, the terminal device may receive data that is sent by the network device by using a transmission rate adjusted based on the second indication information. When the terminal device receives data by using the two antennas, this prevents the network device from sending data to the terminal device by still using the rate used when the terminal device receives data by using a single antenna. This improves data transmission efficiency.

[0019] In a possible implementation, after the measuring, by the terminal device, the at least one inter-frequency cell based on the measurement configuration information by using the diversity antenna, the method further includes:
stopping, by the terminal device, measuring the at least one inter-frequency cell when signal quality of all inter-frequency cells is lower than signal quality of a serving cell and the terminal device is currently in a non-moving state.

[0020] According to the inter-frequency cell measurement method provided in this possible implementation, when a network environment remains unchanged, the terminal device may not need to switch the diversity antenna from a frequency of the serving cell to a frequency of the inter-frequency cell in each measurement gap length of the measurement period; instead, the diversity antenna may continuously stay at the frequency of the serving cell and receive data from the serving cell together with the main antenna. This further improves data transmission efficiency.

[0021] In a possible implementation, the method further includes:

obtaining, by the terminal device, a diversity measurement result of the at least one inter-frequency cell;

compensating, by the terminal device, the diversity measurement result of the at least one inter-frequency cell by using a measurement compensation value, to obtain a compensated measurement result of the at least one inter-frequency cell, where the measurement compensation value is a difference between a measurement result obtained by the terminal device by performing measurement by using the main antenna and a measurement result obtained by the terminal device by performing measurement by using the diversity antenna; and

when a compensated measurement result of one or more inter-frequency cells meets a measurement event report condition, sending, by the terminal device, the compensated measurement result of the one or more inter-frequency cells to the network device.



[0022] According to the inter-frequency cell measurement method provided in this possible implementation, when receiving performance of the main antenna is superior to receiving performance of the diversity antenna, the terminal device may compensate, by using the measurement compensation value, the diversity measurement result of the at least one inter-frequency cell that is obtained through measurement by using the diversity antenna. This can improve accuracy of a measurement result obtained by measuring an inter-frequency cell by using the diversity antenna.

[0023] In a possible implementation, the method further includes:

measuring, by the terminal device, the serving cell by using the main antenna and the diversity antenna separately, to obtain a main measurement result of the serving cell and a diversity measurement result of the serving cell; and

determining, by the terminal device, the measurement compensation value based on the main measurement result and the diversity measurement result.



[0024] According to the inter-frequency cell measurement method provided in this possible implementation, the terminal device may determine, based on the main measurement result of the serving cell and the diversity measurement result of the serving cell, the measurement compensation value used for compensating the diversity measurement result of the at least one inter-frequency cell that is obtained through measurement by using the diversity antenna, so that the terminal device may accurately compensate, by using the measurement compensation value, the diversity measurement result of the at least one inter-frequency cell that is obtained through measurement by using the diversity antenna. This further improves accuracy of measuring an inter-frequency cell by using the diversity antenna.

[0025] In a possible implementation, the measuring, by the terminal device, the at least one inter-frequency cell based on the measurement configuration information by using the diversity antenna includes:
measuring, by the terminal device, the at least one inter-frequency cell based on the measurement configuration information by using each of the two antennas as the diversity antenna.

[0026] According to the inter-frequency cell measurement method provided in this possible implementation, the terminal device may measure the at least one inter-frequency cell by using each of the two antennas as the diversity antenna, and use a larger value of two measurement results as a measurement result of the inter-frequency cell, that is, use, as a final measurement result, a measurement result obtained by measuring the at least one inter-frequency cell by using an antenna with better receiving performance. This improves accuracy of a measurement result obtained by measuring an inter-frequency cell by using the diversity antenna.

[0027] In a possible implementation, the method further includes:

obtaining, by the terminal device, a measurement result that is obtained by measuring the at least one inter-frequency cell by using each of the two antennas; and

using, by the terminal device, a larger value of two measurement results as a measurement result of the at least one inter-frequency cell.



[0028] In a possible implementation, before the measuring, by the terminal device, the at least one inter-frequency cell based on the measurement configuration information by using the diversity antenna, the method further includes:

measuring, by the terminal device, the serving cell by using each of the two antennas, to obtain a first measurement result and a second measurement result of the serving cell; and

using, by the terminal device as the diversity antenna, an antenna corresponding to a larger value of the first measurement result and the second measurement result.



[0029] According to the inter-frequency cell measurement method provided in this possible implementation, the terminal device may measure the at least one inter-frequency cell by using an antenna with better receiving performance of the two antennas of the terminal device as the diversity antenna. This improves accuracy of a measurement result obtained by measuring an inter-frequency cell by using the diversity antenna.

[0030] In a possible implementation, a communications system to which the current serving cell of the terminal device belongs is an Mth generation communications system, the at least one inter-frequency cell is one inter-frequency cell, a communications system to which the inter-frequency cell belongs is an Nth generation communications system, and both M and N are positive integers greater than or equal to 1; and
the method further includes:

searching, by the terminal device, for a cell of the Nth generation communications system based on frequency information of a cell of the Nth generation communications system; and

when finding a cell of the Nth generation communications system in preset duration, measuring, by the terminal device, the cell of the Nth generation communications system by using the diversity antenna.



[0031] According to the inter-frequency cell measurement method provided in this possible implementation, when the terminal device camps on a cell of a communications system without an inter-frequency cell measurement process or mechanism, the terminal device may automatically measure an inter-frequency cell based on historically stored frequency information of the inter-frequency cell, and automatically switch to the inter-frequency cell when a switching condition is met. This improves user experience.

[0032] In a possible implementation, the method further includes:
switching, by the terminal device, from the serving cell to the cell of the Nth generation communications system when signal quality of the cell of the Nth generation communications system is higher than the signal quality of the serving cell.

[0033] According to the inter-frequency cell measurement method provided in this possible implementation, after measuring the cell of the Nth generation communications system by using the diversity antenna, the terminal device may switch from the serving cell to the cell of the Nth generation communications system when the signal quality of the cell of the Nth generation communications system is higher than the signal quality of the serving cell. This improves user experience.

[0034] In a possible implementation, the method further includes:
stopping, by the terminal device, searching for a cell of the Nth generation communications system when the terminal device finds no cell of the Nth generation communications system in the preset duration and the terminal device is currently in a non-moving state.

[0035] According to the inter-frequency cell measurement method provided in this possible implementation, when the terminal device finds no cell of the Nth generation communications system in the preset duration and the terminal device is currently in the non-moving state, it indicates that a network environment in which the terminal device is located is not going to change. In this scenario, the terminal device may temporarily stop searching for a cell of the Nth generation communications system, to reduce power consumption of the terminal device.

[0036] According to a second aspect, a terminal device is provided, where the terminal device includes two antennas, one antenna is used as a main antenna, and the other antenna is used as a diversity antenna. The terminal device is configured with a function for implementing the method performed by the terminal device in the first aspect, and is implemented by hardware/software. The hardware/software includes a unit corresponding to the function.

[0037] According to a third aspect, a terminal device is provided, where the terminal device includes two antennas, one antenna is used as a main antenna, and the other antenna is used as a diversity antenna. The terminal device further includes: a receiver, configured to receive measurement configuration information sent by a network device, and send the measurement configuration information to a processor; and the processor, configured to measure the at least one inter-frequency cell based on the measurement configuration information by using the diversity antenna.

[0038] In a possible implementation, the terminal device further includes a transmitter, configured to send indication information to the network device.

[0039] For a detailed implementation and a beneficial effect of the terminal device provided in the third aspect and the possible implementation of the third aspect, refer to the first aspect and the possible implementations of the first aspect, and a beneficial effect brought by the implementations. Details are not described herein again.

[0040] According to a fourth aspect, a terminal device is provided, where the terminal device includes a processor, a memory, a receiver, and a transmitter, where both the receiver and the transmitter are coupled to the processor, the processor controls a receiving action of the receiver, and the processor controls a sending action of the transmitter; and
the memory is configured to store computer executable program code, the program code includes an instruction, and when the processor executes the instruction, the instruction enables the terminal device to perform the inter-frequency cell measurement method provided in the first aspect and the possible implementations of the first aspect.

[0041] According to a fifth aspect, a chip is provided, where the chip includes a module or a unit configured to perform the inter-frequency cell measurement method provided in the first aspect and the possible implementations of the first aspect.

[0042] According to a sixth aspect, a terminal device is provided, where the terminal device includes at least one processing element (or chip) configured to perform the method in the first aspect.

[0043] According to a seventh aspect, a program is provided, where when being executed by a processor, the program is used to perform the inter-frequency cell measurement method provided in the first aspect and the possible implementations of the first aspect.

[0044] According to an eighth aspect, a program product is provided, for example, a computer readable storage medium, including the program in the seventh aspect.

[0045] According to a ninth aspect, a computer readable storage medium is provided, where the computer readable storage medium stores an instruction, and when the instruction is run on a computer, the computer is enabled to perform the inter-frequency cell measurement method provided in the first aspect and the possible implementations of the first aspect.

[0046] According to the inter-frequency cell measurement method, the device, the chip, and the storage medium provided in the embodiments of this application, the terminal device may measure the inter-frequency cell based on the measurement configuration information by using the diversity antenna, while performing data transmission with the serving cell by using the main antenna. With the method, the terminal device can measure the inter-frequency cell without interrupting data transmission of the serving cell, thereby improving efficiency of data transmission between the terminal device and the serving cell.

BRIEF DESCRIPTION OF DRAWINGS



[0047] 

FIG. 1 is a framework diagram of a communications system according to an embodiment of this application;

FIG. 2 is a schematic structural diagram of a transceiver of a terminal device in the prior art;

FIG. 3 is a schematic diagram of a measurement period in the prior art;

FIG. 4 is a signaling flowchart of an inter-frequency cell measurement method according to an embodiment of this application;

FIG. 5 is a schematic structural diagram of a transceiver of a terminal device according to an embodiment of this application;

FIG. 6 is a schematic diagram of a measurement period according to an embodiment of this application;

FIG. 7 is a signaling flowchart of another inter-frequency cell measurement method according to an embodiment of this application;

FIG. 8 is a signaling flowchart of still another inter-frequency cell measurement method according to an embodiment of this application;

FIG. 9 is a schematic structural diagram of a transceiver of another terminal device according to an embodiment of this application;

FIG. 10 is a schematic diagram of another measurement period according to an embodiment of this application;

FIG. 11 is a schematic flowchart of still another inter-frequency cell measurement method according to an embodiment of this application;

FIG. 12 is a schematic flowchart of still another inter-frequency cell measurement method according to an embodiment of this application;

FIG. 13 is a schematic structural diagram of a terminal device according to an embodiment of this application;

FIG. 14 is a schematic structural diagram of an apparatus according to this application; and

FIG. 15 is a schematic structural diagram of another terminal device according to an embodiment of this application.


DESCRIPTION OF EMBODIMENTS



[0048] FIG. 1 is a framework diagram of a communications system according to an embodiment of this application. As shown in FIG. 1, the communications system includes a network device 01 and a terminal device 02. The network device mentioned herein is a network device to which a serving cell of the terminal device belongs.

[0049] The network device may be the foregoing base station or various wireless access points, or may be a device, in an access network, that communicates with a terminal device on an air interface through one or more sectors. The base station may be configured to mutually convert a received over-the-air frame and an IP packet and serve as a router between a wireless terminal and a rest portion of the access network, where the rest portion of the access network may include an Internet protocol (IP) network. The base station may coordinate attribute management of the air interface. For example, the base station may be a base transceiver station (base transceiver station, BTS) in a global system for mobile communications (global system of mobile communication, GSM) or code division multiple access (code division multiple access, CDMA), or may be a NodeB (NodeB, NB) in wideband code division multiple access (wideband code division multiple access, WCDMA), or may be an evolved NodeB (evolutional node B, eNB or eNodeB) in long term evolution (long term evolution, LTE), a relay station, an access point, a gNB gNB in a future 5G network, or the like. This is not limited herein.

[0050] The terminal device may be a wireless terminal or a wired terminal. The wireless terminal may be a device that provides a user with voice and/or other service data connectivity, a handheld device with a radio connection function, or another processing device connected to a radio modem. The wireless terminal may communicate with one or more core networks through a radio access network (radio access network, RAN). The wireless terminal may be a mobile terminal, such as a mobile phone (also referred to as a "cellular" phone) and a computer with a mobile terminal, for example, may be a portable, pocket-sized, handheld, computer built-in, or vehicle-mounted mobile apparatus, which exchanges voice and/or data with the radio access network. For example, it may be a device such as a personal communication service (personal communication service, PCS) phone, a cordless telephone set, a session initiation protocol (session initiation protocol, SIP) phone, a wireless local loop (wireless local loop, WLL) station, or a personal digital assistant (personal digital assistant, PDA). The wireless terminal may also be referred to as a system, a subscriber unit (subscriber unit), a subscriber station (subscriber station), a mobile station (mobile station), a mobile (mobile), a remote station (remote station), a remote terminal (remote terminal), an access terminal (access terminal), a user terminal (user terminal), a user agent (user agent), a user device (user device or user equipment), or a sensor with a network access function. This is not limited herein.

[0051] It should be noted that the communications system may be an LTE communications system, or may be another future communications system, for example, a 5G communications system. This is not limited herein.

[0052] The LTE communications system is used as an example. In an LTE communications system, a terminal device may report a plurality of types of measurement events to a network device (that is, a network device to which a serving cell on which the terminal device camps belongs), for example, events A1 to A5, and events Bland B2. Details are as follows.

[0053] The A1 event indicates that signal quality of the serving cell is higher than a preset threshold. When the terminal device reports this event to the network device, the network device may instruct the terminal device to stop measuring an inter-frequency cell. That is, the A1 event is an event used to stop the terminal device from measuring an inter-frequency cell.

[0054] The inter-frequency cell mentioned herein includes: a neighboring cell (neighboring cell for short) that belongs to a same communications system but does not use a same frequency as the serving cell, a neighboring cell that does not belong to a same communications system as the serving cell, or a neighboring cell not with a same center frequency bandwidth as the serving cell.

[0055] The A2 event indicates that the signal quality of the serving cell is lower than the preset threshold. When the terminal device reports this event to the network device, the network device may instruct the terminal device to measure an inter-frequency cell. That is, the A2 event is an event used to trigger the terminal device to measure an inter-frequency cell.

[0056] The A3 event indicates that signal quality of an intra-system neighboring cell is higher than the signal quality of the serving cell. When the terminal device reports this event to the network device, the network device may instruct the terminal device to switch cells. This event is mainly used for switching based on cell coverage. That is, the A3 event is a measurement event used to trigger intra-system cell switching.

[0057] The intra-system neighboring cell mentioned herein is: a neighboring cell that belongs to a same communications system and uses a same frequency as the serving cell, or a neighboring cell that belongs to a same communications system but does not use a same frequency (namely, an inter-frequency cell) as the serving cell.

[0058] The A4 event indicates that signal quality of an intra-system neighboring cell is higher than the preset threshold. When the terminal device reports this event to the network device, the network device may instruct the terminal device to switch cells. This event is mainly used for switching based on load balancing. That is, the A4 event is also a measurement event used to trigger intra-system cell switching.

[0059] The A5 event indicates that the signal quality of the serving cell is lower than the preset threshold, and signal quality of an intra-system neighboring cell is higher than the preset threshold. When the terminal device reports this event to the network device, the network device may instruct the terminal device to switch cells. This event may be used for switching based on load balancing. That is, the A5 event is also a measurement event used to trigger intra-system cell switching.

[0060] The B1 event indicates that signal quality of a high-priority inter-system neighboring cell is higher than the preset threshold. When the terminal device reports this event to the network device, the network device may instruct the terminal device to switch cells. That is, the B 1 event is a measurement event used to trigger inter-system cell switching.

[0061] The inter-system neighboring cell mentioned herein is a neighboring cell that belongs to a communications system different from the communications system to which the serving cell belongs (namely, an inter-frequency cell).

[0062] The B2 event indicates that signal quality of an inter-system neighboring cell with a same or lower priority is higher than the preset threshold, and the signal quality of the serving cell is lower than the preset threshold. When the terminal device reports this event to the network device, the network device may instruct the terminal device to switch cells. That is, the B2 event is also a measurement event used to trigger inter-system cell switching.

[0063] In the LTE communications system, a terminal device in a connected mode may report an A2 event to the network device when the signal quality of the serving cell is lower than the preset threshold. Then, after receiving the A2 event, the network device may send measurement configuration information to the terminal device by using, for example, radio resource control (radio resource control, RRC) signaling, to instruct the terminal device to measure an inter-frequency cell, in other words, trigger the terminal device to measure the inter-frequency cell. The measurement configuration information may carry frequency information of the inter-frequency cell.

[0064] Currently, a terminal device may include a plurality of antennas (for example, two antennas or four antennas). Some of the plurality of antennas may be used as main antennas of the terminal device, and the rest antennas may be used as diversity antennas of the terminal device. A main antenna has sending and receiving capabilities, that is, the main antenna may receive data, and may also send data. A diversity antenna has only a receiving capability, that is, the diversity antenna can only receive data. The following describes an existing inter-frequency cell measurement manner by using a terminal device including two antennas as an example. One antenna is a main antenna, and the other antenna is a diversity antenna.

[0065] In the prior art, when the terminal device measures an inter-frequency cell based on measurement configuration information, the terminal device needs to switch both the main antenna and the diversity antenna to a frequency of the inter-frequency cell, and measure the inter-frequency cell based on a preset measurement period, measurement gap, and measurement gap repetition period. The measurement period mentioned herein is a period for periodically measuring an inter-frequency cell by the terminal device. The measurement gap is duration for measuring an inter-frequency cell once by the terminal device in the measurement period. The measurement gap repetition period is a quantity of times for repeatedly measuring an inter-frequency cell by the terminal device in the measurement period. In a specific implementation, the terminal device may measure reference signal received quality (reference signal receiving quality, RSRQ) or reference signal received power (reference signal receiving power, RSRP) of an inter-frequency cell. This may be specifically determined based on measurement configuration information of a network device. For how the terminal device measures RSRQ or RSRP of an inter-frequency cell, refer to the prior art. Details are not described herein.

[0066] Currently, a measurement period, a measurement gap, and a measurement gap repetition period that are defined in an existing 3rd generation partnership project (3rd generation partnership project, 3GPP) protocol may be shown in Table 1 below:
Table 1
IndexMeasurement periodMeasurement gap (Gap) length (ms)Gap repetition period (ms)
0 480 milliseconds (ms) 6 40
1 480 ms 6 80


[0067] FIG. 2 is a schematic structural diagram of a transceiver of a terminal device in the prior art. As shown in FIG. 2, the transceiver of the terminal device includes a main antenna, a diversity antenna, a front-end processing unit, a radio frequency integrated circuit port, a radio frequency integrated circuit receiving channel, and a baseband processing unit.

[0068] The front-end processing unit is configured to control a frequency on which the main antenna and the diversity antenna camp.

[0069] The radio frequency integrated circuit port includes a main channel (configured to send, to a corresponding receiving channel, a signal received by the main antenna; or send, to the main antenna, a signal sent from a corresponding receiving channel) connected to the main antenna, and a diversity channel (configured to send, to a corresponding receiving channel, a signal received by the diversity antenna) connected to the diversity antenna. A quantity of radio frequency integrated circuit ports is in a one-to-one correspondence with a quantity of carriers used by a serving cell. For example, when the quantity of carriers is 4, the quantity of radio frequency integrated circuit ports may be 4.

[0070] The radio frequency integrated circuit receiving channel includes a plurality of receiving channels, and is configured to combine signals of a same carrier that are received by the main channel and the diversity channel. A quantity of radio frequency integrated circuit receiving channels is in a one-to-one correspondence with the quantity of carriers used by the serving cell. For example, when the quantity of carriers is 4, there may be four radio frequency integrated circuit receiving channels.

[0071] The baseband processing unit is configured to process, for example, demodulate, decode, or measure, a signal sent from a receiving channel.

[0072] A person skilled in the part may understand that the transceiver of the terminal device shown in FIG. 2 is merely an example, and in a specific implementation, the transceiver may further include some other units and modules, for example, an analog-to-digital conversion unit. This is not described in detail herein.

[0073] FIG. 3 is a schematic diagram of a measurement period in the prior art. As shown in FIG. 2 and FIG. 3, it is assumed that Bx is a frequency at which a primary component carrier (Component Carrier, cc) of a serving cell is located, Bm is a frequency of a to-be-measured inter-frequency cell, and Bz is a frequency at which a secondary cc of the serving cell is located. An index 0 is used as an example. When a measurement period, a measurement gap, and a measurement gap repetition period that are corresponding to the index 0 are used to measure the inter-frequency cell, in a measurement period of 480 ms, the front-end processing unit of the transceiver of the terminal device switches the main antenna and the diversity antenna from the frequencies (Bx and Bz) of the serving cell to the frequency (Bm) of the inter-frequency cell for 6 ms in every 40 ms, so that the baseband processing unit may measure the inter-frequency cell based on signals of the inter-frequency cell that are received by the main antenna and the diversity antenna. However, in other time in the 40 ms, the front-end processing unit of the transceiver of the terminal device makes the main antenna and the diversity antenna camp on the frequencies (Bx and Bz) of the serving cell, to receive data sent by the serving cell, or send data to the serving cell by using the main antenna. A person skilled in the art may understand that FIG. 2 shows the schematic diagram of the transceiver in an example in which the serving cell includes two cc-s, and in a specific implementation, a frequency on which the transceiver camps may be adjusted based on a quantity of cc-s included in the serving cell. In addition, in the figure, a path indicated by a solid line is a currently connected path, and a path indicated by a dashed line is a currently non-connected path. Meanings indicated by a solid line and a dashed line in subsequent diagrams of transceivers are similar and are therefore not described again.

[0074] To sum up, in a process of measuring the inter-frequency cell by the terminal device by using the main antenna and the diversity antenna, the terminal device cannot receive, by using the main antenna and the diversity antenna, data sent by the serving cell, and cannot send data to the serving cell by using the main antenna either, so that data transmission efficiency is relatively low.

[0075] Considering the foregoing problem, an embodiment of this application provides an inter-frequency cell measurement method, so that a terminal device may measure an inter-frequency cell by using a diversity antenna, while receiving data from or sending data to a serving cell by using a main antenna. That is, the inter-frequency cell is measured without data transmission of the serving cell interrupted, thereby improving data transmission efficiency. It may be understood that the inter-frequency cell measurement method provided in this embodiment of this application includes but is not limited to the foregoing application scenario. The inter-frequency cell measurement method provided in this embodiment of this application may be applied to any scenario in which a terminal device including at least two antennas measures an inter-frequency cell. These are not listed one by one herein.

[0076] The following describes the technical solutions in this application in detail by using some embodiments. The following several embodiments may be combined with each other, and a same or similar concept or process may not be described repeatedly in some embodiments.

[0077] FIG. 4 is a signaling flowchart of an inter-frequency cell measurement method according to an embodiment of this application. In this embodiment, a terminal device may measure an inter-frequency cell by using a diversity antenna, while receiving data from or sending data to a serving cell by using a main antenna. As shown in FIG. 4, the method may include the following steps:

S101. A network device sends measurement configuration information to the terminal device.

S102. The terminal device receives the measurement configuration information.

S103. The terminal device measures at least one inter-frequency cell based on the measurement configuration information by using the diversity antenna.



[0078] Specifically, when the network device receives an A2 event (that is, an event indicating that signal quality of the serving cell is lower than a preset threshold) reported by the terminal device, the network device may send the measurement configuration information to the terminal device, to instruct the terminal device to measure the at least one inter-frequency cell, that is, trigger the terminal device to measure the at least one inter-frequency cell. In a specific implementation, the network device may send the measurement configuration information to the terminal device by using existing RRC signaling, or may send the measurement configuration information to the terminal device by using other signaling, for example, physical layer signaling or media access control (Media Access Control, MAC) signaling. This is not limited herein.

[0079] Optionally, the measurement configuration information may include frequency information of the at least one inter-frequency cell. The network device may instruct, by sending the frequency information of the at least one inter-frequency cell, the terminal device to measure the at least one inter-frequency cell. In this scenario, a measurement period, measurement frequency, and a gap length that are used for measuring the at least one inter-frequency cell may be preset on the terminal device. The measurement frequency is used to indicate how many gaps may be used by the terminal device to measure the at least one inter-frequency cell in one measurement period. It should be noted that locations of a plurality of gaps in the measurement period, and interval duration between any two adjacent gaps are not limited in this embodiment of this application. For example, the plurality of gaps may be evenly distributed in the measurement period, or may be randomly distributed in the measurement period.

[0080] Optionally, the measurement configuration information may include frequency information of the at least one inter-frequency cell, and identification information of a gap pattern (Pattern). The network device may instruct, by sending the measurement configuration information, the terminal device to measure the at least one inter-frequency cell. The identification information of the gap pattern may be, for example, an index of the gap pattern. The gap pattern may be used to indicate one or more of the measurement period, the measurement frequency, and the gap length that are used for measuring the at least one inter-frequency cell. If one of the measurement period, the measurement frequency, and the gap length is not indicated by the gap pattern, this content may be preset on the terminal device. An example in which the gap pattern indicates the measurement frequency and the gap length is used. In this example, the measurement period and a plurality of gap patterns may be preset on the terminal device, and each gap pattern is corresponding to one measurement frequency and one gap length. In this scenario, the plurality of gap patterns are corresponding to the same measurement period.

[0081] In this embodiment, the measurement frequency is a positive integer greater than or equal to 1, and the gap length is greater than first preset duration. The first preset duration may be specifically determined based on a system configuration. For example, the first preset duration may be 6 ms, 8 ms, or 10 ms.

[0082] Currently, an existing 3GPP protocol stipulates that an inter-frequency cell needs to be measured for at least 60 ms in each measurement period. 60 ms is used as an example. Assuming that the first preset duration is 6 ms, the measurement period, the measurement frequency, and the gap length may include, for example, several combinations shown in Table 2 below:
Table 2
IndexMeasurement periodGap length (ms)Measurement frequency
0 480 ms 60 1
1 480 ms 30 2
2 480 ms 20 3


[0083] The measurement period, the gap, and the measurement frequency shown in Table 2 can not only meet the requirement of the 3GPP protocol for inter-frequency cell measurement duration, but also reduce frequency for switching the diversity antenna of the terminal device from frequencies (Bx and Bz) of the serving cell to a frequency (Bm) of an inter-frequency cell, thereby reducing power consumption of the terminal device.

[0084] It may be understood that Table 2 is merely an example, and the measurement period, the gap length, and the measurement frequency mentioned in this embodiment of this application are not limited thereto. In addition, in a future communications system, the aforementioned measurement period, gap length, and measurement frequency may be still referred to as the foregoing terms, or may be referred to as other terms. Therefore, names of the measurement period, the gap length, and the measurement frequency in various communications systems are not limited in this embodiment of this application.

[0085] In this embodiment, after receiving the measurement configuration information sent by the network device, the terminal device may measure the at least one inter-frequency cell based on the measurement configuration information by using the diversity antenna, when receiving data sent by or sending data to the serving cell by using the main antenna. Optionally, in each measurement period, the terminal device may measure RSRQ or RSRP of the at least one inter-frequency cell in each gap based on the measurement frequency. The RSRQ or the RSRP is a measurement result of the at least one inter-frequency cell. This may be specifically determined based on a configuration of the network device. According to the foregoing manner, the terminal device can measure the inter-frequency cell without interrupting data transmission of the serving cell, thereby improving data transmission efficiency.

[0086] FIG. 5 is a schematic structural diagram of a transceiver of a terminal device according to an embodiment of this application. FIG. 6 is a schematic diagram of a measurement period according to an embodiment of this application. As shown in FIG. 5 and FIG. 6, it is assumed that Bx is a frequency at which a primary cc of a serving cell is located, Bm is a frequency of a to-be-measured inter-frequency cell, and Bz is a frequency at which a secondary cc of the serving cell is located. The index 0 shown in Table 2 is used as an example. When a measurement period, a gap, and measurement frequency that are corresponding to the index 0 are used to measure an inter-frequency cell, in a measurement period of 480 ms, a front-end processing unit of the transceiver of the terminal device switches a diversity antenna from the frequencies (Bx and Bz) of the serving cell to the frequency (Bm) of the inter-frequency cell only during a gap of 60 ms, so that the terminal device may measure the inter-frequency cell by using the diversity antenna (for example, a baseband processing unit may measure the inter-frequency cell based on signals of the inter-frequency cell that are received by a main antenna and the diversity antenna). During the gap of 60 ms, the front-end processing unit of the transceiver of the terminal device keeps the main antenna camping at the frequencies (Bx and Bz) of the serving cell, so that the terminal device may still use the main antenna and the diversity antenna for data transmission. However, in other time in the 480 ms, the front-end processing unit of the transceiver of the terminal device may make the main antenna and the diversity antenna camp on the frequencies (Bx and Bz) of the serving cell, to receive data sent by the serving cell, or send data to the serving cell by using the main antenna.

[0087] According to this manner, the terminal device can measure the inter-frequency cell without interrupting data transmission of the serving cell, thereby improving data transmission efficiency. In addition, when measuring the inter-frequency cell by using the measurement period, the gap, and the measurement frequency that are corresponding to the index 0, the terminal device can measure the at least one inter-frequency cell while reducing a probability of antenna switching by the terminal device for inter-frequency cell measurement, thereby ensuring efficiency of data transmission between the terminal device and the serving cell.

[0088] As mentioned above, when signal quality of the serving cell is lower than a preset threshold, the terminal device may report an A2 event to a network device, so that the network device triggers the terminal device to measure the at least one inter-frequency cell. In a measurement process, when a report condition of any one of the foregoing events A3 to A5 and B 1 to B2 is met, the terminal device may report the event to the network device, to trigger cell switching. Alternatively, when a report condition of the A1 event is met, the terminal device may report the event to the network device, so that the network device triggers the terminal device to stop measuring the at least one inter-frequency cell. Due to network coverage reasons, for example, an indoor signal in a building in which the terminal device is located is relatively weak, signal quality of a neighboring cell may be lower than the signal quality of the serving cell, and the signal quality of the serving cell may be lower than the preset threshold, that is, the signal quality of the serving cell is best. In this case, if the terminal device is in a non-moving state, indicating that a network environment in which the terminal device is located is not going to change, even if the terminal device periodically measures the at least one inter-frequency cell based on the measurement period, the gap, and the measurement frequency, no measurement result meeting the report condition of any one of the events A3 to A5 and B1 to B2 is obtained. Therefore, the terminal device may stop measuring the at least one inter-frequency cell when signal quality of all inter-frequency cells is lower than the signal quality of the serving cell and the terminal device is currently in the non-moving state.

[0089] According to this manner, the terminal device may not need to switch the diversity antenna from the frequencies of the serving cell to the frequency of the inter-frequency cell during each gap; instead, the diversity antenna may continuously stay at the frequencies of the serving cell and receive data from the serving cell together with the main antenna. This further improves data transmission efficiency.

[0090] In a specific implementation, the terminal device may determine, based on a measurement result of each inter-frequency cell and a measurement result of the serving cell, whether the signal quality of all the inter-frequency cells is lower than the signal quality of the serving cell. For example, when a measurement result RSRP of an inter-frequency cell is less than a measurement result RSRP of the serving cell, it is determined that signal quality of the inter-frequency cell is lower than the signal quality of the serving cell. Alternatively, the terminal device may determine, based on a historically stored optimal-frequency cell, whether the serving cell is the optimal-frequency cell, and when the serving cell is the optimal-frequency cell, further determine whether the signal quality of all the inter-frequency cells is lower than the signal quality of the serving cell. Correspondingly, the terminal device may determine, based on data of a sensor (for example, an acceleration sensor) of the terminal device, whether the terminal device is currently in a moving state; or the terminal device may determine, based on data of a counter of the terminal device, whether the terminal device is currently in a moving state; or the like. This is not described in detail.

[0091] According to the inter-frequency cell measurement method provided in this embodiment of this application, the terminal device may measure the inter-frequency cell based on the measurement configuration information by using the diversity antenna, while performing data transmission with the serving cell by using the main antenna. With the method, the terminal device can measure the inter-frequency cell without interrupting data transmission of the serving cell, thereby improving efficiency of data transmission between the terminal device and the serving cell.

[0092] FIG. 7 is a signaling flowchart of another inter-frequency cell measurement method according to an embodiment of this application. Based on the foregoing embodiment, at a first time before each gap in the measurement period, the terminal device may further send, to the network device, first indication information used to indicate a capability of receiving data by the terminal device by using the main antenna, so that the network device may adjust a transmission rate based on a receiving capability of an antenna used by the terminal device. As shown in FIG. 7, in a process of performing step S103 by the terminal device, the method may further include the following steps:

S201. The terminal device sends the first indication information to the network device at the first time before measuring the at least one inter-frequency cell.

S202. The network device receives the first indication information.

S203. When the terminal device measures the at least one inter-frequency cell by using the diversity antenna, the network device sends data to the terminal device by using a first transmission rate.

S204. When measuring the at least one inter-frequency cell by using the diversity antenna, the terminal device receives the data by using the main antenna.

S205. The terminal device sends second indication information to the network device at a second time before finishing measuring the at least one inter-frequency cell.

S206. The network device receives the second indication information.

S207. After the terminal device finishes measuring the at least one inter-frequency cell, the network device sends data to the terminal device by using a second transmission rate.

S208. After finishing measuring the at least one inter-frequency cell, the terminal device receives the data by using the main antenna and the diversity antenna.



[0093] Still referring to FIG. 6, in this embodiment, the terminal device may send the first indication information to the network device at the first time before measuring the at least one inter-frequency cell (that is, before a gap starts). The first indication information is used to indicate the capability of receiving data by the terminal device by using the main antenna. If the network device sends data to the terminal device during the gap, the network device may adjust, during the gap (that is, when the terminal device measures the at least one inter-frequency cell by using the diversity antenna) and based on the first indication information sent at the first time before the gap, a transmission rate to the first transmission rate that matches the capability of receiving data by the terminal device by using the main antenna. A rate for receiving data by the terminal device by using both the main antenna and the diversity antenna is greater than a rate for receiving data by using only the main antenna. Therefore, according to the foregoing manner, the network device may adjust a transmission rate based on a receiving capability of an antenna used by the terminal device. When the terminal device receives data by using only the main antenna, this prevents the network device from sending data by still using a relatively high transmission rate, so as to reduce a bit error rate of data transmission and further improve data transmission efficiency. An interval between the first time and a corresponding measurement start time (that is, a start time of the gap) is second preset duration. The second preset duration may be specifically determined based on a configuration of the network device. For example, the second preset duration may be TA duration.

[0094] In this scenario, the terminal device may send the second indication information to the network device at the second time before finishing measuring the at least one inter-frequency cell (that is, before the gap ends). The second indication information may be used to indicate a capability of receiving data by the terminal device by using both the antennas. In this way, after the terminal device finishes measuring the at least one inter-frequency cell (that is, after the gap ends), the network device may adjust, based on the second indication information, a transmission rate to the second transmission rate that matches the capability of receiving data by the terminal device by using both the main antenna and the diversity antenna. The second transmission rate is greater than the first transmission rate. According to the foregoing manner, the network device may adjust a transmission rate based on a receiving capability of an antenna used by the terminal device, thereby further improving data transmission efficiency. An interval between the second time and a corresponding measurement end time (that is, an end time of the gap) is third preset duration. The third preset duration may be specifically determined based on a configuration of the network device. For example, the third preset duration may be TA duration.

[0095] Optionally, a measurement result obtained by the terminal device by measuring a frequency of the serving cell by using the main antenna may indicate the capability of receiving data by the terminal device by using the main antenna. Therefore, the first indication information may carry the measurement result obtained by the terminal device by measuring the frequency of the serving cell by using the main antenna, to indicate the capability of receiving data by the terminal device by using the main antenna. For details about a measurement result used to indicate a capability of receiving data by using a main antenna in each communications system, refer to the prior art. This is not described in detail. Using an LTE communications system as an example, the measurement result obtained by the terminal device by measuring the frequency of the serving cell by using the main antenna may include one or more of the following: a channel quality indicator (channel quality indicator, CQI), a precoding matrix indicator (precoding matrix indicator, PMI), and a rank indicator (rank indicator, RI). If the terminal device performs data transmission with the network device through carrier aggregation (carrier aggregation, CA), the first indication information may include a measurement result obtained by the terminal device by measuring each cc by using the main antenna.

[0096] Optionally, an identifier used to indicate the capability of receiving data by the terminal device by using the main antenna may be preset on the terminal device and the network device. Therefore, the terminal device may alternatively send first indication information carrying the identifier, to indicate the capability of receiving data by the terminal device by using the main antenna.

[0097] The capability of receiving data by the terminal device by using the main antenna may be preset on the terminal device; or may be obtained by the terminal device by measuring the capability of receiving data by the terminal device by using the main antenna; or may be obtained by the terminal device by measuring, before the gap, the capability of receiving data by the terminal device by using the main antenna. For how the terminal device measures the capability of receiving data by the terminal device by using the main antenna, refer to the prior art. This is not described in detail.

[0098] Optionally, the second indication information may carry a measurement result obtained by the terminal device by measuring the frequency of the serving cell by using the two antennas, to indicate the capability of receiving data by the terminal device by using both the antennas. Optionally, an identifier used to indicate the capability of receiving data by the terminal device by using both the antennas may be preset on the terminal device and the network device. Therefore, the terminal device may alternatively send second indication information carrying the identifier, to indicate the capability of receiving data by the terminal device by using both the antennas. The capability of receiving data by the terminal device by using both the antennas may be preset on the terminal device; or may be obtained by the terminal device by measuring, before the terminal device measures the at least one inter-frequency cell by using the diversity antenna, the capability of receiving data by the terminal device by using both the antennas. For how the terminal device measures the capability of receiving data by the terminal device by using both the antennas, refer to the prior art. This is not described in detail.

[0099] Although the foregoing embodiment describes the foregoing process by using a gap in the measurement period as an example, a person skilled in the art may understand that the terminal device may perform the foregoing process for each gap. An implementation principle and a technical effect thereof are similar. This is not described in detail.

[0100] According to the inter-frequency cell measurement method provided in this embodiment of this application, the network device may adjust, based on indication information that is reported by the terminal device and that is used to indicate a receiving capability of an antenna currently used by the terminal device, a transmission rate used for transmitting data to the terminal, thereby further improving data transmission efficiency.

[0101] Due to an influence of a location of the terminal device or a manner of using the terminal device by a user holding the terminal device (for example, due to a cause that a location of an antenna is blocked by a building, or an antenna is blocked by the user holding the terminal device), there is a deviation in measurement results obtained by the terminal device by measuring a same cell by using the two antennas separately, that is, there is a deviation in receiving performance of the two antennas. To be specific, when the terminal device measures a same cell, a measurement result obtained by the terminal device by measuring the cell by using an antenna with better receiving performance is greater than a measurement result obtained by the terminal device by measuring the cell by using an antenna with poorer receiving performance, so that accuracy of a measurement result is relatively low when the terminal device measures an inter-frequency cell by using the antenna with poorer receiving performance. Therefore, when the terminal device measures the at least one inter-frequency cell by using the diversity antenna, the following manners may be used to improve accuracy of an inter-frequency cell measurement result. Details are as follows:

[0102] First manner: After measuring the at least one inter-frequency cell by using the diversity antenna, the terminal device compensates, by using a measurement compensation value, a diversity measurement result of the at least one inter-frequency cell that is obtained through measurement by using the diversity antenna. Details are as follows.

[0103] FIG. 8 is a signaling flowchart of still another inter-frequency cell measurement method according to an embodiment of this application. As shown in FIG. 8, after step S103, the method includes the following steps:

S301. The terminal device obtains a diversity measurement result of the at least one inter-frequency cell.

S302. The terminal device compensates the diversity measurement result of the at least one inter-frequency cell by using the measurement compensation value, to obtain a compensated measurement result of the at least one inter-frequency cell.

S303. When a compensated measurement result of one or more inter-frequency cells meets a measurement event report condition, the terminal device sends the compensated measurement result of the one or more inter-frequency cells to the network device.



[0104] After measuring the at least one inter-frequency cell by using the diversity antenna and based on the measurement period, the gap, and the measurement frequency, the terminal device may obtain the diversity measurement result of the at least one inter-frequency cell. The diversity measurement result of the at least one inter-frequency cell includes a diversity measurement result obtained by measuring the at least one inter-frequency cell by using the diversity antenna during each gap of each measurement period.

[0105] In this embodiment, if a measurement result obtained by the terminal device by measuring the serving cell by using the main antenna is greater than a measurement result obtained by the terminal device by measuring the serving cell by using the diversity antenna, it indicates that receiving performance of the main antenna is superior to receiving performance of the diversity antenna. In this case, after obtaining the diversity measurement result of the at least one inter-frequency cell, the terminal device may compensate the diversity measurement result of the at least one inter-frequency cell by using the measurement compensation value, to improve accuracy of a measurement result obtained by measuring an inter-frequency cell by using the diversity antenna. Then, when a compensated measurement result of one or more inter-frequency cells meets a report condition of any one of the aforementioned measurement events A3 to A5 and B1 to B2, the terminal device may send the compensated measurement result (that is, an accurate measurement result) of the one or more inter-frequency cells to the network device by reporting the measurement event. The aforementioned measurement compensation value is a difference between a measurement result obtained by the terminal device by performing measurement by using the main antenna and a measurement result obtained by the terminal device by performing measurement by using the diversity antenna.

[0106] Optionally, the terminal device may add a diversity measurement result of each inter-frequency cell up to the measurement compensation value, to obtain a compensated measurement result of each inter-frequency cell. Alternatively, the terminal device may multiply the measurement compensation value by a preset coefficient, and add a resulting product up to a diversity measurement result of each inter-frequency cell, to obtain a compensated measurement result of each inter-frequency cell. The preset coefficient may be configured by the network device, or may be determined by the terminal device based on a frequency, location information of the terminal device, or the like.

[0107] The measurement compensation value may be a measurement compensation value preset on the terminal device. In some embodiments, the terminal device may measure the serving cell by using the main antenna and the diversity antenna separately, to obtain a main measurement result of the serving cell and a diversity measurement result of the serving cell. Then the terminal device may determine the measurement compensation value based on the main measurement result and the diversity measurement result. For example, the terminal device may subtract the diversity measurement result from the main measurement result, to obtain the measurement compensation value. Alternatively, for example, the terminal device may divide the main measurement result by the diversity measurement result, to obtain the measurement compensation value.

[0108] According to the inter-frequency cell measurement method provided in this embodiment of this application, when receiving performance of the main antenna is superior to receiving performance of the diversity antenna, the terminal device may compensate, by using the measurement compensation value, the diversity measurement result of the at least one inter-frequency cell that is obtained through measurement by using the diversity antenna. This can improve accuracy of a measurement result obtained by measuring an inter-frequency cell by using the diversity antenna.

[0109] Second manner: The terminal device measures the at least one inter-frequency cell by using each of the two antennas as the diversity antenna, and uses a larger value of two measurement results as a measurement result of the at least one inter-frequency cell. In this implementation, step S103 specifically includes:
measuring, by the terminal device, the at least one inter-frequency cell based on the measurement configuration information by using each of the two antennas as the diversity antenna.

[0110] FIG. 9 is a schematic structural diagram of a transceiver of another terminal device according to an embodiment of this application. As shown in FIG. 9, in this embodiment, the terminal device includes an antenna 1 and an antenna 2. A double pole double throw (Double Pole Double Throw, DPDT) switch may be disposed on the receiver, so that the receiver of the terminal device may perform main antenna/diversity antenna switching between the antenna 1 and the antenna 2 by using the double pole double throw switch, that is, use each of the antenna 1 and the antenna 2 as a diversity antenna. It should be noted that, when the antenna 1 is used as the diversity antenna of the terminal device, the antenna 2 is a main antenna of the terminal device (that is, the antenna 1 is connected to a diversity channel, and the antenna 2 is connected to a main channel). When the antenna 2 is used as the diversity antenna of the terminal device, the antenna 1 is the main antenna of the terminal device (that is, the antenna 1 is connected to the main channel, and the antenna 2 is connected to the diversity channel). FIG. 9 shows the schematic diagram in an example in which the antenna 1 is the main antenna of the terminal device, and the antenna 2 is used as the diversity antenna of the terminal device. Certainly, the transceiver of the terminal device may alternatively implement switching between the two antennas in another existing connection manner. This is not described in detail.

[0111] FIG. 10 is a schematic diagram of another measurement period according to an embodiment of this application. As shown in FIG. 9 and FIG. 10, it is assumed that Bx is a frequency at which a primary cc of a serving cell is located, Bm is a frequency of a to-be-measured inter-frequency cell, and Bz is a frequency at which a secondary cc of the serving cell is located. The index 0 shown in Table 2 is used as an example. When a measurement period, a gap, and measurement frequency that are corresponding to the index 0 are used to measure an inter-frequency cell, in a measurement period of 480 ms, the terminal device may measure at least one inter-frequency cell by using each of the antenna 1 and the antenna 2 as the diversity antenna.

[0112] For example, the antenna 1 is first used as the diversity antenna. In a measurement period, a front-end processing unit of the transceiver of the terminal device may first switch the antenna 1 from the frequencies (Bx and Bz) of the serving cell to a frequency (Bm) of the inter-frequency cell, to measure the inter-frequency cell in a gap of 60 ms by using the antenna 1 (for example, a baseband processing unit may measure the inter-frequency cell based on a signal of the inter-frequency cell that is received by the antenna 1). Then the transceiver of the terminal device performs main antenna/diversity antenna switching between the antenna 1 and the antenna 2 by using the double pole double throw switch, to use the antenna 2 as the diversity antenna. The front-end processing unit of the transceiver of the terminal device switches the antenna 2 from the frequencies (Bx and Bz) of the serving cell to the frequency (Bm) of the inter-frequency cell, to measure the inter-frequency cell in a gap of 60 ms by using the antenna 2 (for example, the baseband processing unit may measure the inter-frequency cell based on a signal of the inter-frequency cell that is received by the antenna 2). That is, in a measurement period of 480 ms, the terminal device measures the inter-frequency cell for 60 ms by using each of the two antennas in turn. Optionally, if the antenna 2 is an original main antenna of the terminal device, after the terminal device measures the inter-frequency cell by using the antenna 2, the transceiver may perform switching between the antenna 1 and the antenna 2 again by using the double pole double throw switch, to restore the antenna 2 as the main antenna of the terminal device.

[0113] After measuring the at least one inter-frequency cell based on the measurement configuration information by using each of the two antennas as the diversity antenna, the terminal device may obtain a measurement result that is obtained by measuring the at least one inter-frequency cell by using each of the two antennas, and use a larger value of two measurement results as a measurement result of the at least one inter-frequency cell, that is, use, as a final measurement result, a measurement result obtained by measuring the at least one inter-frequency cell by using an antenna with better receiving performance. This improves accuracy of a measurement result obtained by measuring an inter-frequency cell by using the diversity antenna.

[0114] Corresponding to the foregoing example, the terminal device may compare a measurement result that is obtained by measuring each inter-frequency cell in 60 ms and that is corresponding to the antenna 2, with a measurement result that is obtained by measuring the inter-frequency cell in 60 ms and that is corresponding to the antenna 1, and select a larger value as a measurement result of the inter-frequency cell in the gap. Then, when a measurement result of one or more inter-frequency cells meets a report condition of any one of the aforementioned measurement events A3 to A5 and B 1 to B2, the terminal device may send the measurement result of the one or more inter-frequency cells to the network device by reporting the measurement event. According to this manner, accuracy of a measurement result obtained by measuring an inter-frequency cell by using the diversity antenna can be improved.

[0115] It should be noted that, although the foregoing example describes a process of measuring the at least one inter-frequency cell by using each of the two antennas as the diversity antenna in an example in which one measurement period includes one gap, a person skilled in the art may understand that, when the one measurement period includes m gaps, that is, the measurement frequency is m, the terminal device may measure the inter-frequency cell m times in the measurement period by using each of the two antennas as the diversity antenna, that is, measure the inter-frequency cell for a total of 2m times in the one measurement period. In addition, the measurement period shown in FIG. 10 is merely an example. In a specific implementation, gaps corresponding to the two antennas may be adjacent or not adjacent.

[0116] According to the inter-frequency cell measurement method provided in this embodiment of this application, the terminal device may measure the at least one inter-frequency cell by using each of the two antennas as the diversity antenna, and use a larger value of two measurement results as a measurement result of the inter-frequency cell, that is, use, as a final measurement result, a measurement result obtained by measuring the at least one inter-frequency cell by using an antenna with better receiving performance. This improves accuracy of a measurement result obtained by measuring an inter-frequency cell by using the diversity antenna.

[0117] Third manner: The terminal device measures the at least one inter-frequency cell by using an antenna with better receiving performance of the two antennas of the terminal device as the diversity antenna. Details are as follows.

[0118] FIG. 11 is a schematic flowchart of still another inter-frequency cell measurement method according to an embodiment of this application. As shown in FIG. 11, before step S103, the method may further include the following steps:

S401. The terminal device measures the serving cell by using each of the two antennas, to obtain a first measurement result and a second measurement result of the serving cell.

S402. The terminal device uses, as the diversity antenna, an antenna corresponding to a larger value of the first measurement result and the second measurement result.



[0119] Specifically, in this embodiment, before measuring the at least one inter-frequency cell, the terminal device may measure the serving cell by using each of the two antennas. For example, the terminal device may measure RSRP of a primary cc of the serving cell by using each of the two antennas. Then the terminal device may compare the two measurement results obtained by measuring the serving cell by using the two antennas, to determine an antenna with better receiving performance of the two antennas of the terminal device. When the terminal device measures a same measurement object by using an antenna, a larger value of a measurement result indicates a better signal condition (that is, better receiving performance) of the antenna. Therefore, in this embodiment, the terminal device may use, as the diversity antenna, the antenna corresponding to the larger value of the two measurement results.

[0120] In this case, the terminal device may measure the at least one inter-frequency cell by using the diversity antenna and based on the measurement configuration information sent by the network device. Because a signal condition of the diversity antenna is better, accuracy of a measurement result obtained by the terminal device by measuring the at least one inter-frequency cell by using the diversity antenna is higher. This improves accuracy of a measurement result obtained by measuring an inter-frequency cell by using the diversity antenna. Then, when a measurement result of one or more inter-frequency cells meets a report condition of any one of the aforementioned measurement event A3 to A5 and B1 to B2, the terminal device may send the measurement result of the one or more inter-frequency cells to the network device by reporting the measurement event.

[0121] According to the inter-frequency cell measurement method provided in this embodiment of this application, the terminal device may measure the at least one inter-frequency cell by using an antenna with better receiving performance of the two antennas of the terminal device as the diversity antenna. This improves accuracy of a measurement result obtained by measuring an inter-frequency cell by using the diversity antenna.

[0122] It should be noted that the terminal device may measure the at least one inter-frequency cell by using any one of the foregoing three manners. Alternatively, the terminal device may measure the at least one inter-frequency cell by selecting a manner different from the foregoing manners according to a current service requirement of the terminal device. For example, when the terminal device currently has a voice service, the terminal device may measure the at least one inter-frequency cell by using the second manner or the third manner, to ensure that the network device can accurately switch cells for the terminal device based on an inter-frequency cell measurement result, so as to avoid a call drop during cell switching. For example, when the terminal device currently has a data service, the terminal device may measure the at least one inter-frequency cell by using the first manner, to prevent the measurement of the at least one inter-frequency cell from affecting the current data service.

[0123] Currently, an existing 3GPP protocol does not constrain a process of measuring an inter-frequency cell in all communications systems, that is, some communications systems have no inter-frequency cell measurement process or mechanism. Therefore, in the prior art, when a terminal device is within a cell coverage area of these communications systems, even if quality of a serving cell is lower than a preset threshold, a network device cannot trigger the terminal device to measure an inter-frequency cell. A 2G communications system or a 3G communications system is used as an example, when a terminal device camping on a cell of a 4G communications system moves to a location such as an elevator or a basement, because 4G signal quality is lower than a preset threshold, the terminal device switches from the cell of the 4G communications system to a cell of the 2G communications system or a cell of the 3G communications system by using the foregoing measurement event. Because the 2G communications system or the 3G communications system has no corresponding mechanism to trigger a terminal device in a connected mode to measure an inter-frequency cell, when moving back to a coverage area of the cell of the 4G communications system, the terminal device cannot switch to the cell of the 4G communications system by performing the foregoing inter-frequency cell measurement process, resulting in relatively poor user experience.

[0124] However, in this embodiment, when the terminal device is located in a coverage area of these communications systems, the terminal device may automatically start inter-frequency cell measurement and switching. Specifically, FIG. 12 is a schematic flowchart of still another inter-frequency cell measurement method according to an embodiment of this application. In this embodiment, one inter-frequency cell is used as an example. A communications system to which a serving cell in which a terminal device is located belongs is an Mth generation communications system. A communications system to which the inter-frequency cell belongs is an Nth generation communications system. Both M and N are positive integers greater than or equal to 1. N may be greater than M, or N may be less than M. As shown in FIG. 12, the method may include the following steps:

S501. The terminal device searches for a cell of the Nth generation communications system based on frequency information of a cell of the Nth generation communications system.

S502. The terminal device determines whether a cell of the Nth generation communications system is found in preset duration. If a cell of the Nth generation communications system is found, the terminal device performs step S503; or if no cell of the Nth generation communications system is found, the terminal device performs step S506.

S503. The terminal device measures the cell of the Nth generation communications system by using a diversity antenna.

S504. The terminal device determines whether signal quality of the cell of the Nth generation communications system is higher than signal quality of the serving cell. If the signal quality of the cell of the Nth generation communications system is higher than the signal quality of the serving cell, the terminal device performs step S505; or if the signal quality of the cell of the Nth generation communications system is not higher than the signal quality of the serving cell, the terminal device returns to step S503.

S505. The terminal device switches from the serving cell to the cell of the Nth generation communications system.

S506. The terminal device determines whether the terminal device is currently in a moving state. If the terminal device is currently in a moving state, the terminal device performs step S502; or if the terminal device is currently not in a moving state, the terminal device performs step S507.

S507. The terminal device stops searching for a cell of the Nth generation communications system.



[0125] Specifically, in this embodiment, when the signal quality of the serving cell of the terminal device is lower than a preset threshold, the terminal device may search for a cell of the Nth generation communications system in the preset duration based on historically stored frequency information of a cell of the Nth generation communications system. The preset duration may be specifically determined based on a configuration of a communications system.

[0126] If the terminal device can find a cell of the Nth generation communications system in the preset duration, the terminal device may measure the cell of the Nth generation communications system by using the diversity antenna. For how the terminal device measures the cell of the Nth generation communications system by using the diversity antenna, refer to the foregoing embodiment. In addition, a measurement period, a gap, and measurement frequency that are used by the terminal device to measure the cell of the Nth generation communications system by using the diversity antenna may be preset. Alternatively, a plurality of combinations of a measurement period, a gap, and measurement frequency may be preset on the terminal device. Each combination may be corresponding to, for example, one communications system.

[0127] After measuring the cell of the Nth generation communications system by using the diversity antenna, the terminal device may compare a measurement result of the cell of the Nth generation communications system with a measurement result of the serving cell. If the measurement result of the cell of the Nth generation communications system is greater than the measurement result of the serving cell, it indicates that signal quality of the cell of the Nth generation communications system is higher than signal quality of the serving cell. In this scenario, the terminal device may switch from the serving cell to the cell of the Nth generation communications system. For example, the terminal device may request a network device to which the serving cell belongs to release a radio link. After the radio link is released, the terminal device enters an idle mode from a connected mode. Then the terminal device may search for and camp on the cell of the Nth generation communications system, and establish a radio link to the network device to which the serving cell belongs, so as to restore a data service.

[0128] If the measurement result of the cell of the Nth generation communications system is less than the measurement result of the serving cell, it indicates that the signal quality of the cell of the Nth generation communications system is lower than the signal quality of the serving cell. In this scenario, the terminal device may continue to perform step S503, that is, measure the cell of the Nth generation communications system by using the diversity antenna.

[0129] If the terminal device finds no cell of the Nth generation communications system in the preset duration, the terminal device may further determine whether the terminal device is currently in a moving state. If the terminal device is currently in a non-moving state, it indicates that a network environment in which the terminal device is located is not going to change. In this scenario, the terminal device may temporarily stop searching for a cell of the Nth generation communications system, to reduce power consumption of the terminal device. If the terminal device is currently in a moving state, it indicates that a network environment in which the terminal device is located may change at any time. In this scenario, the terminal device may return to step S502, to continuously search for a cell of the Nth generation communications system. In this way, when moving to a coverage area of a cell of the Nth generation communications system, the terminal device can quickly switch to the cell of the Nth generation communications system, thereby improving user experience. For details about how the terminal device determines whether the terminal device is currently in a moving state, refer to the descriptions in the foregoing embodiment. This is not described in detail again.

[0130] Using a 2G communications system as an example, a terminal device camping on a cell of the 2G communications system may search for a cell of an LTE communications system in preset duration based on historically stored frequency information of a cell of the LTE communications system. Then, after finding a cell of the LTE communications system, the terminal device may measure the cell of the LTE communications system by using a diversity antenna. Further, when signal quality of the cell of the LTE communications system is higher than signal quality of the cell of the 2G communications system, the terminal device may automatically switch from the cell of the 2G communications system to the cell of the LTE communications system, thereby improving user experience.

[0131] Alternatively, the terminal device camping on the cell of the 2G communications system may receive frequency information, sent by a network device, of a cell of the LTE communications system, and search for a cell of the LTE communications system in the preset duration. Then, after finding a cell of the LTE communications system, the terminal device may measure the cell of the LTE communications system by using the diversity antenna. Further, when signal quality of the cell of the LTE communications system is higher than the signal quality of the cell of the 2G communications system, the terminal device may automatically switch from the cell of the 2G communications system to the cell of the LTE communications system, thereby improving user experience.

[0132] It may be understood that, in this embodiment, the terminal device may measure the cell of the Nth generation communications system by still using the manners in the foregoing embodiment, or may measure the cell of the Nth generation communications system by using an existing measurement manner. That is, this embodiment may be used as an independent embodiment, and is not necessarily dependent on the foregoing embodiment.

[0133] According to the inter-frequency cell measurement method provided in this embodiment of this application, when the terminal device camps on a cell of a communications system without an inter-frequency cell measurement process or mechanism, the terminal device may automatically measure an inter-frequency cell based on historically stored frequency information of the inter-frequency cell, and automatically switch to the inter-frequency cell when a switching condition is met. This improves user experience.

[0134] FIG. 13 is a schematic structural diagram of a terminal device according to an embodiment of this application. As shown in FIG. 13, the terminal device includes two antennas (not shown in FIG. 13). One antenna is used as a main antenna, and the other antenna is used as a diversity antenna. The terminal device may further include a receiving module 11 and a processing module 12. Optionally, the terminal device may further include a sending module 13.

[0135] The receiving module 11 is configured to receive measurement configuration information sent by a network device. The measurement configuration information is used to instruct the terminal device to measure at least one inter-frequency cell. In a measurement period for measuring the at least one inter-frequency cell, measurement frequency for measuring the at least one inter-frequency cell by the terminal device is a positive integer greater than or equal to 1 and a measurement gap length for measuring the at least one inter-frequency cell by the terminal device each time is greater than first preset duration. Optionally, the measurement configuration information includes: frequency information of the at least one inter-frequency cell, and identification information of a measurement gap pattern. The measurement gap pattern is used to indicate the measurement frequency for measuring the at least one inter-frequency cell by the terminal device in the measurement period, and the measurement gap length for measuring the at least one inter-frequency cell by the terminal device. For example, the measurement frequency for measuring the at least one inter-frequency cell by the terminal device in the measurement period is 1.

[0136] The processing module 12 is configured to measure the at least one inter-frequency cell based on the measurement configuration information by using the diversity antenna.

[0137] Optionally, in some embodiments, the sending module 13 is configured to: at a first time before the processing module 12 measures the at least one inter-frequency cell each time, send first indication information to the network device, where the first indication information is used to indicate a capability of receiving data by the terminal device by using the main antenna, and an interval between the first time and a corresponding measurement start time is second preset duration. Correspondingly, the receiving module 11 is further configured to: each time the processing module 12 measures the at least one inter-frequency cell by using the diversity antenna, receive, by using the main antenna, data sent by the network device by using a first transmission rate, where the first transmission rate is a transmission rate determined by the network device based on the first indication information.

[0138] Further, the sending module 13 is further configured to: at a second time before the processing module 12 stops measuring the at least one inter-frequency cell each time, send second indication information to the network device, where the second indication information is used to indicate a capability of receiving data by the terminal device by using both the antennas, and an interval between the second time and a corresponding measurement end time is third preset duration. Correspondingly, the receiving module 11 is further configured to: each time the processing module 12 finishes measuring the at least one inter-frequency cell, receive, by using the main antenna and the diversity antenna, data sent by the network device by using a second transmission rate, where the second transmission rate is a transmission rate determined by the network device based on the second indication information, and the second transmission rate is greater than the first transmission rate.

[0139] Optionally, in some embodiments, the processing module 12 is further configured to: after measuring the at least one inter-frequency cell based on the measurement configuration information by using the diversity antenna, stop measuring the at least one inter-frequency cell when signal quality of all inter-frequency cells is lower than signal quality of a serving cell and the terminal device is currently in a non-moving state.

[0140] Optionally, in some embodiments, the processing module 12 is further configured to: obtain a diversity measurement result of the at least one inter-frequency cell, and compensate the diversity measurement result of the at least one inter-frequency cell by using a measurement compensation value, to obtain a compensated measurement result of the at least one inter-frequency cell, where the measurement compensation value is a difference between a measurement result obtained by the terminal device by performing measurement by using the main antenna and a measurement result obtained by the terminal device by performing measurement by using the diversity antenna. The sending module 13 is further configured to: when a compensated measurement result of one or more inter-frequency cells meets a measurement event report condition, send the compensated measurement result of the one or more inter-frequency cells to the network device. For example, the processing module 12 is further configured to: measure the serving cell by using the main antenna and the diversity antenna separately, to obtain a main measurement result of the serving cell and a diversity measurement result of the serving cell; and determine the measurement compensation value based on the main measurement result and the diversity measurement result.

[0141] Optionally, in some embodiments, the processing module 12 is specifically configured to measure the at least one inter-frequency cell based on the measurement configuration information by using each of the two antennas as the diversity antenna. In this implementation, the processing module 12 is further configured to: obtain a measurement result that is obtained by measuring the at least one inter-frequency cell by using each of the two antennas, and use a larger value of two measurement results as a measurement result of the at least one inter-frequency cell.

[0142] Optionally, in some embodiments, the processing module 12 is further configured to: before measuring the at least one inter-frequency cell based on the measurement configuration information by using the diversity antenna, measure the serving cell by using each of the two antennas, to obtain a first measurement result and a second measurement result of the serving cell; and use, as the diversity antenna, an antenna corresponding to a larger value of the first measurement result and the second measurement result.

[0143] Optionally, in some embodiments, a communications system to which the current serving cell of the terminal device belongs is an Mth generation communications system, the at least one inter-frequency cell is one inter-frequency cell, a communications system to which the inter-frequency cell belongs is an Nth generation communications system, and both M and N are positive integers greater than or equal to 1.

[0144] In this scenario, the processing module 12 is further configured to: search for a cell of the Nth generation communications system based on frequency information of a cell of the Nth generation communications system, and when finding a cell of the Nth generation communications system in preset duration, measure the cell of the Nth generation communications system by using the diversity antenna.

[0145] Optionally, the processing module 12 is further configured to: switch from the serving cell to the cell of the Nth generation communications system when signal quality of the cell of the Nth generation communications system is higher than the signal quality of the serving cell.

[0146] Optionally, the processing module 12 is further configured to stop searching for a cell of the Nth generation communications system when no cell of the Nth generation communications system is found in the preset duration and the terminal device is currently in a non-moving state.

[0147] The terminal device provided in this embodiment of this application may perform the actions of the terminal device in the foregoing method embodiment. An implementation principle and a technical effect thereof are similar. Details are not described herein again.

[0148] FIG. 14 is a schematic structural diagram of an apparatus according to this application. As shown in FIG. 14, the apparatus may be a chip. The chip includes a module or a unit configured to perform the actions of the terminal device in the foregoing method embodiment, for example, a receiving module 21 (also referred to as a receiving unit), a processing module 22 (also referred to as a processing unit), or a sending module 23 (also referred to as a sending unit). An implementation principle and a technical effect thereof are similar. Details are not described herein again.

[0149] It should be noted that, it should be understood that the sending module may be a transmitter in an actual implementation; the receiving module may be a receiver in an actual implementation; and the processing module may be implemented in a form of software invoked by a processing element, or may be implemented in a form of hardware. For example, the processing module may be an independently disposed processing element, or may be integrated in a chip of the device. Alternatively, the processing module may be stored in a memory of the device in a form of program code, and a processing element of the device invokes and executes a function of the processing module. In addition, all or some of the modules may be integrated, or may be independently implemented. The processing element may be an integrated circuit and has a signal processing capability. In an implementation process, steps in the foregoing methods or the foregoing modules can be implemented by using a hardware integrated logic circuit in the processing element, or by using instructions in a form of software.

[0150] For example, the modules may be configured as one or more integrated circuits to implement the foregoing method, for example, one or more application-specific integrated circuits (application-specific integrated circuit, ASIC), one or more microprocessors (digital signal processor, DSP), or one or more field programmable gate arrays (field programmable gate array, FPGA). For another example, when one of the modules is implemented by a processing element by invoking program code, the processing element may be a general purpose processor, such as a central processing unit (central processing unit, CPU for short), or another processor that can invoke program code. For another example, the modules may be integrated, and implemented in a form of a system-on-a-chip (system-on-a-chip, SOC for short).

[0151] FIG. 15 is a schematic structural diagram of another terminal device according to an embodiment of this application. As shown in FIG. 15, the terminal device includes two antennas (not shown in FIG. 15). One antenna is used as a main antenna, and the other antenna is used as a diversity antenna. The terminal device may further include a processor 31 (for example, a CPU), a memory 32, a receiver 33, and a transmitter 34. Both the receiver 33 and the transmitter 34 are coupled to the processor 31. The processor 31 controls a receiving action of the receiver 33, and controls a sending action of the transmitter 34. The memory 32 may include a high-speed RAM memory, or may include a nonvolatile memory NVM, for example, at least one magnetic disk memory. The memory 32 may store various instructions used to perform various processing functions and implement the method steps in the embodiments of this application. Optionally, the terminal device in this embodiment of this application may further include a power supply 35, a communications bus 36, and a communications port 37. The receiver 33 and the transmitter 34 may be integrated in a transceiver (also referred to as a transceiver) of the terminal device, or may be independent sending and receiving antennas on the terminal device. The communications bus 36 is configured to implement a communications connection between elements. The communications port 37 is configured to implement a connection and communication between the terminal device and another peripheral device.

[0152] In this embodiment of this application, the memory 32 is configured to store computer executable program code. The program code includes an instruction. When the processor 31 executes the instruction, the instruction enables the processor 31 to perform the processing action of the terminal device in the foregoing method embodiment, enables the receiver 33 to perform the receiving action of the terminal device in the foregoing method embodiment, and enables the transmitter 34 to perform the sending action of the terminal device in the foregoing method embodiment. An implementation principle and a technical effect thereof are similar. Details are not described herein again.

[0153] All or some of the foregoing embodiments may be implemented by means of software, hardware, firmware, or any combination thereof. When software is used to implement the embodiments, the embodiments may be implemented completely or partially in a form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on the computer, the procedure or functions according to the embodiments of the present invention are all or partially generated. The computer may be a general-purpose computer, a dedicated computer, a computer network, or other programmable apparatuses. The computer instructions may be stored in a computer-readable storage medium or may be transmitted from a computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from a website, computer, server, or data center to another website, computer, server, or data center in a wired (for example, a coaxial cable, an optical fiber, or a digital subscriber line (DSL)) or wireless (for example, infrared, radio, and microwave, or the like) manner. The computer storage medium may be any usable medium accessible by a computer, or a data storage device, such as a server or a data center, integrating one or more usable media. The usable medium may be a magnetic medium (for example, a floppy disk, a hard disk, or a magnetic tape), an optical medium (for example, a DVD), a semiconductor medium (for example, a solid-state drive solid state disk (SSD)), or the like.


Claims

1. An inter-frequency cell measurement method, wherein a terminal device comprises two antennas, one as a main antenna and the other as a diversity antenna, and the method comprises:

receiving, by the terminal device, measurement configuration information sent by a network device, wherein the measurement configuration information is used to instruct the terminal device to measure at least one inter-frequency cell, and in a measurement period for measuring the at least one inter-frequency cell, measurement frequency for measuring the at least one inter-frequency cell by the terminal device is a positive integer greater than or equal to 1 and a measurement gap length for measuring the at least one inter-frequency cell by the terminal device each time is greater than first preset duration; and

measuring, by the terminal device, the at least one inter-frequency cell based on the measurement configuration information by using the diversity antenna.


 
2. The method according to claim 1, wherein the measurement configuration information comprises: frequency information of the at least one inter-frequency cell, and identification information of a measurement gap pattern; and
the measurement gap pattern is used to indicate the measurement frequency for measuring the at least one inter-frequency cell by the terminal device in the measurement period and the measurement gap length for measuring the at least one inter-frequency cell by the terminal device.
 
3. The method according to claim 1 or 2, wherein the measurement frequency for measuring the at least one inter-frequency cell by the terminal device in the measurement period is 1.
 
4. The method according to any one of claims 1 to 3, wherein the method further comprises:
at a first time before measuring the at least one inter-frequency cell each time, sending, by the terminal device, first indication information to the network device, wherein the first indication information is used to indicate a capability of receiving data by the terminal device by using the main antenna, and an interval between the first time and a corresponding measurement start time is second preset duration.
 
5. The method according to claim 4, wherein the method further comprises:
each time the terminal device measures the at least one inter-frequency cell by using the diversity antenna, receiving, by the terminal device by using the main antenna, data sent by the network device by using a first transmission rate, wherein the first transmission rate is a transmission rate determined by the network device based on the first indication information.
 
6. The method according to claim 5, wherein the method further comprises:
at a second time before finishing measuring the at least one inter-frequency cell each time, sending, by the terminal device, second indication information to the network device, wherein the second indication information is used to indicate a capability of receiving data by the terminal device by using both the antennas, and an interval between the second time and a corresponding measurement end time is third preset duration.
 
7. The method according to claim 6, wherein the method further comprises:
each time the terminal device finishes measuring the at least one inter-frequency cell, receiving, by the terminal device by using the main antenna and the diversity antenna, data sent by the network device by using a second transmission rate, wherein the second transmission rate is a transmission rate determined by the network device based on the second indication information, and the second transmission rate is greater than the first transmission rate.
 
8. The method according to any one of claims 1 to 7, wherein after the measuring, by the terminal device, the at least one inter-frequency cell based on the measurement configuration information by using the diversity antenna, the method further comprises:
stopping, by the terminal device, measuring the at least one inter-frequency cell when signal quality of all inter-frequency cells is lower than signal quality of a serving cell and the terminal device is currently in a non-moving state.
 
9. The method according to any one of claims 1 to 8, wherein the method further comprises:

obtaining, by the terminal device, a diversity measurement result of the at least one inter-frequency cell;

compensating, by the terminal device, the diversity measurement result of the at least one inter-frequency cell by using a measurement compensation value, to obtain a compensated measurement result of the at least one inter-frequency cell, wherein the measurement compensation value is a difference between a measurement result obtained by the terminal device by performing measurement by using the main antenna and a measurement result obtained by the terminal device by performing measurement by using the diversity antenna; and

when a compensated measurement result of one or more inter-frequency cells meets a measurement event report condition, sending, by the terminal device, the compensated measurement result of the one or more inter-frequency cells to the network device.


 
10. The method according to claim 9, wherein the method further comprises:

measuring, by the terminal device, the serving cell by using the main antenna and the diversity antenna separately, to obtain a main measurement result of the serving cell and a diversity measurement result of the serving cell; and

determining, by the terminal device, the measurement compensation value based on the main measurement result and the diversity measurement result.


 
11. The method according to any one of claims 1 to 8, wherein the measuring, by the terminal device, the at least one inter-frequency cell based on the measurement configuration information by using the diversity antenna comprises:
measuring, by the terminal device, the at least one inter-frequency cell based on the measurement configuration information by using each of the two antennas as the diversity antenna.
 
12. The method according to claim 11, wherein the method further comprises:

obtaining, by the terminal device, a measurement result that is obtained by measuring the at least one inter-frequency cell by using each of the two antennas; and

using, by the terminal device, a larger value of two measurement results as a measurement result of the at least one inter-frequency cell.


 
13. The method according to any one of claims 1 to 8, wherein before the measuring, by the terminal device, the at least one inter-frequency cell based on the measurement configuration information by using the diversity antenna, the method further comprises:

measuring, by the terminal device, the serving cell by using each of the two antennas, to obtain a first measurement result and a second measurement result of the serving cell; and

using, by the terminal device as the diversity antenna, an antenna corresponding to a larger value of the first measurement result and the second measurement result.


 
14. The method according to any one of claims 1 to 13, wherein a communications system to which the current serving cell of the terminal device belongs is an Mth generation communications system, the at least one inter-frequency cell is one inter-frequency cell, a communications system to which the inter-frequency cell belongs is an Nth generation communications system, and both M and N are positive integers greater than or equal to 1; and
the method further comprises:

searching, by the terminal device, for a cell of the Nth generation communications system based on frequency information of a cell of the Nth generation communications system; and

when finding a cell of the Nth generation communications system in preset duration, measuring, by the terminal device, the cell of the Nth generation communications system by using the diversity antenna.


 
15. The method according to claim 14, wherein the method further comprises:
switching, by the terminal device, from the serving cell to the cell of the Nth generation communications system when signal quality of the cell of the Nth generation communications system is higher than the signal quality of the serving cell.
 
16. The method according to claim 14 or 15, wherein the method further comprises: stopping, by the terminal device, searching for a cell of the Nth generation communications system when the terminal device finds no cell of the Nth generation communications system in the preset duration and the terminal device is currently in a non-moving state.
 
17. A terminal device, wherein the terminal device comprises two antennas, one as a main antenna and the other as a diversity antenna, and the terminal device further comprises:

a receiving module, configured to receive measurement configuration information sent by a network device, wherein the measurement configuration information is used to instruct the terminal device to measure at least one inter-frequency cell, and in a measurement period for measuring the at least one inter-frequency cell, measurement frequency for measuring the at least one inter-frequency cell by the terminal device is a positive integer greater than or equal to 1 and a measurement gap length for measuring the at least one inter-frequency cell by the terminal device each time is greater than first preset duration; and

a processing module, configured to measure the at least one inter-frequency cell based on the measurement configuration information by using the diversity antenna.


 
18. The terminal device according to claim 17, wherein the measurement configuration information comprises: frequency information of the at least one inter-frequency cell, and identification information of a measurement gap pattern; and
the measurement gap pattern is used to indicate the measurement frequency for measuring the at least one inter-frequency cell by the terminal device in the measurement period, and the measurement gap length for measuring the at least one inter-frequency cell by the terminal device.
 
19. The terminal device according to claim 17 or 18, wherein the measurement frequency for measuring the at least one inter-frequency cell by the terminal device in the measurement period is 1.
 
20. The terminal device according to any one of claims 17 to 19, wherein the terminal device further comprises:
a sending module, configured to: at a first time before the processing module measures the at least one inter-frequency cell each time, send first indication information to the network device, wherein the first indication information is used to indicate a capability of receiving data by the terminal device by using the main antenna, and an interval between the first time and a corresponding measurement start time is second preset duration.
 
21. The terminal device according to claim 20, wherein the receiving module is further configured to: each time the processing module measures the at least one inter-frequency cell by using the diversity antenna, receive, by using the main antenna, data sent by the network device by using a first transmission rate, wherein the first transmission rate is a transmission rate determined by the network device based on the first indication information.
 
22. The terminal device according to claim 21, wherein the sending module is further configured to: at a second time before the processing module finishes measuring the at least one inter-frequency cell each time, send second indication information to the network device, wherein the second indication information is used to indicate a capability of receiving data by the terminal device by using both the antennas, and an interval between the second time and a corresponding measurement end time is third preset duration.
 
23. The terminal device according to claim 22, wherein the receiving module is further configured to: each time the processing module finishes measuring the at least one inter-frequency cell, receive, by using the main antenna and the diversity antenna, data sent by the network device by using a second transmission rate, wherein the second transmission rate is a transmission rate determined by the network device based on the second indication information, and the second transmission rate is greater than the first transmission rate.
 
24. The terminal device according to any one of claims 17 to 23, wherein the processing module is further configured to: after measuring the at least one inter-frequency cell based on the measurement configuration information by using the diversity antenna, stop measuring the at least one inter-frequency cell when signal quality of all inter-frequency cells is lower than signal quality of a serving cell and the terminal device is currently in a non-moving state.
 
25. The terminal device according to any one of claims 20 to 24, wherein
the processing module is further configured to: obtain a diversity measurement result of the at least one inter-frequency cell, and compensate the diversity measurement result of the at least one inter-frequency cell by using a measurement compensation value, to obtain a compensated measurement result of the at least one inter-frequency cell, wherein the measurement compensation value is a difference between a measurement result obtained by the terminal device by performing measurement by using the main antenna and a measurement result obtained by the terminal device by performing measurement by using the diversity antenna; and
the sending module is further configured to: when a compensated measurement result of one or more inter-frequency cells meets a measurement event report condition, send the compensated measurement result of the one or more inter-frequency cells to the network device.
 
26. The terminal device according to claim 25, wherein the processing module is further configured to: measure the serving cell by using the main antenna and the diversity antenna separately, to obtain a main measurement result of the serving cell and a diversity measurement result of the serving cell; and determine the measurement compensation value based on the main measurement result and the diversity measurement result.
 
27. The terminal device according to any one of claims 17 to 24, wherein
the processing module is specifically configured to measure the at least one inter-frequency cell based on the measurement configuration information by using each of the two antennas as the diversity antenna.
 
28. The terminal device according to claim 27, wherein the processing module is further configured to: obtain a measurement result that is obtained by measuring the at least one inter-frequency cell by using each of the two antennas, and use a larger value of two measurement results as a measurement result of the at least one inter-frequency cell.
 
29. The terminal device according to any one of claims 17 to 24, wherein the processing module is further configured to: before measuring the at least one inter-frequency cell based on the measurement configuration information by using the diversity antenna, measure the serving cell by using each of the two antennas, to obtain a first measurement result and a second measurement result of the serving cell; and use, as the diversity antenna, an antenna corresponding to a larger value of the first measurement result and the second measurement result.
 
30. The terminal device according to any one of claims 17 to 29, wherein a communications system to which the current serving cell of the terminal device belongs is an Mth generation communications system, the at least one inter-frequency cell is one inter-frequency cell, a communications system to which the inter-frequency cell belongs is an Nth generation communications system, and both M and N are positive integers greater than or equal to 1; and
the processing module is further configured to: search for a cell of the Nth generation communications system based on frequency information of a cell of the Nth generation communications system, and when finding a cell of the Nth generation communications system in preset duration, measure the cell of the Nth generation communications system by using the diversity antenna.
 
31. The terminal device according to claim 30, wherein the processing module is further configured to switch from the serving cell to the cell of the Nth generation communications system when signal quality of the cell of the Nth generation communications system is higher than the signal quality of the serving cell.
 
32. The terminal device according to claim 30 or 31, wherein the processing module is further configured to stop searching for a cell of the Nth generation communications system when no cell of the Nth generation communications system is found in the preset duration and the terminal device is currently in a non-moving state.
 
33. A terminal device, wherein the terminal device comprises two antennas, one as a main antenna and the other as a diversity antenna, and the terminal device further comprises:

a receiver, configured to receive measurement configuration information sent by a network device, wherein the measurement configuration information is used to instruct the terminal device to measure at least one inter-frequency cell, and in a measurement period for measuring the at least one inter-frequency cell, measurement frequency for measuring the at least one inter-frequency cell by the terminal device is a positive integer greater than or equal to 1 and a measurement gap length for measuring the at least one inter-frequency cell by the terminal device each time is greater than first preset duration; and

a processor, configured to measure the at least one inter-frequency cell according to the measurement configuration information by using the diversity antenna.


 
34. The terminal device according to claim 33, wherein the measurement configuration information comprises: frequency information of the at least one inter-frequency cell, and identification information of a measurement gap pattern; and
the measurement gap pattern is used to indicate the measurement frequency for measuring the at least one inter-frequency cell by the terminal device in the measurement period, and the measurement gap length for measuring the at least one inter-frequency cell by the terminal device.
 
35. The terminal device according to claim 33 or 34, wherein the measurement frequency for measuring the at least one inter-frequency cell by the terminal device in the measurement period is 1.
 
36. The terminal device according to any one of claims 33 to 35, wherein the terminal device further comprises:
a transmitter, configured to: at a first time before the processor measures the at least one inter-frequency cell each time, send first indication information to the network device, wherein the first indication information is used to indicate a capability of receiving data by the terminal device by using the main antenna, and an interval between the first time and a corresponding measurement start time is second preset duration.
 
37. The terminal device according to claim 36, wherein the receiver is further configured to: each time the processor measures the at least one inter-frequency cell by using the diversity antenna, receive, by using the main antenna, data sent by the network device by using a first transmission rate, wherein the first transmission rate is a transmission rate determined by the network device based on the first indication information.
 
38. The terminal device according to claim 37, wherein the transmitter is further configured to: at a second time before the processor finishes measuring the at least one inter-frequency cell each time, send second indication information to the network device, wherein the second indication information is used to indicate a capability of receiving data by the terminal device by using both the antennas, and an interval between the second time and a corresponding measurement end time is third preset duration.
 
39. The terminal device according to claim 38, wherein the receiver is further configured to: each time the processor finishes measuring the at least one inter-frequency cell, receive, by using the main antenna and the diversity antenna, data sent by the network device by using a second transmission rate, wherein the second transmission rate is a transmission rate determined by the network device based on the second indication information, and the second transmission rate is greater than the first transmission rate.
 
40. The terminal device according to any one of claims 33 to 39, wherein the processor is further configured to: after measuring the at least one inter-frequency cell based on the measurement configuration information by using the diversity antenna, stop measuring the at least one inter-frequency cell when signal quality of all inter-frequency cells is lower than signal quality of a serving cell and the terminal device is currently in a non-moving state.
 
41. The terminal device according to any one of claims 36 to 40, wherein the processor is further configured to: obtain a diversity measurement result of the at least one inter-frequency cell, and compensate the diversity measurement result of the at least one inter-frequency cell by using a measurement compensation value, to obtain a compensated measurement result of the at least one inter-frequency cell, wherein the measurement compensation value is a difference between a measurement result obtained by the terminal device by performing measurement by using the main antenna and a measurement result obtained by the terminal device by performing measurement by using the diversity antenna; and
the transmitter is further configured to: when a compensated measurement result of one or more inter-frequency cells meets a measurement event report condition, send the compensated measurement result of the one or more inter-frequency cells to the network device.
 
42. The terminal device according to claim 41, wherein the processor is further configured to: measure the serving cell by using the main antenna and the diversity antenna separately, to obtain a main measurement result of the serving cell and a diversity measurement result of the serving cell; and determine the measurement compensation value based on the main measurement result and the diversity measurement result.
 
43. The terminal device according to any one of claims 33 to 40, wherein the processor is specifically configured to measure the at least one inter-frequency cell based on the measurement configuration information by using each of the two antennas as the diversity antenna.
 
44. The terminal device according to claim 43, wherein the processor is further configured to: obtain a measurement result that is obtained by measuring the at least one inter-frequency cell by using each of the two antennas, and use a larger value of two measurement results as a measurement result of the at least one inter-frequency cell.
 
45. The terminal device according to any one of claims 33 to 40, wherein the processor is further configured to: before measuring the at least one inter-frequency cell based on the measurement configuration information by using the diversity antenna, measure the serving cell by using each of the two antennas, to obtain a first measurement result and a second measurement result of the serving cell; and use, as the diversity antenna, an antenna corresponding to a larger value of the first measurement result and the second measurement result.
 
46. The terminal device according to any one of claims 33 to 45, wherein a communications system to which the current serving cell of the terminal device belongs is an Mth generation communications system, the at least one inter-frequency cell is one inter-frequency cell, a communications system to which the inter-frequency cell belongs is an Nth generation communications system, and both M and N are positive integers greater than or equal to 1; and
the processor is further configured to: search for a cell of the Nth generation communications system based on frequency information of a cell of the Nth generation communications system, and when finding a cell of the Nth generation communications system in preset duration, measure the cell of the Nth generation communications system by using the diversity antenna.
 
47. The terminal device according to claim 46, wherein the processor is further configured to switch the terminal device from the serving cell to the cell of the Nth generation communications system when signal quality of the cell of the Nth generation communications system is higher than the signal quality of the serving cell.
 
48. The terminal device according to claim 46 or 47, wherein the processor is further configured to stop searching for a cell of the Nth generation communications system when no cell of the Nth generation communications system is found in the preset duration and the terminal device is currently in a non-moving state.
 
49. A terminal device, wherein the terminal device comprises a processor, a memory, a receiver, and a transmitter, wherein both the receiver and the transmitter are coupled to the processor, the processor controls a receiving action of the receiver, and the processor controls a sending action of the transmitter; and
the memory is configured to store computer executable program code, wherein the program code comprises an instruction, and when the processor executes the instruction, the instruction enables the terminal device to perform the method according to any one of claims 1 to 16.
 
50. A chip, wherein the chip comprises a module or a unit configured to perform the method according to any one of claims 1 to 16.
 
51. A computer readable storage medium, wherein the computer readable storage medium stores an instruction, and when the instruction is run on a computer, the computer is enabled to perform the method according to any one of claims 1 to 16.
 




Drawing








































Search report