Neighbor cell measurement method and device, electronic equipment and storage medium

By estimating the signal strength of neighboring cells using efficiency differences when electronic devices reside in the serving cell, the problem of low signal measurement accuracy in the prior art is solved, and more accurate cell handover is achieved.

CN118921706APending Publication Date: 2024-11-08VIVO MOBILE COMM CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411177533.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-26
Publication Date
2024-11-08

AI Technical Summary

Technical Problem

In the prior art, in the neighbor cell measurement of electronic devices, since the antenna works in the working frequency band of the serving cell, the signal strength measurement accuracy is low and it is impossible to switch to a cell with better signal in time.

Method used

By determining the efficiency difference between the first antenna efficiency and the second antenna efficiency when the electronic device resides in the service cell, and based on the signal strength of the adjacent cell, the signal strength of the antenna when it is operated in the adjacent cell is estimated, thereby improving the measurement accuracy and switching accuracy.

Benefits of technology

The accuracy of neighboring cell measurement is improved, so that electronic devices can switch to cells with better signals in time, and unnecessary switching is avoided when the signal strength of the serving cell is poor.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118921706A_ABST
    Figure CN118921706A_ABST
Patent Text Reader

Abstract

The invention discloses a neighbor cell measurement method and device, electronic equipment and a storage medium, and belongs to the technical field of communication. The method comprises the following steps: determining the working state of the electronic equipment under the condition that the electronic equipment resides in a service cell; based on the working state, determining an efficiency difference between the first antenna efficiency and the second antenna efficiency; wherein the first antenna efficiency is the antenna efficiency of the antenna of the electronic equipment under the working frequency band of the neighbor cell when the antenna works at the working frequency band of the service cell; the second antenna efficiency is the antenna efficiency under the working frequency band of the neighbor cell when the antenna works at the working frequency band of the neighbor cell; determining second signal strength of the neighbor cell based on the efficiency difference and the first signal strength of the neighbor cell; wherein the first signal strength represents the signal strength of the adjacent cell when the antenna works in the working frequency band of the service cell; the second signal intensity represents the signal intensity of the adjacent cell when the antenna works in the working frequency band of the adjacent cell.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of communication technology, and specifically relates to a neighboring cell measurement method, device, electronic device and storage medium. Background Art

[0002] When an electronic device moves between cells, or the state of a cell where it resides changes, the electronic device needs to switch between cells to ensure that it can reside in a cell with better signals.

[0003] In the related art, when the antenna of an electronic device operates in the working frequency band of a serving cell, the antenna of the electronic device is usually used to directly perform neighboring cell measurement to determine whether to switch the electronic device to the neighboring cell.

[0004] However, since the antenna of the electronic device operates in the working frequency band of the service cell, the performance of the electronic device in other working frequency bands is poor. Therefore, if the working frequency band of the neighboring cell is different from the working frequency band of the service cell, it may cause the electronic device to measure the neighboring cell. The measured signal strength of the neighboring cell is poor and the measurement result is less accurate, which in turn causes the electronic device to be unable to switch to a cell with better signal in time. Summary of the invention

[0005] The purpose of the embodiments of the present application is to provide a neighbor cell measurement method, device, electronic device and storage medium, which can improve the accuracy of neighbor cell measurement and enable the electronic device to switch to a cell with better signal in time.

[0006] In a first aspect, an embodiment of the present application provides a neighboring cell measurement method, the method comprising:

[0007] In the case where the electronic device resides in the serving cell, determining the operating state of the electronic device;

[0008] Based on the working state, determining the efficiency difference between the first antenna efficiency and the second antenna efficiency; wherein the first antenna efficiency is the antenna efficiency of the electronic device in the working frequency band of the neighboring cell when the antenna of the electronic device works in the working frequency band of the serving cell; the second antenna efficiency is the antenna efficiency of the antenna in the working frequency band of the neighboring cell when the antenna works in the working frequency band of the neighboring cell;

[0009] Determining a second signal strength of the neighboring cell based on the efficiency difference and the first signal strength of the neighboring cell;

[0010] The first signal strength represents the signal strength of the neighboring cell when the antenna operates in the operating frequency band of the serving cell; the second signal strength represents the signal strength of the neighboring cell when the antenna operates in the operating frequency band of the neighboring cell.

[0011] In a second aspect, an embodiment of the present application provides a neighboring cell measurement device, the device comprising:

[0012] A determination module is used to determine the working state of an electronic device when the electronic device resides in a serving cell; and, based on the working state, determine the efficiency difference between a first antenna efficiency and a second antenna efficiency; wherein the first antenna efficiency is the antenna efficiency of the electronic device in the working frequency band of a neighboring cell when the antenna operates in the working frequency band of the serving cell; the second antenna efficiency is the antenna efficiency of the antenna in the working frequency band of the neighboring cell when the antenna operates in the working frequency band of the neighboring cell; and, based on the efficiency difference between the second antenna efficiency and the first antenna efficiency and the first signal strength of the neighboring cell, determine the second signal strength of the neighboring cell; wherein the first signal strength represents the signal strength of the neighboring cell when the antenna operates in the working frequency band of the serving cell; and the second signal strength represents the signal strength of the neighboring cell when the antenna operates in the working frequency band of the neighboring cell.

[0013] In a third aspect, an embodiment of the present application provides an electronic device, comprising a processor and a memory, wherein the memory stores a program or instruction that can be run on the processor, and when the program or instruction is executed by the processor, the steps of the neighboring cell measurement method described in the first aspect are implemented.

[0014] In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the steps of the neighboring cell measurement method described in the first aspect are implemented.

[0015] In a fifth aspect, an embodiment of the present application provides a chip, comprising a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run a program or instruction to implement the neighboring cell measurement method as described in the first aspect.

[0016] In a sixth aspect, an embodiment of the present application provides a computer program product, which is stored in a storage medium and executed by at least one processor to implement the neighboring cell measurement method as described in the first aspect.

[0017] In an embodiment of the present application, when the electronic device resides in a serving cell, the working state of the electronic device is determined; based on the working state, the efficiency difference between the first antenna efficiency and the second antenna efficiency is determined; wherein the first antenna efficiency is the antenna efficiency of the electronic device in the working frequency band of the serving cell when the antenna operates in the working frequency band of the neighboring cell; the second antenna efficiency is the antenna efficiency in the working frequency band of the neighboring cell when the antenna operates in the working frequency band of the neighboring cell; based on the efficiency difference and the first signal strength of the neighboring cell, the second signal strength of the neighboring cell is determined; wherein the first signal strength represents the signal strength of the neighboring cell when the antenna operates in the working frequency band of the serving cell; the second signal strength represents the signal strength of the neighboring cell when the antenna operates in the working frequency band of the neighboring cell. In this way, compared with the prior art that directly uses the measured first signal strength of the neighboring cell to determine whether to perform cell switching, the present application obtains the efficiency difference between the antenna efficiency when the antenna works in the working frequency band of the service cell and the working frequency band of the neighboring cell. Since the efficiency difference can be understood as the loss when the antenna processes the signal of the working frequency band of the neighboring cell when the antenna works in the working frequency band of the service cell, the efficiency difference can be used to compensate for the measured first signal strength of the neighboring cell, thereby estimating the signal strength when the antenna works in the neighboring cell, and determining the actual network situation of the neighboring cell, thereby improving the accuracy of the neighboring cell measurement. Subsequently, whether to perform cell switching is determined based on the estimated signal strength of the antenna in the neighboring cell, thereby improving the accuracy of cell switching, so that the electronic device can switch to a cell with better signal in a timely manner. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] Figure 1 This is one of the flow charts of the neighboring cell measurement method provided in the embodiment of the present application;

[0019] Figure 2 It is one of the schematic diagrams of the data structure stored in the register provided in the embodiment of the present application;

[0020] Figure 3 This is the second schematic diagram of the data structure stored in the register provided in the embodiment of the present application;

[0021] Figure 4 is a schematic diagram of an antenna efficiency curve provided in an embodiment of the present application;

[0022] Figure 5 is a schematic diagram of an electronic device and a cell provided in an embodiment of the present application;

[0023] Figure 6 It is one of the schematic diagrams of the radio frequency circuit included in the electronic device provided in the embodiment of the present application;

[0024] Figure 7 This is the second flow chart of the neighboring cell measurement method provided in the embodiment of the present application;

[0025] Figure 8 This is the third flow chart of the neighboring cell measurement method provided in the embodiment of the present application;

[0026] Fig. 9 This is the third schematic diagram of the data structure stored in the register provided in the embodiment of the present application;

[0027] Fig.10 This is a second schematic diagram of a radio frequency circuit included in the electronic device provided in an embodiment of the present application;

[0028] Fig.11 This is a fourth flow chart of the neighboring cell measurement method provided in an embodiment of the present application;

[0029] Fig.12 This is one of the structural schematic diagrams of the neighboring cell measurement device provided in the embodiment of the present application;

[0030] Fig.13 This is the second structural diagram of the neighboring cell measurement device provided in the embodiment of the present application;

[0031] Fig.14 is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application;

[0032] Fig.15 It is a schematic diagram of the hardware structure of the electronic device provided in the embodiment of the present application. DETAILED DESCRIPTION

[0033] The following will be combined with the drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments in the present application belong to the scope of protection of this application.

[0034] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first", "second", etc. are generally of one type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally indicates that the objects associated with each other are in an "or" relationship.

[0035] The terms "at least one (item)", "at least one of" and the like in the specification and claims of the present application refer to any one, any two or a combination of more than two of the objects included therein. For example, at least one (item) of a, b, and c can be represented by: "a", "b", "c", "a and b", "a and c", "b and c" and "a, b and c", where a, b, and c can be single or multiple. Similarly, "at least two (items)" refers to two or more, and its meaning is similar to that of "at least one (item)".

[0036] The neighboring cell measurement method, device, electronic device, and storage medium provided in the embodiments of the present application are described in detail below with reference to the accompanying drawings through specific embodiments and their application scenarios.

[0037] The neighboring cell measurement method provided in the embodiment of the present application can be applied to the scenario of cell switching, mainly to determine whether to switch the electronic device from the current serving cell to the neighboring cell according to the signal strength of the neighboring cell obtained after the neighboring cell measurement.

[0038] In the related art, in order to enable an electronic device to reside in a cell with better signals, when the antenna of the electronic device operates in the working frequency band of the serving cell, the electronic device can tune the working frequency band of the electronic device to the working frequency band of the neighboring cell, and then perform neighboring cell measurements to determine whether to switch the electronic device to connect to the neighboring cell.

[0039] However, when the signal strength of the serving cell is poor, after tuning the working frequency band of the electronic device, the communication quality of the electronic device in the serving cell will deteriorate or even be disconnected, affecting the normal use of the electronic device.

[0040] To this end, an embodiment of the present application provides a neighboring cell measurement method, which determines the working state of the electronic device when the electronic device resides in a service cell; based on the working state, determines the efficiency difference between the first antenna efficiency and the second antenna efficiency; wherein the first antenna efficiency is the antenna efficiency of the electronic device in the working frequency band of the neighboring cell when the antenna operates in the working frequency band of the service cell; the second antenna efficiency is the antenna efficiency in the working frequency band of the neighboring cell when the antenna operates in the working frequency band of the neighboring cell; based on the efficiency difference between the second antenna efficiency and the first antenna efficiency and the first signal strength of the neighboring cell, determines the second signal strength of the neighboring cell; wherein the first signal strength represents the signal strength of the neighboring cell when the antenna operates in the working frequency band of the service cell; the second signal strength represents the signal strength of the neighboring cell when the antenna operates in the working frequency band of the neighboring cell. In this way, compared with the prior art that directly uses the measured first signal strength of the neighboring cell to determine whether to perform cell switching, the present application obtains the efficiency difference between the antenna efficiency when the antenna works in the working frequency band of the service cell and the working frequency band of the neighboring cell. Since the efficiency difference can be understood as the loss when the antenna processes the signal of the working frequency band of the neighboring cell when the antenna works in the working frequency band of the service cell, the measured first signal strength of the neighboring cell can be compensated based on the efficiency difference, thereby estimating the signal strength of the antenna when working in the neighboring cell, and determining the actual network situation of the neighboring cell, thereby improving the accuracy of the neighboring cell measurement. Subsequently, whether to perform cell switching is determined based on the estimated signal strength of the antenna in the neighboring cell, thereby improving the accuracy of cell switching, so that the electronic device can switch to a cell with better signal in a timely manner.

