WO2025149042A1 - 一种邻区测量方法、电子设备和存储介质 - Google Patents
一种邻区测量方法、电子设备和存储介质Info
- Publication number
- WO2025149042A1 WO2025149042A1 PCT/CN2025/071785 CN2025071785W WO2025149042A1 WO 2025149042 A1 WO2025149042 A1 WO 2025149042A1 CN 2025071785 W CN2025071785 W CN 2025071785W WO 2025149042 A1 WO2025149042 A1 WO 2025149042A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- measurement
- neighboring
- target
- neighboring cell
- electronic device
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W24/00—Supervisory, monitoring or testing arrangements
- H04W24/02—Arrangements for optimising operational condition
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W64/00—Locating users or terminals or network equipment for network management purposes, e.g. mobility management
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Definitions
- the application relates to the field of terminal technology, and in particular to a neighboring area measurement method, electronic device and storage medium.
- the embodiments of the present application provide a neighboring cell measurement method, an electronic device, and a storage medium, which can perform neighboring cell measurement when the quality of the service cell where the electronic device resides is good, and obtain sufficient neighboring cell information, so that the electronic device can be accurately positioned based on the sufficient neighboring cell information.
- an embodiment of the present application provides a neighboring cell measurement method, which is applied to an electronic device.
- the method includes: the electronic device receives neighboring cell measurement configuration information from a network side device; wherein the neighboring cell measurement configuration information includes a neighboring cell measurement threshold; when the signal quality parameter of the target service cell where the electronic device currently resides is greater than the neighboring cell measurement threshold in the neighboring cell measurement configuration information, the electronic device performs neighboring cell measurement to obtain a neighboring cell measurement result.
- the electronic device when the signal quality of the service cell where the electronic device resides is good, the electronic device can also perform complete neighboring area measurement to obtain sufficient neighboring area information. Furthermore, the electronic device can also complete positioning based on sufficient neighboring area information, so that the positioning requirements of the electronic device are met, and the functions of the electronic device with positioning requirements can better provide services to users, thereby improving the user experience.
- the electronic device when a signal quality parameter of a target service cell is greater than a neighboring cell measurement threshold in the neighboring cell measurement configuration information, performs a neighboring cell measurement to obtain a neighboring cell measurement result, including: when a signal quality parameter of the target service cell is greater than the neighboring cell measurement threshold in the neighboring cell measurement configuration information, the electronic device increases the neighboring cell measurement threshold in the neighboring cell measurement configuration information so that the increased neighboring cell measurement threshold is greater than the signal quality parameter of the target service cell; or, ignores the neighboring cell measurement threshold in the neighboring cell measurement configuration information; the electronic device performs a neighboring cell measurement to obtain a neighboring cell measurement result.
- the electronic device can increase the neighboring cell measurement threshold when the signal quality of the currently resident service cell is good, so that the electronic device can smoothly perform neighboring cell measurement according to the existing neighboring cell measurement logic. In this way, when the signal quality is good, the electronic device can also obtain sufficient neighboring cell information. Furthermore, the electronic device can also complete positioning based on sufficient neighboring cell information, so that the positioning needs of the electronic device are met, and the functions with positioning needs in the electronic device can better provide services to users, improving the user experience.
- the electronic device receives neighboring area measurement configuration information from a network side device, including: when the electronic device is in a connected state, the electronic device receives a reconfiguration message from the network side device, and the reconfiguration information carries the neighboring area measurement configuration information; when the electronic device is in an idle state, the electronic device receives a broadcast message from the network side device, and the broadcast message carries the neighboring area measurement configuration information.
- the neighboring cell measurement configuration information also includes: at least one first frequency point and at least one second frequency point; the first frequency point is different from the target frequency point of the target service cell where the electronic device is currently located, and the communication standard to which the first frequency point belongs is the same as the communication standard to which the target frequency band belongs; the second frequency point is different from the target frequency point of the target service cell where the electronic device is currently located, and the communication standard to which the second frequency point belongs is different from the communication standard to which the target frequency band belongs; the electronic device performs neighboring cell measurement to obtain a neighboring cell measurement result, including: the electronic device performs neighboring cell measurement on the target frequency point, the first frequency point, and the second frequency point to obtain a neighboring cell measurement result.
- the neighbor cell measurement threshold in the neighbor cell measurement configuration information includes a first measurement threshold; when the signal quality parameter of the target service cell is greater than the neighbor cell measurement threshold, the electronic device increases the neighbor cell measurement threshold so that the increased neighbor cell measurement threshold is greater than the signal quality parameter of the target service cell, including: when the signal quality parameter of the target service cell is greater than the first measurement threshold, the electronic device increases the first measurement threshold so that the increased first measurement threshold is greater than the signal quality parameter of the target service cell.
- the method also includes: when a signal quality parameter of a target service cell is greater than a neighboring cell measurement threshold, the electronic device increases the first target measurement threshold so that the increased first target measurement threshold is greater than the signal quality parameter of the target service cell; the first target measurement threshold is any one of the second measurement threshold or the third measurement threshold; the electronic device performs neighboring cell measurement on the frequency point corresponding to the first target measurement threshold to obtain a first neighboring cell measurement result; if the first target measurement threshold is the second measurement threshold, the frequency point corresponding to the first target measurement threshold includes the target frequency point; if the first target measurement threshold is the third measurement threshold, the frequency point corresponding to the first target measurement threshold includes the first frequency point and the second frequency point; if the amount of neighboring cell information in the first neighboring cell measurement result is greater than or equal to the first preset amount, the electronic device determines the first neighboring cell measurement result as the neighboring cell measurement result.
- the electronic device can give priority to measuring the same-frequency neighboring area corresponding to the target frequency point, and thus can obtain the first preset number of neighboring area information more quickly.
- the method after the electronic device receives the neighboring area measurement configuration information from the network side device, the method also includes: when the signal quality parameter of the target service cell is between the second measurement threshold and the third measurement threshold, the electronic device performs neighboring area measurement on the frequency point corresponding to the third target measurement threshold to obtain a third neighboring area measurement result; the third target measurement threshold is one of the second measurement threshold and the third measurement threshold that is greater than the signal quality parameter of the target service cell; if the third target measurement threshold is the second measurement threshold, the frequency point corresponding to the third target measurement threshold includes the target frequency point; if the third target measurement threshold is the third measurement threshold, the frequency point corresponding to the third target measurement threshold includes the first frequency point and the second frequency point; if the amount of neighboring area information in the third neighboring area measurement result is greater than or equal to the first preset amount, the electronic device determines the third neighboring area measurement result as the neighboring area measurement result.
- the neighboring cell measurement can be performed only on this part of the frequency points. While ensuring the subsequent positioning accuracy, the time and power consumption of the entire neighboring cell measurement are reduced, and the problem of the mobile terminal not being able to be used normally due to the neighboring cell measurement user being too long is avoided.
- the electronic device can obtain sufficient neighboring cell information by using appropriate forced measurement means when in idle state and when the signal instruction of the currently resident cell is good, thereby meeting the positioning requirements of the mobile terminal.
- the electronic device when the electronic device is in an idle state and the signal instruction parameter of the currently resident target service cell is between the second measurement threshold and the third measurement threshold, if only performing neighboring cell measurement on the frequency point corresponding to the third target measurement threshold cannot obtain sufficient neighboring cell information, then it can further force neighboring cell measurement on the frequency point corresponding to the fourth target measurement threshold that cannot be measured according to the existing logic, to ensure that sufficient neighboring cell information is obtained, so that the mobile terminal can subsequently perform complete and sufficiently accurate positioning, thereby improving the user experience.
- the electronic device can use appropriate measurement methods to obtain sufficient neighboring cell information when in idle state and when the signal instruction parameter of the currently resident target service cell is between the second measurement threshold and the third measurement threshold, thereby meeting the positioning requirements of the mobile terminal.
- the electronic device performs a neighboring area measurement to obtain a neighboring area measurement result, including: the electronic device performs a neighboring area measurement on a target frequency point, a first frequency point, and a second frequency point within a first preset time period; when the first preset time period ends, the electronic device stops the neighboring area measurement action, and determines the neighboring area information of the neighboring area obtained by performing the neighboring area measurement on the target frequency point, the first frequency point, and the second frequency point as the neighboring area measurement result.
- the electronic device can limit the time required for neighbor cell measurement, thereby avoiding the problem that the electronic device's services cannot be used normally due to the neighbor cell measurement taking too long.
- an electronic device receives neighboring area measurement configuration information from a network side device, including: when there is a positioning requirement for the electronic device, the electronic device receives the neighboring area measurement configuration information from the network side device; after the electronic device performs neighboring area measurement on a target frequency, a first frequency, and a second frequency within a first preset time period, the method also includes: before the end of the first preset time period, if the electronic device obtains neighboring area information of a first preset number of neighboring areas, the neighboring area measurement action is stopped, and the neighboring area information of the first preset number of neighboring areas is determined as the neighboring area measurement result.
- the electronic device can stop the neighbor cell measurement in time after obtaining enough neighbor cell information for positioning, which reduces the time consumed by the neighbor cell measurement and the power consumption of the electronic device. It also further avoids the problem that the service of the electronic device cannot be used normally because the neighbor cell measurement takes too long.
- the target frequency, the first frequency, and the second frequency belong to the first operator; after the electronic device performs neighboring area measurement on the target frequency, the first frequency, and the second frequency to obtain a neighboring area measurement result, the method also includes: when the number of neighboring area information in the neighboring area measurement result is less than a first preset number, the electronic device selects at least one third frequency from the preset frequency set, and performs neighboring area measurement on the third frequency to obtain a supplementary neighboring area measurement result, and updates the neighboring area measurement result; the preset frequency set includes multiple frequency points, and the multiple frequency points include frequency points of different operators; the third frequency point does not belong to the first operator.
- the electronic device can measure the frequency points of other operators to obtain sufficient neighboring cell information, thereby completing accurate positioning and improving the user experience.
- the number of third frequency points in at least one third frequency point is less than the target number, and the target number is the sum of the number of target frequency points, the number of first frequency points, and the number of second frequency points.
- the neighboring cell measurement configuration information when the electronic device is in an idle state, the neighboring cell measurement configuration information also includes a target frequency priority, a priority of each first frequency, and a priority of each second frequency; the electronic device performs neighboring cell measurements on the target frequency, and the first frequency, and the second frequency to obtain a neighboring cell measurement result, including: the electronic device performs neighboring cell measurements on the target frequency, the first frequency, and the second frequency in order of priority from large to small to obtain a neighboring cell measurement result.
- the electronic device can successfully obtain the required neighboring cell measurement information, and then can smoothly perform subsequent neighboring cell measurements.
- At least one SIB when the target service cell is a long term evolution LTE cell, at least one SIB includes: SIB3, SIB5 and SIB24; wherein SIB3 includes a second measurement threshold and a third measurement threshold, SIB5 includes the priority of the target frequency, at least one first frequency and the priority of the first frequency, and SIB24 includes at least one second frequency and the priority of the second frequency; when the target service cell is a new radio interface NR cell, at least one SIB includes: SIB2, SIB4 and SIB5; wherein SIB2 includes a second measurement threshold and a third measurement threshold, SIB4 includes the priority of the target frequency, at least one first frequency and the priority of the first frequency, and SIB5 includes at least one second frequency and the priority of the second frequency.
- the electronic device can successfully obtain the required neighboring cell measurement information, and then can smoothly perform subsequent neighboring cell measurements.
- the electronic device can use a suitable positioning method to complete sufficiently accurate positioning based on the neighboring cell measurement result, so that the positioning requirements of the electronic device are met, and the functions of the electronic device with positioning requirements can better provide services to users, thereby improving the user experience.
- the electronic device can use appropriate parameters as signal instruction parameters so that subsequent neighboring area measurements can be carried out smoothly.
- the communication module is used to receive neighboring cell measurement configuration information from a network side device; wherein the neighboring cell measurement configuration information includes a neighboring cell measurement threshold.
- the measurement module is used to perform neighboring cell measurement to obtain a neighboring cell measurement result when a signal quality parameter of a target serving cell is greater than the neighboring cell measurement threshold in the neighboring cell measurement configuration information received by the communication module.
- the present application provides an electronic device, comprising a display screen, a memory and one or more processors; the display screen, the memory and the processor are coupled; wherein the memory stores computer program code, the computer program code comprises computer instructions, and when the computer instructions are executed by the processor, the electronic device executes the neighboring area measurement method provided in the first aspect and any possible design method thereof.
- the present application provides a computer-readable storage medium, which includes computer instructions.
- the computer instructions When the computer instructions are executed on an electronic device, the electronic device executes a neighboring area measurement method provided in the first aspect and any possible design thereof.
- the present application provides a computer program product.
- the computer program product runs on an electronic device, the electronic device executes the neighboring cell measurement method provided in the first aspect and any possible design thereof.
- FIG1 is a schematic diagram of the structure of a communication system provided in an embodiment of the present application.
- FIG2 is a schematic diagram of a process flow of neighboring cell measurement provided by the related art
- FIG3 is a schematic diagram showing the principle of a neighboring cell measurement method provided in an embodiment of the present application.
- FIG4 is a schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application.
- FIG5 is a schematic diagram of a software architecture of an electronic device provided in an embodiment of the present application.
- FIG6 is a schematic diagram of a flow chart of a neighboring cell measurement method provided in an embodiment of the present application.
- FIG. 7 is a second flow chart of a neighboring cell measurement method provided in an embodiment of the present application.
- FIG9 is a schematic diagram of a scenario of neighboring cell measurement provided in an embodiment of the present application.
- FIG10 is a fourth flow chart of a neighboring cell measurement method provided in an embodiment of the present application.
- FIG11 is a flowchart diagram 5 of a neighboring cell measurement method provided in an embodiment of the present application.
- FIG12 is a sixth flow chart of a neighboring cell measurement method provided in an embodiment of the present application.
- FIG13 is a flow chart of a neighboring cell measurement method according to an embodiment of the present application.
- FIG14 is a flowchart of a neighboring cell measurement method according to an embodiment of the present application.
- FIG15 is a flowchart diagram 9 of a neighboring cell measurement method provided in an embodiment of the present application.
- FIG16 is a schematic diagram of the structure of a neighboring cell measurement device provided in an embodiment of the present application.
- FIG17 is a schematic diagram of the structure of a chip system provided in an embodiment of the present application.
- first and second in the following embodiments of the present application are used for descriptive purposes only and should not be understood as suggesting or implying relative importance or implicitly indicating the number of technical features indicated. Therefore, the features defined as “first” and “second” may explicitly or implicitly include one or more of the features. In the description of the embodiments of the present application, unless otherwise specified, “multiple” means two or more.
- the specific sending time may be after the user terminal sends a corresponding RRC reconfiguration request to the base station when positioning is required by neighboring cell measurement, or it may also be when the base station determines that the user terminal needs to perform neighboring cell measurement.
- the RRC reconfiguration message may include a first measurement threshold corresponding to a neighboring cell (including a same-frequency neighboring cell, a different-frequency neighboring cell and a different-system neighboring cell), at least one first frequency point corresponding to a different-frequency neighboring cell and at least one second frequency point corresponding to a different-system neighboring cell.
- the inter-frequency neighboring area in at least one first frequency point corresponding to the inter-frequency neighboring area does not refer to a cell, but refers to a type of cell, that is, the at least one first frequency point corresponding to the inter-frequency neighboring area may specifically include at least one first frequency point whose specific value is different from the frequency point of the serving cell where the user terminal is currently residing, and the communication system to which the first frequency point belongs is the same as the communication system to which the frequency point of the serving cell where the user terminal is currently residing belongs.
- the cells corresponding to these first frequency points are the inter-frequency neighboring areas of the serving cell where the user terminal is currently residing.
- the hetero-system neighboring area in the at least one second frequency point corresponding to the hetero-system neighboring area does not refer to a cell, but refers to a type of cell, that is, the at least one second frequency point corresponding to the hetero-frequency neighboring area may specifically include at least one second frequency point whose communication system is different from the communication system to which the frequency point of the serving cell where the user terminal currently resides belongs.
- the cells corresponding to these second frequency points are the hetero-system neighboring areas of the serving cell where the user terminal currently resides.
- the above-mentioned first measurement threshold, at least one first frequency point and at least one second frequency point are neighboring cell measurement configuration information, which can be specifically referred to as neighboring cell measurement configuration information corresponding to the connected state.
- SIB System Information Block
- BCCH broadcast channel
- the broadcast message may include one or more SIBs. These SIBs may include the neighboring cell measurement configuration information required by the user terminal for neighboring cell measurement.
- the broadcast message may include SIB3, SIB5 and SIB24.
- SIB3 may include the second measurement threshold of the same-frequency neighboring cell, and the third measurement threshold of the hetero-frequency neighboring cell and the hetero-system neighboring cell.
- the configuration information related code of the second measurement threshold included in SIB3 may be as follows:
- ReselectionThreshold is the specific value of the second measurement threshold when the reference signal receiving power (reference signal receiving power, RSRP) is used as the signal quality parameter;
- ReselectionThreshold is the specific value of the second measurement threshold when the reference signal receiving quality (Reference signal receiving quality, RSRQ) is used as the signal quality parameter.
- ReselectionThreshold is the specific value of the third measurement threshold when the reference signal receiving power (reference signal receiving power, RSRP) is used as the signal quality parameter; ReselectionThreshold is the specific value of the third measurement threshold when the reference signal receiving quality (Reference signal receiving quality, RSRQ) is used as the signal quality parameter.
- RSRP reference signal receiving power
- RSRQ reference signal receiving quality
- RSRP is usually used as a signal quality parameter to measure the signal quality of neighboring cells. This is because RSRP is an indicator that directly measures the strength of the received signal, it can provide an absolute value of the signal strength, and is comparable between different cells.
- RSRQ is an indicator of the quality of the received signal that takes into account the signal strength and the interference level. RSRQ is calculated by comparing RSRP with the interference level, so it focuses more on evaluating the quality of the signal rather than just the strength.
- RSRP is chosen as the signal quality parameter for neighboring cell measurements because it provides a direct measurement of signal strength and is comparable between different cells, which helps the network perform operations such as cell switching and resource allocation.
- the corresponding neighboring cell Only when the signal quality of the service cell where the user terminal resides (specifically, it can refer to the signal quality of the downlink signal) is less than the neighboring cell measurement threshold, the corresponding neighboring cell will be measured. When the value of the signal quality parameter of the service cell where the user terminal resides is greater than the neighboring cell measurement threshold, the corresponding neighboring cell will not be measured.
- the network side device can send a reconfiguration message to the user terminal.
- the reconfiguration message may carry the neighboring area measurement configuration information corresponding to the connected state.
- the neighboring area measurement configuration information corresponding to the connected state may include: the first measurement threshold of the same-frequency neighboring area, the different-frequency neighboring area and the different-system neighboring area, at least one first frequency point corresponding to the different-frequency neighboring area, and at least one second frequency point corresponding to the different-system neighboring area.
- system information block is specifically used in the broadcast message to carry the neighboring cell measurement configuration information, reference may be made to the relevant description of the system information block in the aforementioned embodiment, which will not be repeated here.
- the user terminal may only perform neighboring area measurement on the frequency point to which the currently resident service cell belongs, or only perform neighboring area measurement on the first frequency point and the second frequency point, or no neighboring area measurement.
- the user terminal will not be able to perform neighboring cell measurement, or can only measure a small number of frequency points. In this way, when the user terminal needs to locate based on neighboring cell information, it will not be able to obtain sufficient neighboring cell information, and thus cannot complete accurate positioning.
- the service based on accurate positioning on the user terminal cannot be well provided to the user, which reduces the user experience.
- the electronic device can force the neighboring area measurement of the frequency point of the currently resident service cell, and all the frequency points (the first frequency point and the second frequency point) in the neighboring area measurement configuration information, so as to obtain the neighboring area measurement result, that is, to obtain the neighboring area information of multiple neighboring areas.
- the forcing method can be to increase the neighboring area measurement threshold so that the neighboring area measurement threshold is greater than the signal quality parameter of the service cell where the electronic device resides, or to ignore the neighboring area measurement threshold.
- the electronic device can perform neighboring cell measurement on the frequency point of the currently resident service cell and all frequency points (the first frequency point and the second frequency point) in the neighboring cell measurement configuration information according to the existing scheme, thereby obtaining the neighboring cell measurement result, that is, obtaining the neighboring cell information of multiple neighboring cells.
- the neighboring cell measurement threshold the first measurement threshold, the second measurement threshold, and the third measurement threshold
- the electronic device can locate itself based on the neighboring cell measurement results.
- the electronic device can be a mobile phone, a tablet computer, a handheld computer, a personal computer (PC), an ultra-mobile personal computer (UMPC), a netbook, a cellular phone, a personal digital assistant (PDA), an augmented reality (AR) device, a virtual reality (VR) device, an artificial intelligence (AI) device, a wearable device, a vehicle-mounted device, a smart home device and/or a smart city device, etc.
- PDA personal digital assistant
- AR augmented reality
- VR virtual reality
- AI artificial intelligence
- the electronic device may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a display screen 193, a subscriber identification module (SIM) card interface 194, and a camera 195, etc.
- a processor 110 an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B,
- the controller can be the nerve center and command center of the electronic device.
- the controller can generate operation control signals according to the instruction operation code and timing signal to complete the control of fetching and executing instructions.
- the processor 110 may include one or more interfaces.
- the interface may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver/transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input/output (GPIO) interface, a subscriber identity module (SIM) interface, and/or a universal serial bus (USB) interface, etc.
- I2C inter-integrated circuit
- I2S inter-integrated circuit sound
- PCM pulse code modulation
- UART universal asynchronous receiver/transmitter
- MIPI mobile industry processor interface
- GPIO general-purpose input/output
- SIM subscriber identity module
- USB universal serial bus
- Digital signal processors are used to process digital signals. In addition to processing digital image signals, they can also process other digital signals. For example, when an electronic device selects a frequency point, a digital signal processor is used to perform Fourier transform on the frequency point energy.
- the display screen 193 can be used to display pages required by the electronic device (for example, wizard pages (including highlight recommendation pages and external module access pages), etc.), and display images captured by any one or more cameras 195 in the interface.
- pages required by the electronic device for example, wizard pages (including highlight recommendation pages and external module access pages), etc.
- display images captured by any one or more cameras 195 in the interface for example, wizard pages (including highlight recommendation pages and external module access pages), etc.
- the wireless communication function of the electronic device can be implemented through antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, modem and baseband processor.
- Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals.
- Each antenna in the electronic device can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve the utilization of the antennas.
- the mobile communication module 150 can provide solutions for wireless communications including 2G/3G/4G/5G, etc., applied to electronic devices.
- the mobile communication module 150 can receive electromagnetic waves through the antenna 1, and filter, amplify, and process the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation.
- the mobile communication module 150 can also amplify the signal modulated by the modulation and demodulation processor, and convert it into electromagnetic waves for radiation through the antenna 1.
- at least some of the functional modules of the mobile communication module 150 can be set in the processor 110.
- at least some of the functional modules of the mobile communication module 150 can be set in the same device as at least some of the modules of the processor 110.
- the SIM card interface 194 is used to connect a SIM card.
- the SIM card can be connected to or disconnected from the electronic device by inserting it into or removing it from the SIM card interface 194.
- the electronic device can support one or more SIM card interfaces.
- the SIM card interface 194 can support Nano SIM cards, Micro SIM cards, SIM cards, etc. Multiple cards can be inserted into the same SIM card interface 194 at the same time.
- the SIM card interface 194 is also compatible with external memory cards. Electronic devices interact with the network through SIM cards to implement functions such as calls and data communications. One SIM card corresponds to one user number.
- the software system of the electronic device can adopt a layered architecture, an event-driven architecture, a micro-core architecture, a micro-service architecture, or a cloud architecture. Taking the system as an example, the software structure of the electronic device is illustrated.
- the resource manager provides various resources for the application, such as localized strings, icons, pictures, layout files, video files, etc.
- the notification manager enables the application to display notification information in the status bar, which can be used to convey notification-type messages and can disappear automatically after a short stay without user interaction.
- the package manager is in The system is used to manage application packages. It allows applications to obtain detailed information about installed applications and their services, permissions, etc.
- the package manager is also used to manage events such as application installation, uninstallation, and upgrade.
- the activity manager is used to manage the life cycle and window state of the application.
- the system library can include multiple functional modules, such as surface manager, media library, OpenGL ES, SGL, etc.
- the Android runtime includes the core library and the ART virtual machine.
- the Android runtime is responsible for the scheduling and management of the Android system.
- the core library consists of two parts: one is the function that the Java language needs to call, and the other is the Android core library.
- the application layer and the application framework layer run in the ART virtual machine.
- the ART virtual machine executes the Java files of the application layer and the application framework layer as binary files.
- the ART virtual machine is used to perform object life cycle management, stack management, thread management, security and exception management, and garbage collection.
- the HAL layer is an interface layer between the operating system kernel and the hardware circuit, and its purpose is to abstract the hardware. It hides the hardware interface details of a specific platform and provides a virtual hardware platform for the operating system, making it hardware-independent and portable on multiple platforms.
- the HAL layer provides a standard interface to display device hardware functions to the higher-level Java API framework (i.e., the framework layer).
- the HAL layer contains multiple library modules, each of which implements an interface for a specific type of hardware component, such as: audio HAL audio module, bluetooth HAL Bluetooth module, camera HAL camera module (also called camera HAL or camera hardware abstraction module), sensors HAL sensor module (or Isensor service, sensor service).
- the network side device when the network side device determines that the mobile terminal has a positioning requirement, it can send a reconfiguration message carrying the first neighboring area measurement configuration information to the mobile terminal, so that the mobile terminal can complete the neighboring area measurement based on the first neighboring area measurement configuration message, and obtain the neighboring area information as data support for positioning.
- the network side device can actively send a reconfiguration message to the mobile terminal when it is determined that the mobile terminal has any possibility of positioning requirements.
- the mobile terminal can complete the neighboring area measurement based on the first neighboring area measurement configuration information in the reconfiguration message, and obtain the neighboring area information as data support for positioning.
- the mobile terminal After the mobile terminal has obtained the first neighboring cell measurement configuration information when it is in a connected state, it can start to determine whether neighboring cell measurement can be performed, specifically, it can be determined whether the signal quality parameter of the target serving cell is less than the neighboring cell measurement threshold in the first neighboring cell measurement configuration. That is, S603 and S604 are executed after S602.
- the mobile terminal obtains a signal quality parameter of a target serving cell.
- the mobile terminal may obtain the signal quality parameter of the target serving cell in any feasible manner, such as directly measuring the downlink signal from the base station in the target serving cell.
- the signal quality of the target service cell may also change at any time, so in order to ensure that the cell where the mobile terminal resides can be switched in time when the communication signal of the mobile terminal deteriorates, the mobile terminal can actually obtain the signal quality parameters of the target service cell in real time or periodically. That is to say, S603 can be executed after S602, can be executed before S602, or can be executed simultaneously with S602.
- the mobile terminal determines whether the signal quality parameter of the target serving cell is less than the neighboring cell measurement threshold in the neighboring cell measurement configuration information from the network side device.
- the neighboring area measurement configuration information from the network side device is the neighboring area measurement configuration information carried by the reconfiguration message.
- the neighboring area measurement configuration information is specifically the first neighboring area measurement configuration information mentioned in the aforementioned embodiment.
- the neighboring area measurement threshold in the first neighboring area measurement configuration information can be specifically the first measurement threshold.
- the signal quality parameter in the present application may be RSRP
- the first measurement threshold is also the threshold corresponding to RSRP.
- the actual signal quality parameter may also be other parameters that can characterize the cell signal quality, such as RSRQ, signal to interference plus noise ratio (SINR), carrier received signal strength (RSSI), etc.
- the first measurement threshold may also be adjusted accordingly, depending on the actual situation, and the present application does not impose specific restrictions on this. The same applies to subsequent embodiments.
- the mobile terminal may first execute S604A. After S604A, execute S605.
- the mobile terminal increases the neighboring cell measurement threshold in the neighboring cell measurement configuration information from the network side device so that the increased neighboring cell measurement threshold is greater than the signal quality parameter of the target serving cell; or, ignores the neighboring cell measurement threshold.
- the mobile terminal can directly perform neighboring cell measurement, that is, directly execute S605. In this way, the purpose of forcing the mobile terminal to perform neighboring cell measurement is achieved when the signal quality parameter of the target service cell is greater than the original neighboring cell measurement threshold.
- the mobile terminal may execute S605 when the signal quality parameter of the target service cell is less than the neighboring cell measurement threshold in the neighboring cell measurement configuration information from the network side device; and forcibly execute S604A when the signal quality parameter of the target service cell is greater than the neighboring cell measurement threshold in the neighboring cell measurement configuration information from the network side device. Similar contents in subsequent embodiments are similar and will not be repeated in detail.
- the situation where the signal quality parameter of the target service cell is equal to the neighboring cell measurement threshold in the neighboring cell measurement configuration information from the network side device can be attributed to the situation where the signal quality parameter of the target service cell is less than the neighboring cell measurement threshold in the neighboring cell measurement configuration information from the network side device, or can be attributed to the situation where the signal quality parameter of the target service cell is greater than the neighboring cell measurement threshold in the neighboring cell measurement configuration information from the network side device, and the present application does not impose specific restrictions on this.
- Figure 6 only takes the situation where the signal quality parameter of the target service cell is equal to the neighboring cell measurement threshold in the neighboring cell measurement configuration information from the network side device as an example to illustrate the situation where the signal quality parameter of the target service cell is greater than the neighboring cell measurement threshold in the neighboring cell measurement configuration information from the network side device. Similar contents in subsequent embodiments are similar and will not be repeated later.
- the mobile terminal performs neighboring cell measurement on the target frequency point to which the target serving cell belongs, and the first frequency point and the second frequency point in the neighboring cell measurement configuration information from the network side device to obtain a neighboring cell measurement result.
- the neighboring cell measurement results may include neighboring cell information of multiple neighboring cells.
- Multiple neighboring cells may include co-frequency neighboring cells corresponding to the target frequency, hetero-frequency neighboring cells corresponding to the first frequency, and hetero-system neighboring cells corresponding to the second frequency.
- the neighboring cell information may include any possible content such as cell ID and signal quality parameters.
- the cell ID (Cell ID) is a unique identifier used to identify a cell, and a cell refers to a geographical area in a communication network. The cell ID can be used to determine the cell to which the mobile device is currently connected, and to identify it when switching to other cells. The cell ID may have a matching relationship with the cell's location, frequency, channel and other information.
- the signal quality parameter may specifically be the RSRP of the downlink signal.
- the specific implementation method of the mobile terminal performing neighboring area measurement on each frequency point can be any feasible implementation method, and the present application does not impose specific restrictions on this.
- For one frequency point it can actually correspond to multiple cells.
- the mobile terminal performs neighboring area measurement for the target frequency point, the first frequency point and the second frequency point there may be a frequency point that does not measure the neighboring area information of any neighboring area, while another frequency point may measure the neighboring area information of multiple neighboring areas.
- the electronic device B in the target service cell A when it measures a first frequency point k, it can simultaneously measure the neighboring area information of the hetero-frequency neighboring area C, the hetero-frequency neighboring area D and the hetero-frequency neighboring area E.
- the frequency points to which the hetero-frequency neighboring area C, the hetero-frequency neighboring area D and the hetero-frequency neighboring area E belong are all the first frequency point k.
- the cell IDs and signal quality parameters of the hetero-frequency neighboring area C, the hetero-frequency neighboring area D and the hetero-frequency neighboring area E are all different.
- the mobile terminal when the mobile terminal is forced to perform neighboring cell measurements on the target frequency, the first frequency, and the second frequency, many neighboring cells may be measured. If the neighboring cell information of each neighboring cell of each frequency is measured, it will generate large power consumption and take a long time. For example, if there are 2 co-frequency neighboring cells corresponding to the target frequency, 5 hetero-frequency neighboring cells corresponding to all first frequencies, and 5 hetero-system neighboring cells corresponding to all second frequencies, it takes 1 second to measure the neighboring cell information of each neighboring cell. If the neighboring cell information of all neighboring cells needs to be measured, a total measurement time of 12 seconds is required.
- S6051 may specifically be that the mobile terminal may start a first timer, and the timing duration of the first timer is a first preset duration. During the timing of the first timer, the mobile terminal may perform neighboring area measurement on the target frequency point to which the target serving cell belongs, and the first frequency point and the second frequency point in the neighboring area measurement configuration information from the network side device.
- the first preset time length may be 5 seconds.
- the first preset time length may be obtained by the mobile terminal manufacturer based on experience, and the present application does not impose any specific restrictions on the value of the first preset time length.
- S6052 can specifically be that the mobile terminal stops the neighbor cell measurement action when the first timer ends, and determines the neighbor cell information of the neighbor cell obtained by the neighbor cell measurement of the target frequency point, the first frequency point and the second frequency point as the neighbor cell measurement result.
- the positioning method for the mobile terminal to perform positioning based on the neighboring cell measurement results can be any feasible method, which can be determined according to the neighboring cell information of the neighboring cell in the neighboring cell measurement results, and this application does not impose specific restrictions on this.
- the positioning method can be a time difference of arrival (TOA) positioning method, an angle of arrival (AOA) positioning method, a positioning method based on signal strength (or can be called a signal quality parameter), etc.
- the positioning method based on signal strength can be a three-sided positioning method, a multi-variable positioning method, a fingerprint positioning method, etc.
- the process of the fingerprint positioning method in the positioning method based on signal strength may specifically include the following steps:
- Position estimation The position of the key point corresponding to the fingerprint data that best matches the position of the neighboring cell and the signal quality parameters in the neighboring cell information in the comparison result is used as the estimated position of the user terminal.
- the mobile terminal is in a connected state.
- the mobile terminal will be converted from a connected state to an idle state.
- specific situations may include: the mobile terminal has no new communication needs after completing a communication (call or data transmission), the mobile terminal has switched the resident cell, the network side device instructs the mobile terminal to enter the idle state when network optimization or resource allocation is required, and the connection between the mobile terminal and the network side device (RRC connection, air interface connection, etc.) is abnormal (such as signal loss, signal interference, etc.).
- the second measurement threshold and the third measurement threshold are both greater than the signal quality parameter of the target service cell, it can be considered that the signal quality parameter of the target service cell is less than the neighboring cell measurement threshold in the neighboring cell measurement configuration information from the network side device.
- the existing neighboring cell measurement logic it can be determined that the mobile terminal needs to perform neighboring cell measurement, that is, execute S1205.
- the second neighboring area measurement configuration information may also include the priority of the target frequency, the frequency priority of each first frequency, and the frequency priority of each second frequency.
- the number of service cells corresponding to the frequency with a higher priority may be greater.
- S1205 may specifically include: the mobile terminal performs neighboring area measurement on the target frequency, the first frequency, and the second frequency in order of priority from large to small, so as to obtain the neighboring area measurement result.
- the setting of the actual frequency priority may also be related to any other possible content. For example, the fewer electronic devices corresponding to a certain frequency, the higher the frequency priority of the frequency. In this case, if the neighboring area measurement is performed in order of priority from large to small, the load of different frequency points can be more balanced, the stability of the entire communication network can be improved, and the user experience can be better guaranteed.
- S1206 The mobile terminal performs positioning based on the neighboring cell measurement results.
- S1206 may refer to the related implementation of S606 in the aforementioned embodiment, which will not be described in detail here.
- the first target measurement threshold may be the second measurement threshold or the third measurement threshold.
- the mobile terminal performs neighboring cell measurement on a frequency point corresponding to a first target measurement threshold to obtain a first neighboring cell measurement result.
- the entire neighboring area measurement process can be terminated, that is, the neighboring area information obtained by neighboring area measurement of the frequency point corresponding to the first target measurement threshold is determined as the neighboring area measurement result.
- the second measurement threshold is the other of the second measurement threshold and the third measurement threshold, except the first target measurement threshold. Specifically, if the first target measurement threshold is the second measurement threshold, the second target measurement threshold is the third measurement threshold; if the first target measurement threshold is the third measurement threshold, the second target measurement threshold is the second measurement threshold.
- the frequency point corresponding to the second target measurement threshold includes the target frequency point; if the second target measurement threshold is the third measurement threshold, the frequency point corresponding to the second target measurement threshold includes the first frequency point and the second frequency point.
- the second neighboring area measurement result is added to the neighboring area measurement result obtained in the first neighboring area measurement result, including all neighboring area information in the first neighboring area measurement result and the second neighboring area measurement result.
- S1305 can specifically be: the mobile terminal performs neighboring cell measurement on each frequency corresponding to the second target measurement threshold in descending order of the priority of each frequency corresponding to the second target measurement threshold, obtains a second neighboring cell measurement result, and adds the second neighboring cell measurement result to the first neighboring cell measurement result to obtain a neighboring cell measurement result.
- the mobile terminal can stop the neighboring area measurement action, and determine the neighboring area information obtained by the neighboring area measurement for the frequency point corresponding to the first target measurement threshold and the frequency point corresponding to the second target measurement threshold as the neighboring area measurement result.
- the second target duration can be determined according to actual needs.
- the measurement speed of the same-frequency neighboring area is generally faster than the measurement speed of the different-frequency neighboring area.
- the first target measurement threshold here can be the second measurement threshold, and the second target measurement threshold is the third measurement threshold. In this way, the mobile terminal can give priority to measuring the same-frequency neighboring area corresponding to the target frequency point, and thus can obtain the first preset number of neighboring area information faster.
- the mobile terminal can be in an idle state and the signal instructions of the cell currently resident are good.
- the mobile terminal can only perform neighboring cell measurements on this part of the frequency points. While ensuring the subsequent positioning accuracy, the time and power consumption of the entire neighboring cell measurement are reduced, and the problem of the mobile terminal not being able to be used normally due to the user taking too long to measure the neighboring cells is avoided.
- the neighboring cell measurements can be performed on all the frequency points to ensure that sufficient neighboring information is obtained, so that the mobile terminal can be completely and accurately positioned later, thereby improving the user experience.
- the mobile terminal can obtain sufficient neighboring cell information by using appropriate forced measurement methods when the signal instructions of the cell currently resident are good in the idle state, thereby meeting the positioning requirements of the mobile terminal.
- the second measurement threshold and the third measurement threshold in the second neighboring cell measurement configuration information are both less than the signal quality parameter of the target service cell where the electronic device currently resides, and the second measurement threshold and the third measurement threshold are both greater than the signal quality parameter of the target service cell where the electronic device currently resides, if the second measurement threshold and the third measurement threshold are different in size, there may also be a situation where the signal quality parameter of the target service cell where the electronic device currently resides is between the second measurement threshold and the third measurement threshold.
- the signal quality parameter of the target service cell is between the second measurement threshold and the third measurement threshold, which means that the signal quality parameter of the target service cell is greater than the second measurement threshold and less than the third measurement threshold; if the second measurement threshold is less than the third measurement threshold, the signal quality parameter of the target service cell is between the second measurement threshold and the third measurement threshold, which means that the signal quality parameter of the target service cell is greater than the third measurement threshold and less than the second measurement threshold.
- the electronic device may first perform neighboring cell measurement on the frequency point corresponding to the third target measurement threshold that is greater than the signal quality parameter of the target service cell.
- the number of neighboring cell information obtained by performing neighboring cell measurement on the frequency point corresponding to the third target measurement threshold is sufficient to the first preset number, it is no longer necessary to force neighboring cell measurement on the frequency point corresponding to the fourth target measurement threshold that is less than the signal quality parameter of the target service cell.
- the number of neighboring cell information obtained by performing neighboring cell measurement on the frequency point corresponding to the third target measurement threshold is less than the first preset number, neighboring cell measurement is forced on the frequency point corresponding to the fourth target measurement threshold.
- S1204 may be specifically replaced by S1401, and the method may further include S1402-S1406:
- the mobile terminal performs neighboring cell measurement on a frequency point corresponding to a third target measurement threshold to obtain a third neighboring cell measurement result.
- the third target measurement threshold may be one of the second measurement threshold and the third measurement threshold that is greater than the signal quality parameter of the target serving cell. If the third target measurement threshold is the second measurement threshold, the frequency point corresponding to the third target measurement threshold is the target frequency point; if the third target measurement threshold is the third measurement threshold, the frequency point corresponding to the third target measurement threshold is the first frequency point and the second frequency point.
- the mobile terminal determines the neighboring cell information obtained by performing neighboring cell measurement on the frequency point corresponding to the third target measurement threshold as the neighboring cell measurement result.
- the entire neighboring area measurement process can be terminated, that is, the neighboring area information obtained by neighboring area measurement of the frequency point corresponding to the third target measurement threshold is determined as the neighboring area measurement result.
- the mobile terminal increases the fourth target measurement threshold in the neighboring cell measurement configuration information so that the increased fourth target measurement threshold is greater than the signal quality parameter of the target service cell; or, ignores the fourth target measurement threshold.
- the fourth target measurement threshold is the one of the second measurement threshold and the third measurement threshold that is smaller than the signal quality parameter of the target serving cell. Specifically, if the third target measurement threshold is the second measurement threshold, the fourth target measurement threshold is the third measurement threshold; if the third target measurement threshold is the third measurement threshold, the fourth target measurement threshold is the second measurement threshold.
- the mobile terminal performs neighboring cell measurement on the frequency point corresponding to the fourth target measurement threshold to obtain a fourth neighboring cell measurement result, and adds the fourth neighboring cell measurement result to the third neighboring cell measurement result to obtain a neighboring cell measurement result.
- the frequency point corresponding to the fourth target measurement threshold includes the target frequency point; if the fourth target measurement threshold is the third measurement threshold, the frequency point corresponding to the fourth target measurement threshold includes the first frequency point and the second frequency point.
- the fourth neighboring area measurement result is added to the neighboring area measurement result obtained from the third neighboring area measurement result, including all neighboring area information in the third neighboring area measurement result and the fourth neighboring area measurement result.
- S1406 may refer to the relevant description of S1305 in the aforementioned embodiment, which will not be repeated here.
- the mobile terminal can also directly force measurement of the target frequency, the first frequency and the second frequency, that is, execute the technical solution corresponding to S1204A to S1205 as shown in Figure 12.
- This application does not impose any specific restrictions on this.
- the mobile terminal can be in an idle state and the signal instruction parameter of the target service cell currently resident is between the second measurement threshold and the third measurement threshold.
- the mobile terminal can only perform neighboring measurement on this part of the frequency points, thereby reducing the time and power consumption of the entire neighboring measurement while ensuring the subsequent positioning accuracy, and avoiding the problem that the mobile terminal cannot be used normally due to the user's long neighboring measurement.
- the neighboring measurement can be further forced to be performed on the frequency points corresponding to the fourth target measurement threshold that cannot be measured according to the existing logic, to ensure that sufficient neighboring information is obtained, so that the mobile terminal can be completely and accurately positioned later, thereby improving the user experience.
- the mobile terminal can obtain sufficient neighboring cell information by appropriate measurement means when it is in idle state and the signal instruction parameter of the currently resident target service cell is between the second measurement threshold and the third measurement threshold, thereby meeting the positioning requirements of the mobile terminal.
- S1503 may refer to the relevant description of S603 or S1203 in the aforementioned embodiments, which will not be repeated here.
- the implementation of the neighboring cell measurement performed by the mobile terminal after S1503 may also refer to the relevant descriptions of the examples shown in FIG. 13 and FIG. 14 in the aforementioned embodiments, which will not be repeated here.
- the supplementary neighboring cell measurement result may include neighboring cell information of at least one neighboring cell.
- the preset frequency point set can be a plurality of frequency points whose corresponding service cells are in the first preset order among all the frequency points of each operator in the entire network obtained by the mobile terminal manufacturer using big data technology. For example, taking the first 3 as an example, if operator A has 10 frequency points, and among the 10 frequency points, the number of service cells corresponding to frequency points a, frequency point b and frequency point c are ranked in the first three in the sorting result of the number of service cells corresponding to all 10 frequency points. Then the preset frequency point set can include frequency points a, frequency points b and frequency points c. The operator to which the third frequency point belongs is not the first operator.
- the number of at least one third frequency point can be less than the target number, and the target number is the sum of the number of the target frequency point, the first frequency point, and the second frequency point.
- the total execution time of S1506 should be less than the third preset time. Based on this, S1506 can specifically include S1 and S2:
- the mobile terminal selects at least one third frequency point from the preset frequency point set, and performs neighboring cell measurement on the at least one third frequency point within a third preset time length.
- the third preset time should be less than the first preset time mentioned in the above embodiment.
- the third preset time can be the difference between the first preset time and the time consumed by S1505 to obtain the neighboring area measurement result.
- S1 may specifically be that the mobile terminal may start a third timer, and the timing duration of the third timer is a third preset duration. During the timing of the third timer, the mobile terminal may perform neighboring cell measurement on at least one third frequency point.
- the mobile terminal stops the neighbor cell measurement action, and determines the neighbor cell information of the neighbor cell currently obtained by performing the neighbor cell measurement on at least one third frequency point as the supplementary neighbor cell measurement result.
- S2 can specifically be that the mobile terminal stops the neighbor cell measurement action when the third timer ends, and determines the neighbor cell information of the neighbor cell obtained by the neighbor cell measurement of at least one third frequency point as the supplementary neighbor cell measurement result.
- the mobile terminal can limit the time required for neighboring cell measurement in the process of obtaining supplementary neighboring cell measurement results, thereby avoiding the problem that the mobile terminal's services cannot be used normally due to the long neighboring cell measurement time.
- S1 may also include: before the end of the third preset time, if the mobile terminal measures the neighboring cell information of the second preset number of neighboring cells, the action of performing neighboring cell measurement on the third frequency point is stopped, and the neighboring cell information of the second preset number of neighboring cells is determined as the supplementary neighboring cell measurement result.
- the second preset number is the difference between the first preset number and the number of neighboring cell information in the neighboring cell measurement result.
- the mobile terminal combines the supplementary neighboring cell measurement result with the neighboring cell measurement result to update the neighboring cell measurement result.
- the mobile terminal performs positioning based on the neighboring cell measurement results.
- S1508 may refer to the relevant description of S606 in the aforementioned embodiment, which will not be repeated here.
- the mobile terminal can measure the frequency points of other operators to obtain sufficient neighboring cell information, thereby completing accurate positioning and improving the user experience.
- the above electronic device includes hardware structures and/or software modules corresponding to the execution of each function.
- the embodiments of the present invention can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the embodiments of the present application.
- the embodiment of the present application also provides a neighboring area measurement device, which can be applied to an electronic device.
- the device can include a communication module 1601 and a measurement module 1602.
- the communication module 1601 is used to receive neighboring cell measurement configuration information from a network side device; wherein the neighboring cell measurement configuration information includes a neighboring cell measurement threshold.
- the measurement module 1602 is used to perform neighboring cell measurement when the signal quality parameter of the target serving cell is greater than the neighboring cell measurement threshold in the neighboring cell measurement configuration information received by the communication module 1601, so as to obtain a neighboring cell measurement result.
- An embodiment of the present application also provides a computer-readable storage medium, which includes computer instructions.
- the computer instructions When the computer instructions are executed on an electronic device, the electronic device executes the neighboring area measurement method provided in the above embodiment.
- An embodiment of the present application also provides a computer program product, which includes executable instructions.
- the computer program product When the computer program product is run on an electronic device, the electronic device executes the neighboring area measurement method provided in the above embodiment.
- each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
- the above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
- the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium.
- the technical solution of the embodiment of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions to enable a device (which can be a single-chip microcomputer, chip, etc.) or a processor (processor) to execute all or part of the steps of the method described in each embodiment of the present application.
- the aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk and other media that can store program code.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
本申请提供一种邻区测量方法、电子设备和存储介质,涉及终端技术领域,能够在电子设备驻留的服务小区质量较好时,也可以进行邻区测量,得到充足的邻区信息,进而使得电子设备可以基于充足的邻区信息进行精确定位。该方法包括:电子设备接收来自网络侧设备的邻区测量配置信息;其中,邻区测量配置信息包括邻区测量门限;在目标服务小区的信号质量参数大于邻区测量配置信息中的邻区测量门限的情况下,电子设备进行邻区测量,以得到邻区测量结果。
Description
本申请要求于2024年1月12日提交到国家知识产权局、申请号为202410049580.7、发明名称为“一种邻区测量方法、电子设备和存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
申请涉及终端技术领域,尤其涉及一种邻区测量方法、电子设备和存储介质。
目前的通信技术中,用户终端(user equipment,UE)驻留在任一服务小区(例如长期演进(long term evolution,LTE)小区、新无线/新空口(new radio,NR)小区)时,出于用户终端各类可能的需求或目的(例如用户终端中应用的某个功能需要定位信息等),需要对用户终端进行定位。而为了更好的定位,终端还需要对该服务器小区的邻区(例如同频邻区、异频邻区和异系统邻区)进行测量以得到邻区的小区信息(例如邻区ID和信号质量参数,或物理小区ID和小区信号强度),进而辅助完成定位。而出于用户终端节能的目的,网络侧设备会为处于空闲态和连接态的用户终端配置邻区的邻区测量门限(包括同频邻区、异频邻区和异系统邻区各自的测量门限)。当用户终端驻留的服务小区的信号质量的值小于邻区的邻区测量门限时,此时会对相应的邻区进行测量。在当用户终端驻留的服务小区的信号质量参数的值大于邻区的邻区测量门限时,则不会对相应的邻区进行测量。
这样一来,在用户终端当前驻留的服务小区信号质量较好(信号质量参数的值大于邻区测量门限)的情况下,用户终端可能将无法获取到足够的邻区的小区信息,进而使得最终定位结果的精度较低。
本申请实施例提供一种邻区测量方法、电子设备和存储介质,能够在电子设备驻留的服务小区质量较好时,也可以进行邻区测量,得到充足的邻区信息,进而使得电子设备可以基于充足的邻区信息进行精确定位。
为了达到上述目的,本申请实施例采用如下技术方案:
第一方面,本申请实施例提供一种邻区测量方法,应用于电子设备。该方法包括:电子设备接收来自网络侧设备的邻区测量配置信息;其中,邻区测量配置信息包括邻区测量门限;在电子设备当前驻留的目标服务小区的信号质量参数大于邻区测量配置信息中的邻区测量门限的情况下,电子设备进行邻区测量,以得到邻区测量结果。
基于上述技术方案,可以在电子设备驻留的服务小区的信号质量较好时,使得电子设备也可以进行完整的邻区测量以获取到足够的邻区信息。进而,电子设备也就可以基于充足的邻区信息完成定位,使得电子设备的定位需求得到满足,进而使得电子设备中存在定位需求的功能可以更好的向用户提供服务,提高了用户的使用体验。
在第一方面的一种可能的设计方式中,在目标服务小区的信号质量参数大于邻区测量配置信息中的邻区测量门限的情况下,电子设备进行邻区测量,以得到邻区测量结果,包括:在目标服务小区的信号质量参数大于邻区测量配置信息中的邻区测量门限的情况下,电子设备将邻区测量配置信息中的邻区测量门限增大,以使增大后的邻区测量门限大于目标服务小区的信号质量参数;或者,忽略邻区测量配置信息中的邻区测量门限;电子设备进行邻区测量,以得到邻区测量结果。
基于上述设计方式,电子设备便可以在当前驻留的服务小区信号质量较好时,通过提高邻区测量门限,从而使得电子设备可以按照现有邻区测量逻辑顺利进行邻区测量。这样一来,在信号质量较好的情况下,电子设备也可以获取到足够的邻区信息。进而,电子设备也就可以基于充足的邻区信息完成定位,使得电子设备的定位需求得到满足,进而使得电子设备中存在定位需求的功能可以更好的向用户提供服务,提高了用户的使用体验。
在第一方面的一种可能的设计方式中,电子设备接收来自网络侧设备的邻区测量配置信息,包括:在电子设备处于连接态的情况下,电子设备接收来自网络侧设备的重配置消息,重配置信息中携带有邻区测量配置信息;在电子设备处于空闲态的情况下,电子设备接收来自网络侧设备的广播消息,广播消息中携带有邻区测量配置信息。
基于上述设计方式,电子设备便可以在空闲态和连接态的状态下,均可以得到可以进行邻区测量依据的邻区测量配置信息。
在第一方面的一种可能的设计方式中,邻区测量配置信息还包括:至少一个第一频点和至少一个第二频点;第一频点与电子设备当前驻留的目标服务小区的目标频点不同,且第一频点所属的通信制式与目标频段所属的通信制式相同;第二频点与电子设备当前驻留的目标服务小区的目标频点不同,且第二频点所属的通信制式与目标频段所属的通信制式不同;电子设备进行邻区测量,以得到邻区测量结果,包括:电子设备对目标频点,以及第一频点和第二频点进行邻区测量,以得到邻区测量结果。
基于上述设计方式,电子设备在进行邻区测量时,便可以得到电子设备当前驻留的目标服务小区的所有可测量到的同频邻区、异频邻区和异系统邻区的邻区信息。这样,电子设备便可以得到足够的邻区信息,进而电子设备也就可以基于充足的邻区信息完成定位,使得电子设备的定位需求得到满足,进而使得电子设备中存在定位需求的功能可以更好的向用户提供服务,提高了用户的使用体验。
在第一方面的一种可能的设计方式中,在电子设备处于连接态的情况下,邻区测量配置信息中的邻区测量门限包括第一测量门限;在目标服务小区的信号质量参数大于邻区测量门限的情况下,电子设备将邻区测量门限增大,以使增大后的邻区测量门限大于目标服务小区的信号质量参数,包括:在目标服务小区的信号质量参数大于第一测量门限的情况下,电子设备将第一测量门限增大,以使增大后的第一测量门限大于目标服务小区的信号质量参数。
基于上述设计方式,电子设备处于连接态且当前驻留的目标服务小区信号指令较好的情况下,可以通过提高第一测量门限,从而使得电子设备可以按照现有邻区测量逻辑顺利进行邻区测量。这样一来,在信号质量较好的情况下,电子设备也可以获取到足够的邻区信息。进而,电子设备也就可以基于充足的邻区信息完成定位,使得电子设备的定位需求得到满足,进而使得电子设备中存在定位需求的功能可以更好的向用户提供服务,提高了用户的使用体验。
在第一方面的一种可能的设计方式中,在电子设备处于空闲态的情况下,邻区测量配置信息中的邻区测量门限包括第二测量门限和第三测量门限;第二测量门限为对目标频点进行邻区测量的测量门限,第三测量门限为对第一频点和第二频点进行邻区测量的测量门限;在目标服务小区的信号质量参数大于邻区测量门限的情况下,电子设备将邻区测量门限增大,以使增大后的邻区测量门限大于目标服务小区的信号质量参数,包括:在第二测量门限和第三测量门限均小于目标服务小区的信号质量的情况下,电子设备将第二测量门限和第三测量门限均增大,以使增大后的第二测量门限和第三测量门限均大于目标服务小区的信号质量参数。
基于上述设计方式,电子设备处于空闲态且当前驻留的目标服务小区信号指令较好的情况下,可以通过提高第二测量门限和第三测量门限,从而使得电子设备可以按照现有邻区测量逻辑顺利进行邻区测量。这样一来,在信号质量较好的情况下,电子设备也可以获取到足够的邻区信息。进而,电子设备也就可以基于充足的邻区信息完成定位,使得电子设备的定位需求得到满足,进而使得电子设备中存在定位需求的功能可以更好的向用户提供服务,提高了用户的使用体验。
在第一方面的一种可能的设计方式中,该方法还包括:在目标服务小区的信号质量参数大于邻区测量门限的情况下,电子设备将第一目标测量门限增大,以使增大后的第一目标测量门限大于目标服务小区的信号质量参数;第一目标测量门限为第二测量门限或第三测量门限中任意一个;电子设备对第一目标测量门限对应的频点进行邻区测量,获得第一邻区测量结果;若第一目标测量门限为第二测量门限,则第一目标测量门限对应的频点包括目标频点;若第一目标测量门限为第三测量门限,则第一目标测量门限对应的频点包括第一频点和第二频点;若第一邻区测量结果中邻区信息的数量大于或等于第一预设数量,则电子设备将第一邻区测量结果确定为邻区测量结果。
基于上述设计方式,电子设备便可以在空闲态,且当前驻留的目标服务小区的信号指令较好的情况下,在仅对一部分频点进行邻区测量就能得到足够的邻区信息的情况下,可以仅对这一部分频点进行邻区测量,在保证后续定位精度的同时减少了整个邻区测量的用时和功耗,避免了邻区测量用户过长导致移动终端不能正常被使用的问题。
在第一方面的一种可能的设计方式中,电子设备对第一目标测量门限对应的频点进行邻区测量之后,该方法还包括:若第一邻区测量结果中邻区测量得到的邻区信息的数量小于第一预设数量,电子设备将第二目标测量门限进行增大,以使增大后的第二目标测量门限大于目标服务小区的信号质量参数;第二目标测量门限为第二测量门限和第三测量门限中除第一目标测量门限外的另一个;电子设备对第二目标测量门限对应的频点进行邻区测量,获得第二邻区测量结果,并将第二邻区测量结果添加到第一邻区测量结果中,以获得邻区测量结果;若第二目标测量门限为第三测量门限,则第二目标测量门限对应的频点包括第一频点和第二频点;若第二目标测量门限为第二测量门限,则第二目标测量门限对应的频点包括目标频点。
基于上述设计方式,电子设备便可以在空闲态,且当前驻留的目标服务小区的信号指令较好的情况下,在仅对一部分频点进行邻区测量不能得到足够的邻区信息的情况下,则可以对所有频点进行邻区测量,保证获取到足够的邻区信息,使得移动终端后续可以完整足够精确的定位,提高用户的使用体验。
在第一方面的一种可能的设计方式中,第一目标测量门限为第二测量门限。
因为同频邻区测量只需要对当前信道上的信号进行测量和评估,而异频邻区测量需要在不同频率的信道上进行切换和测量,所以在对邻区测量时,同频邻区的测量速度一般要比异频邻区的测量速度要快。所以基于上述设计方式,电子设备可以优先对目标频点对应的同频邻区进行测量,进而可以更快的得到第一预设数量的邻区信息。
在第一方面的一种可能的设计方式中,电子设备接收来自网络侧设备的邻区测量配置信息之后,方法还包括:在目标服务小区的信号质量参数处于第二测量门限和第三测量门限之间的情况下,电子设备对第三目标测量门限对应的频点进行邻区测量,获取第三邻区测量结果;第三目标测量门限为第二测量门限和第三测量门限中大于目标服务小区的信号质量参数的一个;若第三目标测量门限为第二测量门限,则第三目标测量门限对应的频点包括目标频点;若第三目标测量门限为第三测量门限,则第三目标测量门限对应的频点包括第一频点和第二频点;若第三邻区测量结果中邻区信息的数量大于或等于第一预设数量,则电子设备将第三邻区测量结果确定为邻区测量结果。
基于上述设计方式,电子设备便可以在空闲态且当前驻留的目标服务小区的信号指令参数位于第二测量门限和第三测量门限之间的情况下,在仅对按照现有逻辑可以进行测量的第三目标测量门限对应的频点进行邻区测量就能得到足够的邻区信息的情况下,可以仅对这一部分频点进行邻区测量,在保证后续定位精度的同时减少了整个邻区测量的用时和功耗,避免了邻区测量用户过长导致移动终端不能正常被使用的问题。
进一步的,基于上述技术方案,电子设备可以在空闲态且当前驻留的小区的信号指令较好的情况下,采用合适的强制测量手段获取到足够的邻区信息,满足了移动终端的定位需求。
在第一方面的一种可能的设计方式中,电子设备对第三目标测量门限对应的频点进行邻区测量之后,该方法还包括:若第三邻区测量结果中邻区信息的数量小于第一预设数量,电子设备将第四目标测量门限进行增大,以使增大后的第四目标测量门限大于目标服务小区的信号质量参数;第四目标测量门限为第二测量门限和第三测量门限中除第三目标测量门限外的另一个;电子设备对第四目标测量门限对应的频点进行邻区测量,获得第四邻区侧脸结果,并将第四邻区测量结果添加到第三邻区测量结果中,以获得邻区测量结果;若第四目标测量门限为第三测量门限,则第四目标测量门限对应的频点包括第一频点和第二频点;若第四目标测量门限为第三测量门限,则第四目标测量门限对应的频点包括目标频点。
基于上述设计方式,电子设备便可以在空闲态且当前驻留的目标服务小区的信号指令参数位于第二测量门限和第三测量门限之间的情况下,在仅对第三目标测量门限对应的频点进行邻区测量不能得到足够的邻区信息的情况下,则可以进一步对按照现有逻辑不能进行邻区测量的第四目标测量门限对应的频点强制进行邻区测量,保证获取到足够的邻区信息,使得移动终端后续可以完整足够精确的定位,提高用户的使用体验。
进一步的,基于上述技术方案,电子设备可以在空闲态且当前驻留的目标服务小区的信号指令参数位于第二测量门限和第三测量门限之间的情况下,采用合适的测量手段获取到足够的邻区信息,满足了移动终端的定位需求。
在第一方面的一种可能的设计方式中电子设备进行邻区测量,以得到邻区测量结果,包括:电子设备在第一预设时长内对目标频点,第一频点和第二频点进行邻区测量;电子设备在第一预设时长结束时,停止邻区测量的动作,并将对目标频点、第一频点和第二频点进行邻区测量得到的邻区的邻区信息确定为邻区测量结果。
基于上述设计方式,电子设备便可以限制邻区测量需要消耗的时长,避免了因为邻区测量用时过长,导致电子设备的业务不能正常被使用的问题。
在第一方面的一种可能的设计方式中,电子设备接收来自网络侧设备的邻区测量配置信息,包括:在电子设备存在定位需求的情况下,电子设备接收来自网络侧设备的邻区测量配置信息;电子设备在第一预设时长内对目标频点,第一频点和第二频点进行邻区测量之后,方法还包括:电子设备在第一预设时长结束前,若得到了第一预设数量个邻区的邻区信息,则停止邻区测量的动作,并将第一预设数量个邻区的邻区信息确定为邻区测量结果。
在邻区测量的目的为定位时,获取到一定数量的邻区信息便可以满足定位精度的需求,更多的邻区信息只会导致手机功耗的增加,对定位精度的提高很微笑。所以基于上述设计方式,电子设备便可以在获取到足够定位的邻区信息后,及时的停止邻区测量,降低了邻区测量的消耗时长,降低了电子设备的功耗。也进一步避免了因为邻区测量用时过长,导致电子设备的业务不能正常被使用的问题。
在第一方面的一种可能的设计方式中,目标频点、第一频点和第二频点属于第一运营商;电子设备对目标频点,以及第一频点和第二频点进行邻区测量,以得到邻区测量结果之后,方法还包括:在邻区测量结果中邻区信息的个数小于第一预设数量的情况下,电子设备从预设频点集中选择至少一个第三频点,并对第三频点进行邻区测量,以得到补充邻区测量结果,并更新邻区测量结果;预设频点集中包括多个频点,多个频点中包括不同运营商的频点;第三频点不属于第一运营商。
基于上述设计方式,电子设备便可以在邻区测量结果中邻区信息的数量不足以进行精确定位的情况下,对其他运营商的频点进行测量,从而获取到足够的邻区信息。进而可以完成精确定位,提高用户的使用体验。
在第一方面的一种可能的设计方式中,至少一个第三频点中第三频点的数量小于目标数量,目标数量为目标频点的数量、第一频点的数量和第二频点的数量之和。
基于上述设计方式,可以避免因为电子设备获取补充邻区测量结果的测量时长过长,导致电子设备的无误无法正产更实用的问题。
在第一方面的一种可能的设计方式中,电子设备从预设频点集中选择至少一个第三频点,并对第三频点进行邻区测量,以得到补充邻区测量结果,包括:电子设备从预设频点集中选择至少一个第三频点,并在第三预设时长内对第三频点进行邻区测量;电子设备在第三预设时长结束时,停止邻区测量的动作,并将对第三频点进行邻区测量得到的邻区的邻区信息确定为补充邻区测量结果。
基于上述设计方式,便可以限制邻区测量需要消耗的时长,避免了因为邻区测量用时过长,导致电子设备的业务不能正常被使用的问题。
在第一方面的一种可能的设计方式中,电子设备从预设频点集中选择至少一个第三频点,并在第三预设时长内对第三频点进行邻区测量之后,该方法还包括:电子设备在第三预设时长结束前,若测量得到了第二预设数量个邻区的邻区信息,则停止对第三频点进行邻区测量的动作,并将第二预设数量个邻区的邻区信息确定为补充邻区测量结果;第二预设数量为第一预设数量减去邻区测量结果中邻区信息的数量之差。
基于上述设计方式,便可以在获取到足够定位的邻区信息后,及时的停止邻区测量,降低了邻区测量的消耗时长,降低了电子设备的功耗。也进一步避免了因为邻区测量用时过长,导致电子设备的业务不能正常被使用的问题。
在第一方面的一种可能的设计方式中,电子设备对目标频点,以及第一频点和第二频点进行邻区测量,以得到邻区测量结果之后,方法还包括:电子设备将来自网络侧设备的邻区测量配置信息中的提高后的邻区测量门限降低为提高前的邻区测量门限。
基于上述设计方式,在电子设备完成一次强制进行的邻区测量后,便可以尽快使邻区测量门限恢复为网络侧设备提供的原始的邻区测量门限,以使得后续电子设备可以顺利按照原有的逻辑进行邻区测量。
在第一方面的一种可能的设计方式中,电子设备对目标频点,以及第一频点和第二频点进行邻区测量,以得到邻区测量结果之后,该方法还包括:在第二预设时长内,若电子设备驻留的服务小区的信号质量参数大于来自网络侧设备的邻区测量配置信息中的邻区测量门限,则电子设备不进行邻区测量。
实际中,由于在电子设备驻留的服务小区的信号指令较好时,强制进行邻区测量的动作不是3GPP协议规定的动作,且其对电子设备的能源消耗较大,所以为了尽量减少电子设备的功耗以及使得电子设备在大多数情况下都按照正常的逻辑进行邻区测量。在电子设备强制进行邻区测量得到邻区测量结果之后,电子设备需要在第二预设时长内停止强制测量的相关动作,即停止忽略测量门限的动作,或者停止提高邻区测量门限的动作。即实施上述设计方式对应的技术方案,这样一来,电子设备在完成一次强制的邻区测量后,便可以按照3GPP规定的正常测量逻辑进行邻区测量,防止手机短时间内多次强制进行邻区测量,降低了电子设备的功耗,提高了用户的使用体验。
在第一方面的一种可能的设计方式中,在电子设备处于空闲态的情况下,邻区测量配置信息还包括目标频点优先级、每个第一频点的优先级和每个第二频点的优先级;电子设备对目标频点,以及第一频点和第二频点进行邻区测量,以得到邻区测量结果,包括:电子设备按照优先级由大到小的顺序,依次对目标频点、第一频点和第二频点进行邻区测量,以得到邻区测量结果。
基于上述设计方式,电子设备便可以按照优先级测量得到不同类型的邻区的邻区信息,而优先级又可以反映出不同频点的邻区数量的多少或者负载的多少,所以基于该设计方式对应的技术方案,可以更快的得到足够的邻区信息,并且可以使得不同频点的负载更为均衡,提高整个通信网络的稳定性,进而可以更好的保障用户的使用体验。
在第一方面的一种可能的设计方式中,广播消息包括至少一个系统信息块SIB,至少一个SIB中携带有邻区测量配置信息。
基于上述设计方式,电子设备便可以顺利获取到需要的邻区测量信息,进而可以顺利进行后续的邻区测量。
在第一方面的一种可能的设计方式中,在目标服务小区为长期演进LTE小区的情况下,至少一个SIB包括:SIB3、SIB5和SIB24;其中,SIB3中包括第二测量门限和第三测量门限,SIB5包括目标频点的优先级、至少一个第一频点和第一频点的优先级,SIB24包括至少一个第二频点和第二频点的优先级;在目标服务小区为新空口NR小区的情况下,至少一个SIB包括:SIB2、SIB4和SIB5;其中,SIB2中包括第二测量门限和第三测量门限,SIB4包括目标频点的优先级、至少一个第一频点和第一频点的优先级,SIB5包括至少一个第二频点和第二频点的优先级。
基于上述设计方式,电子设备便可以顺利获取到需要的邻区测量信息,进而可以顺利进行后续的邻区测量。
在第一方面的一种可能的设计方式中,邻区测量结果包括多个邻区的邻区信息;多个邻区的邻区信息包括至少一个频点对应的多个邻区的邻区信息;邻区信息包括小区标识ID和信号质量参数。
基于上述设计方式,由于邻区测量结果包括多个邻区的邻区信息,且邻区信息可以包括小区ID和信号质量参数。进而电子设备在获取到邻区测量结果后,便可以采用合适的定位方法基于邻区测量结果完成足够精准的定位,使得电子设备的定位需求得到满足,进而使得电子设备中存在定位需求的功能可以更好的向用户提供服务,提高了用户的使用体验。
在第一方面的一种可能的设计方式中,信号指令参数包括参考信号接收功率RSRP或参考信号接收质量RSRQ。
基于上述设计方式,电子设备便可以采用合适的参数作为信号指令参数,使得后续的邻区测量可以顺利进行。
第二方面,本申请实施例还提供一种邻区测量装置,该装置可以应用于电子设备。该装置的功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。硬件或软件包括一个或多个与上述功能相对应的模块,例如,通信模块和测量模块。
其中,通信模块用于接收来自网络侧设备的邻区测量配置信息;其中,邻区测量配置信息包括邻区测量门限。测量模块,用于在目标服务小区的信号质量参数大于通信模块接收到的邻区测量配置信息中的邻区测量门限的情况下,进行邻区测量,以得到邻区测量结果。
第三方面,本申请提供一种电子设备,该电子设备包括显示屏、存储器和一个或多个处理器;显示屏、存储器与处理器耦合;其中,存储器中存储有计算机程序代码,计算机程序代码包括计算机指令,当计算机指令被处理器执行时,使得电子设备执行如第一方面及其任一种可能的设计方式提供的邻区测量方法。
第四方面,本申请提供一种计算机可读存储介质,该计算机可读存储介质包括计算机指令,当所述计算机指令在电子设备上运行时,使得电子设备执行如第一方面及其任一种可能的设计方式提供的邻区测量方法。
第五方面,本申请提供一种计算机程序产品,当计算机程序产品在电子设备上运行时,使得电子设备执行如第一方面及其任一种可能的设计方式提供的邻区测量方法。
可以理解地,上述提供的第二方面至第五方面提供的技术方案所能达到的有益效果,可参考第一方面及其任一种可能的设计方式中的有益效果,此处不再赘述。
图1为本申请实施例提供的一种通信系统的结构示意图;
图2为相关技术提供的一种邻区测量的流程示意图;
图3为本申请实施例提供的一种邻区测量方法的原理示意图;
图4为本申请实施例提供的一种电子设备的硬件结构示意图;
图5为本申请实施例提供的一种电子设备的软件架构示意图;
图6为本申请实施例提供的一种邻区测量方法的流程示意图一;
图7为本申请实施例提供的一种邻区测量方法的流程示意图二;
图8为本申请实施例提供的一种邻区测量方法的流程示意图三;
图9为本申请实施例提供的一种邻区测量的场景示意图;
图10为本申请实施例提供的一种邻区测量方法的流程示意图四;
图11为本申请实施例提供的一种邻区测量方法的流程示意图五;
图12为本申请实施例提供的一种邻区测量方法的流程示意图六;
图13为本申请实施例提供的一种邻区测量方法的流程示意图七;
图14为本申请实施例提供的一种邻区测量方法的流程示意图八;
图15为本申请实施例提供的一种邻区测量方法的流程示意图九;
图16为本申请实施例提供的一种邻区测量装置的结构示意图;
图17为本申请实施例提供的一种芯片系统的结构示意图;
图18为本申请实施例提供的一种计算机程序产品的结构示意图。
本申请以下实施例中所使用的术语只是为了描述特定实施例的目的,而并非旨在作为对本申请的限制。如在本申请的说明书和所附权利要求书中所使用的那样,单数表达形式“一个”、“一种”、“所述”、“上述”、“该”和“这一”旨在也包括复数表达形式,除非其上下文中明确地有相反指示。还应当理解,“/”表示或的意思,例如,A/B可以表示A或B;文本中的“和/或”仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。
在本申请中提及“实施例”意味着,结合实施例描述的特定特征、结构或特性可以包含在本申请的至少一个实施例中。在说明书中的各个位置出现该短语并不一定均是指相同的实施例,也不是与其它实施例互斥的独立的或备选的实施例。本领域技术人员显式地和隐式地理解的是,本申请所描述的实施例可以与其它实施例相结合。
本申请以下实施例中的术语“第一”、“第二”仅用于描述目的,而不能理解为暗示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括一个或者更多个该特征,在本申请实施例的描述中,除非另有说明,“多个”的含义是两个或两个以上。
首先,对本申请实施例中涉及名词进行如下说明:
频点:频点是指在无线通信中使用的特定频率。它表示无线信号在频谱中的位置,用于传输和接收数据。频点通常以赫兹(Hz)为单位表示。
同频小区cell:指所属通信系统与用户终端当前驻留的服务小区所属的通信系统相同(或称为所属的通信制式相同),且频点与用户终端当前驻留的服务小区的频点相同的服务小区。
异频邻区:指所属通信系统与用户终端当前驻留的服务小区所属的通信系统相同,且频点与用户终端当前驻留的服务小区的频点不同的服务小区。
异系统邻区:指所属通信系统与用户终端当前驻留的服务小区所属的通信系统不同(或称为所属的通信制式不同)的服务小区。其中,通信系统指特定通信制式对应的通信系统,例如LTE通信系统,第五代移动通信技术(5th generation mobile communication technology,5G)通信系统等。
重配置reconfiguration消息:通常情况下,重配置消息具体可以是无线资源控制radio resource control reconfiguration,RRC)重配置消息。RRC重配置消息是指RRC层通过基站向用户终端发送的,用于更改或重新配置用户终端的无线参数、网络配置、业务参数等信息的一类消息。通常情况下,在用户终端通过基站注册上网后,若用户终端处于进行数据传输或语音通话的连接态,基站可以通过RRC连接向用户终端发送RRC重配置消息。其具体发送时机可以是用户终端在需要采用邻区测量的方式进行定位时向基站发送相应的RRC重配置请求后,或者还可以是基站判断用户终端需要进行邻区测量时。RRC重配置消息中可以包括邻区(包括同频邻区、异频邻区以及异系统邻区)对应的第一测量门限、对应异频邻区的至少一个第一频点和对应异系统邻区的至少一个第二频点。
需要说明的是,对应异频邻区的至少一个第一频点中的异频邻区不是指一个小区,而是指一类小区,也就是说对应异频邻区的至少一个第一频点具体可以是包括具体值与用户终端当前驻留的服务小区的频点不相同的至少一个第一频点,同时第一频点所属的通信系统和用户终端当前驻留的服务小区的频点所属的通信系统相同。这些第一频点对应的小区即为用户终端当前驻留的服务小区的异频邻区。
对应异系统邻区的至少一个第二频点中的异系统邻区不是指一个小区,而是指一类小区,也就是说对应异频邻区的至少一个第二频点具体可以是包括所属的通信系统和用户终端当前驻留的服务小区的频点所属的通信系统不同的至少一个第二频点。这些第二频点对应的小区即为用户终端当前驻留的服务小区的异系统邻区。
示例性的,根据第三代合作伙伴计划(third generation partnership project,3GPP)的协议36331和38331,RRC重配置消息中第一测量门限的相关代码可以如下:
其中,ssb-RSRP对应的RSRP-Range是将通过信道状态信息(channel state information,CSI)得到的参考信号接收功率(reference signal receiving power,RSRP)作为信号质量参数时,第一测量门限时的具体数值;csi-RSRP对应的RSRP-Range是将通过同步信号块(synchronization signal block,SSB)得到的参考信号接收功率(reference signal receiving power,RSRP)作为信号质量参数时,第一测量门限时的具体数值。一般的,在进行邻区测量时,由于ssb-RSRP可以提供邻区测量相关的小区搜索和同步的相关信息,所以可以使用ssb-RSRP对应的RSRP-Range作为第一测量门限使用。
上述第一测量门限、至少一个第一频点和至少一个第二频点即为邻区测量配置信息,具体可以称为对应连接态的邻区测量配置信息。
系统信息块(system information block,SIB):是无线通信系统中用于传递系统信息的一种消息类型。通常情况下,在用户终端通过基站注册上网后,若用户终端处于没有进行数据传输或语音通话的空闲态,基站会通过广播信道(broadcast channel,BCCH)周期性的向用户终端发送广播消息。广播消息中则可以包括一个或多个SIB。这些SIB中则可以包括有用户终端进行邻区测量需要的邻区测量配置信息。
例如,以用户终端当前驻留的小区为LTE小区为例,广播消息中可以包括有SIB3、SIB5和SIB24。其中,SIB3可以包括同频邻区的第二测量门限,以及异频邻区和异系统邻区的第三测量门限。示例性的,根据第三代合作伙伴计划(third generation partnership project,3GPP)的协议36331和38331,SIB3中包括第二测量门限的配置信息相关代码可以如下:
cellReselectionServingFreqInfo SEQUENCE{
s-IntraSearchP ReselectionThreshold,
s-IntraSearchQ ReselectionThresholdQ OPTIONAL,--Need S
其中,ReselectionThreshold是将参考信号接收功率(reference signal receiving power,RSRP)作为信号质量参数时,第二测量门限时的具体数值;ReselectionThreshold是将参考信号接收质量(Reference signal receiving quality,RSRQ)作为信号质量参数时,第二测量门限时的具体数值。
SIB3中包括第三测量门限的配置信息相关代码可以如下:
cellReselectionServingFreqInfo SEQUENCE{
s-NonIntraSearchP ReselectionThreshold,OPTIONAL,--Need S
s-NonIntraSearchQ ReselectionThresholdQ OPTIONAL,--Need S
同理,其中ReselectionThreshold是将参考信号接收功率(reference signal receiving power,RSRP)作为信号质量参数时,第三测量门限时的具体数值;ReselectionThreshold是将参考信号接收质量(Reference signal receiving quality,RSRQ)作为信号质量参数时,第三测量门限时的具体数值。
一般的,在进行邻区测量时,通常会采用RSRP作为信号质量参数来衡量邻区的信号质量。这是因为RSRP是一种直接测量接收信号强度的指标,它可以提供关于信号强度的绝对数值,并且在不同的小区之间具有可比性。相比之下,RSRQ是一种衡量接收信号质量的指标,它考虑了信号强度和干扰水平。RSRQ是通过将RSRP与干扰水平进行比较来计算的,因此它更侧重于评估信号的质量而不仅仅是强度。总的来说,选择使用RSRP作为邻区测量的信号质量参数是因为它提供了直接的信号强度测量,并且在不同小区之间具有可比性,这有助于网络进行小区切换和资源分配等操作。
SIB5则可以包括需要测量的对应异频邻区的至少一个第一频点,SIB24则可以包括对应异系统邻区的至少一个第二频点。其中,异系统可以是第五代移动通信技术(5th generation mobile communication technology,5G)系统。在一些实施例中,SIB5中还可以包括目标频点的优先级和对应异频邻区的至少一个第一频点中每个第一频点的频点优先级,SIB24中还可以包括对应异系统邻区的至少一个第二频点中每个第二频点的频点优先级。
又例如,以用户终端当前驻留的小区为NR小区为例,广播消息中可以包括有SIB2、SIB4和SIB5。其中,SIB2可以包括同频邻区的第二测量门限,以及异频邻区和异系统邻区的第三测量门限。SIB2中第二测量门限和第三测量门限的相关代码可以参照SIB3中第二测量门限和第三测量门限的相关代码,此处不再赘述。SIB4则可以包括需要测量的对应异频邻区的至少一个第一频点,SIB5则可以包括需要测量的对应异系统邻区的至少一个第二频点。在一些实施例中,SIB4则可以包括需要测量的对应异系统邻区的至少一个第二频点,SIB5则可以包括需要测量的对应异频邻区的至少一个第一频点。在一些实施例中,SIB4中还可以包括对应异频邻区的至少一个第一频点中每个第一频点的频点优先级,SIB5中还可以包括对应异系统邻区的至少一个的第二频点中每个第二频点的频点优先级。在一些实施例中,SIB4中还可以包括目标频点的优先级和对应异系统邻区的至少一个的第二频点中每个第二频点的频点优先级,SIB5中还可以包括对应异频邻区的至少一个第一频点中每个第一频点的频点优先级。
上述第二测量门限、第三测量门限、至少一个第一频点、至少一个第二频点以及每个频点的优先级即为邻区测量配置信息,具体可以称为对应空闲态的邻区测量配置信息。
当然,上述对SIB的介绍仅为示例,实际中SIB2、SIB3、SIB4、SIB5和SIB24乃至其他的SIB还可以包括其他任意可能的系统信息;进一步地,在一些实施例中,SIB2、SIB3、SIB4、SIB5和SIB24乃至其他的SIB中的任意一个SIB信息可以包括上述第二测量门限、第三测量门限、至少一个第一频点、至少一个第二频点以及每个频点的优先级的邻区测量配置信息。
目前的通信技术中,用户终端在许多可能的情况(例如某个应用需要定位)下,都需要对用户终端进行定位。而为了更好的定位,终端则需要对该服务器小区的邻区(例如同频邻区、异频邻区和异系统邻区)进行测量以得到邻区的小区信息(例如邻区ID和信号质量参数),进而辅助完成定位。而为了使得用户终端不会频繁的进行邻区测量,降低功耗,网络侧设备会为处于空闲态和连接态的用户终端配置邻区测量门限(包括同频邻区、异频邻区和异系统邻区各自的测量门限)。只有当用户终端驻留的服务小区的信号质量(具体可以指下行信号的信号质量)的值小于邻区测量门限时,才会对相应的邻区进行测量。在当用户终端驻留的服务小区的信号质量参数的值大于邻区测量门限时,则不会对相应的邻区进行测量。
示例性的,图1为用户终端进行邻区测量时,用户终端所属的一种通信系统的结构示意图。参照图1所示,该通信系统中可以包括多个网络侧设备01和多个用户终端02。图1中以多个网络侧设备01包括网络侧设备01-1、网络侧设备01-2、网络侧设备01-3和网络侧设备01-4为例,多个用户终端02包括用户终端02-1、用户终端02-2、用户终端02-3和用户终端02-4为例作为示意。
每个网络侧设备01管理的服务小区内可以分布有至少一个用户终端02。在用户终端01在某个网络侧设备01管理的服务小区内开机后,用户终端01则可以通过该网络侧设备01注册上网。不同的网络侧设备01管理的服务小区的范围可以存在交集。例如图1中所示的网络侧设备01-1管理的服务小区A、网络侧设备01-2管理的服务小区B、网络侧设备01-3管理的服务小区C和网络侧设备01-4管理的服务小区D之间则存在交集。不同的网络侧设备01管理的服务小区的范围也可以不存在交集。
基于图1所示的通信系统,参照图2所示,现有邻区测量的过程可以包括:
用户终端开机后,会通过网络侧设备注册上网,从而建立通信连接。其中,网络侧设备可以为基站。
之后,在用户终端处于连接态的情况下,在用户终端存在需要进行邻区测量以完成定位的需求时,网络侧设备则可以向用户终端发送重配置消息。该重配置消息中可以携带有对应连接态的邻区测量配置信息。该对应连接态的邻区测量配置信息可以包括:同频邻区、异频邻区和异系统邻区的第一测量门限、对应异频邻区的至少一个第一频点以及对应异系统邻区的至少一个第二频点。
在用户终端处于空闲态的情况下,网络侧设备和用户终端之间仅保持有少量的通信连接,以支持网络侧设备对用户终端的移动性管理和网络接入。示例性的,用户终端处于空闲态时,网络侧设备与用户终端之间的通信连接可以包括广播信道。
在用户终端处于空闲态的情况下,网络侧设备会通过广播信道周期性的向用户终端发送广播消息。该广播消息中则可以包括有对应空闲态的邻区测量配置信息。示例性的,该邻区测量配置信息可以包括有同频邻区的第二测量门限、异频邻区和异系统邻区的第三测量门限、对应异频邻区的至少一个第一频点、对应异系统邻区的至少一个第二频点。该邻区测量配置信息中还可以包括至少一个第一频点和至少一个第二频点中每个频点的优先级。
广播消息中具体采用什么系统信息块携带邻区测量配置信息可以参照前述实施例中针对系统信息块的相关描述,此处不再赘述。
再之后,用户终端则可以根据来自网络侧设备的邻区测量配置信息进行邻区测量,并基于测量结果对当前驻留的服务小区进行定位。例如,如图1中所示,用户终端02-1则可以基于测量到的服务小区A的三个邻区-服务小区B、服务小区C和服务小区D的三个邻区信息,进行定位。
在用户终端处于空闲态时,用户终端可以根据来自网络侧设备的对应空闲态邻区测量配置信息进行邻区测量。具体的,在用户终端处于空闲态的情况下,出于节能的目的,用户终端首先会判断当前驻留的服务小区的信号质量参数是否大于第二测量门限,以及是否大于第三测量门限。在当前驻留的服务小区的信号质量参数小于第二测量门限的情况下,用户终端才会对当前驻留的服务小区所属的目标频点进行邻区测量。在当前驻留的服务小区的信号质量参数小于第三测量门限的情况下,用户终端才会对邻区测量配置信息中的第一频点和第二频点进行邻区测量。而如果当前驻留的服务小区的信号质量参数大于第二测量门限,和/或第三测量门限,则用户终端可能仅会对当前驻留的服务小区所属的频点进行邻区测量,或者仅会对第一频点和第二频点进行邻区测量,或者不进行邻区测量。
在用户终端处于连接态时,用户终端可以根据来自网络侧设备的对应连接态邻区测量配置信息进行邻区测量。具体的,在用户终端处于连接态的情况下,出于节能的目的,用户终端首先会判断当前驻留的服务小区的信号质量参数是否大于第一测量门限。在当前驻留的服务小区的信号质量参数小于第一测量门限的情况下,用户终端才会对当前驻留的服务小区所属的频点、第一频点和第二频点进行邻区测量。而如果当前驻留的服务小区的信号质量参数大于第一测量门限,则用户终端则不进行邻区测量。
可以看出,在现有的邻区测量方案中,如果用户当前驻留的服务小区的信号质量比较好,用户终端将无法进行邻区测量,或者仅可以对少量的频点进行测量。这样一来,用户终端在需要基于邻区信息进行定位时,将无法获取到足够的邻区信息,进而也就无法完成精确的定位。用户终端上基于精确定位的服务也就不能很好的提供给用户,降低了用户的使用体验。
针对上述技术问题,本申请实施例提供一种邻区测量方法,应用于电子设备(或可称为用户终端)中。在该技术方案中,参照图3所示,电子设备开启注册上网后,在空闲态可以接收来自网络侧设备的对应空闲态的邻区测量配置信息,或者在连接态接收来自网络侧设备的对应连接态的邻区测量配置信息。之后,若电子设备驻留的服务小区的信号质量参数大于邻区测量配置信息中的邻区测量门限(第一测量门限或第二测量门限或第三测量门限),则电子设备可以强制对当前驻留的服务小区的频点,以及邻区测量配置信息中的所有频点(第一频点和第二频点)进行邻区测量,从而得到邻区测量结果,即得到多个邻区的邻区信息。其中,强制的方式可以是提高邻区测量门限,使得邻区测量门限大于电子设备驻留的服务小区的信号质量参数,或者忽略邻区测量门限。
若电子设备驻留的服务小区的信号质量参数小于邻区测量配置信息中的邻区测量门限(第一测量门限和第二测量门限和第三测量门限),则电子设备可以按照现有方案,对当前驻留的服务小区的频点,以及邻区测量配置信息中的所有频点(第一频点和第二频点)进行邻区测量,从而得到邻区测量结果,即得到多个邻区的邻区信息。
再之后,电子设备则可以基于邻区测量结果对自身位置进行定位。
可见,在本申请实施例提供的技术方案中,可以在电子设备驻留的服务小区的信号质量较好时,使得电子设备也可以进行完整的邻区测量以获取到足够进行定位的邻区信息。进而,电子设备也就可以基于充足的邻区信息完成定位,使得电子设备的定位需求得到满足,进而使得电子设备中存在定位需求的功能可以更好的向用户提供服务,提高了用户的使用体验。
下面结合附图对本申请实施例提供的技术方案进行详细表述。
本申请提供的技术方案可以应用在电子设备中。在一些实施例中,该电子设备可以是手机、平板电脑、手持计算机、个人计算机(personal computer,PC),超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本,以及蜂窝电话、个人数字助理(personal digital assistant,PDA)、增强现实(augmented reality,AR)设备、虚拟现实(virtual reality,VR)设备、人工智能(artificial intelligence,AI)设备、可穿戴式设备、车载设备、智能家居设备和/或智慧城市设备等电子设备,本申请实施例对该电子设备的具体类型不作特殊限制。
示例性的,以电子设备是手机为例,图4示出了本申请实施例提供的一种电子设备的硬件结构示意图。
参照图4所示,电子设备可以包括处理器110,外部存储器接口120,内部存储器121,通用串行总线(universal serial bus,USB)接口130,充电管理模块140,电源管理模块141,电池142,天线1,天线2,移动通信模块150,无线通信模块160,音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,传感器模块180,按键190,马达191,指示器192,显示屏193,用户标识模块(subscriber identification module,SIM)卡接口194,以及摄像头195等。其中,传感器模块180可以包括压力传感器,陀螺仪传感器,气压传感器,磁传感器,加速度传感器,距离传感器,接近光传感器,指纹传感器,温度传感器,触摸传感器,环境光传感器,骨传导传感器等。
处理器110可以包括一个或多个处理单元,例如:处理器110可以包括应用处理器(application processor,AP),调制解调处理器,图形处理器(graphics processing unit,GPU),图像信号处理器(image signal processor,ISP),控制器,存储器,视频编解码器,数字信号处理器(digital signal processor,DSP),基带处理器,和/或神经网络处理器(neural-network processing unit,NPU)等。其中,不同的处理单元可以是独立的器件,也可以集成在一个或多个处理器中。
控制器可以是电子设备的神经中枢和指挥中心。控制器可以根据指令操作码和时序信号,产生操作控制信号,完成取指令和执行指令的控制。
处理器110中还可以设置存储器,用于存储指令和数据。在一些实施例中,处理器110中的存储器为高速缓冲存储器。该存储器可以保存处理器110刚用过或循环使用的指令或数据。如果处理器110需要再次使用该指令或数据,可从所述存储器中直接调用。避免了重复存取,减少了处理器110的等待时间,因而提高了系统的效率。
在一些实施例中,处理器110可以包括一个或多个接口。接口可以包括集成电路(inter-integrated circuit,I2C)接口,集成电路内置音频(inter-integrated circuit sound,I2S)接口,脉冲编码调制(pulse code modulation,PCM)接口,通用异步收发传输器(universal asynchronous receiver/transmitter,UART)接口,移动产业处理器接口(mobile industry processor interface,MIPI),通用输入输出(general-purpose input/output,GPIO)接口,用户标识模块(subscriber identity module,SIM)接口,和/或通用串行总线(universal serial bus,USB)接口等。
充电管理模块140用于从供电设备(例如充电器、笔记本电能等)接收充电输入。其中,充电器可以是无线充电器,也可以是有线充电器。在一些有线充电的实施例中,充电管理模块140可以通过USB接口130接收有线充电器的充电输入。在一些无线充电的实施例中,充电管理模块140可以通过电子设备的无线充电线圈接收无线充电输入。
充电管理模块140为电池142充电的同时,还可以通过电源管理模块141为电子设备供电。其中,电池142具体可以为多个电池串联组成。电源管理模块141用于连接电池142、充电管理模块140与处理器110。
电源管理模块141用于连接电池142,充电管理模块140与处理器110。电源管理模块141接收电池142和/或充电管理模块140的输入,为处理器110,内部存储器121,显示屏193,摄像头195,和无线通信模块160等供电。电源管理模块141还可以用于监测电池的电压、电流、电池循环次数、电池健康状态(漏电,阻抗)等参数。在其他一些实施例中,电源管理模块141也可以设置于处理器110中。
外部存储器接口120可以用于连接外部的非易失性存储器,实现扩展电子设备的存储能力。外部的非易失性存储器通过外部存储器接口120与处理器110通信,实现数据存储功能。例如将音乐,视频等文件保存在外部的非易失性存储器中。
内部存储器121可以包括一个或多个随机存取存储器(random access memory,RAM)和一个或多个非易失性存储器(non-volatile memory,NVM)。随机存取存储器可以由处理器110直接进行读写,可以用于存储操作系统或其他正在运行中的程序的可执行程序(例如机器指令),还可以用于存储用户及应用程序的数据等。非易失性存储器也可以存储可执行程序和存储用户及应用程序的数据等,可以提前加载到随机存取存储器中,用于处理器110直接进行读写。
触摸传感器,也称“触控器件”。触摸传感器可以设置于显示屏193,由触摸传感器与显示屏193组成触摸屏,也称“触控屏”。触摸传感器用于监测作用于其上或附近的触摸操作。触摸传感器可以将监测到的触摸操作传递给应用处理器,以确定触摸事件类型。可以通过显示屏193提供与触摸操作相关的视觉输出。在另一些实施例中,触摸传感器也可以设置于电子设备的表面,与显示屏193所处的位置不同。
环境光传感器用于感知环境光亮度。例如:环境光传感器可以测量环境光的四个通道的光强度。环境光传感器将测量到的环境光的四个通道的光强度输出给处理器110。处理器110可以对环境光传感器输出的环境光的四个通道的光强度进行处理得到环境光的光强度。在亮屏状态下,电子设备可以根据得到的环境光的光强度自适应调节显示屏亮度。
压力传感器用于感受压力信号,可以将压力信号转换成电信号。在一些实施例中,压力传感器可以设置于显示屏193。压力传感器的种类很多,如电阻式压力传感器,电感式压力传感器,电容式压力传感器等。当有触摸操作作用于显示屏193,电子设备根据压力传感器监测所述触摸操作强度。电子设备也可以根据压力传感器的监测信号计算触摸的位置。在一些实施例中,作用于相同触摸位置,但不同触摸操作强度的触摸操作,可以对应不同的操作指令。例如:当有触摸操作强度小于第一压力阈值的触摸操作作用于短消息应用图标时,执行查看短消息的指令。当有触摸操作强度大于或等于第一压力阈值的触摸操作作用于短消息应用图标时,执行新建短消息的指令。
在一些实施例中,电子设备可以包括1个或N个摄像头195,N为大于1的正整数。在本申请实施例中,摄像头195的类型可以根据硬件配置以及物理位置进行区分。例如,设置在电子设备的显示屏193那一面的摄像头可以称为前置摄像头,设置在电子设备的后盖那一面的摄像头可以称为后置摄像头;又例如,焦距短、视越大的摄像头可以称为广角摄像头,焦距长、视角小的摄像头可以称为普通摄像头。其中,焦距的长短、视角的大小为相对概念,并无具体的参数限定,因此广角摄像头和普通摄像头也是一个相对概念,具体可以根据焦距、视角等物理参数进行区分。
电子设备通过GPU,显示屏193,以及应用处理器等实现显示功能。GPU为图像编辑的微处理器,连接显示屏193和应用处理器。GPU用于执行数学和几何计算,用于图形渲染。处理器110可包括一个或多个GPU,其执行程序指令以生成或改变显示信息。
电子设备可以通过ISP,摄像头195,视频编解码器,GPU,显示屏193以及应用处理器等实现拍摄功能。GPU用于执行数学和几何计算,用于图形渲染。处理器110可包括一个或多个GPU,其执行程序指令以生成或改变显示信息。本申请实施例中,每个图像帧的帧绘制过程中,都会使用的GPU的功能,以使得最终显示的画面获得更好的显示效果和性能表现。
ISP用于处理摄像头195反馈的数据。例如,拍照时,打开快门,光线通过镜头被传递到摄像头感光元件上,光信号转换为电信号,摄像头感光元件将所述电信号传递给ISP处理,转化为肉眼可见的图像。ISP还可以对图像的噪点,亮度进行算法优化。ISP还可以对拍摄场景的曝光,色温等参数优化。在一些实施例中,ISP可以设置在摄像头195中。摄像头195用于捕获静态图像或视频。
数字信号处理器用于处理数字信号,除了可以处理数字图像信号,还可以处理其他数字信号。例如,当电子设备在频点选择时,数字信号处理器用于对频点能量进行傅里叶变换等。
显示屏193用于显示图像,视频等。显示屏193包括显示面板。显示面板可以采用液晶显示屏(liquid crystal display,LCD),有机发光二极管(organic light-emitting diode,OLED),有源矩阵有机发光二极体或主动矩阵有机发光二极体(active-matrix organic light emitting diode,AMOLED),柔性发光二极管(flex light-emitting diode,FLED),Miniled,MicroLed,Micro-oLed,量子点发光二极管(quantum dot light emitting diodes,QLED)等。在一些实施例中,电子设备可以包括1个或N个显示屏193,N为大于1的正整数。
本申请实施例中,显示屏193可用于显示电子设备需要的页面(例如,向导页面(包括亮点推荐页面和外部模块接入页面)等),并在该界面中显示来自任一个或多个摄像头195拍摄的图像。
电子设备的无线通信功能可以通过天线1,天线2,移动通信模块150,无线通信模块160,调制解调器以及基带处理器等实现。
天线1和天线2用于发射和接收电磁波信号。电子设备中的每个天线可用于覆盖单个或多个通信频带。不同的天线还可以复用,以提高天线的利用率。
移动通信模块150可以提供应用在电子设备上的包括2G/3G/4G/5G等无线通信的解决方案。移动通信模块150可以由天线1接收电磁波,并对接收的电磁波进行滤波,放大等处理,传送至调制解调处理器进行解调。移动通信模块150还可以对经调制解调处理器调制后的信号放大,经天线1转为电磁波辐射出去。在一些实施例中,移动通信模块150的至少部分功能模块可以被设置于处理器110中。在一些实施例中,移动通信模块150的至少部分功能模块可以与处理器110的至少部分模块被设置在同一个器件中。
调制解调处理器可以包括调制器和解调器。其中,调制器用于将待发送的低频基带信号调制成中高频信号。解调器用于将接收的电磁波信号解调为低频基带信号。随后解调器将解调得到的低频基带信号传送至基带处理器处理。低频基带信号经基带处理器处理后,被传递给应用处理器。应用处理器通过音频设备(不限于扬声器170A,受话器170B等)输出声音信号,或通过显示屏193显示图像或视频。在一些实施例中,调制解调处理器可以是独立的器件。在另一些实施例中,调制解调处理器可以独立于处理器110,与移动通信模块150或者其他功能模块设置在同一个器件中。
无线通信模块160可以提供应用在电子设备上的包括无线局域网(wireless local area networks,WLAN)(如无线保真(wireless fidelity,Wi-Fi)网络),蓝牙(bl tooth,BT),全球导航卫星系统(global navigation satellite system,GNSS),调频(frequency modulation,FM),近距离无线通信技术(near field communication,NFC),红外技术(infrared,IR)等无线通信的解决方案。无线通信模块160可以是集成至少一个通信处理模块的一个或多个器件。无线通信模块160经由天线2接收电磁波,将电磁波信号调频以及滤波处理,将处理后的信号发送到处理器110。无线通信模块160还可以从处理器110接收待发送的信号,对其进行调频,放大,经天线2转为电磁波辐射出去。
SIM卡接口194用于连接SIM卡。SIM卡可以通过插入SIM卡接口194,或从SIM卡接口194拔出,实现和电子设备的接触和分离。电子设备可以支持一个或多个SIM卡接口。SIM卡接口194可以支持Nano SIM卡,Micro SIM卡,SIM卡等。同一个SIM卡接口194可以同时插入多张卡。SIM卡接口194也可以兼容外部存储卡。电子设备通过SIM卡和网络交互,实现通话以及数据通信等功能。一个SIM卡对应一个用户号码。
可以理解的是,本发明实施例示意的各会模块间的接口连接关系,只是示意性说明,并不构成对电子设备的结构限定。在本申请另一些实施例中,电子设备也可以采用上述实施例中不同的接口连接方式,或多种接口连接方式的组合。
当然,可以理解的,上述图4所示仅仅为电子设备的形态为手机时的示例性说明。若电子设备是平板电脑,手持计算机,PC,PDA,可穿戴式设备(如:智能手表、智能手环)等其他设备形态时,电子设备的结构中可以包括比图4中所示更少的结构,也可以包括比图4中所示更多的结构,在此不作限制。
可以理解的是,一般而言,电子设备功能的实现除了需要硬件的支持外,还需要软件的配合。电子设备的软件系统可以采用分层架构,事件驱动架构,微核架构,微服务架构,或云架构。本申请实施例以分层架构的系统为例,示例性说明电子设备的软件结构。
图5为本申请实施例提供的电子设备的软件系统的分层架构示意图。分层架构将软件分成若干个层,每一层都有清晰的角色和分工。层与层之间通过软件接口(例如API)通信。
在一些示例中,参照图5所示,在本申请实施例中,将电子设备的软件分为五层,从上至下分别为应用程序层,框架层(或称为应用程序框架层),系统库和安卓运行时(android runtime),HAL层(hardware abstraction layer,硬件抽象层)以及内核层(或称为驱动层)。其中,系统库和安卓运行时还可以称为本地框架层或者native层。
其中,应用程序层可以包括一系列的应用程序。如图5所示,应用程序层可以包括相机、图库、日历、地图、WLAN、蓝牙、音乐、视频、短信息、通话、导航、即时通讯等应用程序(application,APP)。
框架层为应用程序层的应用程序提供应用编程接口(application programming interface,API)和编程框架。应用程序框架层包括一些预先定义的函数或服务。例如,应用程序框架层可以包括活动管理器、窗口管理器、内容提供器、视图系统、电话管理器、资源管理器、通知管理器、包管理器等,本申请实施例对此不做任何限制。
其中,窗口管理器用于管理窗口程序。窗口管理器可以获取显示屏大小,判断是否有状态栏,锁定屏幕,截取屏幕等。内容提供器用来存放和获取数据,并使这些数据可以被应用程序访问。这些数据可以包括视频,图像,音频,拨打和接听的电话,浏览历史和书签,电话簿等。视图系统包括可视控件,例如显示文字的控件,显示图片的控件等。视图系统可用于构建应用程序的显示界面。电话管理器用于提供电子设备的通信功能。例如,电话管理器可以管理通话应用的通话状态(包括发起,接通,挂断等)。资源管理器为应用程序提供各种资源,比如本地化字符串,图标,图片,布局文件,视频文件等等。通知管理器使应用程序可以在状态栏中显示通知信息,可以用于传达告知类型的消息,可以短暂停留后自动消失,无需用户交互。包管理器在系统中是用于管理应用程序包的。它允许应用程序获取关于已安装应用和它们的服务、权限等的详细信息。包管理器还用于管理应用程序的安装、卸载和升级等事件。活动管理器用于管理应用程序的生命周期和窗口状态。
在本申请实施例中,框架层中还可以包括有定位服务。该定位服务可以在系统库的无线资源控制模块获取到电子设备当前驻留的服务小区的多个邻区的邻区信息时,基于多个邻区的邻区信息确定出电子设备的位置。确定方法可以是任意可行的定位方法,本申请对此不做具体限制。
系统库可以包括多个功能模块。例如:表面管理器(surface manager),媒体库(Media Libraries),OpenGL ES,SGL等。
其中,表面管理器用于对显示子系统进行管理,并且为多个应用程序提供了2D和3D图层的融合。媒体库支持多种常用的音频,视频格式回放和录制,以及静态图像文件等。媒体库可以支持多种音视频编码格式,例如:MPEG4,H.264,MP3,AAC,AMR,JPG,PNG等。OpenGL ES用于实现三维图形绘图,图像渲染,合成,和图层处理等。SGL是2D绘图的绘图引擎。
参照图5所示,系统库中还可以包括无线通信协议栈。无线通信协议栈是一组用于管理和控制无线通信的协议和算法,无线通信协议栈可以管理和控制电子设备中关于无线通信的各个方面,确保无线通信的可靠性、高效性和安全性。
无线通信协议栈中可以包括无线资源控制模块。该无线资源控制模块可以对电子设备进行邻区测量的过程进行管理和控制。在本申请实施例中,无线资源控制模块可以在电子设备接收到来自网络侧设备的邻区测量配置信息后,在电子设备当前驻留的服务小区的信号质量参数大于邻区测量配置信息中的邻区测量门限的情况下,也控制电子设备强制进行邻区测量。从而获取到邻区测量结果,具体可以包括多个邻区的邻区信息(例如邻区的小区ID和信号质量参数)。之后,无线资源控制模块则可以将获取到的邻区测量结果提供给框架层中定位服务,供其进行定位。
安卓运行时(android runtime)包括核心库和ART虚拟机。android runtime负责安卓系统的调度和管理。核心库包含两部分:一部分是java语言需要调用的功能函数,另一部分是安卓的核心库。应用程序层和应用程序框架层运行在ART虚拟机中。ART虚拟机将应用程序层和应用程序框架层的java文件执行为二进制文件。ART虚拟机用于执行对象生命周期的管理,堆栈管理,线程管理,安全和异常的管理,以及垃圾回收等功能。
HAL层是位于操作系统内核与硬件电路之间的接口层,其目的在于将硬件抽象化。它隐藏了特定平台的硬件接口细节,为操作系统提供虚拟硬件平台,使其具有硬件无关性,可在多种平台上进行移植。HAL层提供标准界面,向更高级别的Java API框架(即框架层)显示设备硬件功能。HAL层包含多个库模块,其中每个模块都为特定类型的硬件组件实现一个界面,例如:audio HAL音频模块,bluetooth HAL蓝牙模块,camera HAL相机模块(还可称为相机HAL或相机硬件抽象模块),sensors HAL传感器模块(或称为Isensor service,传感器服务)。
内核层是硬件和软件之间的层。内核层至少包含显示驱动,相机驱动,音频驱动,传感器驱动、电池驱动等,本申请不做限定。
本申请实施例中提供的技术方案均可以在具有上述硬件结构或者软件结构的电子设备中实现。
由于电子设备在通过网络侧设备注册入网,驻留至服务小区后,电子设备可以存在空闲态和连接态两种状态,而无论是空闲态还是连接态,电子设备都可以进行邻区测量。故而本申请提供的邻区测量方法可以包括针对连接态的电子设备的第一邻区测量流程,以及针对空闲态的电子设备的第一邻区测量流程。
以下结合图6所示,对本申请实施例提供的邻区测量方法中针对连接态的电子设备的第一邻区测量流程进行介绍。图6为本申请实施例提供的一种邻区测量方法中针对连接态的电子设备的第一邻区测量流程示意图。参照图6所示,以电子设备为移动终端(例如手机),针对连接态的电子设备的第一邻区测量流程可以包括S601-S606:
S601、移动终端开机,并通过网络侧设备注册上网,以驻留在目标服务小区。
其中,目标服务小区即为前述实施例中提到的移动终端当前驻留的服务小区。网络侧设备可以为基站,例如LTE基站或NR基站。该网络侧设备用于管理该目标服务小区。
示例性的,移动终端注册上网的流程可以包括:终端开机进行初始化操作、移动终端建立与网络侧设备的RRC连接以进行无线资源配置、移动终端向网络侧设备请求附着以完成附着入网、移动终端与网络侧设备建立默认承载、移动终端通过网络侧设备完成跟踪区域更新(tracking area update,TAU)更新。注册上网的各个步骤的具体实现可以是任意可行的方式,本申请对此不做具体限制。
S602、在移动终端处于连接态的情况下,若移动终端存在定位服务需求,则移动终端接收来自网络侧设备的重配置消息。
其中,重配置消息具体可以为RRC重配置消息,该重配置消息中可以携带有对应连接态的邻区测量配置信息,即第一邻区测量配置信息。示例性的,第一邻区测量配置信息可以包括:邻区的第一测量门限、对应异频邻区的至少一个第一频点以及对应异系统邻区的至少一个第二频点。其中,第一频点与电子设备当前驻留的目标服务小区的目标频点不同,且第一频点所属的通信制式与目标频段所属的通信制式相同,即为异频邻区;第二频点与电子设备当前驻留的目标服务小区的目标频点不同,且第一频点所属的通信制式与目标频段所属的通信制式不同,即为异系统邻区。
其中,邻区可以包括同频邻区、异频邻区和异系统邻区。在移动终端处于连接态的情况下,根据3GPP的协议规定,对同频邻区、异频邻区和异系统邻区进行测量的邻区测量门限均为该第一测量门限。或者可以称,对目标服务小区所属的目标频点、第一频点和第二频点进行邻区测量的测量门限,均为第一测量门限。
一般的,在移动终端开机完成注册上网后,移动终端便处于连接态。此外,之后移动终端在需要与网络侧设备进行数据传输或者通过网络侧设备与其他移动终端进行通话时,移动终端则会重新建立或者保持连接态对应的通信连接。
示例性的,移动终端处于连接态的情况下,移动终端与网络侧设备之间存在的通信连接可以包括RRC连接以及无线承载(radio bearer,RB)连接。其中,网络侧设备可以通过RRC连接向移动终端发送该重配置消息(或称为RRC重配置消息)。
需要说明的是,在移动终端驻留的小区未进行切换前,该携带有邻区测量配置信息的RRC重配置消息可以只发送一次。也就是说,移动终端驻留在某个小区的过程中,进行邻区测量时使用的邻区测量配置信息都是同一个。只有移动终端驻留的小区改变了之后,网络侧设备才会向移动终端发送携带有新的邻区测量配置信息的RRC重配置消息。
在一些实施例中,该定位需求可以是移动终端中的某个应用在向用户提供某种功能时产生的。例如,用户在使用移动终端上安装的外卖应用时,外卖应用为了向用户展示用户所处位置附近的外卖信息,则需要获取移动终端的定位。此时,移动终端则存在有定位需求,且是移动终端主动产生的定位服务请求。
在移动终端主动产生定位需求的情况下,移动终端则可以主动向网络侧设备请求第一邻区测量配置信息,网络侧设备在接收到相应请求后则可以向移动终端发送携带有第一邻区测量配置信息的重配置消息。基于此,结合图6,参照图7所示,S602具体可以包括S6021A-S6024A:
S6021A、在移动终端处于连接态的情况下,若移动终端存在定位需求,则移动终端向网络侧设备发送重配置请求。
其中,该重配置请求可以是RRC重配置请求,该重配置请求用于请求邻区测量配置信息。当然,实际中的RRC重配置请求的具体请求内容还可以包括其他任意可行的内容,第一邻区测量配置信息仅为本申请实施例中的一种可能情况中的RRC重配置请求的部分或全部内容,本申请对此不做具体限制。
S6022A、网络侧设备接收来自移动终端的重配置请求。
S6023A、网络侧设备响应于该重配置请求,向移动终端发送重配置消息。
其中,该重配置消息携带有对应连接态的邻区测量配置信息,即第一邻区测量配置信息。
当然,实际中网络侧设备是否会响应于来自移动终端的重配置请求,还需要根据重配置请求中携带的移动终端的信息(例如移动终端的标识等)或者其他可能的内容决定,本申请对此不做具体限制。
S6024A、移动终端接收来自网络侧设备的重配置消息。
基于上述S6021A-S6023A对应的技术方案,移动终端在主动产生定位需求的情况下,便可以从网络侧设备获取到第一邻区测量配置信息,进而完成邻区测量,获取到邻区信息以作为定位的数据支撑。
在另一些实施例中,由于移动终端可能是不断移动的,移动终端当前驻留的目标服务小区的信号质量也可能会随着环境原因产生变化,所以为了保证移动终端的通信稳定性,网络侧设备可能需要定期向移动终端发送重配置消息,以使移动终端进行邻区测量并将测量结果返回给网络侧设备。进而网络侧设备可以基于邻区测量结果确定是否对移动终端驻留的服务小区进行切换。这种情况下,网络侧设备在需要向移动终端发送重配置消息时,便可以认为移动终端存在定位需求。此时的重配置消息则可以是网络侧设备主动向电子设备发送的。基于此,结合图6,参照图8所示,S602具体可以包括S6021B和S6022B:
S6021B、在移动终端处于连接态的情况下,若网络侧设备确定移动终端存在定位需求,则网络侧设备向移动终端发送重配置消息。
其中,该重配置消息携带有第一邻区测量配置信息。
基于上述S6021B和S6022B对应的技术方案,网络侧设备在确定移动终端存在定位需求的情况下,便可以向移动终端发送携带有第一邻区测量配置信息的重配置消息,进而使得移动终端可以基于该第一邻区测量配置消息完成邻区测量,获取到邻区信息以作为定位的数据支撑。
S6022B、移动终端接收来自网络侧设备的重配置消息。
基于上述S6021A-S6023A对应的技术方案,网络侧设备则可以在确定移动终端存在定位需求的任意可能的时候,主动向移动终端发送重配置消息。如此,移动终端便可以基于重配置消息中的第一邻区测量配置信息完成邻区测量,获取到邻区信息以作为定位的数据支撑。
在移动终端处于连接态的情况下获取到了第一邻区测量配置信息后,则可以开始判断是否可以进行邻区测量,具体可以是判断目标服务小区的信号质量参数是否小于第一邻区测量配置中的邻区测量门限。即S602后执行S603和S604。
S603、移动终端获取目标服务小区的信号质量参数。
其中,信号质量参数可以是RSRP,具体可以是移动终端的下行信号的RSRP。
具体的,移动终端获取目标服务小区的信号质量参数方式可以是任意可行的方式,例如直接对来自目标服务小区中的基站的下行信号进行测量。
此外需要说明的,由于移动终端的位置随时可能变化,目标服务小区的信号质量也可能随时产生变化,所以为了保证可以在移动终端的通信信号变差的情况下及时对移动终端驻留的小区进行切换,实际中移动终端可以实时或者周期性的获取目标服务小区的信号质量参数。也就是说,S603可以是S602后执行的,也可以是S602之前就执行过的,或者还可以是和S602同时执行的。
S604、移动终端判断目标服务小区的信号质量参数是否小于来自网络侧设备的邻区测量配置信息中的邻区测量门限。
其中,来自网络侧设备的邻区测量配置信息即为重配置消息携带的邻区测量配置信息,该邻区测量配置信息具体为前述实施例提到的第一邻区测量配置信息,第一邻区测量配置信息中的邻区测量门限具体可以为第一测量门限。
示例性的,本申请中的信号质量参数可以为RSRP,第一测量门限也是对应RSRP的门限。当然,实际中的信号质量参数也可以是其他可以表征小区信号质量的参数,例如RSRQ、信号与干扰加噪声比(signal to interference plus noise ratio,SINR)、载波接收信号强度(received signal strength indication,RSSI)等,同时第一测量门限也可以相应的调整,具体根据实际而定,本申请对此不做具体限制。后续实施例中同理。
在目标服务小区的信号质量参数小于来自网络侧设备的邻区测量配置信息中的邻区测量门限的情况下,按照现有的邻区测量逻辑,可以确定移动终端需要进行邻区测量,即执行S605。
在目标服务小区的信号质量参数大于来自网络侧设备的邻区测量配置信息中的邻区测量门限的情况下,按照现有的邻区测量逻辑,可以确定移动终端当前是不需要进行邻区测量的。但是,为了使得移动终端可以获取充足的邻区信息,此时需要强制移动终端进行邻区测量,即使移动终端强制执行S605。
在一种可能的实现方式中,强制移动终端进行邻区测量的方式可以是忽略来自网络侧设备的邻区测量配置信息中的邻区测量门限。
在另一种可能的实现方式中,强制移动终端进行邻区测量的方式还可以提高来自网络侧设备的邻区测量配置信息中的邻区测量门限,以使目标服务小区的信号质量参数小于于提高后的测量门限。从而按照现有的邻区测量逻辑可以使得移动终端进行邻区测量。
基于此,S604执行后,在目标服务小区的信号质量参数小于来自网络侧设备的邻区测量配置信息中的邻区测量门限的情况下,参照图6所示,移动终端可以先执行S604A。S604A之后,再执行S605。
S604A、移动终端将来自网络侧设备的邻区测量配置信息中的邻区测量门限增大,以使增大后的邻区测量门限大于目标服务小区的信号质量参数;或者,忽略邻区测量门限。
其中,来自网络侧设备的邻区测量配置信息中的邻区测量门限具体为第一邻区测量配置信息中的第一测量门限。在第一测量门限被提高至大于目标服务小区的信号质量参数后,移动终端可以重新执行S604。由于此时,第一测量门限已经大于目标服务小区的信号质量参数,所以S604的判断结果则为目标服务小区的信号质量参数小于来自网络侧设备的邻区测量配置信息中的邻区测量门限,之后,则会执行S605。当然,在第一测量门限被提高至大于目标服务小区的信号质量参数后,由于确定第一测量门限已经大于目标服务小区的信号质量参数,移动终端则可以直接进行邻区测量,即直接执行S605。这样一来,便起到了在目标服务小区的信号质量参数大于原始的邻区测量门限的情况下,强制让移动终端进行邻区测量的目的。
需要说明的是,实际中的第一邻区测量流程中可以不存在类似S604的判断步骤,S603后,移动终端可以在目标服务小区的信号质量参数小于来自网络侧设备的邻区测量配置信息中的邻区测量门限的情况下,执行S605;在目标服务小区的信号质量参数大于来自网络侧设备的邻区测量配置信息中的邻区测量门限的情况下,强制执行S604A。后续实施例中的类似内容同理,后续不再赘述。
此外,目标服务小区的信号质量参数等于来自网络侧设备的邻区测量配置信息中的邻区测量门限的情况,可以归于目标服务小区的信号质量参数小于来自网络侧设备的邻区测量配置信息中的邻区测量门限的情况,也可以归于目标服务小区的信号质量参数大于来自网络侧设备的邻区测量配置信息中的邻区测量门限的情况,本申请对此不做具体限制。图6仅以目标服务小区的信号质量参数等于来自网络侧设备的邻区测量配置信息中的邻区测量门限的情况,归于目标服务小区的信号质量参数大于来自网络侧设备的邻区测量配置信息中的邻区测量门限的情况作为示例性说明。后续实施例中的类似内容同理,后续不再赘述。
S605、移动终端对目标服务小区所属的目标频点,以及来自网络侧设备的邻区测量配置信息中的第一频点和第二频点进行邻区测量,以得到邻区测量结果。
其中,邻区测量结果可以包括多个邻区的邻区信息。多个邻区可以包括目标频点对应的同频邻区、第一频点对应的异频邻区和第二频点对应的异系统邻区。示例性的,邻区信息可以包括小区ID和信号质量参数等任意可能的内容。其中,小区ID(Cell ID)是用于标识一个小区的唯一标识符,小区是指通信网络中的一个地理区域。小区ID可以用于确定移动设备当前所连接的小区,以及在切换到其他小区时进行识别。小区ID可以与小区的位置、频率、信道等信息存在匹配关系。也就是说,基于小区ID可以顺利确定得到小区的位置(例如中心位置的经纬度)、频率、信道等信息。在本申请实施例中,信号质量参数则具体可以是下行信号的RSRP。
移动终端对各频点进行邻区测量的具体实现方式可以是任意可行的实现方式,本申请对此不做具体限制。对于一个频点而言,其实际中可以对应多个小区。在移动终端针对目标频点、第一频点和第二频点进行邻区测量的情况,可能会存在某个频点未测量到任一个邻区的邻区信息,而其他某个频点则可能会测量到多个邻区的邻区信息。例如,参照图9所示,针对目标服务小区A中的电子设备B而言,其在针对某个第一频点k进行测量时,可以同时测量到异频邻区C、异频邻区D和异频邻区E的邻区信息。其中,异频邻区C、异频邻区D和异频邻区E所属的频点均为该第一频点k。异频邻区C、异频邻区D和异频邻区E的小区ID和信号质量参数都不同。
实际中,由于不同的目标服务小区附近邻区的数量不确定,所以在移动终端强制对目标频点、第一频点和第二频点进行邻区测量时,有可能会测量到很多邻区,而如果对每个频点的每个邻区的邻区信息都要测量得到,会产生较大的功耗,而且用时较长。例如,若目标频点对应的同频邻区有2个,所有第一频点对应的异频邻区有5个,所有第二频点对应的异系统邻区有5个,每测量得到一个邻区的邻区信息需要1s,那么如果需要测量得到所有的邻区的邻区信息,则总共需要12s的测量时长。
而目标服务小区的信号质量在这个测量时长内可能会产生变化,并在且12个邻区中的信号质量也会产生变化。如果在这个测量时长内中存在某一时刻,目标服务小区的服务质量变差,需要将电子设备驻留的小区切换至信号质量好的邻区,那么由于此时还没有对所有邻区测量完成,所以无法及时得到该时刻下目标服务小区周围的邻区的信号质量。电子设备也就无法及时完成切换,而这可能会对电子设备正在进行业务产生中断等不良的影响,严重降低用户的使用体验。
为了避免这一缺陷,则需要限制整个邻区测量的时间,使一次邻区测量的时间不会过长,从而避免产生上述问题。基于此,在一些实施例中,结合图6,参照图10所示,S605具体可以包括S6051和S6052:
S6051、移动终端在第一预设时长内对目标服务小区所属的目标频点,以及来自网络侧设备的邻区测量配置信息中的第一频点和第二频点进行邻区测量。
示例性的,在一种可能的实现方式中,S6051具体可以是移动终端可以启动第一定时器,第一定时器的定时时长为第一预设时长。在第一定时器计时的过程中,移动终端可以对目标服务小区所属的目标频点,以及来自网络侧设备的邻区测量配置信息中的第一频点和第二频点进行邻区测量。
示例性的,第一预设时长可以为5s。第一预设时长可以是移动终端厂商根据经验得出的,本申请对第一预设时长的值不做具体限制。
S6052、移动终端在第一预设时长结束时,停止邻区测量的动作,并将当前对目标频点、第一频点和第二频点进行邻区测量得到的邻区的邻区信息确定为邻区测量结果。
示例性的,在一种可能的实现方式中,S6052具体可以是移动终端在第一定时器计时结束时,停止邻区测量的动作,并将当前对目标频点、第一频点和第二频点进行邻区测量得到的邻区的邻区信息确定为邻区测量结果。
基于上述S6051和S6052对应的技术方案,移动终端便可以限制邻区测量需要消耗的时长,避免了因为邻区测量用时过长,导致移动终端的业务不能正常被使用的问题。
由于本申请中邻区测量的目的主要是用于定位,而对于使用邻区信息进行定位而言,邻区信息的数量从0到某个第一预设数量的过程中,定位的精度可以是较快的变高的,而在邻区信息的数量从第一预设数量继续增大的过程中,定位精度的变化则会很小。所以一般,定位所需要的邻区信息数量根据精度需求,只需要第一预设数量个(或者稍多)邻区信息即可。获取更多的邻区信息,定位精度的改变不大,反倒会使得邻区测量时长变长。基于此,在一些实施例中,结合图10,参照图11所示,S6051之后还包括S6053:
S6053、移动终端在第一预设时长结束前,若测量得到了第一预设数量个邻区的邻区信息,则停止邻区测量的动作,并将第一预设数量个邻区的邻区信息确定为邻区测量结果。
示例性的,第一预设数量可以为5。这样一来,移动终端便可以在获取到足够定位的邻区信息后,及时的停止邻区测量,降低了邻区测量的消耗时长,降低了移动终端的功耗。也进一步避免了因为邻区测量用时过长,导致移动终端的业务不能正常被使用的问题。
在一些实施例中,因为同频邻区测量只需要对当前信道上的信号进行测量和评估,而异频邻区测量需要在不同频率的信道上进行切换和测量,所以在对邻区测量时,同频邻区的测量速度一般要比异频邻区的测量速度要快。基于此,在本申请实施例中,为了使得得到第一预设数量个邻区信息的速度更快,为了定位进行的邻区测量用时更短,移动终端在对目标频点、第一频点和第二频点进行邻区测量时,首先会对目标频点进行邻区测量,其次再对第一频点和第二频点进行邻区测量。这样一来,移动终端便可以更快的得到的第一预设数量的邻区信息,从而使得整个邻区测量过程更快的结束,降低了邻区测量的消耗时长,降低了移动终端的功耗。也进一步避免了因为邻区测量用时过长,导致移动终端的业务不能正常被使用的问题。
S606、移动终端基于邻区测量结果进行定位。
其中,移动终端基于邻区测量结果进行定位的定位方法可以是任意可行的方式,具体可以根据邻区测量结果中邻区的邻区信息而定,本申请对此不做具体限制。例如,该定位方法可以是到达时间差(time of arrival,TOA)定位方法、到达角度(angle of arrival,AOA)定位方法、基于信号强度(或可称为信号质量参数)的定位方法等。其中,基于信号强度的定位方法则可以由三边定位法、多变定位发、指纹定位法等。
示例性的,以邻区信息包括小区ID和信号质量参数为例,基于信号强度的定位方法中的指纹定位方法的过程具体可以包括如下步骤:
数据采集:在需要进行定位的每个区域内,选择一些关键点(如路口、标志性建筑物等)作为参考点,并在这些参考点上测量来自周围的各个服务小区的信号质量参数。这些测量数据构成了指纹数据库。数据采集阶段可以在本申请实施例提供的第一邻区测量流程之前进行的。
定位阶段:当需要对移动终端进行定位时,移动终端可以基于邻区测量得到的多个邻区的邻区信息中的小区ID得到邻区的位置,并利用邻区的位置以及邻区信息中的信号质量参数,与指纹数据库中的数据进行比对。
位置估计:将比对结果中,与邻区的位置以及邻区信息中的信号质量参数,最为匹配的指纹数据所对应的关键点的位置作为用户终端的估计位置。
其中,定位阶段和位置估计可以认为是S606的一种具体实现。S606具体采用何种定位方法进行定位,本申请不做具体限制。
基于S601-S606对应的技术方案,对于处于连接态的移动终端而言,可以在移动终端驻留的服务小区的信号质量较好时,使得移动终端可以强制进行完整的邻区测量以获取到足够进行定位的邻区信息。进而,移动终端也就可以基于充足的邻区信息完成定位,使得移动终端的定位需求得到满足,进而使得移动终端中存在定位需求的功能可以更好的向用户提供服务,提高了用户的使用体验。
以下结合图12所示,对本申请实施例提供的邻区测量方法中针对空闲态的电子设备的第二邻区测量流程进行介绍。图12为本申请实施例提供的一种邻区测量方法中针对空闲态的电子设备的第二邻区测量流程示意图。参照图12所示,以电子设备为移动终端,针对空闲态的电子设备的第二邻区测量流程可以包括S1201-S1206:
S1201、移动终端开机,并通过网络侧设备注册上网,以驻留在目标服务小区。
S1201的具体实现可以参照前述实施例中S601的相关表述,此处不再赘述。
S1202、在移动终端处于空闲态的情况下,若移动终端存在定位需求,则移动终端接收来自网络侧设备的广播消息。
其中,广播消息携带有对应空闲态的邻区测量配置信息,即第二邻区测量配置信息。示例性的,第二邻区测量配置信息可以包括:同频邻区的第二测量门限、异频邻区和异系统邻区的第三测量门限、对应异频邻区的至少一个第一频点以及对应异系统邻区的至少一个第二频点。在移动终端处于空闲态的情况下,根据3GPP的协议规定,对同频邻区进行测量的邻区测量门限为第二测量门限、对异频邻区和异系统邻区进行测量的邻区测量门限均为该第三测量门限。或者可以称,对目标服务小区所属的目标频点进行邻区测量的测量门限为第二测量门限,对第一频点和第二频点进行邻区测量的测量门限均为第三测量门限。
广播消息携带的第二邻区测量配置信息具体可以是存在于广播消息中的多个SIB中的,具体是哪些SIB存在有该第二邻区测量配置信息中的内容可以参照前述实施例中对SIB的相关介绍,此处不再赘述。
一般的,在移动终端开机完成注册上网后,移动终端便处于连接态。在一些特定情况下,移动终端则会由连接态转换为空闲态。示例性的,特定情况可以包括:移动终端完成了一次通信(通话或数据传输)后没有新的通信需求、移动终端切换了驻留的小区、网络侧设备在需要进行网络优化或资源调配时指示移动终端进入空闲态、移动终端与网络侧设备的连接(RRC连接、空口连接等)出现异常(例如信号丢失、信号干扰等)等。
移动终端从连接态转换至空闲态后,移动终端与网络之间的通信连接可以包括有广播信道、寻呼信道(paging channel,PCH)和随机接入信道(random access channel,RACH)。其中,网络侧设备可以周期性的通过广播信道向网络侧设备管理的服务小区的覆盖范围内的,所有通过该网络侧设备注册入网的电子设备发送广播消息。这些接收到广播消息的电子设备中,处于空闲态的电子设备则会基于广播消息中的第二邻区测量配置信息,进行邻区测量。
需要说明的是,在移动终端驻留的小区未进行切换前,该携带有邻区测量配置信息的广播消息可以只发送一次。也就是说,移动终端驻留在某个小区的过程中,进行邻区测量时使用的邻区测量配置信息都是同一个。只有移动终端驻留的小区改变了之后,网络侧设备才会向移动终端发送携带有新的邻区测量配置信息的广播消息。
在第二邻区测量流程中,移动终端的定位服务请求可以是移动终端主动产生的,在移动终端确定存在定位服务请求时,则可以基于来自网络侧设备的广播消息中的邻区测量配置信息,进行邻区测量。
在移动终端处于空闲态的情况下获取到了第二邻区测量配置信息后,则可以开始判断是否可以进行邻区测量,具体可以是判断目标服务小区的信号质量参数是否小于第一邻区测量配置中的邻区测量门限。即S1202后执行S1203和S1204。
S1203、移动终端获取目标服务小区的信号质量参数。
其中,信号质量参数可以是RSRP,具体可以是移动终端的下行信号的RSRP。
S1203的具体实现可以参照前述实施例中S603的相关表述,此处不再赘述。
S1204、移动终端判断目标服务小区的信号质量参数是否小于来自网络侧设备的邻区测量配置信息中的邻区测量门限。其中,来自网络侧设备的邻区测量配置信息即为广播消息携带的邻区测量配置信息,该邻区测量配置信息具体为前述实施例提到的第二邻区测量配置信息,第二邻区测量配置信息中的邻区测量门限具体可以包括第二测量门限和第三测量门限。本申请实施例中,判断目标服务小区的信号质量参数是否小于广播消息携带的邻区测量配置信息中的邻区测量门限具体为:判断目标服务小区的信号质量参数是否均小于第二测量门限和第三测量门限。
示例性的,本申请中的信号质量参数可以为RSRP,第二测量门限和第三测量门限也是对应RSRP的门限。当然,实际中的信号质量参数也可以是其他可以表征小区信号质量的参数,例如RSRQ、SINR、RSSI等,同时第二测量门限和第三测量门限也可以相应的调整,具体根据实际而定,本申请对此不做具体限制。后续实施例同理。
在图12对应的实施例中,若第二测量门限和第三测量门限均大于目标服务小区的信号质量参数的情况下,可以认为目标服务小区的信号质量参数小于来自网络侧设备的邻区测量配置信息中的邻区测量门限的情况下,按照现有的邻区测量逻辑,可以确定移动终端需要进行邻区测量,即执行S1205。
在图12对应的实施例中,若第二测量门限和第三测量门限均等于目标服务小区的信号质量参数的情况下,可以认为目标服务小区的信号质量参数等于来自网络侧设备的邻区测量配置信息中的邻区测量门限。
在图12对应的实施例中,若第二测量门限和第三测量门限均小于目标服务小区的信号质量参数的情况下,可以认为目标服务小区的信号质量参数大于来自网络侧设备的邻区测量配置信息中的邻区测量门限,按照现有的邻区测量逻辑,可以确定移动终端当前是无法进行邻区测量的。这样一来,移动终端将无法获取到充足的邻区信息,也就无法进行精确的定位。为了使得移动终端可以获取充足的邻区信息,此时需要强制移动终端进行所有的邻区测量,即使移动终端强制执行S1205。
在一种可能的实现方式中,强制移动终端进行邻区测量的方式可以是忽略来自网络侧设备的邻区测量配置信息中的邻区测量门限。这种实现方式中,S1204执行后,在目标服务小区的信号质量参数大于来自网络侧设备的邻区测量配置信息中的邻区测量门限的情况下,参照图12所示,移动终端可以直接强制执行S1205。
在另一种可能的实现方式中,强制移动终端进行邻区测量的方式还可以提高来自网络侧设备的邻区测量配置信息中的邻区测量门限,以使目标服务小区的信号质量参数小于新的测量门限。从而按照现有的邻区测量逻辑可以使得移动终端进行邻区测量。这种实现方式中,S1204执行后,在目标服务小区的信号质量参数大于来自网络侧设备的邻区测量配置信息中的邻区测量门限的情况下,参照图11所示,可以先执行S1204A。S1204A之后,再执行S1205。
S1204A、移动终端将来自网络侧设备的邻区测量配置信息中的邻区测量门限增大,以使增大后的邻区测量门限大于目标服务小区的信号质量参数;或者,忽略邻区测量门限。
其中,来自网络侧设备的邻区测量配置信息中的邻区测量门限具体为第二邻区测量配置信息中的第二测量门限和第三测量门限。将来自网络侧设备的邻区测量配置信息中的邻区测量门限增大具体可以是指,将第二测量门限和第三测量门限均进行增大。增大后的邻区测量门限大于目标服务小区的信号质量参数具体可以是指,增大后的第二测量门限和增大后的第三测量门限均大于目标服务小区的信号质量参数。
在第二测量门限和第三测量门限被提高至均大于目标服务小区的信号质量参数后,移动终端可以重新执行S1204。由于此时,第二测量门限和第三测量门限均大于目标服务小区的信号质量参数,所以S1204的判断结果则为目标服务小区的信号质量参数小于来自网络侧设备的邻区测量配置信息中的邻区测量门限,之后,则会执行S1205。当然,在第二测量门限和第三测量门限被提高至均大于目标服务小区的信号质量参数后,由于确定第二测量门限和第三测量门限均已大于目标服务小区的信号质量参数,移动终端则可以直接进行邻区测量,即直接执行S1205。这样一来,便起到了在目标服务小区的信号质量小于原始的测量门限的情况下,强制让移动终端进行邻区测量的目的。
需要说明的是,实际中的第二邻区测量流程中可以不存在类似S1204的判断步骤,S1203后,移动终端可以在目标服务小区的信号质量参数小于来自网络侧设备的邻区测量配置信息中的邻区测量门限的情况下,执行S1205;在目标服务小区的信号质量参数大于来自网络侧设备的邻区测量配置信息中的邻区测量门限的情况下,强制执行S1204A。
S1205、移动终端对目标服务小区所属的目标频点,以及来自网络侧设备的邻区测量配置信息中的第一频点和第二频点进行邻区测量,以得到邻区测量结果。
其中,来自网络侧设备的邻区测量配置信息具体可以指携带在广播消息中的第二邻区测量配置信息。
S1205的具体实现可以参照前述实施例中S605的相关表述,此处不再赘述。
在一些实施例中,为了避免邻区测量时长过长时,S1205的具体实现可以参照前述实施例中针对图10的相关表述此处不再赘述。
在一些实施例中,第二邻区测量配置信息中还可以包括目标频点的优先级、每个第一频点的频点优先级,以及每个第二频点的频点优先级。在一些可能的实现方式中,优先级越大的频点对应的服务小区数量可以更多。基于此,为了使得移动终端进行邻区测量时,可以更快捷的获取到更多的邻区的邻区信息,S1205具体可以包括:移动终端按照目标频点、所有第一频点和所有第二频点的优先级由大到小的顺序,依次对目标频点、第一频点和第二频点进行邻区测量,以得到邻区测量结果。当然,实际中频点优先级的设置还可以和其他任意可能的内容有关,例如某个频点对应的电子设备越少,则该频点的频点优先级越高。这种情况下,如果按照优先级由大到小的顺序进行邻区测量,则可以使得不同频点的负载更为均衡,提高整个通信网络的稳定性,进而可以更好的保障用户的使用体验。
S1206、移动终端基于邻区测量结果进行定位。
S1206的具体实现可以参照前述实施例中S606的相关实现,此处对此不再赘述。
基于S1201-S1206对应的技术方案,对于处于空闲态的移动终端而言,可以在移动终端驻留的服务小区的信号质量较好时,使得移动终端可以强制进行完整的邻区测量以获取到足够进行定位的邻区信息。进而,移动终端也就可以基于充足的邻区信息完成定位,使得移动终端的定位需求得到满足,进而使得移动终端中存在定位需求的功能可以更好的向用户提供服务,提高了用户的使用体验。
在一些实施例中,对于处于空闲态的电子设备而言,在第二测量门限和第三测量门限均大于电子设备当前驻留的目标服务小区的信号质量参数的情况下,除了如图12所示的实例中,将第二测量门限和第三测量门限忽略,或者提高第二测量门限和第三测量门限以使第二测量门限和第三测量门限均大于目标服务小区的信号质量参数这种强制完成对所有频点(目标频点、第一频点和第二频点)的邻区测量的方式以外。基于定位仅需要获取到第一预设数量的邻区信息的需求,以及尽量降低邻区测量时长以避免对电子设备正常使用产生不利影响的需求,电子设备可以仅对一部分频点进行邻区测量,在对这部分频点进行邻区测量后得到的邻区信息的数量够第一预设数量的情况下,则可以不再对另一部分频点进行邻区测量。在对这部分频点进行邻区测量后得到的邻区信息的数量不够第一预设数量的情况下,才对另一部分频点进行邻区测量。
基于此,结合图12,参照图13所示,S1204后在确定目标服务小区的信号质量参数大于来自网络侧设备的邻区测量配置信息中的邻区测量门限的情况下,该方法还可以包括S1301-S1305:
S1301、移动终端将邻区测量配置信息中的第一目标测量门限进行增大,以使增大后的第一目标测量门限大于目标服务小区的信号质量参数;或者,忽略第一目标测量门限。
其中,第一目标测量门限可以为第二测量门限或者第三测量门限。
S1302、移动终端对第一目标测量门限对应的频点进行邻区测量,获得第一邻区测量结果。
其中,若第一目标测量门限为第二测量门限,则第一目标测量门限对应的频点为目标频点;若第一目标测量门限为第三测量门限,则第一目标测量门限对应的频点为第一频点和第二频点。
移动终端对第一目标测量门限对应的频点进行邻区测量的具体实现方式可以是任意可行的实现方式,本申请对此不做具体限制。
在第二邻区测量配置信息中包括目标频点的优先级、每个第一频点的频点优先级,以及每个第二频点的频点优先级的情况下,S1302具体还可以是:移动终端按照第一目标测量门限对应的各频点的优先级由大到小的顺序,依次对第一目标测量门限对应的各频点进行邻区测量。
此外,为了避免邻区测量时长过长对用户终端正常使用的不利应用,在执行1302时,还需要保证对第一目标测量门限对应的频点进行邻区测量时长不会过长。示例性的,移动终端可以在对第一目标测量门限对应的频点进行邻区测量的时长达到第一目标时长时,停止邻区测量动作,并将当前对第一目标测量门限对应的频点进行邻区测量得到的邻区信息确定为邻区测量结果。其中,第一目标时长可以根据实际需求而定。
S1302后执行S1303或S1304,具体根据对第一目标测量门限对应的频点进行邻区测量后得到的邻区信息的数量而定。
S1303、若第一邻区测量结果中邻区信息的数量大于或等于第一预设数量,则移动终端将第一邻区测量结果确定为邻区测量结果。
由于只需要第一预设数量个(或者稍多)邻区信息便可以完成符合需求的定位,所以若对第一目标测量门限对应的频点进行邻区测量得到的邻区信息的数量已经够第一预设数量,则可以结束整个邻区测量流程,即将对第一目标测量门限对应的频点进行邻区测量得到的邻区信息确定为邻区测量结果。
S1303后执行S1206。
S1304、若第一邻区测量结果中邻区信息的数量小于第一预设数量,移动终端将邻区测量配置信息中的第二目标测量门限进行增大,以使增大后的第二目标测量门限大于目标服务小区的信号质量参数;或者,忽略第二目标测量门限。
其中,第二测量门限为第二测量门限和第三测量门限中,除第一目标测量门限以外的另一个。具体的,若第一目标测量门限为第二测量门限,则第二目标测量门限为第三测量门限;若第一目标测量门限为第三测量门限,则第二目标测量门限为第二测量门限。
S1305、移动终端对第二目标测量门限对应的频点进行邻区测量,获得第二邻区测量结果,并将第二邻区测量结果添加到第一邻区测量结果中,以获得邻区测量结果。
其中,若第二目标测量门限为第二测量门限,则第二目标测量门限对应的频点包括目标频点;若第二目标测量门限为第三测量门限,则第二目标测量门限对应的频点包括第一频点和第二频点。将第二邻区测量结果添加到第一邻区测量结果中获取的邻区测量结果中,包括了第一邻区测量结果和第二邻区测量结果中的所有邻区信息。
在第二邻区测量配置信息中包括目标频点的优先级、每个第一频点的频点优先级,以及每个第二频点的频点优先级的情况下,S1305具体还可以是:移动终端按照第二目标测量门限对应的各频点的优先级由大到小的顺序,依次对第二目标测量门限对应的各频点进行邻区测量,获得第二邻区测量结果,并将第二邻区测量结果添加到第一邻区测量结果中,以获得邻区测量结果。
此外,为了避免邻区测量时长过长对用户终端正常使用的不利应用,在执行1305时,还需要保证对第二目标测量门限对应的频点进行邻区测量总时长不会过长。示例性的,移动终端可以在对第一目标测量门限对应的频点和第二目标测量门限对应的频点进行邻区测量的总时长达到第二目标时长时,停止邻区测量动作,并将当前对第一目标测量门限对应的频点和对第二目标测量门限对应的频点进行邻区测量得到的邻区信息确定为邻区测量结果。其中,第二目标时长可以根据实际需求而定。
进一步的,由于邻区信息的数量只要到达第一预设数量即可满足定位需求。所以,移动终端在对第二目标测量门限对应的频点进行邻区测量的时长达到第二目标时长前,若第一邻区测量结果中的邻区信息的数量与对第二目标测量门限对应的频点进行邻区测量得到的邻区信息的数量之和达到了第一预设数量,则移动终端可以停止邻区测量动作,并将该第一预设数量个邻区信息确定为邻区测量结果。
在一些实施例中,因为同频邻区测量只需要对当前信道上的信号进行测量和评估,而异频邻区测量需要在不同频率的信道上进行切换和测量,所以在对邻区测量时,同频邻区的测量速度一般要比异频邻区的测量速度要快。基于此,在本申请实施例中,为了使得得到第一预设数量个邻区信息的速度更快,为了定位进行的邻区测量用时更短,这里的第一目标测量门限可以为第二测量门限,第二目标测量门限为第三测量门限。这样一来,移动终端可以优先对目标频点对应的同频邻区进行测量,进而可以更快的得到第一预设数量的邻区信息。
S1305后执行S1206。
基于上述S1301-S1305对应的技术方案,移动终端便可以在空闲态,且当前驻留的小区的信号指令较好的情况下,在仅对一部分频点进行邻区测量就能得到足够的邻区信息的情况下,可以仅对这一部分频点进行邻区测量,在保证后续定位精度的同时减少了整个邻区测量的用时和功耗,避免了邻区测量用户过长导致移动终端不能正常被使用的问题。在仅对一部分频点进行邻区测量不能得到足够的邻区信息的情况下,则可以对所有频点进行邻区测量,保证获取到足够的邻区信息,使得移动终端后续可以完整足够精确的定位,提高用户的使用体验。综上来说,基于上述技术方案,移动终端可以在空闲态且当前驻留的小区的信号指令较好的情况下,采用合适的强制测量手段获取到足够的邻区信息,满足了移动终端的定位需求。
在一些实施例中,对于处于空闲态的电子设备而言,除了第二邻区测量配置信息中的第二测量门限和第三测量门限均小于电子设备当前驻留的目标服务小区的信号质量参数,以及第二测量门限和第三测量门限均大于电子设备当前驻留的目标服务小区的信号质量参数这两种情况以外,若第二测量门限和第三测量门限的大小不同,则还可以存在电子设备当前驻留的目标服务小区的信号质量参数处于第二测量门限和第三测量门限之间的情况。具体的,若第二测量门限大于第三测量门限,则目标服务小区的信号质量参数处于第二测量门限和第三测量门限之间是指目标服务小区的信号质量参数大于第二测量门限且小于第三测量门限;若第二测量门限小于第三测量门限,则目标服务小区的信号质量参数处于第二测量门限和第三测量门限之间是指目标服务小区的信号质量参数大于第三测量门限且小于第二测量门限。
在这种情况下,基于定位仅需要获取到第一预设数量的邻区信息的需求,以及尽量降低邻区测量时长以避免对电子设备正常使用产生不利影响的需求,电子设备可以先对大于目标服务小区的信号质量参数的第三目标测量门限对应的频点进行邻区测量。在对第三目标测量门限对应的频点进行邻区测量得到邻区信息的数量够第一预设数量的情况下,则可以不再强制对小于目标服务小区的信号质量参数的第四目标测量门限对应的频点进行邻区测量。在第三目标测量门限对应的频点进行邻区测量得到邻区信息的数量不够第一预设数量的情况下,才强制对第四目标测量门限对应的频点进行邻区测量。
基于此,结合图12,参照图14所示,S1204具体可以替换为S1401,该方法还可以包括S1402-S1406:
S1401、移动终端判断第二邻区测量配置信息中的第二测量门限和第三测量门限是否均大于目标服务小区的信号质量参数。
在第二邻区测量配置信息中的第二测量门限和第三测量门限均大于目标服务小区的信号质量参数的情况下,则执行S1205。在第二邻区测量配置信息中的第二测量门限和第三测量门限未均大于目标服务小区的信号质量参数的情况下,则执行S1402。
需要说明的是,实际中的第二邻区测量流程中可以不存在类似S1401的判断步骤,S1203后,移动终端可以在第二邻区测量配置信息中的第二测量门限和第三测量门限均大于目标服务小区的信号质量参数的情况下执行S1205,在第二邻区测量配置信息中的第二测量门限和第三测量门限未均大于目标服务小区的信号质量参数的情况下执行S1402即可。
S1402、移动终端判断第二邻区测量配置信息中的第二测量门限和第三测量门限是否均小于目标服务小区的信号质量参数。
在第二邻区测量配置信息中的第二测量门限和第三测量门限均小于目标服务小区的信号质量参数的情况下,则可以确定目标服务小区的信号质量参数大于来自网络侧设备的邻区测量配置信息中的邻区测量门限,按照现有逻辑,此时无法进行邻区测量,此时移动终端则可以强制进行邻区测量,即执行S1204A后执行S1206。当然,这种情况下,为了尽量减少邻区测量时长,也可以执行S1301-S1305。本申请对此不做具体限制。图14中仅以该情况下,执行S1204A后执行S1206为例进行说明,不作为对本申请提供的技术方案的限制。
在第二邻区测量配置信息中的第二测量门限和第三测量门限未均小于目标服务小区的信号质量参数的情况下,则可以确定目标服务小区的信号质量参数位于第二测量门限和第三测量门限之间,此时则可以首先对第三目标测量门限对应的频点进行邻区测量,即执行S1403。
S1403、移动终端对第三目标测量门限对应的频点进行邻区测量,获得第三邻区测量结果。
其中,第三目标测量门限可以为第二测量门限和第三测量门限中,比目标服务小区的信号质量参数大的一个。其中,若第三目标测量门限为第二测量门限,则第三目标测量门限对应的频点为目标频点;若第三目标测量门限为第三测量门限,则第三目标测量门限对应的频点为第一频点和第二频点。
S1403的具体实现方式可以参照前述实施例中S1302的相关表述,此处不再赘述。
S1403后执行S1404或S1405,具体根据对第三目标测量门限对应的频点进行邻区测量后得到的邻区信息的数量而定。
S1404、若第三邻区测量结果中邻区信息的数量大于或等于第一预设数量,则移动终端将对第三目标测量门限对应的频点进行邻区测量得到的邻区信息确定为邻区测量结果。
由于只需要第一预设数量个(或者稍多)邻区信息便可以完成符合需求的定位,所以若对第三目标测量门限对应的频点进行邻区测量得到的邻区信息的数量已经够第一预设数量,则可以结束整个邻区测量流程,即将对第三目标测量门限对应的频点进行邻区测量得到的邻区信息确定为邻区测量结果。
S1404后执行S1206。
S1405、若第三邻区测量结果中邻区信息的数量小于第一预设数量,移动终端将邻区测量配置信息中的第四目标测量门限进行增大,以使增大后的第四目标测量门限大于目标服务小区的信号质量参数;或者,忽略第四目标测量门限。
其中,第四目标测量门限为第二测量门限和第三测量门限中,比目标服务小区的信号质量参数小的一个。具体的,若第三目标测量门限为第二测量门限,则第四目标测量门限为第三测量门限;若第三目标测量门限为第三测量门限,则第四目标测量门限为第二测量门限。
S1406、移动终端对第四目标测量门限对应的频点进行邻区测量,获得第四邻区测量结果,并将第四邻区测量结果添加到第三邻区测量结果中,以获得邻区测量结果。
其中,若第四目标测量门限为第二测量门限,则第四目标测量门限对应的频点包括目标频点;若第四目标测量门限为第三测量门限,则第四目标测量门限对应的频点包括第一频点和第二频点。将第四邻区测量结果添加到第三邻区测量结果中获取的邻区测量结果中,包括了第三邻区测量结果和第四邻区测量结果中的所有邻区信息。
S1406的具体实现可以参照前述实施例中S1305的相关表述,此处不再赘述。
S1406后执行S1206。
当然,在目标服务小区的信号质量参数位于第二测量门限和第三测量门限之间,移动终端也可以直接强制对目标频点、第一频点和第二频点进行强制测量,即执行如图12所示的S1204A至S1205对应的技术方案,本申请对此不做具体限制。
基于上述S1401-S1406对应的技术方案,移动终端便可以在空闲态且当前驻留的目标服务小区的信号指令参数位于第二测量门限和第三测量门限之间的情况下,在仅对按照现有逻辑可以进行测量的第三目标测量门限对应的频点进行邻区测量就能得到足够的邻区信息的情况下,可以仅对这一部分频点进行邻区测量,在保证后续定位精度的同时减少了整个邻区测量的用时和功耗,避免了邻区测量用户过长导致移动终端不能正常被使用的问题。在仅对第三目标测量门限对应的频点进行邻区测量不能得到足够的邻区信息的情况下,则可以进一步对按照现有逻辑不能进行邻区测量的第四目标测量门限对应的频点强制进行邻区测量,保证获取到足够的邻区信息,使得移动终端后续可以完整足够精确的定位,提高用户的使用体验。综上来说,基于上述技术方案,移动终端可以在空闲态且当前驻留的目标服务小区的信号指令参数位于第二测量门限和第三测量门限之间的情况下,采用合适的测量手段获取到足够的邻区信息,满足了移动终端的定位需求。
需要说明的是,在本申请实施例提供的邻区测量方法中,在电子设备(例如移动终端)得到邻区测量结果后,还可以按照显示有的切换逻辑进行小区切换,或者也可以不进行小区切换。本申请对此不做具体限制。
实际中,由于在移动终端驻留的服务小区的信号指令较好时,强制进行邻区测量的动作不是3GPP协议规定的动作,且其对移动终端的能源消耗较大,所以为了尽量减少移动终端的功耗以及使得移动终端在大多数情况下都按照正常的逻辑进行邻区测量。
在移动终端强制进行邻区测量得到邻区测量结果之后,在第二预设时长内停止强制测量的相关动作,即停止忽略测量门限的动作,或者停止提高邻区测量门限的动作。
在图6-图8、图10-图14对应的实施例中,在目标服务小区的信号质量参数大于来自网络侧设备的邻区测量配置信息中的邻区测量门限的情况下,执行S605或S1205或S1303或S1305之后,移动终端可以在第二预设时长内停止强制测量的相关动作,即停止忽略邻区测量门限的动作,或者停止提高邻区测量门限的动作。其中,停止忽略邻区测量门限的动作是指S605或S1205或S1303或S1305之后第二预设时长内,如果再出现移动终端驻留的服务小区的信号质量参数大于来自网络侧设备的邻区测量配置信息中的邻区测量门限的情况下,则不进行强制邻区测量。既使有定位需求,也不进行强制邻区测量。停止提高邻区测量门限的动作是指,在目标服务小区的信号质量参数大于来自网络侧设备的邻区测量配置信息中的邻区测量门限的情况下,执行S605或S1205或S1303或S1305之后,将来自网络侧设备的邻区测量配置消息中提高后的邻区测量门限降低为提高前原始的邻区测量门限,并在第二预设时长内,若再出现电子设备驻留的服务小区的信号质量参数大于来自网络侧设备的邻区测量配置信息中的邻区测量门限的情况下,则不进行邻区测量。
基于此,在一些实施例中,在目标服务小区的信号质量参数大于来自网络侧设备的邻区测量配置信息中的邻区测量门限的情况下,执行S605或S1205或S1303或S1305之后,该邻区测量方法还包括:在第二预设时长内,若移动终端驻留的服务小区的信号质量参数大于来自网络侧设备的邻区测量配置信息中的邻区测量门限,则移动终端不进行邻区测量。其中,来自网络侧设备的邻区测量配置信息具体根据移动终端的状态而定,若移动终端处于连接态,则来自网络侧设备的邻区测量配置信息为重配置消息携带的邻区测量配置信息(即第一邻区测量配置信息);若移动终端处于空闲态,则来自网络侧设备的邻区测量配置信息为广播消息携带的邻区测量配置信息(即第二邻区测量配置信息)。
当然,在第二预设时长内,若移动终端驻留的服务小区的信号质量参数小于来自网络侧设备的邻区测量配置信息中的邻区测量门限,则可以对目标服务小区所属的目标频点,以及来自网络侧设备的邻区测量配置信息中的第一频点和第二频点进行邻区测量。
其中,第二预设时长的开始和结束可以是移动终端通过开启第二定时器确定的。第二定时器的定时时长为第二预设时长。
此外,针对S604A(或S1204A)对应的技术方案,在目标服务小区的信号质量参数大于来自网络侧设备的邻区测量配置信息中的邻区测量门限的情况下,执行S605(或S1205)之后,该第一邻区测量流程(或第二邻区测量流程)还包括:移动终端将来自网络侧设备的邻区测量配置信息中的提高后的邻区测量门限降低为提高前的邻区测量门限。
这样一来,移动终端便可以按照3GPP规定的正常测量逻辑进行邻区测量,防止移动终端短时间内多次强制进行邻区测量,降低了移动终端功耗,提高了用户的使用体验。
在图14对应的实施例中,在目标服务小区的信号质量参数处于来自网络侧设备的第二邻区测量配置信息中的第二测量门限和第三测量门限之间的情况下,执行S1406之后,移动终端可以在第二预设时长内停止对第四目标测量门限对应的频点进行强制测量的相关动作,即停止忽略第四目标测量门限的动作,或者停止提高第四目标测量门限的动作。其中,停止忽略第四目标测量门限的动作是指S1406之后第二预设时长内,如果再出现目标服务小区的信号质量参数处于第二测量门限和第三测量门限之间的情况下,则不进行对第四目标测量门限对应的频点的强制邻区测量。既使有定位需求,也不进行对第四目标测量门限对应的频点的强制邻区测量。停止提高第四目标测量门限的动作是指,在S1406之后,将提高后的第四目标测量门限降低为提高前原始的第四目标测量门限,并在第二预设时长内,若再出现目标服务小区的信号质量参数处于第二测量门限和第三测量门限之间的情况下,则不进行对第四目标测量门限对应的频点的强制邻区测量。
基于此,在一些实施例中,执行S1406之后,该邻区测量方法还包括:在第二预设时长内,若空闲态的移动终端当前驻留的服务小区的信号质量参数处于第二测量门限和第三测量门限之间的情况下,则移动终端不进行对第四目标测量门限对应的频点的邻区测量。此外,针对S1406对应的技术方案,执行S1406之后,该第二邻区测量流程还包括:移动终端将来自网络侧设备的邻区测量配置信息中的提高后的第四目标测量门限降低为提高前的第四目标邻区测量门限。
这样一来,移动终端便可以按照3GPP规定的正常测量逻辑进行邻区测量,防止移动终端短时间内多次强制进行邻区测量,降低了移动终端功耗,提高了用户的使用体验。
实际中,网络侧设备向移动终端发送的邻区测量配置信息中的频点都是属于同一运营商的频点。而实际中,某个服务小区周围的邻区可能包括各个运营商的小区,属于同一运营商的小区可能会不够多,即便全部被测量到邻区信息,也不足以实现精确定位。所以,在移动终端进行邻区测量得到邻区测量结果后,若邻区测量结果中的邻区信息的数量小于第一预设数量,即移动终端进行邻区测量后测量得到邻区信息的邻区数量小于第一预设数量。则移动终端需要增加对其他运营商的频点的邻区测量,以获取足够数量的邻区信息。基于此,本申请实施例还提供另一种邻区测量方法,参照图15所示,该方法可以包括S1501-S1508:
S1501、移动终端开机,并通过网络侧设备注册上网,以驻留在目标服务小区。
S1501的具体实现可以参照前述实施例中S601的相关表述,此处不再赘述。
S1502、在移动终端存在定位需求的情况下,移动终端接收来自网络侧设备的邻区测量配置信息。
S1501的具体实现可以参照前述实施例中S602或S1202的相关表述,此处不再赘述。其中,目标服务小区所属的目标频点、邻区测量配置信信息中的第一频点和邻区测量配置信信息中的第二频点均属于第一运营商。
S1503、移动终端获取目标服务小区的信号质量参数。
S1503的具体实现可以参照前述实施例中S603或S1203的相关表述,此处不再赘述。
S1504、移动终端判断目标服务小区的信号质量参数是否小于来自网络侧设备的邻区测量配置信息中的邻区测量门限。
在目标服务小区的信号质量参数小于来自网络侧设备的邻区测量配置信息中的邻区测量门限的情况下,执行S1505。在目标服务小区的信号质量参数小于来自网络侧设备的邻区测量配置信息中的邻区测量门限的情况下,执行S1505或S1504A。
S1504的具体实现可以参照前述实施例中S604或S1204的相关表述,此处不再赘述。
此外,S1503后移动终端进行邻区测量的实现还可以参照前述实施例中图13和图14所示实例的相关表述,此处不再赘述。
当然,实际中S1504执行后是否进行邻区测量,也可以按照现有邻区测量逻辑而定。具体的,在目标服务小区的信号质量参数小于来自网络侧设备的邻区测量配置信息中的邻区测量门限的情况下,执行S1505。在目标服务小区的信号质量参数小于来自网络侧设备的邻区测量配置信息中的邻区测量门限的情况下,不进行邻区测量,即结束整个邻区测量的流程。在这种情况下,则可以不存在S1504A。
S1504A、移动终端将来自网络侧设备的邻区测量配置信息中的邻区测量门限增大,以使增大后的邻区测量门限大于目标服务小区的信号质量参数;或者,忽略邻区测量门限。
S1504A的具体实现可以参照前述实施例中S604A或S1204A的相关表述,此处不再赘述。
S1505、移动终端对目标服务小区所属的目标频点,以及来自网络侧设备的邻区测量配置信息中的第一频点和第二频点进行邻区测量,以得到邻区测量结果。
S1505的具体实现可以参照前述实施例中S605或S1205的相关表述,此处不再赘述。
S1506、在邻区测量结果中邻区信息的个数小于第一预设数量的情况下,从预设频点集中选择至少一个第三频点,并对第三频点进行邻区测量,得到补充邻区测量结果。
其中,补充邻区测量结果可以包括至少一个邻区的邻区信息。
其中,预设频点集可以是移动终端厂商利用大数据技术获取到的整个网络中,每个运营商的所有频点中,对应服务小区的数量在前预设次序的多个频点。例如,以前预设次序为前3为例,若A运营商有10个频点,且该10个频点中,频点a、频点b和频点c对应的服务小区的数量,在所有10个频点对应的服务小区的数量的排序结果中,排在前三。则该预设频点集中可以包括频点a、频点b和频点c。第三频点所属的运营商不为第一运营商。
在一些实施例中,基于前述实施例中执行S6051和S6052的相同的理由,为了避免因为需要测量的频点数量过多,导致邻区测量时长过长,进而产生较大功耗且影响移动终端中正产业务的使用,至少一个第三频点的数量可以小于目标数量,目标数量为目标频点、第一频点和第二频点这三种频点的数量之和。同时,S1506执行的总时长应当小于第三预设时长。基于此,S1506具体可以包括S1和S2:
S1、在邻区测量结果中邻区信息的个数小于第一预设数量的情况下,移动终端从预设频点集中选择至少一个第三频点,并在第三预设时长内对至少一个第三频点进行邻区测量。
其中,第三预设时长可以是任意可行的时长值,本申请对此不做具体限制。
在一些实施例中,由于S1505本身已经进行了一定时长的邻区测量,所以为了进一步减少整个邻区测量时长,第三预设时长应当小于前述实施例中提到的第一预设时长。一些实施例中,第三预设时长可以为第一预设时长减去S1505执行得到邻区测量结果所消耗的时长之差。
示例性的,在一种可能的实现方式中,S1具体可以是移动终端可以启动第三定时器,第三定时器的定时时长为第三预设时长。在第三定时器计时的过程中,移动终端可以对至少一个第三频点进行邻区测量。
S2、移动终端在第三预设时长结束时,停止邻区测量的动作,并将当前对至少一个第三频点进行邻区测量得到的邻区的邻区信息确定为补充邻区测量结果。
示例性的,在一种可能的实现方式中,S2具体可以是移动终端在第三定时器计时结束时,停止邻区测量的动作,并将当前对至少一个第三频点进行邻区测量得到的邻区的邻区信息确定为补充邻区测量结果。
基于上述S1和S2对应的技术方案,移动终端便可以限制获取补充邻区测量结果的过程中邻区测量需要消耗的时长,避免了因为邻区测量用时过长,导致移动终端的业务不能正常被使用的问题。
此外,需要说明的是如果至少一个第三频点中存在某个第三频点,与目标频点或某个第一频点或者某个第二频点相同,则在执行S1506时,不对该第三频点进行邻区测量。防止对同一频点的重复测量,进而得到重复的邻区信息。
进一步的,在本申请实施例中,补充邻区测量结果中的邻区信息的数量和S1205获取到的邻区测量结果中的邻区信息的数量之和,只要达到第一预设数量,便可以完成后续的精确定位。再获取更多的邻区信息只会造成功耗的增加,对定位精度的提高效果不大。基于此,S1之后还可以包括:移动终端在第三预设时长结束前,若测量得到了第二预设数量个邻区的邻区信息,则停止对第三频点进行邻区测量的动作,并将第二预设数量个邻区的邻区信息确定为补充邻区测量结果。其中,第二预设数量为第一预设数量减去邻区测量结果中邻区信息的数量的差值。
S1507、移动终端将补充邻区测量结果与邻区测量结果合并,以更新邻区测量结果。
S1508、移动终端基于邻区测量结果进行定位。
S1508的具体实现可以参照前述实施例中S606的相关表述,此处不再赘述。
基于上述S1501-S1508对应的技术方案,移动终端便可以在邻区测量结果中邻区信息的数量不足以进行精确定位的情况下,对其他运营商的频点进行测量,从而获取到足够的邻区信息。进而可以完成精确定位,提高用户的使用体验。
可以理解的是,上述电子设备为了实现上述功能,其包含了执行各个功能相应的硬件结构和/或软件模块。本领域技术人员应该很容易意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,本发明实施例能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请实施例的范围。
本申请实施例可以根据上述方法示例对上述电子设备进行功能模块的划分,例如,可以对应各个功能划分各个功能模块,也可以将两个或两个以上的功能集成在一个处理模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。需要说明的是,本发明实施例中对模块的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。
在采用对应各个功能划分各个功能模块的情况下,参照图16所示,本申请实施例还提供了一种邻区测量装置,该装置可以应用于电子设备中。该装置可以包括通信模块1601和测量模块1602。
其中,通信模块1601用于接收来自网络侧设备的邻区测量配置信息;其中,邻区测量配置信息包括邻区测量门限。测量模块1602,用于在目标服务小区的信号质量参数大于通信模块1601接收到的邻区测量配置信息中的邻区测量门限的情况下,进行邻区测量,以得到邻区测量结果。
此外,通信模块1601和测量模块1602的配合,还可以使得邻区测量装置完成前述实施例中提供的邻区测量方法中的所有步骤。
关于上述实施例中的电子设备,其中各个模块执行操作的具体方式已经在前述实施例中的邻区测量方法的实施例中进行了详细描述,此处不再具体阐述。其相关的有益效果也可参照前述邻区测量方法的相关有益效果,此处不再赘述。
本申请实施例还提供一种电子设备,该电子设备包括:显示屏、存储器和一个或多个处理器;显示屏、存储器与处理器耦合;其中,存储器中存储有计算机程序代码,计算机程序代码包括计算机指令,当计算机指令被处理器执行时,使得电子设备执行如前述实施例提供的邻区测量方法。该电子设备的具体结构可参照图4中所示的电子设备的结构。
本申请实施例还提供一种计算机可读存储介质,该计算机可读存储介质包括计算机指令,当计算机指令在电子设备上运行时,使得电子设备执行如前述实施例提供的邻区测量方法。
本申请实施例还提供一种计算机程序产品,该计算机程序产品包含可执行指令,当该计算机程序产品在电子设备上运行时,使得电子设备执行如前述实施例提供的邻区测量方法。
图17示意性地示出本发明实施例提供的计算机程序产品的概念性局部视图,在一个实施例中,计算机程序产品是使用信号承载介质1700来提供的。所述信号承载介质1700可以包括一个或多个程序指令,其当被一个或多个处理器运行时可以提供以上针对图4描述的功能或者部分功能。因此,例如,参考前述实施例中提供的邻区测量方法中的一个或多个特征或步骤可以由与信号承载介质1700相关联的一个或多个指令来承担。此外,图17中的程序指令也描述示例指令。
在一些示例中,信号承载介质1700可以包含计算机可读介质1701,诸如但不限于,硬盘驱动器、紧密盘(CD)、数字视频光盘(DVD)、数字磁带、存储器、只读存储记忆体(read-only memory,ROM)或随机存储记忆体(random access memory,RAM)等等。
在一些实施方式中,信号承载介质1700可以包含计算机可记录介质1702,诸如但不限于,存储器、读/写(R/W)CD、R/W DVD、等等。
在一些实施方式中,信号承载介质1700可以包含通信介质1703,诸如但不限于,数字和/或模拟通信介质(例如,光纤电缆、波导、有线通信链路、无线通信链路、等等)。
信号承载介质1700可以由无线形式的通信介质1703(例如,遵守IEEE 802.150标准或者其它传输协议的无线通信介质)来传达。一个或多个程序指令可以是,例如,计算机可执行指令或者逻辑实施指令。
在一些示例中,还可以包括用于接收外界数据并存储的写数据装置,其可以被配置为,响应于通过计算机可读介质1701、计算机可记录介质1702、和/或通信介质1703中的一个或多个程序指令,提供各种操作、功能、或者动作。
本申请实施例还提供一种芯片系统,如图18所示,该芯片系统1800包括至少一个处理器1801、存储器和至少一个接口电路1802。处理器1801和接口电路1802可通过线路互联。例如,接口电路1802可用于从其它装置(例如网络侧设备)接收信号。又例如,接口电路1802可用于向其它装置(例如网络侧设备)发送信号。
示例性的,接口电路1802可读取存储器中存储的指令或计算机程序,并将该指令或计算机程序发送给处理器1801。当指令或计算机程序被处理器1801执行时,可实现上述实施例中提供的拍摄方法的各个步骤。当然,该芯片系统还可以包含其他分立器件,本申请实施例对此不作具体限定。
通过以上实施方式的描述,所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。
在本申请所提供的几个实施例中,应该理解到,所揭露的装置/设备和方法,可以通过其它的方式实现。例如,以上所描述的装置/设备实施例仅仅是示意性的,例如,所述模块或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个装置,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是一个物理单元或多个物理单元,即可以位于一个地方,或者也可以分布到多个不同地方。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个可读取存储介质中。基于这样的理解,本申请实施例的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该软件产品存储在一个存储介质中,包括若干指令用以使得一个设备(可以是单片机,芯片等)或处理器(processor)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(read only memory,ROM)、随机存取存储器(random access memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。
以上内容,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何在本申请揭露的技术范围内的变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。
Claims (27)
- 一种邻区测量方法,其特征在于,应用于电子设备,所述方法包括:所述电子设备接收来自网络侧设备的邻区测量配置信息;其中,所述邻区测量配置信息包括邻区测量门限;在所述电子设备当前驻留的目标服务小区的信号质量参数大于所述邻区测量配置信息中的邻区测量门限的情况下,所述电子设备进行邻区测量,以得到邻区测量结果。
- 根据权利要求1所述的方法,其特征在于,所述在所述目标服务小区的信号质量参数大于所述邻区测量配置信息中的邻区测量门限的情况下,所述电子设备进行邻区测量,以得到邻区测量结果,包括:在所述目标服务小区的信号质量参数大于所述邻区测量配置信息中的邻区测量门限的情况下,所述电子设备将所述邻区测量配置信息中的邻区测量门限增大,以使增大后的所述邻区测量门限大于所述目标服务小区的信号质量参数;或者,忽略所述邻区测量配置信息中的邻区测量门限;所述电子设备进行邻区测量,以得到邻区测量结果。
- 根据权利要求2所述的方法,其特征在于,所述电子设备接收来自网络侧设备的邻区测量配置信息,包括:在所述电子设备处于连接态的情况下,所述电子设备接收来自网络侧设备的重配置消息,所述重配置信息中携带有所述邻区测量配置信息;在所述电子设备处于空闲态的情况下,所述电子设备接收来自网络侧设备的广播消息,所述广播消息中携带有所述邻区测量配置信息。
- 根据权利要求3所述的方法,其特征在于,所述邻区测量配置信息还包括:至少一个第一频点和至少一个第二频点;所述第一频点与所述电子设备当前驻留的目标服务小区的目标频点不同,且所述第一频点所属的通信制式与所述目标频段所属的通信制式相同;所述第二频点与所述电子设备当前驻留的目标服务小区的目标频点不同,且所述第二频点所属的通信制式与所述目标频段所属的通信制式不同;所述电子设备进行邻区测量,以得到邻区测量结果,包括:所述电子设备对所述目标频点,以及所述第一频点和所述第二频点进行邻区测量,以得到邻区测量结果。
- 根据权利要求4所述的方法,其特征在于,在所述电子设备处于连接态的情况下,所述邻区测量配置信息中的邻区测量门限包括第一测量门限;在所述目标服务小区的信号质量参数大于所述邻区测量门限的情况下,所述电子设备将所述邻区测量门限增大,以使增大后的所述邻区测量门限大于所述目标服务小区的信号质量参数,包括:在所述目标服务小区的信号质量参数大于所述第一测量门限的情况下,所述电子设备将所述第一测量门限增大,以使增大后的所述第一测量门限大于所述目标服务小区的信号质量参数。
- 根据权利要求4所述的方法,其特征在于,在所述电子设备处于空闲态的情况下,所述邻区测量配置信息中的邻区测量门限包括第二测量门限和第三测量门限;所述第二测量门限为对所述目标频点进行邻区测量的测量门限,所述第三测量门限为对所述第一频点和所述第二频点进行邻区测量的测量门限;在所述目标服务小区的信号质量参数大于所述邻区测量门限的情况下,所述电子设备将所述邻区测量门限增大,以使增大后的所述邻区测量门限大于所述目标服务小区的信号质量参数,包括:在所述第二测量门限和所述第三测量门限均小于所述目标服务小区的信号质量的情况下,所述电子设备将所述第二测量门限和所述第三测量门限均增大,以使增大后的所述第二测量门限和所述第三测量门限均大于所述目标服务小区的信号质量参数。
- 根据权利要求6所述的方法,其特征在于,所述方法还包括:在所述目标服务小区的信号质量参数大于所述邻区测量门限的情况下,所述电子设备将第一目标测量门限增大,以使增大后的所述第一目标测量门限大于所述目标服务小区的信号质量参数;所述第一目标测量门限为所述第二测量门限或所述第三测量门限中任意一个;所述电子设备对所述第一目标测量门限对应的频点进行邻区测量,获得第一邻区测量结果;若所述第一目标测量门限为所述第二测量门限,则所述第一目标测量门限对应的频点包括所述目标频点;若所述第一目标测量门限为所述第三测量门限,则所述第一目标测量门限对应的频点包括所述第一频点和所述第二频点;若所述第一邻区测量结果中邻区信息的数量大于或等于第一预设数量,则所述电子设备将所述第一邻区测量结果确定为所述邻区测量结果。
- 根据权利要求7所述的方法,其特征在于,所述电子设备对所述第一目标测量门限对应的频点进行邻区测量之后,所述方法还包括:若所述第一邻区测量结果中邻区信息的数量小于所述第一预设数量,所述电子设备将第二目标测量门限进行增大,以使增大后的所述第二目标测量门限大于所述目标服务小区的信号质量参数;所述第二目标测量门限为所述第二测量门限和所述第三测量门限中除所述第一目标测量门限外的另一个;所述电子设备对所述第二目标测量门限对应的频点进行邻区测量,获得第二邻区测量结果,并将所述第二邻区测量结果添加到所述第一邻区测量结果中,以获得邻区测量结果;若所述第二目标测量门限为所述第三测量门限,则所述第二目标测量门限对应的频点包括所述第一频点和所述第二频点;若所述第二目标测量门限为所述第二测量门限,则所述第二目标测量门限对应的频点包括所述目标频点。
- 根据权利要求7或8所述的方法,其特征在于,所述第一目标测量门限为所述第二测量门限。
- 根据权利要求6所述的方法,其特征在于,所述电子设备接收来自网络侧设备的邻区测量配置信息之后,所述方法还包括:在所述目标服务小区的信号质量参数处于所述第二测量门限和所述第三测量门限之间的情况下,所述电子设备对第三目标测量门限对应的频点进行邻区测量,获取第三邻区测量结果;所述第三目标测量门限为所述第二测量门限和所述第三测量门限中大于所述目标服务小区的信号质量参数的一个;若所述第三目标测量门限为所述第二测量门限,则所述第三目标测量门限对应的频点包括所述目标频点;若所述第三目标测量门限为所述第三测量门限,则所述第三目标测量门限对应的频点包括所述第一频点和所述第二频点;若所述第三邻区测量结果中邻区信息的数量大于或等于第一预设数量,则所述电子设备将对所述第三邻区测量结果确定为所述邻区测量结果。
- 根据权利要求10所述的方法,其特征在于,所述电子设备对第三目标测量门限对应的频点进行邻区测量之后,所述方法还包括:若所述第三邻区测量结果中邻区信息的数量小于第一预设数量,所述电子设备将第四目标测量门限进行增大,以使增大后的所述第四目标测量门限大于所述目标服务小区的信号质量参数;所述第四目标测量门限为所述第二测量门限和所述第三测量门限中除所述第三目标测量门限外的另一个;所述电子设备对所述第四目标测量门限对应的频点进行邻区测量,获得第四邻区测量结果,并将所述第四邻区测量结果添加到所述第三邻区测量结果中,以获得所述邻区测量结果;若所述第四目标测量门限为所述第三测量门限,则所述第四目标测量门限对应的频点包括所述第一频点和所述第二频点;若所述第四目标测量门限为所述第三测量门限,则所述第四目标测量门限对应的频点包括所述目标频点。
- 根据权利要求5或6所述的方法,其特征在于所述电子设备进行邻区测量,以得到邻区测量结果,包括:所述电子设备在第一预设时长内对所述目标频点,所述第一频点和所述第二频点进行邻区测量;所述电子设备在第一预设时长结束时,停止邻区测量的动作,并将对所述目标频点、所述第一频点和所述第二频点进行邻区测量得到的邻区的邻区信息确定为邻区测量结果。
- 根据权利要求12所述的方法,其特征在于,所述电子设备接收来自网络侧设备的邻区测量配置信息,包括:在所述电子设备存在定位需求的情况下,所述电子设备接收来自网络侧设备的邻区测量配置信息;所述电子设备在第一预设时长内对所述目标频点,所述第一频点和所述第二频点进行邻区测量之后,所述方法还包括:所述电子设备在所述第一预设时长结束前,若得到了第一预设数量个邻区的邻区信息,则停止邻区测量的动作,并将所述第一预设数量个邻区的邻区信息确定为所述邻区测量结果。
- 根据权利要求13所述的方法,其特征在于,所述目标频点、所述第一频点和所述第二频点属于第一运营商;所述电子设备对所述目标频点,以及所述第一频点和所述第二频点进行邻区测量,以得到邻区测量结果之后,所述方法还包括:在所述邻区测量结果中邻区信息的个数小于所述第一预设数量的情况下,所述电子设备从预设频点集中选择至少一个第三频点,并对所述第三频点进行邻区测量,以得到补充邻区测量结果,并更新所述邻区测量结果;所述预设频点集中包括多个频点,所述多个频点中包括不同运营商的频点;所述第三频点不属于所述第一运营商。
- 根据权利要求14所述的方法,其特征在于,所述至少一个第三频点中所述第三频点的数量小于目标数量,所述目标数量为所述目标频点的数量、所述第一频点的数量和所述第二频点的数量之和。
- 根据权利要求15所述的方法,其特征在于,所述电子设备从预设频点集中选择至少一个第三频点,并对所述第三频点进行邻区测量,以得到补充邻区测量结果,包括:所述电子设备从预设频点集中选择至少一个第三频点,并在第三预设时长内对所述第三频点进行邻区测量;所述电子设备在所述第三预设时长结束时,停止邻区测量的动作,并将对所述第三频点进行邻区测量得到的邻区的邻区信息确定为补充邻区测量结果。
- 根据权利要求16所述的方法,其特征在于,所述电子设备从预设频点集中选择至少一个第三频点,并在第三预设时长内对所述第三频点进行邻区测量之后,所述方法还包括:所述电子设备在第三预设时长结束前,若测量得到了第二预设数量个邻区的邻区信息,则停止对第三频点进行邻区测量的动作,并将第二预设数量个邻区的邻区信息确定为补充邻区测量结果;所述第二预设数量为所述第一预设数量减去所述邻区测量结果中邻区信息的数量之差。
- 根据权利要求5或6所述的方法,其特征在于,所述电子设备对所述目标频点,以及所述第一频点和所述第二频点进行邻区测量,以得到邻区测量结果之后,所述方法还包括:所述电子设备将所述来自网络侧设备的邻区测量配置信息中的提高后的邻区测量门限降低为提高前的邻区测量门限。
- 根据权利要求5或6所述的方法,其特征在于,所述电子设备对所述目标频点,以及所述第一频点和所述第二频点进行邻区测量,以得到邻区测量结果之后,所述方法还包括:在第二预设时长内,若所述电子设备驻留的服务小区的信号质量参数大于来自所述网络侧设备的邻区测量配置信息中的邻区测量门限,则所述电子设备不进行邻区测量。
- 根据权利要求6所述的方法,其特征在于,在所述电子设备处于空闲态的情况下,所述邻区测量配置信息还包括所述目标频点优先级、每个所述第一频点的优先级和每个所述第二频点的优先级;所述电子设备对所述目标频点,以及所述第一频点和所述第二频点进行邻区测量,以得到邻区测量结果,包括:所述电子设备按照优先级由大到小的顺序,依次对所述目标频点、所述第一频点和所述第二频点进行邻区测量,以得到所述邻区测量结果。
- 根据权利要求20所述的方法,其特征在于,所述广播消息包括至少一个系统信息块SIB,所述至少一个SIB中携带有所述邻区测量配置信息。
- 根据权利要求21所述的方法,其特征在于,在所述目标服务小区为长期演进LTE小区的情况下,所述至少一个SIB包括:SIB3、SIB5和SIB24;其中,所述SIB3中包括所述第二测量门限和所述第三测量门限,所述SIB5包括所述目标频点的优先级、所述至少一个第一频点和所述第一频点的优先级,所述SIB24包括所述至少一个第二频点和所述第二频点的优先级;在所述目标服务小区为新空口NR小区的情况下,所述至少一个SIB包括:SIB2、SIB4和SIB5;其中,所述SIB2中包括所述第二测量门限和所述第三测量门限,所述SIB4包括所述目标频点的优先级、所述至少一个第一频点和所述第一频点的优先级,所述SIB5包括所述至少一个第二频点和所述第二频点的优先级。
- 根据权利要求5或6所述的方法,其特征在于,所述邻区测量结果包括多个邻区的邻区信息;所述多个邻区的邻区信息包括至少一个频点对应的多个邻区的邻区信息;所述邻区信息包括小区标识ID和信号质量参数。
- 根据权利要求5或6所述的方法,其特征在于,所述信号指令参数包括参考信号接收功率RSRP或参考信号接收质量RSRQ。
- 根据权利要求5或6所述的方法,其特征在于,所述电子设备接收来自网络侧设备的邻区测量配置信息,包括:在所述电子设备存在定位需求的情况下,所述电子设备接收来自网络侧设备的邻区测量配置信息;所述电子设备对所述目标频点,以及所述第一频点和所述第二频点进行邻区测量,以得到邻区测量结果之后,所述方法还包括:所述电子设备基于所述邻区测量结果进行定位。
- 一种电子设备,其特征在于,包括:显示屏、存储器和一个或多个处理器;所述显示屏、所述存储器与所述处理器耦合;其中,所述存储器中存储有计算机程序代码,所述计算机程序代码包括计算机指令,当所述计算机指令被所述处理器执行时,使得所述电子设备执行如权利要求1-25任一项所述的邻区测量方法。
- 一种计算机可读存储介质,其特征在于,包括计算机指令,当所述计算机指令在电子设备上运行时,使得所述电子设备执行如权利要求1-25中任一项所述的邻区测量方法。
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202580004870.2A CN122003908A (zh) | 2024-01-12 | 2025-01-10 | 一种邻区测量方法、电子设备和存储介质 |
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202410049580.7A CN117560702B (zh) | 2024-01-12 | 2024-01-12 | 一种邻区测量方法、电子设备和存储介质 |
| CN202410049580.7 | 2024-01-12 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2025149042A1 true WO2025149042A1 (zh) | 2025-07-17 |
Family
ID=89821962
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2025/071785 Pending WO2025149042A1 (zh) | 2024-01-12 | 2025-01-10 | 一种邻区测量方法、电子设备和存储介质 |
Country Status (2)
| Country | Link |
|---|---|
| CN (2) | CN117560702B (zh) |
| WO (1) | WO2025149042A1 (zh) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN117560702B (zh) * | 2024-01-12 | 2025-02-07 | 荣耀终端有限公司 | 一种邻区测量方法、电子设备和存储介质 |
| CN119155780B (zh) * | 2024-11-15 | 2025-09-23 | 杭州必博半导体有限公司 | 一种移动终端的信号测量方法及相关设备 |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102892132A (zh) * | 2011-07-22 | 2013-01-23 | 华为技术有限公司 | 邻区测量的控制方法及系统、设备 |
| CN110740471A (zh) * | 2017-09-28 | 2020-01-31 | 华为技术有限公司 | 一种通信方法、装置和系统以及计算机可读存储介质 |
| CN115580883A (zh) * | 2021-07-05 | 2023-01-06 | 中国移动通信有限公司研究院 | 测量配置方法、终端及网络侧设备 |
| WO2023046062A1 (zh) * | 2021-09-26 | 2023-03-30 | 夏普株式会社 | 由用户设备执行的方法及用户设备 |
| CN117560702A (zh) * | 2024-01-12 | 2024-02-13 | 荣耀终端有限公司 | 一种邻区测量方法、电子设备和存储介质 |
Family Cites Families (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN108882321B (zh) * | 2018-06-13 | 2021-01-29 | Oppo广东移动通信有限公司 | 一种小区重选方法、终端及计算机可读存储介质 |
| CN115843086B (zh) * | 2019-11-30 | 2026-04-10 | 华为技术有限公司 | 小区测量的方法、测量装置、终端设备、芯片及存储介质 |
| CN113473555B (zh) * | 2020-03-31 | 2022-12-27 | 华为技术有限公司 | 一种测量方法及设备 |
| CN111669793B (zh) * | 2020-06-04 | 2023-01-24 | 广州三星通信技术研究有限公司 | 网络驻留方法和设备以及辅助网络驻留的方法和设备 |
| CN115552953A (zh) * | 2020-06-10 | 2022-12-30 | Oppo广东移动通信有限公司 | 无线通信的方法和终端设备 |
| CN112601263A (zh) * | 2020-12-11 | 2021-04-02 | Oppo广东移动通信有限公司 | 一种目标小区确认方法、终端设备及存储介质 |
-
2024
- 2024-01-12 CN CN202410049580.7A patent/CN117560702B/zh active Active
-
2025
- 2025-01-10 CN CN202580004870.2A patent/CN122003908A/zh active Pending
- 2025-01-10 WO PCT/CN2025/071785 patent/WO2025149042A1/zh active Pending
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102892132A (zh) * | 2011-07-22 | 2013-01-23 | 华为技术有限公司 | 邻区测量的控制方法及系统、设备 |
| CN110740471A (zh) * | 2017-09-28 | 2020-01-31 | 华为技术有限公司 | 一种通信方法、装置和系统以及计算机可读存储介质 |
| CN115580883A (zh) * | 2021-07-05 | 2023-01-06 | 中国移动通信有限公司研究院 | 测量配置方法、终端及网络侧设备 |
| WO2023046062A1 (zh) * | 2021-09-26 | 2023-03-30 | 夏普株式会社 | 由用户设备执行的方法及用户设备 |
| CN117560702A (zh) * | 2024-01-12 | 2024-02-13 | 荣耀终端有限公司 | 一种邻区测量方法、电子设备和存储介质 |
Non-Patent Citations (1)
| Title |
|---|
| HUAWEI ZHAO, ZTE CORPORATION: "Discussion on RRM requirements for NTN enhancement", 3GPP DRAFT; R4-2305031; TYPE OTHER; NR_NTN_ENH-CORE, 3RD GENERATION PARTNERSHIP PROJECT (3GPP), MOBILE COMPETENCE CENTRE ; 650, ROUTE DES LUCIOLES ; F-06921 SOPHIA-ANTIPOLIS CEDEX ; FRANCE, vol. RAN WG4, no. Online; 20230417 - 20230426, 10 April 2023 (2023-04-10), Mobile Competence Centre ; 650, route des Lucioles ; F-06921 Sophia-Antipolis Cedex ; France, XP052286220 * |
Also Published As
| Publication number | Publication date |
|---|---|
| CN117560702B (zh) | 2025-02-07 |
| CN117560702A (zh) | 2024-02-13 |
| CN122003908A (zh) | 2026-05-08 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| EP3917210B1 (en) | Network card switching method and electronic device | |
| EP4084486B1 (en) | Cross-device content projection method, and electronic device | |
| US20190268834A1 (en) | Method for transmitting and receiving signals in proximity network and electronic device thereof | |
| CN111405681B (zh) | Wi-Fi Aware的建链方法、系统、电子设备和存储介质 | |
| WO2022100238A1 (zh) | 定位方法、装置、系统、电子设备及存储介质 | |
| CN117560702B (zh) | 一种邻区测量方法、电子设备和存储介质 | |
| CN115843086B (zh) | 小区测量的方法、测量装置、终端设备、芯片及存储介质 | |
| CN113472477B (zh) | 无线通信系统及方法 | |
| CN110944374A (zh) | 通信模式的选择方法、装置、电子设备及介质 | |
| EP3681242A1 (en) | Network connection method and device | |
| CN114364026A (zh) | 通信方法及电子设备 | |
| CN117425227A (zh) | 建立基于WiFi直接连接的会话的方法和装置 | |
| CN115333941B (zh) | 获取应用运行情况的方法及相关设备 | |
| CN114339591B (zh) | 基于超宽带芯片进行定位的方法和相关装置 | |
| CN113207115B (zh) | 一种移动终端和搜网控制方法 | |
| WO2022110939A1 (zh) | 一种设备推荐方法及电子设备 | |
| EP4474966A1 (en) | Interface display method and electronic device | |
| CN115904576B (zh) | 一种应用壁纸的方法、电子设备及存储介质 | |
| CN111010732A (zh) | 网络注册的方法、装置、电子设备及介质 | |
| CN110324791A (zh) | 进行组网的方法、装置、计算机设备和存储介质 | |
| CN116709584A (zh) | 连接车机的方法及终端设备 | |
| CN117978308A (zh) | 一种蓝牙测距方法、电子设备及系统 | |
| CN119767373B (zh) | 小区切换方法、终端设备及存储介质 | |
| CN114189798A (zh) | 一种确定无线局域网wlan网络的扫描间隔的方法和设备 | |
| CN119255322B (zh) | 接入网络的方法及相关装置 |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 25738569 Country of ref document: EP Kind code of ref document: A1 |