[0041] The execution subject of the neighboring cell measurement method provided in the embodiment of the present application may be a neighboring cell measurement device. Exemplarily, the neighboring cell measurement device may be an electronic device, or a component in the electronic device, such as an integrated circuit or a chip. The neighboring cell measurement method provided in the embodiment of the present application is exemplarily described below by taking the execution subject as an electronic device as an example.

[0042] Figure 1 is a flow chart of a neighboring cell measurement method provided in an embodiment of the present application, such as Figure 1 As shown, the neighboring cell measurement method provided in the embodiment of the present application may include the following steps 101 to 103.

[0043] Step 101: When an electronic device resides in a serving cell, the electronic device determines a working state of the electronic device.

[0044] In some embodiments of the present application, the electronic device may be a user equipment (UE). For example, the electronic device may be a mobile phone, a laptop computer, a tablet computer, a wearable device, and the like.

[0045] In some embodiments of the present application, the antenna of the electronic device may be a transceiver antenna supporting antenna tuning.

[0046] In some embodiments of the present application, the above-mentioned service cell is a cell where the electronic device currently resides, and can also be understood as a cell that is currently connected to the electronic device.

[0047] In some embodiments of the present application, the above-mentioned cell refers to an area covered by a base station or a part of a base station in a cellular mobile communication system.

[0048] In some embodiments of the present application, the electronic device resides in a serving cell, and the antenna of the electronic device operates in the working frequency band of the serving cell, that is, the working frequency band used by the antenna of the electronic device is the working frequency band of the serving cell.

[0049] In some embodiments of the present application, the electronic device resides in a serving cell, and the resonant frequency of the electronic device is in the working frequency band of the serving cell, and the performance of the electronic device in the serving cell is the best.

[0050] In some embodiments of the present application, the working state of the electronic device is used to represent the working scene of the electronic device. That is, the working state of the electronic device corresponds to the working scene of the electronic device one by one, and when the electronic device is in different working states, it means that the electronic device is in different working scenes.

[0051] Exemplarily, the working state of the electronic device may include State0, State1, ..., Statei, where i is an integer greater than 1. For example, State0 represents a working scene of making a phone call, State1 represents a working scene of playing games, Statei represents a working scene of holding with one hand, and so on.

[0052] In some embodiments of the present application, the electronic device can determine the working state of the electronic device by measuring impedance information or collecting sensor information.

[0053] Optionally, in an embodiment of the present application, the above step 101 can be implemented by following steps 21-22.

[0054] Step 21: The electronic device obtains second real-time impedance information of the antenna.

[0055] In some embodiments of the present application, the second real-time impedance information is impedance information in the working frequency band of the serving cell when the antenna operates in the working frequency band of the serving cell.

[0056] It can be understood that the second real-time impedance information is the impedance range of the antenna in the working frequency band of the serving cell when the antenna works in the working frequency band of the serving cell. It is not a data but a data range.

[0057] In some embodiments of the present application, one cell may correspond to one working frequency band.

[0058] Exemplarily, the working frequency band of the service cell may be B5, and the working frequency range corresponding to the working frequency band B5 is 824 MHz to 894 MHz.

[0059] In some embodiments of the present application, the electronic device is configured to support multiple frequency bands when it leaves the factory, and different frequency bands correspond to different transceiver paths in the radio frequency circuit of the electronic device.

[0060] In some embodiments of the present application, the electronic device can obtain the second real-time impedance information of the antenna through real-time measurement. In this case, the second real-time impedance information can be the transmission impedance information of the antenna in the working frequency band of the service cell when the antenna operates in the working frequency band of the service cell, that is, the impedance information of the transmission path corresponding to the working frequency band of the service cell.

[0061] Exemplarily, when an electronic device resides in a service cell, the antenna of the electronic device can transmit a signal with a frequency in the working frequency band of the service cell, and measure the impedance information of the transmission path corresponding to the working frequency band of the antenna in the service cell, that is, the transmission impedance information, and use the transmission impedance information as the above-mentioned second real-time impedance information.

[0062] Exemplarily, the electronic device can obtain the transmission impedance information by measuring: the antenna of the electronic device transmits a signal with a frequency in the working frequency band of the service cell, that is, the bandwidth of the signal corresponds to the working frequency band of the service cell, and the incident signal and the reflected signal of the signal are measured, and the ratio of the incident signal to the reflected signal is determined as the transmission impedance information.

[0063] In some other embodiments of the present application, the electronic device can search for corresponding receiving impedance information based on the real-time measured transmitting impedance information, thereby obtaining the second real-time impedance information of the antenna. In this case, the second real-time impedance information can be the receiving impedance information of the antenna in the working frequency band of the serving cell when the antenna is working in the working frequency band of the serving cell, that is, the impedance information of the receiving path corresponding to the working frequency band of the serving cell.

[0064] Exemplarily, when the electronic device resides in a service cell, after the electronic device measures the impedance information of the transmission path corresponding to the working frequency band of the antenna in the service cell, that is, the transmission impedance information, it searches for the receiving impedance information corresponding to the transmission impedance information from the impedance information set, and uses the receiving impedance information as the above-mentioned second real-time impedance information.

[0065] It should be noted that when the transmitting frequency and receiving frequency of the antenna are the same, the receiving impedance information of the antenna when working in the working frequency band of the service cell is the same as the transmitting impedance information of the antenna when working in the working frequency band of the service cell; when the transmitting frequency and receiving frequency of the antenna are different, the receiving impedance information of the antenna when working in the working frequency band of the service cell may be different from the transmitting impedance information of the antenna when working in the working frequency band of the service cell.

[0066] It should be noted that the above-mentioned method of measuring the second real-time impedance information is only an example. In a specific implementation, any relevant technology capable of measuring impedance information can be used to measure the second real-time impedance information, and the embodiment of the present application does not limit this.

[0067] Step 22: The electronic device determines a working state corresponding to the second real-time impedance information from the second impedance information set, and determines the working state corresponding to the second real-time impedance information as the working state of the electronic device.

[0068] In some embodiments of the present application, the second impedance information set is obtained through a large number of experiments and is pre-stored in the electronic device.

[0069] Exemplarily, a register is configured in the electronic device, and the second impedance information set may be pre-stored in the register.

[0070] In some embodiments of the present application, the second impedance information set includes one or more impedance information, and each impedance information is impedance information in the working frequency band of the serving cell when the antenna works in the working frequency band of the serving cell in a working state.

[0071] For example, Figure 2 Schematic diagram of the data structure stored in the register provided in the embodiment of the present application. Figure 2As shown, taking the antenna ANT101 as an example, the register stores the transmitting impedance information of the transmitting path and the receiving impedance information of the receiving path when the antenna ANT101 works in different working frequency bands under multiple working states, and the transmitting impedance information and the receiving impedance information have a one-to-one correspondence: Zc_101_BandA_TX_State0, Zc_101_BandA_RX_State0, Zc_101_BandA_TX_State1, Zc_101_BandA_RX_State1… ..., Zc_101_BandA_TX_Statei, Zc_101_BandA_RX_Statei, Zc_101_BandB_TX_State0, Zc_101_BandB_RX_State0, Zc_101_BandB_TX_State1, Zc_101_BandB_RX_State1..., Zc_101_BandB_TX_Statei, Zc_101_BandB_RX_Statei.

[0072] Among them, Zc represents impedance information, 101 represents an antenna, BandA or BandB represents a working frequency band of cell A or a working frequency band of cell B, TX represents transmission, RX represents reception, and Statei represents a working state.

[0073] It can be understood that the above Zc_101_BandA_TX_State0 represents the transmission impedance information of the working frequency band BandA of cell A when the antenna ANT101 works in the working frequency band BandA of cell A in the working state State0, and the above Zc_101_BandB_RX_State1 represents the receiving impedance information of the working frequency band BandB of cell B when the antenna ANT101 works in the working frequency band BandB of cell B in the working state State1.

[0074] It should be noted that the above Figure 2 Only the impedance information of antenna ANT101 is used as an example for exemplary illustration. In a specific implementation, the register can store the impedance information of multiple different antennas. The storage method is the same as Figure 2 same.

[0075] In some embodiments of the present application, the second impedance information set may be a receiving impedance information set or a transmitting impedance information set.

[0076] Exemplarily, when the second impedance information set is a receiving impedance information set, each impedance information included in the second impedance information set is receiving impedance information in the working frequency band of the serving cell when the antenna operates in the working frequency band of the serving cell in one working state.

[0077] For example, combined with Figure 2 Taking the serving cell as cell A as an example, the second impedance information set may include: Zc_101_BandA_RX_State0, Zc_101_BandA_RX_State1, ..., Zc_101_BandA_RX_Statei.

[0078] Exemplarily, when the second impedance information set is a transmission impedance information set, each impedance information included in the second impedance information set is transmission impedance information in the working frequency band of the serving cell when the antenna operates in the working frequency band of the serving cell in one working state.

[0079] For example, combined with Figure 2 Taking the serving cell as cell A as an example, the second impedance information set may include: Zc_101_BandA_TX_State0, Zc_101_BandA_TX_State1, ..., Zc_101_BandA_TX_Statei.

[0080] In some embodiments of the present application, the electronic device can search for impedance information corresponding to the service cell and whose range includes the second real-time impedance information from the second impedance information set, or search for impedance information corresponding to the service cell and the same as the second real-time impedance information from the second impedance information set, and then determine the working state corresponding to the found impedance information as the working state of the electronic device.

[0081] For example, in combination Figure 2 Taking the serving cell as cell A, the antenna as 101, and the second impedance information as the transmitting impedance information as an example, the electronic device can search the transmitting impedance information corresponding to BandA and the antenna ANT101 from the transmitting impedance information set, and the impedance information includes the second impedance information, and obtain Zc_101_BandA_TX_State0. Since Zc_101_BandA_TX_State0 represents the transmitting impedance information when the antenna ANT101 works in BandA in the working state State0, it can be determined that the working state of the electronic device is State0.

[0082] In this way, since the impedance information of the antenna of the electronic device is different when the working state of the electronic device is different, when the second impedance information set includes impedance information when the antenna of the electronic device works in the working frequency band of the service cell under different working states, by comparing the measured second real-time impedance information with the second impedance information set, the working state of the electronic device can be determined, so that subsequent neighboring cell measurement steps are all implemented in the working state of the electronic device, thereby improving the accuracy of neighboring cell measurement.

[0083] In some embodiments of the present application, the electronic device is also configured with sensors such as an earpiece, a proximity sensor, a gyroscope, a Hall device, etc. The working scene of the electronic device is determined based on the information collected by the sensor, and then the working state corresponding to the current working scene is determined based on the correspondence between the working scene and the working state.

[0084] Example 1, the above-mentioned determining the working scene of the electronic device according to the information collected by the sensor includes: directly determining the working scene of the electronic device according to the information collected by the sensor.

[0085] For example, assuming that the gyroscope, accelerometer and other sensors of the electronic device collect the rotation angular velocity and rotation direction of the electronic device, based on the rotation angular velocity and rotation direction, it can be determined that the electronic device is held in one hand, and based on the proximity sensor, it can be determined that the user's head is not close to the electronic device, then it can be determined that the working scenario of the electronic device is held in one hand.

[0086] Example 2: The above-mentioned determining the working scene of the electronic device based on the information collected by the sensor includes: determining the working scene of the electronic device based on the information collected by the sensor and the page information of the current page of the electronic device.

[0087] For example, assuming that the gyroscope, accelerometer and other sensors of the electronic device collect the angular velocity and rotation direction of the electronic device, and determine that the electronic device is held in one hand based on the angular velocity and rotation direction, and determine that the user's head is close to the electronic device based on the proximity sensor, and the page currently displayed by the electronic device is a call page, then it can be determined that the working scenario of the electronic device is making a call.

[0088] It should be noted that the above-mentioned implementation method of determining the working status of the electronic device through the sensor can be any feasible method using the above-mentioned sensor, and the embodiments of the present application are not limited to this.

[0089] In this way, the electronic device determines the working state of the electronic device through the information of the sensor, and does not need to measure the impedance information, which can reduce the amount of calculation for measuring the impedance information and improve the processing efficiency of the electronic device.

[0090] Optionally, in the embodiment of the present application, the above step 101 can be implemented by the following step 301.

[0091] Step 301: When the electronic device resides in a serving cell, if the target signal strength meets a first condition, determine the working state of the electronic device.

[0092] In some embodiments of the present application, the above-mentioned target signal strength may include a first signal strength and a third signal strength.

[0093] In some embodiments of the present application, the third signal strength represents the signal strength when the antenna operates in the working frequency band of the serving cell, that is, the third signal strength is the signal strength of the serving cell.

[0094] In some embodiments of the present application, the first signal strength represents the signal strength of a neighboring cell when the antenna operates in the working frequency band of the serving cell.

[0095] In some embodiments of the present application, the neighboring cell is a cell adjacent to the serving cell. Furthermore, the neighboring cell and the serving cell may be different areas covered by the same base station or different areas covered by different base stations.

[0096] It should be noted that the number of the above-mentioned neighboring cells may be one or more. This embodiment takes the number of the neighboring cell as one as an example to explain the neighboring cell measurement method provided in the embodiment of the present application.

[0097] In some embodiments of the present application, the signal strength value of the signal strength measured by the above-mentioned electronic device may include at least one of the following: reference signal received power (Reference Signal Receiving Power, RSRP), reference signal received quality (Reference Signal Receiving Quality, RSRQ), received signal strength indication (Received Signal Strength Indication, RSSI), and signal to noise ratio (Signal to Interference plus Noise Ratio, SINR).

[0098] In some embodiments of the present application, when the electronic device resides in a service cell, the electronic device can continuously measure the signal strength of the service cell, i.e., the third signal strength, and intermittently measure the signal strength of the neighboring cell, i.e., the first signal strength, and determine the working status of the electronic device when it is determined that the target signal strength (including the first signal strength and the third signal strength) meets the first condition.

[0099] In some embodiments of the present application, the first condition includes any one of the following: the third signal strength decreases, the third signal strength is lower than a strength threshold, and the first signal strength increases.

[0100] In some embodiments of the present application, the third signal strength reduction may be understood as the signal strength of the electronic device being weakened when operating in the operating frequency band of the serving cell.

[0101] Exemplarily, the electronic device may compare the third signal strength measured this time with the third signal strength measured last time. If the third signal strength measured this time is much smaller than the third signal strength measured last time, that is, the decrease is relatively large, then it is determined that the third signal strength has decreased. Alternatively, the electronic device may compare N third signal strengths obtained by N measurements. If the N third signal strengths continuously decrease in sequence, then it is determined that the third signal strength has decreased.

[0102] It should be noted that the above N is an integer greater than 2 and can be set or adjusted according to actual needs, and the embodiments of the present application do not limit this.

[0103] In some embodiments of the present application, the increase in the first signal strength may be understood as, when the electronic device operates in the working frequency band of the serving cell, the signal strength of the working frequency band of the neighboring cell is enhanced.

[0104] Exemplarily, the electronic device may compare the first signal strength measured this time with the first signal strength measured last time. If the first signal strength measured this time is much greater than the first signal strength measured last time, that is, the increase is relatively large, then it is determined that the first signal strength has increased. Alternatively, the electronic device may compare N first signal strengths obtained by N measurements. If the N first signal strengths increase continuously in sequence, then it is determined that the first signal strength has increased.

[0105] In some embodiments of the present application, the third signal strength being lower than the strength threshold may be understood as the signal strength of the electronic device being lower when operating in the operating frequency band of the serving cell.

[0106] Exemplarily, the electronic device may compare the third signal strength measured this time with the strength threshold to determine that the third signal strength is lower than the strength threshold; alternatively, the electronic device may compare N third signal strengths obtained from N measurements with the strength threshold; if the N third signal strengths are all lower than the strength threshold, then the third signal strength is lower than the strength threshold.

[0107] Among them, the above-mentioned intensity threshold can be set or adjusted according to actual needs, and the embodiments of the present application do not limit this.

[0108] Exemplarily, the target signal strength satisfies the first condition including at least one of the following:

[0109] In the case that the signal strength value of the signal strength includes RSRP, the target RSRP satisfies any one of the following: the third RSRP is decreased, the third RSRP is lower than the first RSRP threshold, and the first RSRP is increased.

[0110] In the case where the signal strength value of the signal strength includes RSRQ, the target RSRQ satisfies any one of the following: the third RSRQ decreases, the third RSRQ is lower than the first RSRQ threshold, and the first RSRQ increases.

[0111] In the case that the signal strength value of the signal strength includes RSSI, the target RSSI satisfies any one of the following items: the third RSSI decreases, the third RSSI is lower than the first RSSI threshold, and the first RSSI increases.

[0112] In the case that the signal strength value of the signal strength includes SINR, the target SINR satisfies any one of the following: the third SINR decreases, the third SINR is lower than the first SINR threshold, and the first SINR increases.

[0113] Furthermore, when the electronic device resides in a service cell, the electronic device can also monitor the transmit power of the electronic device in real time, and when the transmit power of the electronic device increases or the transmit power of the electronic device is higher than the transmit power threshold, even if the above-mentioned target signal strength does not meet the first condition, the step of determining the working status of the electronic device can be executed.

[0114] It should be noted that the above-mentioned first RSRP threshold, first RSRQ threshold, first RSSI threshold, first SINR threshold and transmit power threshold can be set or adjusted according to actual needs, and the embodiments of the present application are not limited to this.

[0115] In some embodiments of the present application, when the third signal strength decreases, or the third signal strength is lower than the strength threshold, or the first signal strength increases, or the third signal strength decreases and the first signal strength increases, or the third signal strength is lower than the strength threshold and the first signal strength increases, the electronic device can determine that it may be necessary to switch the electronic device to another cell. Therefore, the electronic device obtains the working state and performs subsequent steps based on the working state to implement neighboring cell measurement, and then determines whether to switch the electronic device to the neighboring cell. In this way, it is possible to avoid performing neighboring cell measurement when cell switching is not required, thereby reducing the workload of the electronic device.

[0116] Step 102: The electronic device determines an efficiency difference between the first antenna efficiency and the second antenna efficiency based on the working state.

[0117] In some embodiments of the present application, the first antenna efficiency is the antenna efficiency of the electronic device in the working frequency band of the neighboring cell when the antenna of the electronic device operates in the working frequency band of the serving cell.

[0118] In some embodiments of the present application, the second antenna efficiency is the antenna efficiency of the electronic device in the working frequency band of the neighboring cell when the antenna of the electronic device operates in the working frequency band of the neighboring cell.

[0119] Step 102 will be described below using two possible embodiments.

[0120] In a first possible embodiment, the above step 102 can be implemented by following the steps 401 to 403 .

[0121] Step 401: The electronic device obtains first real-time impedance information of the antenna.

[0122] In some embodiments of the present application, the first real-time impedance information is the impedance information of the antenna when the frequency of the signal transmitted by the antenna is within the working frequency band of the neighboring cell.

[0123] It can be understood that the first real-time impedance information is the impedance range of the antenna in the working frequency band of the neighboring cell when the antenna works in the working frequency band of the serving cell. It is not a data but a data range.

[0124] In some embodiments of the present application, the electronic device can obtain the first real-time impedance information of the antenna through real-time measurement. In this case, the first real-time impedance information is the transmission impedance information of the antenna when the frequency of the signal transmitted by the antenna is within the working frequency band of the neighboring cell, that is, the impedance information of the transmission path of the antenna corresponding to the working frequency band of the neighboring cell.

[0125] Exemplarily, when the electronic device resides in the service cell, the antenna of the electronic device transmits a signal on the transmission path of the working frequency band of the neighboring cell, and measures the impedance information of the transmission path corresponding to the working frequency band of the antenna in the neighboring cell, that is, the transmission impedance information, and determines the transmission impedance information as the above-mentioned first real-time impedance information.

[0126] Exemplarily, the electronic device can obtain the transmission impedance information by measuring in the following manner: the antenna of the electronic device is on the transmission path of the working frequency band of the neighboring cell, and the transmission frequency is a signal in the working frequency band of the neighboring cell, that is, the bandwidth of the signal corresponds to the working frequency band of the neighboring cell, and the incident signal and the reflected signal of the signal are measured, and the ratio of the incident signal to the reflected signal is determined as the transmission impedance information.

[0127] In some other embodiments of the present application, the electronic device can search for corresponding receiving impedance information based on the real-time measured transmitting impedance information, thereby obtaining the first real-time impedance information of the antenna. In this case, the first real-time impedance information is the receiving impedance information of the antenna when the frequency of the signal transmitted by the antenna is within the working frequency band of the neighboring cell, that is, the impedance information of the receiving path corresponding to the working frequency band of the neighboring cell.

[0128] Exemplarily, when the electronic device resides in a serving cell, after the electronic device measures the impedance information of the transmitting path corresponding to the working frequency band of the antenna in the neighboring cell, that is, the transmitting impedance information, it searches for the receiving impedance information corresponding to the transmitting impedance information from the impedance information set, and uses the receiving impedance information as the above-mentioned first real-time impedance information.

[0129] It should be noted that the above-mentioned method of measuring the first real-time impedance information is only an example. In a specific implementation, any relevant technology capable of measuring impedance information can be used to measure the first real-time impedance information, and the embodiment of the present application does not limit this.

[0130] Step 402: The electronic device determines impedance information corresponding to the working state from the first impedance information set based on the working state, and uses the impedance information corresponding to the working state as the first impedance information.

[0131] In some embodiments of the present application, the first impedance information set is obtained through a large number of experiments and is pre-stored in the electronic device.

[0132] Exemplarily, a register is configured in the electronic device, and the first impedance information set may be pre-stored in the register.

[0133] In some embodiments of the present application, the first impedance information set includes one or more impedance information, and each impedance information is impedance information in the working frequency band of a neighboring cell when the antenna works in the working frequency band of the neighboring cell in a working state.

[0134] In some embodiments of the present application, the first impedance information set may be a transmitting impedance information set or a receiving impedance information set.

[0135] Exemplarily, when the first impedance information set is a transmitting impedance information set, each impedance information included in the first impedance information set is, in a working state, when the antenna operates in the working frequency band of the neighboring cell, the transmitting impedance information in the working frequency band of the neighboring cell, that is, the impedance information of the transmitting path corresponding to the working frequency band of the neighboring cell.

[0136] For example, combined with Figure 2 Taking the neighboring cell as cell B as an example, the first impedance information set may include: Zc_101_BandB_TX_State0, Zc_101_BandB_TX_State1, ..., Zc_101_BandB_TX_Statei.

[0137] Exemplarily, when the first impedance information set is a receiving impedance information set, each impedance information included in the first impedance information set is the receiving impedance information in the working frequency band of the neighboring cell when the antenna operates in the working frequency band of the neighboring cell in a certain working state, that is, the impedance information of the receiving path corresponding to the working frequency band of the neighboring cell.

[0138] For example, combined with Figure 2 Taking the neighboring cell as cell B as an example, the first impedance information set may include: Zc_101_BandB_RX_State0, Zc_101_BandB_RX_State1, ..., Zc_101_BandB_RX_Statei.

[0139] In some embodiments of the present application, the electronic device may search for impedance information corresponding to the neighboring cell and the working state from the first impedance information set, and then determine the found impedance information as the first impedance information.

[0140] For example, in combination Figure 2 Taking the neighboring cell as cell B, the antenna as 101, the working state as State0, and the first impedance information set as the transmitting impedance information set as an example, the electronic device can search for impedance information corresponding to BandB, corresponding to the antenna ANT101, and corresponding to the working state State0 from the transmitting impedance information set, obtain Zc_101_BandB_TX_State0, and use Zc_101_BandB_TX_State0 as the first impedance information.

[0141] Step 403: The electronic device determines the efficiency difference based on the difference between the first real-time impedance information and the first impedance information.

[0142] Optionally, in an embodiment of the present application, when the first real-time impedance information and the first impedance information are both received impedance information, the electronic device can calculate the difference between the first impedance information and the first real-time impedance information, and then calculate the efficiency difference between the second antenna efficiency and the first antenna efficiency based on the difference.

[0143] Optionally, in an embodiment of the present application, when there is transmitting impedance information in the first real-time impedance information and the first impedance information, the electronic device can first find the corresponding receiving impedance information, and then calculate the difference between the impedance information, and then calculate the efficiency difference between the second antenna efficiency and the first antenna efficiency based on the difference.

[0144] In this way, the electronic device calculates the efficiency difference between the antenna operating in the working frequency band of the service cell and the antenna operating in the working frequency band of the neighboring cell by impedance measurement. The calculated efficiency difference is more in line with the actual situation and has higher accuracy.

[0145] In a second possible embodiment, the electronic device obtains the first antenna efficiency and the second antenna efficiency based on the working state, and then calculates the difference between the second antenna efficiency and the first antenna efficiency to obtain the above efficiency difference.

[0146] In some embodiments of the present application, before the above step 102, the neighboring cell measurement method provided by the embodiment of the present application may further include the following step 501.

[0147] Step 501: The electronic device determines, based on the working state, an antenna efficiency corresponding to the working state from a first antenna efficiency set, and uses the antenna efficiency corresponding to the working state as the first antenna efficiency.

[0148] In some embodiments of the present application, the first antenna efficiency set is obtained through a large number of experiments and is pre-stored in the electronic device.

[0149] Exemplarily, a register is configured in the electronic device, and the first antenna efficiency set may be pre-stored in the register.

[0150] In some embodiments of the present application, the above-mentioned first antenna efficiency set includes multiple antenna efficiencies; each antenna efficiency is the antenna efficiency in the working frequency band of the neighboring cell when the antenna operates in the working frequency band of the serving cell in a certain working state.

[0151] For example, Figure 3 Schematic diagram of the data structure stored in the register provided in the embodiment of the present application. Figure 3 As shown, the register can store the antenna efficiencies in different working frequency bands when the antenna works in different working frequency bands under multiple working states:

[0152] Effi._BandA_State0_Freq.A, Effi._BandA_State0_Freq.B, Effi._BandA_State0_Freq.C……

[0153] Effi._BandA_State1_Freq.A, Effi._BandA_State1_Freq.B, Effi._BandA_State1_Freq.C……

[0154] Effi._BandB_State0_Freq.A, Effi._BandB_State0_Freq.B, Effi._BandB_State0_Freq.C……

[0155] Effi._BandB_State1_Freq.A, Effi._BandB_State1_Freq.B, Effi._BandB_State1_Freq.C………

[0156] Among them, Effi. indicates antenna efficiency, BandA, BandB and BandC indicate the working frequency bands of cells A, B and C respectively, Statei indicates the working state, Freq.A, Freq.B and Freq.C indicate the range of working frequencies included in the working frequency bands of cells A, B and C respectively, which may also be referred to as working frequency bands. For example, the working frequency band BandB may be B8, and Freq.B may be 703 MHz to 803 MHz.

[0157] It can be understood that the above Effi._BandA_State0_Freq.B represents the antenna efficiency in the working frequency band Freq.B of cell B when the antenna works in the working frequency band BandA of cell A in the working state State0; Effi._BandB_State1_Freq.C represents the antenna efficiency in the working frequency band Freq.C of cell C when the antenna works in the working frequency band BandB of cell B in the working state State1.

[0158] It should be noted that the above Figure 3 The antenna efficiency of the same antenna is used as an example for illustration. In a specific implementation, the register can store the antenna efficiencies of multiple different antennas. The storage method is the same as Figure 3 same.

[0159] For example, in combination Figure 3 For the same antenna, taking the serving cell as cell A and the neighboring cell as cell B as an example, the first antenna efficiency set may include: Effi._BandA_State0_Freq.B, Effi._BandA_State1_Freq.B, Effi._BandA_Statei_Freq.B, and so on.

[0160] For example, in combination Figure 3 Taking the serving cell as cell A, the neighboring cell as cell B, and the working state of the electronic device as State0 as an example, the electronic device searches for the antenna efficiency corresponding to BandA, Freq.B, and the working state State0 from the first antenna efficiency set stored in the register, obtains Effi._BandA_State0_Freq.B, and uses Effi._BandA_State0_Freq.B as the first antenna efficiency.

[0161] In this way, the electronic device does not need to measure impedance information, but directly searches for the first antenna efficiency from the pre-stored first antenna efficiency set according to the working state, which reduces the data processing amount of the electronic device and improves the efficiency of the electronic device in performing neighboring cell measurement.

[0162] In some embodiments of the present application, before the above step 102, the neighboring cell measurement method provided by the embodiment of the present application may further include the following step 701.

[0163] Step 701: The electronic device determines, based on the working state, an antenna efficiency corresponding to the working state from a second antenna efficiency set, and uses the antenna efficiency corresponding to the working state as the second antenna efficiency.

[0164] In some embodiments of the present application, the second antenna efficiency set is obtained through a large number of experiments and is pre-stored in the electronic device.

[0165] Exemplarily, a register is configured in the electronic device, and the second antenna efficiency set may be pre-stored in the register.

[0166] In some embodiments of the present application, the second antenna efficiency set includes multiple antenna efficiencies, each antenna efficiency is the antenna efficiency when the antenna works in the working frequency band of a neighboring cell in a certain working state, that is, the antenna efficiency of the antenna in the working frequency band of the neighboring cell when the antenna works in the working frequency band of the neighboring cell.

[0167] For example, in combination Figure 3 Taking the neighboring cell as cell B as an example, the second antenna efficiency set may include: Effi._BandB_State0_Freq.B, Effi._BandB_State1_Freq.B, Effi._BandB_State2_Freq.B, Effi._BandB_Statei_Freq.B and so on.

[0168] Exemplarily, taking the neighboring cell as cell B and the working state of the electronic device as State0, the electronic device searches for the antenna efficiency corresponding to BandB, Freq.B, and the working state State0 from the first antenna efficiency set stored in the register, obtains Effi._BandB_State0_Freq.B, and uses Effi._BandB_State0_Freq.B as the second antenna efficiency.

[0169] In this way, the electronic device does not need to measure impedance information, but directly searches for the second antenna efficiency from the pre-stored second antenna efficiency set according to the working state, which reduces the data processing amount of the electronic device and improves the efficiency of the electronic device in performing neighboring cell measurement.

[0170] Optionally, in an embodiment of the present application, after respectively finding and obtaining the first antenna efficiency and the second antenna efficiency through the above steps 501 and 701, the electronic device may subtract the first antenna efficiency from the second antenna efficiency to obtain the above efficiency difference.

[0171] In this way, the electronic device does not need to measure impedance information, but directly searches for antenna efficiency from a pre-stored antenna efficiency set according to the working state and calculates the efficiency difference, which reduces the processing flow of the electronic device and improves the efficiency of the electronic device in performing neighboring cell measurement.

[0172] Step 103: The electronic device determines a second signal strength of a neighboring cell based on the efficiency difference and the first signal strength of the neighboring cell.

[0173] In some embodiments of the present application, the first signal strength represents the signal strength of a neighboring cell when the antenna operates in the working frequency band of the serving cell.

[0174] In some embodiments of the present application, the second signal strength represents the signal strength of a neighboring cell when the antenna operates in a working frequency band of the neighboring cell.

[0175] In some embodiments of the present application, when the first antenna efficiency, the second antenna efficiency and the first signal strength are all expressed in the form of db values, the electronic device calculates the efficiency difference obtained by subtracting the first antenna efficiency from the second antenna efficiency, and then adds the efficiency difference to the first signal strength to obtain the second signal strength.

[0176] For example, Figure 4 is a schematic diagram of an antenna efficiency curve provided in an embodiment of the present application. Figure 4 In the figure, the horizontal axis represents the operating frequency of the antenna in the electronic device, the vertical axis represents the antenna efficiency (in dB), FreqA is the operating frequency range of cell A, FreqB is the operating frequency range of cell B, the solid line is the antenna efficiency curve when the antenna works in Band A under the working state Statei, that is, BandA_Statei antenna efficiency curve, the dotted line is the antenna efficiency curve when the antenna works in Band B under the working state Statei, that is, Band B_Statei antenna efficiency curve, Effi._BandA_Statei_FreqB represents the antenna efficiency when the antenna works in Band A (the above-mentioned first antenna efficiency), Effi._BandB_Statei_FreqB represents the antenna efficiency when the antenna works in Band B (the above-mentioned second antenna efficiency), and △Effi._ANT101_BandA-B_Freq.B represents the efficiency difference (the above-mentioned efficiency difference) of the antenna at the working frequency Freq.B when the antenna works in different working frequency bands.

[0177] In this way, since the antenna has poor performance and large losses outside its working frequency band, the efficiency difference between the second antenna efficiency and the first antenna efficiency can be understood as the loss when the antenna processes the signal of the working frequency band of the neighboring cell when it works in the working frequency band of the service cell. Therefore, based on the efficiency difference, the measured first signal strength of the neighboring cell is compensated to obtain a more accurate second signal strength. The second signal strength can accurately characterize the signal strength of the neighboring cell when the antenna works in the working frequency band of the neighboring cell, thereby improving the accuracy of the neighboring cell measurement.

[0178] It should be noted that the neighboring cell measurement can be implemented according to the above description, and the process of determining whether to perform cell switching based on the second signal strength of the neighboring cell is described below.

[0179] Optionally, in the embodiment of the present application, after the above step 103, the neighboring cell measurement method provided in the embodiment of the present application further includes the following step 801.

[0180] Step 801: When the second signal strength is greater than the third signal strength, or the second signal strength is less than the third signal strength and the bit error rate of the serving cell is greater than a first threshold, the electronic device establishes a connection with a neighboring cell.

[0181] In some embodiments of the present application, the third signal strength represents the signal strength when the antenna operates in the working frequency band of the serving cell.

[0182] In some embodiments of the present application, the second signal strength being greater than the third signal strength includes any of the following items: the second signal strength is greater than the third signal strength and the difference between the signal strength value of the second signal strength and the signal strength value of the third signal strength is greater than a second threshold, and the number of times the second signal strength is greater than the third signal strength exceeds M times, where M is an integer greater than 0.

[0183] It should be noted that the second threshold and M can be set or adjusted according to actual needs, and the embodiment of the present application does not limit this. For example, M takes a value of 3.

[0184] Exemplarily, the second signal strength being greater than the third signal strength includes at least one of the following:

[0185] When the signal strength value of the signal strength includes RSRP, it includes any of the following items: the second RSRP is greater than the third RSRP, the second RSRP is greater than the third RSRP and the difference between the second RSRP and the third RSRP is greater than the second RSRP threshold, and the number of times the second RSRP is greater than the third RSRP exceeds M times.

[0186] When the signal strength value of the signal strength includes RSRQ, it includes any of the following items: the second RSRQ is greater than the third RSRQ, the second RSRQ is greater than the third RSRQ and the difference between the second RSRQ and the third RSRQ is greater than the second RSRQ threshold, and the number of times the second RSRQ is greater than the third RSRQ exceeds M times.

[0187] When the signal strength value of the signal strength includes RSSI, it includes any of the following items: the second RSSI is greater than the third RSSI, the second RSSI is greater than the third RSSI and the difference between the second RSSI and the third RSSI is greater than the second RSSI threshold, and the second RSSI is greater than the third RSSI more than M times.

[0188] When the signal strength value of the signal strength includes SINR, it includes any of the following items: the second SINR is greater than the third SINR, the second SINR is greater than the third SINR and the difference between the second SINR and the third SINR is greater than the second SINR threshold, and the number of times the second SINR is greater than the third SINR exceeds M times.

[0189] Exemplarily, taking the signal strength value of the signal strength including RSRP as an example, assuming that the second RSRP is RSRP_NeighborCell=-100dBm, and the third RSRP is RSRP_ServingCell=-98dBm, -98dBm>-100dBm, it can be determined that the second RSRP is greater than the third RSRP, that is, the signal strength of the neighboring cell is greater than the signal strength of the serving cell, then the cell switching is triggered, and the electronic device is switched from the serving cell to the neighboring cell.

[0190] Optionally, in an embodiment of the present application, when the second signal strength is less than the third signal strength, the electronic device may not trigger cell switching and continue to operate in the working frequency band of the serving cell.

[0191] Exemplarily, taking the signal strength value of the signal strength including RSRP as an example, assuming that the second RSRP is RSRP_NeighborCell=-106dBm, and the third RSRP is RSRP_ServingCell=-100dBm, -106dBm<-100dBm, it can be determined that the second RSRP is less than the third RSRP, that is, the signal strength of the neighboring cell is smaller than the signal strength of the serving cell, and the cell switching is not triggered.

[0192] In some embodiments of the present application, the above-mentioned establishment of a connection between the electronic device and the neighboring cell includes: the electronic device adjusts the antenna parameters to antenna parameters corresponding to the working frequency band of the neighboring cell according to the pre-stored correspondence between the antenna parameters and the working frequency band, so that the resonant frequency of the antenna is in the working frequency band of the neighboring cell, thereby establishing a connection between the electronic device and the neighboring cell, and realizing the switching of the electronic device to the neighboring cell.

[0193] In this way, when the second signal strength is greater than the third signal strength, the electronic device determines that the signal strength of the neighboring cell is greater, and then switches the electronic device to the neighboring cell, so that the electronic device can reside in the cell with better signal. When the second signal strength is greater than the third signal strength and the difference between the signal strength value of the second signal strength and the signal strength value of the third signal strength is greater than the second threshold, or the number of times the second signal strength is greater than the third signal strength exceeds M times, the electronic device is switched to the neighboring cell, which can avoid frequent switching of the electronic device between different cells caused by network fluctuations, and further improve the accuracy of switching of the electronic device.

[0194] In some embodiments of the present application, the second signal strength being less than the third signal strength includes: the second signal strength being less than the third signal strength and a difference between the signal strength value of the third signal strength and the signal strength value of the second signal strength being less than a third threshold.

[0195] It should be noted that the third threshold can be set or adjusted according to actual needs, and the embodiment of the present application does not limit this.

[0196] Exemplarily, the second signal strength being less than the third signal strength includes at least one of the following:

[0197] In a case where the signal strength value of the signal strength includes RSRP, the second RSRP is less than the third RSRP, and a difference between the third RSRP and the second RSRP is less than a third RSRP threshold.

[0198] In a case where the signal strength value of the signal strength includes RSRQ, the second RSRQ is less than the third RSRQ and a difference between the third RSRQ and the second RSRQ is less than a third RSRQ threshold.

[0199] In a case where the signal strength value of the signal strength includes RSSI, the second RSSI is smaller than the third RSSI, and a difference between the third RSSI and the second RSSI is smaller than a third RSSI threshold.

[0200] In a case where the signal strength includes SINR, the second SINR is smaller than the third SINR and a difference between the third SINR and the second SINR is smaller than a third SINR threshold.

[0201] In some embodiments of the present application, the bit error rate of the above-mentioned serving cell includes at least one of an uplink bit error rate and a downlink bit error rate.

[0202] In some embodiments of the present application, when the bit error rate of the above-mentioned service cell includes an uplink bit error rate and a downlink bit error rate, the bit error rate of the above-mentioned service cell being greater than the first threshold may mean that at least one of the uplink bit error rate and the downlink bit error rate of the service cell is greater than the first threshold.

[0203] It should be noted that the above-mentioned first threshold can be set or adjusted according to actual needs, and the embodiments of the present application do not limit this.

[0204] In some embodiments of the present application, when the bit error rate of the service cell is greater than the first threshold, it means that the bit error rate of the service cell is relatively high, and the error rate of data transmission of the electronic device in the service cell is relatively high. Therefore, even if the second signal strength is slightly lower than the third signal strength, that is, the signal strength of the neighboring cell is slightly worse than the signal strength of the service cell, the electronic device can be switched to the neighboring cell.

[0205] In this way, when the bit error rate of the serving cell is large and the signal strength of the neighboring cell is slightly weaker than that of the serving cell, the electronic device can also trigger cell switching, which can improve the accuracy of data transmission of the electronic device.

[0206] It should be noted that the above embodiment illustrates the neighbor cell measurement method by taking one neighbor cell as an example. When there are multiple neighbor cells, multiple second signal strengths can be obtained through the above neighbor cell measurement method, and the electronic device selects a neighbor cell that meets the second condition and has the best second signal strength from the multiple second signal strengths as the target neighbor cell, and then switches the electronic device to the target neighbor cell, so that the electronic device can reside in the neighbor cell with the best signal strength.

[0207] It should be noted that the above embodiment uses a single transceiver antenna that supports antenna tuning as an example to illustrate the neighboring cell measurement method. When the electronic device includes multiple transceiver antennas that support antenna tuning, for each antenna, the second signal strength of the neighboring cell can be determined by the above-mentioned neighboring cell measurement method. For an electronic device, multiple second signal strengths of a neighboring cell are determined, and the electronic device takes the weighted average or maximum value of the multiple second signal strengths as the final second signal strength of the neighboring cell. The electronic device then determines whether to perform cell switching based on whether the final second signal strength meets the second condition. In addition, when cell switching is required, the electronic device tunes each antenna included so that the resonant frequency of each antenna is in the working frequency band of the neighboring cell, that is, a connection between the electronic device and the neighboring cell is established.

[0208] It should be noted that the antenna used to measure the third signal strength or the first impedance information or the second impedance information of the service cell in the above embodiment can be a transceiver antenna that supports antenna tuning, and the antenna used to measure the first signal strength of the neighboring cell can be a transceiver antenna that supports antenna tuning, or it can be a pure receiving antenna that does not support transmission but only supports antenna tuning. This embodiment does not limit this.

[0209] The neighboring cell measurement method provided in the embodiment of the present application uses the efficiency difference between the second antenna efficiency and the first antenna efficiency to compensate for the first signal strength, estimates the second signal strength that is closer to the actual network situation of the neighboring cell, improves the accuracy of the neighboring cell measurement, and then determines whether to perform cell switching based on the second signal strength, which can improve the accuracy of cell switching and make it easier for electronic devices to reside in cells with better signals.

[0210] Figure 5 Schematic diagram of an electronic device and a cell provided in an embodiment of the present application. Figure 5 In the figure, the electronic device resides in cell A, the working frequency band of cell A is BandA, the working frequency is Freq.A, and Freq.A is the frequency range. Cell B is the neighboring cell of cell A, the working frequency band of cell B is BandB, the working frequency is Freq.B, and Freq.B is the frequency range. The electronic device includes four antennas ANT101, ANT102, ANT103 and ANT104, at least one antenna ANT101 can be used as a transceiver antenna, and ANT101 is configured with a bidirectional coupler and an antenna tuning switch 1.

[0211] Figure 6 is a schematic diagram of a radio frequency circuit included in an electronic device provided in an embodiment of the present application. Figure 6In the figure, the electronic device includes 201 antenna ANT101, 202 antenna ANT102, 203 antenna ANT103 and 204 antenna ANT104. The electronic device is also provided with 212 registers, 211 processors, 210 signal transceivers, 215 power amplifiers, 213 and 214 radio frequency switches, 208 and 209 duplexers, 207 bidirectional couplers, 205 and 206 antenna tuning switches and other necessary components constituting the radio frequency circuit. 210 signal transceiver includes an impedance detection module, a transmitting port, a receiving port 0, a receiving port 1, a receiving port 2 and a receiving port 3. In addition, 215 power amplifiers, 214 radio frequency switch 1, 208 duplexer 1, 213 radio frequency switch 2 and 201 antenna ANT101 constitute the transmitting path of BandA. 215 power amplifiers, 214 radio frequency switch 1, 209 duplexer 2, 213 radio frequency switch 2 and 201 antenna ANT101 constitute the transmitting path of BandB. The bidirectional coupler 207 and the antenna tuning switch 205 form a closed-loop tuning circuit of the antenna ANT101 201, so that the antenna ANT101 201 can be closed-loop tuned. The antenna tuning switch 205 is used to tune the antenna ANT101 201 so that the resonant frequency of the antenna ANT101 201 is in the working frequency band of the cell where the antenna ANT101 201 resides.

[0212] by Figure 6 Taking the structure of the radio frequency circuit in the provided electronic device as an example, two embodiments are provided below to exemplarily illustrate the neighboring cell measurement method provided in the embodiments of the present application.

[0213] Embodiment 1

[0214] Combination Figure 6 ,like Figure 7 As shown, taking cell A as the serving cell, cell B as the neighboring cell, the antenna being the above-mentioned antenna ANT101, and the signal strength being RSRP as an example, the neighboring cell measurement method provided in the embodiment of the present application may include the following steps 1001 to 1013.

[0215] Step 1001: An electronic device registers with base station A and resides in cell A.

[0216] Step 1002 : The signal transceiver of the electronic device continuously measures the reception level RSRP_Serving Cell of the antenna ANT101 in the cell A, and intermittently measures the reception level RSRP_Neighbor Cell of the antenna ANT101 in the cell B.

[0217] It should be noted that the RSRP_Serving Cell is the third signal strength in the above embodiment, and the RSRP_Neighbor Cell is the first signal strength in the above embodiment.

[0218] Step 1003, the electronic device determines whether the RSRP_Serving Cell of the antenna ANT101 in the cell A measured by the signal transceiver has deteriorated, or whether the RSRP_Neighbor Cell of the antenna ANT101 in the cell B has increased, or whether the RSRP_Serving Cell of the antenna ANT101 in the cell A is lower than a certain threshold, and if so, executes step 1004.

[0219] Step 1004: In the interval between the electronic device transmitting the signal, the electronic device transmits a signal with a working frequency of Freq. B on the antenna ANT101 using the transmission path of BandB.

[0220] Step 1005 : The electronic device measures the impedance information Zc_BandA_Freq.B_measured of the antenna ANT101 in Band B.

[0221] It should be noted that the above Zc_BandA_Freq.B_measured is the first real-time impedance information in the above embodiment.

[0222] Step 1006 : The closed-loop tuning circuit of the electronic device continuously measures the impedance information Zc_BandA_Freq.A_measured of the antenna ANT101 at Freq.A.

[0223] It should be noted that the above Zc_BandA_Freq.A_measured is the second real-time impedance information in the above embodiment.

[0224] Step 1007 , the processor of the electronic device reads the transmission impedance information of the antenna ANT101 at Freq.A when it works in BandA from the second impedance information set preset in the register according to Zc_BandA_Freq.A_measured, and determines the working state Statei of the antenna ANT101 .

[0225] For example, the data structure of the second impedance information set can be found in the above Figure 2 .

[0226] Step 1008: The processor of the electronic device reads the impedance information Zc_101_BandB_RX_Statei when the antenna ANT101 works in "Statei, BandB" from the first impedance information set preset in the register.

[0227] It should be noted that the above Zc_101_BandB_RX_Statei is the first impedance information in the above embodiment.

[0228] For example, the data structure of the first impedance information set can be found in the above Figure 2 .

[0229] Step 1009, the processor of the electronic device calculates the difference ΔEffi._ANT101_BandA-B_Freq.B between the efficiency of the antenna ANT101 at Freq.B when it operates in BandA at the current moment and the efficiency at Freq.B when the antenna tuning switch adjusts the resonant frequency of the antenna to Freq.B according to Zc_BandA_Freq.B_measured and Zc_101_BandB_RX_Statei.

[0230] It should be noted that the above ΔEffi._ANT101_BandA-B_Freq.B is the efficiency difference in the above embodiment.

[0231] Step 1010: The processor of the electronic device calculates the receiving level RSRP_Neighbor Cell′ of the antenna ANT101 in the cell B when the antenna tuning switch adjusts the resonant frequency of the antenna to Band B=RSRP_Neighbor Cell+ΔEffi._ANT101_BandA-B_Freq.B.

[0232] It should be noted that the above RSRP_NeighborCell' is the second signal strength in the above embodiment.

[0233] Step 1011: The processor of the electronic device compares RSRP_Serving Cell with RSRP_Neighbor Cell' to determine whether RSRP_Neighbor Cell' is better than RSRP_Serving Cell. If so, execute step 1012; if not, execute step 1013.

[0234] Step 1012: The electronic device switches from cell A to cell B.

[0235] For example, in Table 1, the working frequency band of cell A is B5, the working frequency range included in the working frequency band B5 is 824MHz~894MHz, the working frequency band of cell B is BB, the working frequency range included in the working frequency band B8 is 703MHz~803MHz, the antenna efficiency in cell A is -4dB when the antenna works in B5, the antenna efficiency in cell B is -9dB when the antenna works in B5, the antenna efficiency in cell A is -8dB when the antenna works in B8, and the antenna efficiency in cell B is -5dB when the antenna works in B8.

[0236] Table 1

[0237]

[0238] First case:

[0239] Assuming RSRP_Serving Cell = -100dBm, RSRP_Neighbor Cell = -110dBm, it is calculated that RSRP_Neighbor Cell' = -110+(-5-(-9)) = -106dBm<-100dBm, that is, the reception level of cell B is 6dB weaker than that of cell A, and cell switching is not triggered.

[0240] Second case:

[0241] Assuming RSRP_Serving Cell = -100dBm, RSRP_Neighbor Cell = -102dBm, it is calculated that RSRP_Neighbor Cell' = -102dBm+(-5-(-9)) = -98dBm>-100dBm, that is, the reception level of cell B is 2dB better than that of cell A, triggering cell switching, switching the electronic device from cell A to cell B.

[0242] Step 1013: The electronic device continues to reside in cell A.

[0243] In this way, compared with directly using the reception level of the neighboring cell measured when the antenna tuning switch state is not adjusted, the embodiment of the present application can more accurately evaluate the signal strength of the neighboring cell, making it easier for the electronic device to switch to the cell with better signal strength. Compared with directly switching the antenna tuning switch to the working frequency band of the neighboring cell and then measuring the signal strength of the neighboring cell, the embodiment of the present application does not need to adjust the antenna tuning switch state, avoiding affecting the normal operation of the electronic device in the serving cell when performing neighboring cell measurement.

[0244] It should be noted that the specific implementation process of the above steps 1001 to 1013 can be found in the relevant description of the above embodiment. To avoid repetition, this embodiment will not be repeated here.

[0245] Embodiment 2

[0246] Combination Figure 6 ,like Figure 8 As shown, taking cell A as the serving cell, cell B as the neighboring cell, the antenna being the above-mentioned antenna 201 ANT101, and the signal strength being RSRP as an example, the neighboring cell measurement method provided in the embodiment of the present application may include the following steps 1101-1109.

[0247] Step 1101: The electronic device registers with base station A and resides in cell A.

[0248] Step 1102 : The signal transceiver of the electronic device continuously measures the reception level RSRP_Serving Cell of the antenna ANT101 in the cell A, and intermittently measures the reception level RSRP_Neighbor Cell of the antenna ANT101 in the cell B.

[0249] It should be noted that the RSRP_Serving Cell is the third signal strength in the above embodiment, and the RSRP_Neighbor Cell is the first signal strength in the above embodiment.

[0250] Step 1103: The processor of the electronic device calculates the real-time transmission path impedance Zc_101_BandA_measured of the antenna ANT101 according to the signal coupled to the current transmission antenna by the bidirectional coupler.

[0251] It should be noted that the above Zc_101_BandA_measured is the second real-time impedance information in the above embodiment.

[0252] Step 1104 : The processor of the electronic device compares Zc_101_BandA_measured with the second impedance information set preset in the register to confirm the working state Statei of the antenna ANT101 .

[0253] Fig. 9 is a schematic diagram of the data structure stored in the register provided in the embodiment of the present application, such as Fig. 9 As shown, when each transmitting and receiving antenna is in different working states at different working frequency bands, there is a one-to-one correspondence between the transmitting impedance information, the receiving impedance information and the antenna efficiency.

[0254] Exemplarily, the register of the electronic device presets the transmitting impedance information and receiving impedance information of the antenna ANT101 in each working frequency band under multiple working states, and the antenna efficiency of the antenna ANT101 in each working frequency band under multiple working states:

[0255] Zc_101_BandA_TX_State0, Zc_101_BandA_RX_State0, Effi._Band A_State0_Freq.A, Effi._BandA_State0_Freq.B, Effi._BandA_State0_Freq.C……

[0256] Zc_101_BandA_TX_State1, Zc_101_BandA_RX_State1, Effi._Band A_State1_Freq.A, Effi._BandA_State1_Freq.B, Effi._BandA_State1_Freq.C……

[0257] Zc_101_BandB_TX_State0, Zc_101_BandB_RX_State0, Effi._Band B_State0_Freq.A, Effi._BandB_State0_Freq.B, Effi._BandB_State0_Freq.C……

[0258] Zc_101_BandB_TX_State1, Zc_101_BandB_RX_State1, Effi._Band B_State1_Freq.A, Effi._BandB_State1_Freq.B, Effi._BandB_State1_Freq.C……

[0259] It should be noted that the above Fig. 9 This is the way in which the register stores the antenna efficiency set and the impedance information set in the second embodiment, but Fig. 9 The data structure of the impedance information set stored in Figure 2 same, Fig. 9 The data structure of the antenna efficiency set stored in Figure 3 same.

[0260] For example, the data structure of the second impedance information set can be found in the above Figure 2 or Fig. 9 .

[0261] Step 1105, the processor of the electronic device reads the antenna efficiency Effi._BandA_Statei_FreqB of the antenna ANT101 when it works in Band A in the working state Statei from the first antenna efficiency set preset in the register, and reads the antenna efficiency Effi._BandB_Statei_FreqB of the antenna ANT101 when it works in BandB in Statei from the second antenna efficiency set preset in the register.

[0262] It should be noted that the above Effi._BandA_Statei_FreqB is the first antenna efficiency in the above embodiment.

[0263] It should be noted that the above Effi._BandB_Statei_FreqB is the second antenna efficiency in the above embodiment.

[0264] For example, the data structures of the first antenna efficiency set and the second antenna efficiency set can refer to the above Figure 3 or Fig. 9 .

[0265] Step 1106: The processor of the electronic device calculates the receiving level RSRP_Neighbor Cell′=RSRP_Neighbor Cell+(Effi._BandB_Statei_FreqB-Effi._BandA_Statei_FreqB) when the antenna ANT101 works in BandB in the working state Statei.

[0266] It should be noted that the above RSRP_NeighborCell' is the second signal strength in the above embodiment.

[0267] It should be noted that the above Effi._BandB_Statei_FreqB-Effi._BandA_Statei_FreqB is the efficiency difference in the above embodiment.

[0268] Step 1107 : The processor of the electronic device compares RSRP_Serving Cell with RSRP_Neighbor Cell′ to determine whether RSRP_Neighbor Cell′ is better than RSRP_Serving Cell. If so, execute step 1108 ; otherwise, execute step 1109 .

[0269] Step 1108: The electronic device switches from cell A to cell B.

[0270] Step 1109: The electronic device continues to reside in cell A.

[0271] In this way, compared to directly using the signal strength of the neighboring cell measured when the antenna tuning switch state is not adjusted, the embodiment of the present application can more accurately evaluate the signal strength of the neighboring cell, making it easier for the electronic device to switch to a cell with better signal strength. Compared to directly switching the antenna tuning switch to the working frequency band of the neighboring cell and then measuring the signal strength of the neighboring cell, the embodiment of the present application does not need to adjust the antenna tuning switch state, thereby avoiding affecting the normal operation of the electronic device in the service cell when performing neighboring cell measurements. In addition, this embodiment does not need to additionally call the impedance information of the neighboring cell's working frequency band when the uplink resource measurement antenna works in the working frequency band Band A of the service cell, thereby reducing the processing amount of the electronic device and improving the efficiency of neighboring cell measurements to a certain extent.

[0272] It should be noted that the specific implementation process of the above steps 1101 to 1109 can be found in the relevant description of the above embodiment. To avoid repetition, this embodiment will not be repeated here.

[0273] Combination Figure 6 ,like Fig.10 As shown, the electronic device includes four antennas ANT101, ANT102, ANT103 and ANT104, at least one antenna ANT102 can be used as a transceiver antenna, and ANT102 is configured with a bidirectional coupler and an antenna tuning switch 2. The electronic device is provided with necessary components constituting a radio frequency circuit, such as a register 212, a processor 211, a signal transceiver 210, a power amplifier 215, radio frequency switches 213 and 214, duplexers 208 and 209, a bidirectional coupler 207, antenna tuning switches 205 and 206. In addition, the electronic device is also provided with sensors 216 such as an earpiece, a proximity sensor, a gyroscope, a Hall device, etc., which are used to assist the open-loop tuning circuit in determining the working scene of the electronic device, and then determine the working state of the electronic device according to the working scene of the electronic device.

[0274] by Fig.10 Taking the structure of the radio frequency circuit in the provided electronic device as an example, the neighboring cell measurement method provided in the embodiment of the present application will be exemplarily described below with Example 3.

[0275] Embodiment 3

[0276] Combination Fig.10 ,like Fig.11 As shown, taking cell A as the serving cell, cell B as the neighboring cell, the antenna being the above-mentioned antenna 202 ANT102, and the signal strength being RSRP as an example, the neighboring cell measurement method provided in the embodiment of the present application may include the following steps 1201-1208.

[0277] Step 1201: The electronic device registers with base station A and resides in cell A.

[0278] Step 1202 : The signal transceiver of the electronic device continuously measures the reception level RSRP_Serving Cell of the antenna ANT102 in the cell A, and intermittently measures the reception level RSRP_Neighbor Cell of the antenna ANT102 in the cell B.

[0279] It should be noted that the RSRP_Serving Cell is the third signal strength in the above embodiment, and the RSRP_Neighbor Cell is the first signal strength in the above embodiment.

[0280] Step 1203: The processor of the electronic device determines the working scene of the electronic device according to the information collected by the sensor, and determines the working state Statei of the antenna ANT102 according to the corresponding relationship between the working scene and the working state of the antenna ANT102.

[0281] Step 1204, the processor of the electronic device reads the antenna efficiency Effi._BandA_Statei_FreqB of Freq.B when the antenna ANT102 works in the "Statei, BandA" state and the antenna efficiency Effi._BandB_Statei_FreqB of Freq.B when the antenna ANT102 works in the "Statei, Band B" state from the first antenna efficiency set and the second antenna efficiency set preset in the register respectively.

[0282] It should be noted that the above Effi._BandA_Statei_FreqB is the first antenna efficiency in the above embodiment.

[0283] It should be noted that the above Effi._BandB_Statei_FreqB is the second antenna efficiency in the above embodiment.

[0284] For example, the data structures of the first antenna efficiency set and the second antenna efficiency set can be referred to in the above Figure 3 .

[0285] Step 1205: The processor of the electronic device calculates that when the antenna ANT102 works in BandB under the working state Statei, its receiving level is RSRP_Neighbor Cell'=RSRP_Neighbor Cell+(Effi._BandB_Statei_FreqB-Effi._BandA_Statei_FreqB).

[0286] It should be noted that the above RSRP_NeighborCell' is the second signal strength in the above embodiment.

[0287] It should be noted that the above Effi._BandB_Statei_FreqB-Effi._BandA_Statei_FreqB is the efficiency difference in the above embodiment.

[0288] Step 1206: The processor of the electronic device compares RSRP_Serving Cell with RSRP_Neighbor Cell' to determine whether RSRP_Neighbor Cell' is better than RSRP_Serving Cell. If so, execute step 1207; if not, execute step 1208.

[0289] Step 1207: The electronic device switches from cell A to cell B.

[0290] Step 1208: The electronic device continues to reside in cell A.

[0291] In this way, compared to directly using the signal strength of the neighboring cell measured when the antenna tuning switch state is not adjusted, the embodiment of the present application can more accurately evaluate the signal strength of the neighboring cell, making it easier for the electronic device to switch to a cell with better signal strength. Compared to directly switching the antenna tuning switch to the working frequency band of the neighboring cell and then measuring the signal strength of the neighboring cell, the embodiment of the present application does not need to adjust the antenna tuning switch state, avoiding affecting the normal operation of the electronic device in the service cell when performing neighboring cell measurements. In addition, this embodiment does not need to use a closed-loop tuning circuit to measure the impedance information of the antenna, and determine the working scenario of the electronic device based on the measured impedance information, but instead calls the commonly used sensors on the electronic device to assist in identifying the working scenario of the electronic device, and the circuit structure is relatively simple.

[0292] It should be noted that the specific implementation process of the above steps 1201 to 1208 can be found in the relevant description of the above embodiment. To avoid repetition, this embodiment will not be repeated here.

[0293] It should be noted that the above-mentioned method embodiments, or various possible implementation methods in each method embodiment, can be executed separately, or any two or more can be executed in combination with each other. The specific implementation method can be determined according to actual usage requirements, and the embodiments of the present application do not impose any restrictions on this.

[0294] The neighbor cell measurement method provided in the embodiment of the present application may be executed by a neighbor cell measurement device. In the embodiment of the present application, the neighbor cell measurement method executed by the neighbor cell measurement device is taken as an example to illustrate the neighbor cell measurement method provided in the embodiment of the present application.

[0295] Fig.12 13 is a schematic diagram of the structure of a neighboring cell measurement device provided in an embodiment of the present application. The neighboring cell measurement device includes a determination module 1301.

[0296] The determination module 1301 is used to determine the working state of the electronic device when the electronic device resides in the serving cell; and, based on the working state, determine the efficiency difference between the first antenna efficiency and the second antenna efficiency; wherein the first antenna efficiency is the antenna efficiency of the electronic device in the working frequency band of the serving cell when the antenna works in the working frequency band of the neighboring cell; the second antenna efficiency is the antenna efficiency in the working frequency band of the neighboring cell when the antenna works in the working frequency band of the neighboring cell; and, based on the efficiency difference and the first signal strength of the neighboring cell, determine the second signal strength of the neighboring cell.

[0297] The first signal strength represents the signal strength of the neighboring cell when the antenna operates in the operating frequency band of the serving cell; the second signal strength represents the signal strength of the neighboring cell when the antenna operates in the operating frequency band of the neighboring cell.

[0298] Optionally, in the embodiment of the present application, combined with Fig.12 ,like Fig.13 As shown, the device also includes an execution module 1302.

[0299] The execution module 1302 is used to establish a connection between the electronic device and the neighboring cell when the second signal strength is greater than the third signal strength, or the second signal strength is less than the third signal strength and the bit error rate of the serving cell is greater than the first threshold, and the third signal strength represents the signal strength when the antenna operates in the working frequency band of the serving cell.

[0300] Optionally, in the embodiment of the present application, the determining module 1301 is specifically configured to:

[0301] Obtain first real-time impedance information of the antenna, wherein the first real-time impedance information is the impedance information of the antenna when the frequency of the signal transmitted by the antenna is within the working frequency band of the neighboring cell; and, based on the working state, determine the impedance information corresponding to the working state from the first impedance information set, and use the impedance information corresponding to the working state as the first impedance information; wherein the first impedance information set includes a plurality of impedance information, each impedance information is the impedance information in the working frequency band of the neighboring cell when the antenna works in the working frequency band of the neighboring cell in one working state; and determine the efficiency difference based on the difference between the first real-time impedance information and the first impedance information.

[0302] Optionally, in the embodiment of the present application, the determining module 1301 is further configured to:

[0303] Based on the working state, the antenna efficiency corresponding to the working state is determined from the first antenna efficiency set, and the antenna efficiency corresponding to the working state is used as the first antenna efficiency; wherein the first antenna efficiency set includes multiple antenna efficiencies; each antenna efficiency is the antenna efficiency in the working frequency band of the neighboring cell when the antenna works in the working frequency band of the serving cell in one working state.

[0304] Optionally, in the embodiment of the present application, the determining module 1301 is further configured to:

[0305] Based on the working state, the antenna efficiency corresponding to the working state is determined from the second antenna efficiency set, and the antenna efficiency corresponding to the working state is used as the second antenna efficiency; wherein the second antenna efficiency set includes multiple antenna efficiencies, each antenna efficiency is the antenna efficiency in the working frequency band of the neighboring cell when the antenna works in the working frequency band of the neighboring cell under one working state.

[0306] Optionally, in the embodiment of the present application, the determining module 1301 is specifically configured to:

[0307] Obtain second real-time impedance information of the antenna, wherein the second real-time impedance information is impedance information of the antenna in the working frequency band of the service cell when the antenna operates in the working frequency band of the service cell; and determine a working state corresponding to the second real-time impedance information from the second impedance information set, and determine the working state corresponding to the second real-time impedance information as the working state of the electronic device; wherein the second impedance information set includes a plurality of impedance information, each impedance information being impedance information of the antenna in the working frequency band of the service cell when the antenna operates in the working frequency band of the service cell in one working state.

[0308] Optionally, in the embodiment of the present application, the determining module 1301 is specifically configured to:

[0309] In the case where the electronic device resides in the serving cell, if the target signal strength satisfies a first condition, determining the working state of the electronic device;

[0310] The target signal strength includes a first signal strength and a third signal strength, and the third signal strength represents the signal strength when the antenna operates in the working frequency band of the serving cell.

[0311] The neighboring cell measurement device provided in the embodiment of the present application, compared with the prior art that directly uses the measured first signal strength of the neighboring cell to determine whether to perform cell switching, the present application obtains the efficiency difference between the antenna efficiency when the antenna works in the working frequency band of the service cell and the antenna efficiency when the antenna works in the working frequency band of the neighboring cell. Since the efficiency difference can be understood as the loss when the antenna processes the signal of the working frequency band of the neighboring cell when the antenna works in the working frequency band of the service cell, the measured first signal strength of the neighboring cell can be compensated based on the efficiency difference, so as to estimate the signal strength of the antenna when working in the neighboring cell, and the actual network situation of the neighboring cell can be determined, thereby improving the accuracy of the neighboring cell measurement. Subsequently, whether to perform cell switching is determined based on the estimated signal strength of the antenna in the neighboring cell, thereby improving the accuracy of cell switching, so that the neighboring cell measurement device can switch to the cell with better signal in time.

[0312] The neighboring cell measurement device in the embodiment of the present application may be an electronic device, or a component in the electronic device, such as an integrated circuit or a chip. The electronic device may be a terminal, or may be a device other than a terminal. Exemplarily, the electronic device may be a mobile phone, a tablet computer, a laptop computer, a PDA, a vehicle-mounted electronic device, a mobile Internet device, an augmented reality / virtual reality device, a robot, a wearable device, a super mobile personal computer, a netbook or a personal digital assistant, etc., and may also be a server, a network attached storage (Network Attached Storage, NAS), a personal computer (personal computer, PC), a television (television, TV), a teller machine or a self-service machine, etc., which is not specifically limited in the embodiment of the present application.

[0313] The neighboring cell measurement device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.

[0314] The neighbor cell measurement device provided in the embodiment of the present application can implement each process implemented by each embodiment of the above-mentioned neighbor cell measurement method, and will not be described again here to avoid repetition.

[0315] Alternatively, if Fig.14 As shown, an embodiment of the present application also provides an electronic device 900, including a processor 901 and a memory 902, and the memory 902 stores a program or instruction that can be executed on the processor 901. When the program or instruction is executed by the processor 901, the various steps of the above-mentioned neighboring cell measurement method embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0316] It should be noted that the electronic device in the embodiment of the present application includes the mobile electronic device and the non-mobile electronic device described above. For example, the electronic device may be the wearable device described in the embodiment of the present application.

[0317] Fig.15 A schematic diagram of the hardware structure of an electronic device to implement an embodiment of the present application.

[0318] The electronic device 1500 includes but is not limited to: a radio frequency unit 1501, a network module 1502, an audio output unit 1503, an input unit 1504, a sensor 1505, a display unit 1506, a user input unit 1507, an interface unit 1508, a memory 1509, and a processor 1510 and other components.

[0319] Those skilled in the art will appreciate that the electronic device 1500 may also include a power source (such as a battery) for supplying power to each component, and the power source may be logically connected to the processor 1510 through a power management system, thereby implementing functions such as managing charging, discharging, and power consumption management through the power management system. Fig.15 The electronic device structure shown in the figure does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently, which will not be described in detail here.

[0320] The processor 1510 is configured to:

[0321] In the case where the electronic device resides in the service cell, the working state of the electronic device is determined; and, based on the working state, the efficiency difference between the first antenna efficiency and the second antenna efficiency is determined; wherein the first antenna efficiency is the antenna efficiency of the electronic device in the working frequency band of the neighboring cell when the antenna works in the working frequency band of the service cell; the second antenna efficiency is the antenna efficiency of the antenna in the working frequency band of the neighboring cell when the antenna works in the working frequency band of the neighboring cell; and, based on the above efficiency difference and the first signal strength of the neighboring cell, the second signal strength of the neighboring cell is determined. The first signal strength represents the signal strength of the neighboring cell when the antenna works in the working frequency band of the service cell; the second signal strength represents the signal strength of the neighboring cell when the antenna works in the working frequency band of the neighboring cell.

[0322] Optionally, the processor 1510 is further configured to:

[0323] When the second signal strength is greater than the third signal strength, or the second signal strength is less than the third signal strength and the bit error rate of the serving cell is greater than the first threshold, a connection is established between the electronic device and the neighboring cell, and the third signal strength represents the signal strength when the antenna operates in the working frequency band of the serving cell.

[0324] Optionally, the processor 1510 is specifically configured to:

[0325] Obtain first real-time impedance information of the antenna, wherein the first real-time impedance information is the impedance information of the antenna when the frequency of the signal transmitted by the antenna is within the working frequency band of the neighboring cell; and, based on the working state, determine the impedance information corresponding to the working state from the first impedance information set, and use the impedance information corresponding to the working state as the first impedance information; wherein the first impedance information set includes a plurality of impedance information, each impedance information is the impedance information in the working frequency band of the neighboring cell when the antenna works in the working frequency band of the neighboring cell in one working state; and determine the efficiency difference based on the difference between the above-mentioned first real-time impedance information and the above-mentioned first impedance information.

[0326] Optionally, the processor 1510 is further configured to:

[0327] Based on the working state, the antenna efficiency corresponding to the working state is determined from the first antenna efficiency set, and the antenna efficiency corresponding to the working state is used as the first antenna efficiency; wherein the first antenna efficiency set includes multiple antenna efficiencies; each antenna efficiency is the antenna efficiency in the working frequency band of the neighboring cell when the antenna works in the working frequency band of the serving cell in one working state.

[0328] Optionally, the processor 1510 is further configured to:

[0329] Based on the working state, the antenna efficiency corresponding to the working state is determined from the second antenna efficiency set, and the antenna efficiency corresponding to the working state is used as the second antenna efficiency; wherein the second antenna efficiency set includes multiple antenna efficiencies, each antenna efficiency is the antenna efficiency in the working frequency band of the neighboring cell when the antenna works in the working frequency band of the neighboring cell under one working state.

[0330] Optionally, the processor 1510 is further configured to:

[0331] Obtain second real-time impedance information of the antenna, wherein the second real-time impedance information is impedance information in the working frequency band of the service cell when the antenna operates in the working frequency band of the service cell; and determine a working state corresponding to the second real-time impedance information from the second impedance information set, and determine the working state corresponding to the second real-time impedance information as the working state of the electronic device; wherein the second impedance information set includes a plurality of impedance information, each impedance information being impedance information in the working frequency band of the service cell when the antenna operates in the working frequency band of the service cell in one working state.

[0332] Optionally, the processor 1510 is specifically configured to:

[0333] In the case where the electronic device resides in the serving cell, if the target signal strength satisfies a first condition, determining the working state of the electronic device;

[0334] The target signal strength includes a first signal strength and a third signal strength, and the third signal strength represents the signal strength when the antenna operates in the working frequency band of the serving cell.

[0335] The electronic device provided in the embodiment of the present application, compared with the prior art that directly uses the measured first signal strength of the neighboring cell to determine whether to perform cell switching, obtains the efficiency difference between the antenna efficiency when the antenna works in the working frequency band of the service cell and the antenna efficiency in the working frequency band of the neighboring cell. Since the efficiency difference can be understood as the loss when the antenna processes the signal of the working frequency band of the neighboring cell when the antenna works in the working frequency band of the service cell, the measured first signal strength of the neighboring cell can be compensated based on the efficiency difference, thereby estimating the signal strength of the antenna when working in the neighboring cell, and determining the actual network situation of the neighboring cell, thereby improving the accuracy of the neighboring cell measurement. Subsequently, whether to perform cell switching is determined based on the estimated signal strength of the antenna in the neighboring cell, thereby improving the accuracy of cell switching and enabling the electronic device to switch to a cell with better signal in a timely manner.

[0336] It should be understood that in the embodiment of the present application, the input unit 1504 may include a graphics processor (Graphics Processing Unit, GPU) 15041 and a microphone 15042, and the graphics processor 15041 processes the image data of the static picture or video obtained by the image capture device (such as a camera) in the video capture mode or the image capture mode. The display unit 1506 may include a display panel 15061, and the display panel 15061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 1507 includes a touch panel 15071 and at least one of other input devices 15072. The touch panel 15071 is also called a touch screen. The touch panel 15071 may include two parts: a touch detection device and a touch controller. Other input devices 15072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which will not be repeated here.

[0337] The memory 1509 can be used to store software programs and various data. The memory 1509 may mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area may store an operating system, an application program or instructions required for at least one function (such as a sound playback function, an image playback function, etc.), etc. In addition, the memory 1509 may include a volatile memory or a non-volatile memory, or the memory 1509 may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), a static random access memory (SRAM), a dynamic random access memory (DRAM), a synchronous dynamic random access memory (SDRAM), a double data rate synchronous dynamic random access memory (DDRSDRAM), an enhanced synchronous dynamic random access memory (ESDRAM), a synchronous link dynamic random access memory (SLDRAM) and a direct memory bus random access memory (DRRAM). The memory 1509 in the embodiment of the present application includes but is not limited to these and any other suitable types of memory.

[0338] The processor 1510 may include one or more processing units; optionally, the processor 1510 integrates an application processor and a modem processor, wherein the application processor mainly processes operations related to an operating system, a user interface, and application programs, and the modem processor mainly processes wireless communication signals, such as a baseband processor. It is understandable that the modem processor may not be integrated into the processor 1510.

[0339] An embodiment of the present application further provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, each process of the above-mentioned neighboring cell measurement method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0340] The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory ROM, a random access memory RAM, a magnetic disk or an optical disk.

[0341] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run a program or instruction to implement each process of the above-mentioned neighboring cell measurement method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0342] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.

[0343] An embodiment of the present application provides a computer program product, which is stored in a storage medium. The program product is executed by at least one processor to implement the various processes of the above-mentioned neighbor cell measurement method embodiment, and can achieve the same technical effect. To avoid repetition, it is not repeated here.

[0344] It should be noted that, in this article, the terms "comprise", "include" or any other variant thereof are intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise one..." do not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.

[0345] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM / RAM, a disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present application.

[0346] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.

Claims

1. A method for measuring a neighboring cell, characterized in that: The method comprises: In the case where the electronic device resides in the serving cell, determining the operating state of the electronic device; Based on the working state, determining an efficiency difference between a first antenna efficiency and a second antenna efficiency; wherein the first antenna efficiency is the antenna efficiency of the electronic device in the working frequency band of the neighboring cell when the antenna of the electronic device works in the working frequency band of the serving cell; and the second antenna efficiency is the antenna efficiency of the antenna in the working frequency band of the neighboring cell when the antenna works in the working frequency band of the neighboring cell; Determine a second signal strength of the neighboring cell based on the efficiency difference and the first signal strength of the neighboring cell; The first signal strength represents the signal strength of the neighboring cell when the antenna operates in the operating frequency band of the serving cell; the second signal strength represents the signal strength of the neighboring cell when the antenna operates in the operating frequency band of the neighboring cell.

2. The method according to claim 1, characterized in that After determining the second signal strength of the neighboring cell based on the efficiency difference and the first signal strength of the neighboring cell, the method further includes: When the second signal strength is greater than the third signal strength, or the second signal strength is less than the third signal strength and the bit error rate of the serving cell is greater than a first threshold, a connection is established between the electronic device and the neighboring cell, and the third signal strength represents the signal strength when the antenna operates in the working frequency band of the serving cell.

3. The method according to claim 1, characterized in that The determining, based on the working state, an efficiency difference between the first antenna efficiency and the second antenna efficiency includes: Acquire first real-time impedance information of the antenna, wherein the first real-time impedance information is impedance information of the antenna when the frequency of a signal transmitted by the antenna is within the working frequency band of the neighboring cell; Based on the working state, determine impedance information corresponding to the working state from the first impedance information set, and use the impedance information corresponding to the working state as the first impedance information; wherein the first impedance information set includes a plurality of impedance information, each impedance information is impedance information in the working frequency band of the neighboring cell when the antenna works in the working frequency band of the neighboring cell in one working state; The efficiency difference is determined based on a difference between the first real-time impedance information and the first impedance information.

4. The method according to claim 1, characterized in that: Before determining the efficiency difference between the first antenna efficiency and the second antenna efficiency based on the working state, the method further includes: Based on the working state, an antenna efficiency corresponding to the working state is determined from a first antenna efficiency set, and the antenna efficiency corresponding to the working state is used as the first antenna efficiency; wherein the first antenna efficiency set includes multiple antenna efficiencies; each antenna efficiency is the antenna efficiency in the working frequency band of the neighboring cell when the antenna operates in the working frequency band of the service cell in one working state.

5. The method according to claim 1 or 4, characterized in that: Before determining the efficiency difference between the first antenna efficiency and the second antenna efficiency based on the working state, the method further includes: Based on the working state, the antenna efficiency corresponding to the working state is determined from the second antenna efficiency set, and the antenna efficiency corresponding to the working state is used as the second antenna efficiency; wherein the second antenna efficiency set includes multiple antenna efficiencies, each antenna efficiency is the antenna efficiency in the working frequency band of the neighboring cell when the antenna operates in the working frequency band of the neighboring cell in one working state.

6. The method according to claim 1, characterized in that The determining the working state of the electronic device includes: Acquire second real-time impedance information of the antenna, wherein the second real-time impedance information is impedance information of the antenna in the working frequency band of the serving cell when the antenna operates in the working frequency band of the serving cell; Determine a working state corresponding to the second real-time impedance information from a second impedance information set, and determine the working state corresponding to the second real-time impedance information as the working state of the electronic device; wherein the second impedance information set includes a plurality of impedance information, each impedance information being impedance information in a working frequency band of the service cell when the antenna operates in a working frequency band of the service cell in a certain working state.

7. The method according to claim 1, 2 or 6, characterized in that: The step of determining the working state of the electronic device when the electronic device resides in the serving cell includes: In the case where the electronic device resides in the serving cell, if the target signal strength satisfies a first condition, determining the working state of the electronic device; The target signal strength includes the first signal strength and a third signal strength, and the third signal strength represents the signal strength when the antenna operates in the working frequency band of the serving cell.

8. A neighboring cell measurement device, characterized in that: The device comprises: A determination module, used to determine the working state of the electronic device when the electronic device resides in a serving cell; and, based on the working state, determine the efficiency difference between the first antenna efficiency and the second antenna efficiency; wherein the first antenna efficiency is the antenna efficiency of the electronic device in the working frequency band of the serving cell when the antenna operates in the working frequency band of the neighboring cell; the second antenna efficiency is the antenna efficiency of the antenna in the working frequency band of the neighboring cell when the antenna operates in the working frequency band of the neighboring cell; and, based on the efficiency difference and the first signal strength of the neighboring cell, determine the second signal strength of the neighboring cell; The first signal strength represents the signal strength of the neighboring cell when the antenna operates in the operating frequency band of the serving cell; the second signal strength represents the signal strength of the neighboring cell when the antenna operates in the operating frequency band of the neighboring cell.

9. An electronic device, characterized in that: The method comprises a processor and a memory, wherein the memory stores a program or instruction that can be run on the processor, and when the program or instruction is executed by the processor, the steps of the neighbor cell measurement method according to any one of claims 1 to 7 are implemented.

10. A readable storage medium, characterized in that: The readable storage medium stores a program or an instruction, and when the program or the instruction is executed by a processor, the steps of the neighbor cell measurement method according to any one of claims 1 to 7 are implemented.