WO2023198072A1 - Electronic device and positioning method therefor, and medium - Google Patents

Electronic device and positioning method therefor, and medium Download PDF

Info

Publication number
WO2023198072A1
WO2023198072A1 PCT/CN2023/087670 CN2023087670W WO2023198072A1 WO 2023198072 A1 WO2023198072 A1 WO 2023198072A1 CN 2023087670 W CN2023087670 W CN 2023087670W WO 2023198072 A1 WO2023198072 A1 WO 2023198072A1
Authority
WO
WIPO (PCT)
Prior art keywords
electronic device
signal
positioning
gnss
signals
Prior art date
Application number
PCT/CN2023/087670
Other languages
French (fr)
Chinese (zh)
Inventor
黄庆超
吴泰洋
鲁鸿宇
丁根明
Original Assignee
华为技术有限公司
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2023198072A1 publication Critical patent/WO2023198072A1/en

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S19/00Satellite radio beacon positioning systems; Determining position, velocity or attitude using signals transmitted by such systems
    • G01S19/01Satellite radio beacon positioning systems transmitting time-stamped messages, e.g. GPS [Global Positioning System], GLONASS [Global Orbiting Navigation Satellite System] or GALILEO
    • G01S19/13Receivers
    • G01S19/21Interference related issues ; Issues related to cross-correlation, spoofing or other methods of denial of service
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S19/00Satellite radio beacon positioning systems; Determining position, velocity or attitude using signals transmitted by such systems
    • G01S19/38Determining a navigation solution using signals transmitted by a satellite radio beacon positioning system
    • G01S19/39Determining a navigation solution using signals transmitted by a satellite radio beacon positioning system the satellite radio beacon positioning system transmitting time-stamped messages, e.g. GPS [Global Positioning System], GLONASS [Global Orbiting Navigation Satellite System] or GALILEO
    • G01S19/42Determining position
    • YGENERAL 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE 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/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Definitions

  • the present application relates to the technical fields of signal processing and anti-interference, and in particular to an electronic device and its positioning method and medium.
  • GNSS Global Navigation Satellite Systems
  • GPS Global Positioning System
  • Glonass Global Navigation Satellite System
  • Galileo satellite navigation system Galileo Satellite navigation system
  • Galileo satellite navigation system Galileo
  • Beidou satellite navigation system etc.
  • GNSS can provide positioning, velocity and time services (Position, Velocity and Time, PVT) and is widely used in vehicle or personal navigation, aircraft navigation and landing systems, power transmission networks, digital communication networks, precision agriculture, geological exploration and other fields.
  • the spoofing device can block the electronic device from obtaining the real satellite signal from the satellite navigation system by forwarding a processed or autonomously generated spoofing signal that is similar to the real satellite signal, causing the electronic device to accept the spoofing signal, causing the electronic device to act according to the spoofing signal. Getting wrong PVT results.
  • the spoofing signal here may be a signal generated by a spoofing device that has the same authentication information and signal format as the real satellite signal but carries different PVT data. Therefore, a spoofing signal detection technology is needed to ensure that electronic devices can eliminate spoofing signals and receive real satellite signals from satellite navigation systems.
  • Embodiments of the present application provide an electronic device and its positioning method and medium.
  • the first aspect of this application provides a positioning method applied to electronic equipment, characterized in that the method includes:
  • the positioning requirements are met, and the positioning results generated based on the multiple satellite signals are obtained.
  • the electronic device here may be a terminal device with positioning function such as a mobile phone or a tablet computer.
  • the positioning service here can be a navigation application that implements positioning through GPS.
  • the preset time period here can be the time period during which the electronic device continues to obtain satellite signals after turning on the positioning service.
  • the positioning result here can be the time period corresponding to the positioning service. bit results, for example, the navigation route corresponding to the navigation service.
  • Electronic equipment can collect time-varying satellite signals within a preset time period and calculate the correlation coefficient of the power sequence of each satellite signal.
  • the correlation coefficient here can be used to represent the similarity between the fading characteristics corresponding to each satellite signal. , compare the correlation coefficient with the preset threshold.
  • the satellite signal can be determined to be a real signal; if the correlation coefficient between the fading characteristics corresponding to each satellite signal is greater than the preset threshold, it means that the correlation coefficient is large, indicating that the fading characteristics corresponding to each group of satellite signals are The similarity between them is high, and each satellite signal can be determined to be a spoofing signal.
  • electronic devices can identify satellite signal spoofing attacks based on the significantly different fading characteristics of satellite signals acquired by different navigation satellites corresponding to different propagation channels in the satellite navigation system, effectively solving the problems in satellite navigation technology.
  • Security issues to create a secure foundation for location-based services.
  • obtaining the signal power change sequence of multiple satellite signals within a preset time period includes:
  • a sequence of signal power changes of the signal is obtained based on tracking the signal power of multiple satellite signals within a preset time period using navigation satellite numbers.
  • positioning requirements include:
  • the average value of the correlation coefficient between the fading characteristics of the signal power of each satellite signal within the preset time period is lower than the preset threshold, where the correlation coefficient is used to represent two satellite signals in the signal power change sequence of multiple satellite signals.
  • the similarity of fading characteristics between signal power change sequences is lower than the preset threshold, where the correlation coefficient is used to represent two satellite signals in the signal power change sequence of multiple satellite signals.
  • the preset threshold is related to a motion state of the electronic device, where the motion state is used to indicate that the electronic device is in at least one of a stationary state or a moving state.
  • the positioning service of the electronic device can obtain at least four different satellite signals, and the satellite signals can come from at least four different navigation satellites.
  • the preset threshold here may be related to whether the electronic device is in a stationary state or a moving state, and different preset thresholds are set for the stationary state and the moving state.
  • the electronic device can compare the acquired satellite signal power correlation coefficient with different preset thresholds based on the current status of the electronic device to more accurately determine whether the satellite signal is a real signal or a spoofed signal.
  • the correlation coefficient is obtained through at least one of Pearson correlation coefficient, Spearman correlation coefficient, Kendall correlation coefficient and similarity measure neural network model.
  • the electronic device can use correlation to measure the fading characteristics of the change sequence corresponding to the signal power of the satellite signal (that is, the signal power change sequence).
  • the specific correlation measurement method includes: through correlation Coefficients and similarity measure neural networks.
  • the motion state of the electronic device is determined in the following manner:
  • the motion state of the electronic device is determined.
  • the fading characteristics corresponding to multiple satellite signals within multiple preset time periods do not meet the positioning requirements, prompting the user that the positioning service is abnormal.
  • the method for prompting the user to locate the service abnormality includes at least one of the following: A sort of:
  • the electronic device prompts that the satellite signal received by the positioning service is incorrect
  • the electronic device prompts that location services will be re-enabled.
  • the second aspect of the present application provides an electronic device, which is characterized in that it includes:
  • a processor configured to execute the positioning method provided in the first aspect
  • Memory which may be coupled or decoupled from the processor, stores instructions for execution by the processor.
  • a third aspect of the present application provides a computer-readable storage medium, which is characterized in that the computer-readable storage medium contains instructions, and when the instructions are executed by the processor of the electronic device, the electronic device enables the electronic device to implement the aforementioned method provided in the first aspect. Positioning method.
  • a fourth aspect of the present application provides a computer program product, which is characterized in that it includes: a computer-readable storage medium, and the computer-readable storage medium contains computer program code for executing the positioning method provided in the first aspect.
  • FIG. 1 shows a schematic diagram of a scenario in which an electronic device receives a satellite signal (GNSS signal) according to an embodiment of the present application;
  • GNSS signal satellite signal
  • Figure 2 shows a schematic diagram of a fading curve of an electronic device receiving a satellite signal (GNSS signal) according to an embodiment of the present application
  • Figure 3 shows a schematic diagram of the hardware structure of an electronic device according to an embodiment of the present application
  • Figure 4 shows a schematic flow chart of a positioning method according to an embodiment of the present application
  • Figure 5 shows a schematic diagram of a positioning method according to an embodiment of the present application
  • Figure 6 shows a schematic flow chart of a positioning method according to an embodiment of the present application
  • Figure 7 shows a schematic flow chart of a positioning method according to an embodiment of the present application.
  • Figure 8 shows a schematic flowchart of a positioning method according to an embodiment of the present application.
  • FIG. 1 shows a schematic diagram of a scenario in which an electronic device 100 receives a GNSS signal (that is, a satellite signal) from a satellite navigation system 200 and receives a spoofing signal from a spoofing device 300 according to some embodiments of the present application.
  • the spoofing device 300 here may be an electronic device that generates a spoofing signal similar to the GNSS signal of the satellite navigation system 200 .
  • the electronic device 100 is running a PVT service (eg, positioning service), and the PVT service receives real GNSS signals from the satellite navigation system 200 .
  • the spoofing device 300 can generate a spoofing signal that has the same authentication information, signal format, etc.
  • the specific process of the spoofing device 300 implementing spoofing interference includes: after receiving the real GNSS signal, the spoofing device 300 then sends a high-power spoofing signal with a frequency similar to the real GNSS signal, so that the electronic device 100 that is tracking and processing the real GNSS signal The tracking loop loses lock, that is, the electronic device 100 is in a state of not receiving the GNSS signal of the satellite navigation system 200, and then When the electronic device 100 enters the loss-of-lock and reacquisition phase, since the spoofing signal is similar to the real GNSS signal and the power of the spoofing signal is higher than the real GNSS signal, the electronic device 100 may misjudge the high-power spoofing signal as the real one.
  • the GNSS signal enables the electronic device
  • the GNSS signals will be affected by the atmosphere during propagation, causing the electromagnetic wave amplitude of the GNSS signals to change over time. Rapid irregular changes occur, that is, the rapid fading of electromagnetic waves.
  • the electromagnetic wave amplitude of the GNSS signal here can be represented by the Carrier Noise Ratio (CNR) of the GNSS signal power.
  • CNR Carrier Noise Ratio
  • the ionosphere can produce ionospheric scintillation on GNSS signals, causing The electromagnetic wave amplitude of the GNSS signal undergoes short-period irregular changes. At the same time, the GNSS signal will also be affected by ambient temperature, air temperature, air pressure, etc. during the propagation process, causing the GNSS signal to refract and rapid fading of the electromagnetic wave amplitude. Since the propagation paths of real GNSS signals are from different navigation satellites to electronic equipment, they are affected by different atmospheric effects during the propagation process.
  • GNSS spoofing signals different GNSS signal powers (carrier-to-noise ratios) have different fading characteristics; as for GNSS spoofing signals,
  • the propagation path of the GNSS spoofing signal is from the spoofing device to the electronic device.
  • the GNSS spoofing signal will not be affected by the atmosphere, and the signal propagation path is the same. Therefore, the fading characteristics of each GNSS spoofing signal sent by the spoofing device 300 are similar.
  • embodiments of the present application provide a positioning method.
  • the electronic device can calculate the fading characteristics of each received GNSS signal by verifying the fading characteristics.
  • the similarity of the fading characteristics between various GNSS signals determines whether the GNSS signal received by the electronic device is a real GNSS signal or a GNSS spoofing signal, and then identifies GNSS spoofing attack behavior.
  • the electronic device 100 when the electronic device 100 uses the PVT service by receiving GNSS signals; the electronic device 100 first identifies the navigation satellite number carried by the GNSS signal used in the current PVT solution, that is, The number of Pseudo Random Noise (PRN) is the navigation satellite PRN code. It can be understood that the navigation satellite PRN code here is public.
  • the spoofing device can generate and send a spoofing signal similar to the real GNSS signal based on the desired PVT spoofing result and combined with the corresponding ephemeris data (the location of the navigation satellite).
  • the electronic device 100 obtains the number (PRN code) of the satellite currently used in the PVT service, tracks the power change of the GNSS signal (satellite signal) within a preset time period according to the PRN code, and then obtains the signal power corresponding to the GNSS signal (i.e., carrier-to-noise ratio). ) data sequence (the signal power data sequence here can also be called the signal power change sequence).
  • PRN code the number of the satellite currently used in the PVT service
  • tracks the power change of the GNSS signal i.e., carrier-to-noise ratio).
  • the signal power data sequence here can also be called the signal power change sequence.
  • the electronic device 100 needs to obtain at least four different GNSS signals. If the GNSS signals are real signals, the at least four different GNSS signals can come from at least four different navigation satellites.
  • the electronic device 100 can track each GNSS signal through the navigation satellite number (PRN code) to obtain at least four sets of GNSS Data sequence of signal power. That is, the electronic device 100 can collect data sequences of at least four groups of GNSS signal powers that change with time within a preset time period, and calculate the correlation coefficient between the power of each group of GNSS signals.
  • the correlation coefficient here can be used to Indicates the similarity between the fading characteristics corresponding to each group of GNSS signals. Compare the correlation coefficient with the preset threshold.
  • the correlation coefficient between the fading characteristics corresponding to each group of GNSS signals is less than the preset threshold, it indicates correlation.
  • a small coefficient indicates that the similarity between the fading characteristics corresponding to each GNSS signal is low, and the GNSS signal can be determined to be a real signal; if the correlation coefficient between the fading characteristics corresponding to each group of GNSS signals is greater than the preset threshold, it means The larger the correlation coefficient, the higher the similarity between the fading characteristics corresponding to each group of GNSS signals, and the GNSS can be determined.
  • the signal is a deceptive signal.
  • the electronic device 100 can also collect the inertial navigation data of the electronic device 100, that is, the speed and acceleration data of the electronic device 100, and identify During the collection of GNSS signals by the electronic device 100, whether the electronic device 100 is in a stationary state or a moving state, and different preset thresholds are set for the stationary state and the moving state, so that the electronic device 100 can obtain the GNSS signals according to the current state of the electronic device 100.
  • the power correlation coefficient is compared with different preset thresholds to more accurately determine whether the GNSS signal is a real signal or a spoofed signal.
  • the electronic device 100 can identify GNSS signal spoofing attacks based on the significant differences in the GNSS signals obtained by different navigation satellites corresponding to different propagation channels in the satellite navigation system 200 , effectively solving the problem of satellite navigation technology. security issues, and create a security foundation for location-based services (Location Based Service, LBS).
  • LBS Location Based Service
  • FIG. 2 shows the fading curve of a data sequence of GNSS signal power (carrier-to-noise ratio) that changes with time for real GNSS signals and GNSS spoofing signals (pseudo signals) collected by an electronic device 100 according to some embodiments of the present application.
  • the data sequence in Figure 2 includes: when the electronic device 100 is in a stationary scene and a walking scene (moving scene), the electronic device 100 collects the data sequence of the real GNSS signal and the GNSS spoofing signal as the GNSS signal power changes over time. .
  • the electronic device in the embodiment of the present application may be a terminal device capable of running a navigation application to implement PVT services.
  • the terminal device may include: a vehicle-mounted device, a mobile phone, a tablet computer, a notebook computer, a handheld computer, and a mobile Internet Devices (mobile internet device, MID), wearable devices (for example: smart watches, smart bracelets, pedometers, etc.), personal digital assistants, portable media players, navigation devices, video game devices, set-top boxes, virtual reality and /or augmented reality devices, Internet of Things devices, industrial control devices, streaming media client devices, e-book reading devices, and other devices.
  • MID mobile internet device
  • wearable devices for example: smart watches, smart bracelets, pedometers, etc.
  • personal digital assistants portable media players, navigation devices, video game devices, set-top boxes, virtual reality and /or augmented reality devices, Internet of Things devices, industrial control devices, streaming media client devices, e-book reading devices, and other devices.
  • FIG. 3 shows a schematic structural diagram of an electronic device 100 according to an embodiment of the present application.
  • the electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, and a universal serial bus (universal serial bus, USB) interface 130. , charging management module 140, power management module 141, battery 142, antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, audio module 170, speaker 170A, receiver 170B, microphone 170C, headphone interface 170D, sensor module 180 , button 190, motor 191, indicator 192, camera 193, display screen 194, and subscriber identification module (subscriber identification module, SIM) card interface 195, etc.
  • SIM subscriber identification module
  • the sensor module 180 may include a pressure sensor 180A, a gyro sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, and ambient light. Sensor 180L, bone conduction sensor 180M, etc.
  • the structure illustrated in the embodiment of the present invention does not constitute a specific limitation on the electronic device 100 .
  • the electronic device 100 may include more or fewer components than shown in the figures, or some components may be combined, some components may be separated, or some components may be arranged differently.
  • the components illustrated may be presented as hardware, software, or a combination of software and hardware. realized together.
  • the processor 110 may include one or more processing units.
  • the processor 110 may include an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (image signal).
  • AP application processor
  • GPU graphics processing unit
  • image signal image signal
  • processor ISP
  • controller video codec
  • DSP digital signal processor
  • BP baseband processor
  • NPU neural network processing unit
  • different processing units can be independent devices or integrated in one or more processors.
  • the electronic device 100 can determine the data sequence of the GNSS signal power (carrier-to-noise ratio) corresponding to each GNSS signal received by the electronic device 100 through the processor 110, and calculate the GNSS signal power ( The correlation coefficient between the carrier-to-noise ratio) determines whether the GNSS signal is a real signal or a spoofed signal.
  • the processor 110 may also be provided with a memory for storing instructions and data.
  • the memory in processor 110 is cache memory. This memory may hold instructions or data that have been recently used or recycled by processor 110 . If the processor 110 needs to use the instructions or data again, it can be called directly from the memory. Repeated access is avoided and the waiting time of the processor 110 is reduced, thus improving the efficiency of the system.
  • the charging management module 140 is used to receive charging input from the charger.
  • the charger can be a wireless charger or a wired charger.
  • the charging management module 140 may receive charging input from the wired charger through the USB interface 130 .
  • the power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110.
  • the power management module 141 receives input from the battery 142 and/or the charging management module 140, and supplies power to the processor 110, the internal memory 121, the display screen 194, the camera 193, the wireless communication module 160, and the like.
  • the power management module 141 can also be used to monitor battery capacity, battery cycle times, battery health status (leakage, impedance) and other parameters.
  • the wireless communication function of the electronic device 100 can be implemented through the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor and the baseband processor.
  • Antenna 1 and Antenna 2 are used to transmit and receive electromagnetic wave signals.
  • Each antenna in electronic device 100 may be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization. For example: Antenna 1 can be reused as a diversity antenna for a wireless LAN. In other embodiments, antennas may be used in conjunction with tuning switches.
  • the mobile communication module 150 can provide solutions for wireless communication including 2G/3G/4G/5G applied on the electronic device 100 .
  • the wireless communication module 160 can provide applications on the electronic device 100 including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) network), Bluetooth (bluetooth, BT), and global navigation satellites.
  • WLAN wireless local area networks
  • Wi-Fi wireless fidelity
  • Bluetooth bluetooth, BT
  • global navigation satellites Global navigation satellite system, 6NSS
  • frequency modulation frequency modulation, FM
  • near field communication technology near field communication, NFC
  • infrared technology infrared, IR
  • the electronic device 100 implements display functions through a GPU, a display screen 194, an application processor, and the like.
  • the GPU is an image processing microprocessor and is connected to the display screen 194 and the application processor. GPUs are used to perform mathematical and geometric calculations for graphics rendering.
  • Processor 110 may include one or more GPUs that execute program instructions to generate or alter display information.
  • the display screen 194 is used to display images, videos, etc.
  • Display 194 includes a display panel.
  • the electronic device 100 may include 1 or N display screens 194, where N is a positive integer greater than 1.
  • the electronic device 100 can implement the shooting function through an ISP, a camera 193, a video codec, a GPU, a display screen 194, an application processor, and the like.
  • Camera 193 is used to capture still images or video.
  • the electronic device 100 may include 1 or N cameras 193, where N is a positive integer greater than 1.
  • the external memory interface 120 can be used to connect an external memory card, such as a MicroSD card, to expand the storage capacity of the electronic device 100 .
  • the external memory card communicates with the processor 110 through the external memory interface 120 to implement the data storage function.
  • Internal memory 121 may be used to store computer executable program code, which includes instructions.
  • the internal memory 121 may include a program storage area and a data storage area.
  • the processor 110 executes various functional applications and data processing of the electronic device 100 by executing instructions stored in the internal memory 121 and/or instructions stored in a memory provided in the processor.
  • the electronic device 100 can implement audio functions through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone interface 170D, and the application processor. Such as music playback, recording, etc.
  • the audio module 170 is used to convert digital audio information into analog audio signal output, and is also used to convert analog audio input into digital audio signals. Audio module 170 may also be used to encode and decode audio signals. In some embodiments, the audio module 170 may be provided in the processor 110 , or some functional modules of the audio module 170 may be provided in the processor 110 .
  • Speaker 170A also called “speaker” is used to convert audio electrical signals into sound signals.
  • the electronic device 100 can listen to music through the speaker 170A, or listen to hands-free calls.
  • Receiver 170B also called “earpiece” is used to convert audio electrical signals into sound signals.
  • the electronic device 100 answers a call or a voice message, the voice can be heard by bringing the receiver 170B close to the human ear.
  • Microphone 170C also called “microphone” or “microphone” is used to convert sound signals into electrical signals. When making a call or sending a voice message, the user can speak close to the microphone 170C with the human mouth and input the sound signal to the microphone 170C.
  • the electronic device 100 may be provided with at least one microphone 170C. In other embodiments, the electronic device 100 may be provided with two microphones 170C, which in addition to collecting sound signals, may also implement a noise reduction function. In other embodiments, the electronic device 100 can also be provided with three, four or more microphones 170C to collect sound signals, reduce noise, identify sound sources, and implement directional recording functions, etc.
  • the headphone interface 170D is used to connect wired headphones.
  • the headphone interface 170D may be a USB interface 130, or may be a 3.5mm open mobile terminal platform (OMTP) standard interface, or a Cellular Telecommunications Industry Association of the USA (CTIA) standard interface.
  • OMTP open mobile terminal platform
  • CTIA Cellular Telecommunications Industry Association of the USA
  • the pressure sensor 180A is used to sense pressure signals and can convert the pressure signals into electrical signals.
  • pressure sensor 180A may be disposed on display screen 194 .
  • the gyro sensor 180B may be used to determine the motion posture of the electronic device 100 .
  • Air pressure sensor 180C is used to measure air pressure. In some embodiments, the electronic device 100 calculates the altitude through the air pressure value measured by the air pressure sensor 180C to assist positioning and navigation.
  • Magnetic sensor 180D includes a Hall sensor.
  • the acceleration sensor 180E can detect the acceleration of the electronic device 100 in various directions (generally three axes).
  • Distance sensor 180F for measuring distance.
  • Proximity light sensor 180G may include, for example, a light emitting diode (LED) and a light detector,
  • the ambient light sensor 180L is used to sense ambient light brightness.
  • Fingerprint sensor 180H is used to collect fingerprints.
  • Temperature sensor 180J is used to detect temperature.
  • Touch sensor 180K also known as “touch device”.
  • the touch sensor 180K can be disposed on the display screen 194.
  • the touch sensor 180K and the display screen 194 form a touch screen, which is also called a "touch screen”.
  • Bone conduction sensor 180M can acquire vibration signals.
  • the buttons 190 include a power button, a volume button, etc.
  • Key 190 may be a mechanical key. It can also be a touch button.
  • the electronic device 100 may receive key inputs and generate key signal inputs related to user settings and function control of the electronic device 100 .
  • the motor 191 can generate vibration prompts.
  • the motor 191 can be used for vibration prompts for incoming calls and can also be used for touch vibration feedback.
  • the indicator 192 may be an indicator light, which may be used to indicate charging status, power changes, or may be used to indicate messages, missed calls, notifications, etc.
  • the SIM card interface 195 is used to connect a SIM card.
  • the SIM card can be connected to or separated from the electronic device 100 by inserting it into the SIM card interface 195 or pulling it out from the SIM card interface 195 .
  • the positioning method in FIG. 4 of this application can be implemented by the processor 110 of the mobile phone 100 executing relevant programs.
  • a positioning method provided according to a specific embodiment of the present application includes the following steps.
  • S401 Call the positioning service or enable positioning service security detection to start GNSS spoofing detection.
  • the positioning service here can be a navigation application installed on the mobile phone 100.
  • the user can click the icon of the navigation application to start the navigation application.
  • the navigation application performs positioning by calling the positioning service of the mobile phone 100, for example: the GPS module of the mobile phone 100.
  • the mobile phone 100 can start GNSS spoofing detection.
  • the user can also enable the location service security detection function of the mobile phone 100.
  • the location service security detection here can be a system service set in the operating system of the mobile phone 100. When the mobile phone 100 detects that the location service security detection is enabled, At this time, the mobile phone 100 can start GNSS spoofing detection.
  • S402 Identify the navigation satellite number corresponding to the GNSS signal currently used in the process of using the positioning service.
  • the navigation satellite number here may be a pseudo-random noise code, that is, a navigation satellite PRN code.
  • the mobile phone 100 can obtain the navigation satellite number corresponding to the GNSS signal, which is the navigation satellite PRN code carried by the GNSS signal. It is understandable that the navigation satellite PRN codes here are public.
  • the spoofing device can generate and send a spoofing signal similar to the real GNSS signal based on the desired PVT spoofing result and the corresponding ephemeris data.
  • the mobile phone 100 needs to obtain the GNSS signals of at least four different navigation satellites from the satellite navigation system 200. That is to say, the mobile phone 100 will also recognize at least four different navigation satellites at the same time. Different navigation satellite numbers.
  • S403 Track and collect the data sequence of the signal power of the GNSS signal corresponding to the navigation satellite number.
  • the mobile phone 100 when the navigation application of the mobile phone 100 calls the positioning service (one of the PVT services), the mobile phone 100 needs to obtain at least four different GNSS signals from the satellite navigation system 200, that is, four sets of For different GNSS signal data sequences, the mobile phone 100 can track the GNSS signals of at least four different navigation satellites according to the navigation satellite numbers corresponding to the GNSS signals, and obtain at least four GNSS signals from at least four different navigation satellites within a preset time period. Data sequence of signal power of GNSS signals.
  • the at least four different GNSS signals may be from at least four different navigation satellites; if the GNSS signal is a spoofing signal, the at least four different GNSS signals may be from the same or Spoofing signals from multiple spoofed devices.
  • the preset time period here can be set to, for example, 10 seconds. It can be understood that the preset time period can also be of other lengths, and there is no limitation here.
  • S405 While collecting GNSS signals, simultaneously collect the inertial navigation data of the mobile phone 100.
  • the inertial navigation data here may be data obtained through an inertial measurement unit (IMU) of the mobile phone 100.
  • the inertial navigation data may include the speed, acceleration, direction, etc. of the mobile phone 100.
  • the inertial measurement unit of the mobile phone 100 may include the gyro sensor 180B and the acceleration sensor 180E of the mobile phone 100. While the mobile phone 100 collects GNSS signals, the mobile phone 100 may collect the speed, acceleration and direction of the mobile phone 100 through the gyro sensor 180B and the acceleration sensor 180E. wait.
  • S406 Perform low-pass filtering on the data sequences of signal powers of multiple GNSS signals to remove high-frequency noise.
  • the mobile phone 100 can perform low-pass filtering on the data sequence of the signal power of the GNSS signals of multiple navigation satellites to remove noise with high signal power in the frequency band.
  • S407 Perform correlation measurement on the filtered data sequences of the signal powers of multiple GNSS signals, obtain the correlation coefficients between the signal powers of the GNSS signals of multiple navigation satellites, and obtain the correlation coefficients of multiple correlation coefficients mean.
  • the correlation measurement method for the data sequence of the signal power of the GNSS signal may be to calculate the correlation coefficient of the data sequence of the signal power of the GNSS signal.
  • the correlation coefficient may include: Pearson correlation coefficient, Pillman correlation coefficient and Kendall correlation coefficient, etc.
  • the Pearson correlation coefficient is used to measure the linear correlation between two variables.
  • the Pearson correlation coefficient has a value between +1 and -1, where 1 represents a total positive linear correlation, 0 represents a nonlinear correlation, and -1 represents a total negative linear correlation.
  • the calculation formula corresponding to the Pearson correlation coefficient ⁇ is as follows:
  • X and Y respectively represent any two signal powers in the data sequence of the signal power of multiple GNSS signals, ⁇ covariance between.
  • the mobile phone 100 obtains the data sequence of the signal power of at least four GNSS signals, and then the mobile phone 100 can obtain the correlation between the signal powers of at least four GNSS signals. coefficient.
  • the average correlation coefficient between pairs of at least four GNSS signals can be calculated, for example, taking signal i and signal j among at least four GNSS signals as an example. , calculate the average correlation coefficient of signal i and signal j through the following formula.
  • N the number of collected GNSS signals.
  • the above formula can be saved in the internal memory of the mobile phone 100. While the positioning service of the mobile phone 100 collects the GNSS signal, the mobile phone 100 can calculate the GNSS signal in real time according to the saved formula to determine whether the GNSS signal is a real signal or not. Spoofing signals.
  • the Spearman correlation coefficient is used to utilize the rank size of the signal power of the two GNSS signals.
  • the calculation formula corresponding to the Spearman correlation coefficient ⁇ is as follows:
  • x′ and y′ represent the ranks of the collected GNSS signals.
  • S408 Based on the synchronously collected inertial navigation data, identify the motion state of the mobile phone 100 during the signal power collection of the GNSS signal.
  • the process of determining the motion state of the mobile phone 100 may include: the mobile phone 100 may obtain the navigation coordinate system based on the mobile phone 100 through the gyroscope sensor, stabilize the measurement axis of the acceleration sensor in the navigation coordinate system, and give The direction and attitude angle of the mobile phone 100 are obtained, and then the acceleration of the mobile phone 100 is measured through the acceleration sensor.
  • the speed of the mobile phone 100 can be obtained based on the integral operation during the acquisition period.
  • the mobile phone 100 can compare the obtained speed with the speed threshold to determine the motion state of the mobile phone 100 .
  • the speed of the mobile phone 100 can be 2 meters/second. If the speed threshold is 1 meter/second, the mobile phone 100 can determine that the mobile phone 100 is in a moving state; otherwise, it can be determined that the mobile phone 100 is in a stationary state.
  • S409 Determine a preset threshold corresponding to the motion state according to the motion state of the mobile phone 100.
  • the preset threshold corresponding to the motion state of the mobile phone 100 can be set in combination with the motion state of the mobile phone 100 identified in step S408.
  • the preset threshold corresponding to the stationary state can be 0.5
  • the preset threshold corresponding to the moving state can be 0.8.
  • S410 Compare the average correlation coefficient with the preset threshold corresponding to the motion state of the mobile phone 100 to determine whether the GNSS signal is a real signal or a spoofing signal.
  • the correlation coefficient is lower than the preset threshold, it means that the correlation between the GNSS signals collected by the mobile phone 100 is low, and the collected GNSS signals are determined to be real signals. If the correlation coefficient is higher than the preset threshold, it means that the correlation between the GNSS signals collected by the mobile phone 100 is low. If the correlation between GNSS signals is high, it is determined that the collected GNSS signal is a spoofing signal.
  • the mobile phone 100 can allow the application program to call the positioning service to complete the function corresponding to the application program; if the mobile phone 100 determines that the collected GNSS signal is a fraudulent signal, If the signal is spoofed, step S411 is executed.
  • the mobile phone 100 can feed back the detection result of the spoofed signal to the application, prompt the user who opens the application, or disable the GNSS positioning service and instead call other positioning services, such as network positioning.
  • the mobile phone 100 is in a stationary state. If the average correlation coefficient of the GNSS signal obtained by the mobile phone 100 through step S407 is 0.0099, and the preset threshold corresponding to the stationary state can be 0.5, then the mobile phone 100 can determine that the collected GNSS signal is a real signal. If the average value of the correlation coefficient of the GNSS signals obtained by the mobile phone 100 in step S407 is 0.6534, the mobile phone 100 can determine that the collected GNSS signals are spoofing signals. Similarly, the mobile phone 100 is in a moving state.
  • the mobile phone 100 can determine that the collected GNSS signal is a real signal. , if the average correlation coefficient of the GNSS signal obtained by the mobile phone 100 through step S407 is 0.9015, the mobile phone 100 can determine that the collected GNSS signal is a spoofing signal.
  • the mobile phone 100 can disable the GNSS positioning service (turn off the positioning service, that is, turn off the currently used positioning service), and instead call other positioning services. , such as network positioning, and prompts the user in the user interface of the mobile phone 100 to re-verify the security of the GNSS positioning service.
  • the mobile phone 100 can also prompt on the screen that the satellite signal accepted by the positioning service is incorrect or prompt to restart the positioning service so that the positioning service can obtain the real signal.
  • the mobile phone 100 can use the positioning service (such as navigation service) normally and obtain the positioning result of the positioning service.
  • the positioning service such as navigation service
  • the positioning result can be navigation Navigation routes provided by the service.
  • the positioning result may also be the map location provided by the positioning service.
  • the mobile phone 100 when the mobile phone 100 needs to call the positioning service or when the mobile phone 100 detects that the application of the mobile phone 100 calls the positioning service, the mobile phone 100 can automatically start spoofing signal detection, ensuring that the mobile phone 100 100 can receive real GNSS signals, ensuring the safety of mobile phone 100 using positioning services.
  • the positioning method of the mobile phone 100 according to another embodiment of the present application will be described in detail below with reference to FIGS. 5 and 6 .
  • the positioning method in Figure 5 of this application can be implemented by the processor 110 of the mobile phone 100 executing relevant programs.
  • the difference from the positioning method shown in FIG. 4 is that in the positioning method shown in FIG. 5 , the similarity measurement neural network that has been trained in advance can be stored in the storage area of the mobile phone 100 .
  • the data sequence of the signal power of multiple GNSS signals corresponding to the navigation satellite numbers (i.e., sat 1 to sat N in Figure 5) and the motion status of the mobile phone 100 are collected.
  • the output result can be a similarity matrix obtained from the data sequence of the signal power of GNSS signals of multiple navigation satellites; calculate the similarity matrix to obtain the similarity coefficient mean cc mean corresponding to the similarity matrix,
  • a positioning method provided according to a specific embodiment of the present application includes the following steps.
  • S601 Call the positioning service or enable positioning service security detection to start GNSS spoofing detection.
  • step S601 here is similar to step S401 in Figure 4.
  • the GPS module of the mobile phone 100 performs positioning services.
  • the mobile phone 100 detects that the navigation application starts to call the positioning service, the mobile phone 100 can start GNSS spoofing detection.
  • the user can also enable the location service security detection function of the mobile phone 100.
  • the location service security detection here can be a system service set in the operating system of the mobile phone 100.
  • the mobile phone 100 detects that the location service security is enabled, During detection, the mobile phone 100 can start GNSS spoofing detection.
  • S602 Identify the navigation satellite number corresponding to the GNSS signal currently used in the process of using the positioning service.
  • step S602 here is similar to step S402 in Figure 4.
  • the mobile phone 100 can obtain the navigation satellite number corresponding to the GNSS signal, that is, the navigation satellite PRN carried by the GNSS signal. code.
  • the mobile phone 100 needs to obtain the GNSS signals of at least four different navigation satellites from the satellite navigation system 200. That is to say, the mobile phone 100 will also recognize at least four different navigation satellites at the same time. Different navigation satellite numbers, namely navigation satellite PRN codes.
  • S603 Track and collect the data sequence of the signal power of the GNSS signal corresponding to the navigation satellite number.
  • step S603 here is similar to step S403 in Figure 4.
  • the mobile phone 100 needs to obtain data sequences of the signal power of at least four different GNSS signals. That is, the data sequence of the signal power of four different GNSS signals.
  • S604 After collecting data after a preset time period, obtain a data sequence of signal powers of multiple GNSS signals.
  • step S604 here is similar to step S404 in FIG. 4 , and the preset time period here can be set to, for example, 10 seconds. It can be understood that the preset time period can also be of other lengths, and there is no limitation here.
  • S605 While collecting GNSS signals, simultaneously collect the inertial navigation data of the mobile phone 100.
  • step S605 here is similar to step S405 in Figure 4. While the mobile phone 100 collects GNSS signals, the mobile phone 100 can collect the speed, acceleration, direction, etc. of the mobile phone 100 through the gyroscope sensor 180B and the acceleration sensor 180E. .
  • S606 Perform low-pass filtering on the data sequences of signal powers of multiple GNSS signals to remove high-frequency noise.
  • step S606 here is similar to step S406 in FIG. 4 .
  • the mobile phone 100 can perform low-pass filtering on the data sequence of the signal power of multiple GNSS signals to remove noise with high signal power in the frequency band.
  • S607 Based on the synchronously collected inertial navigation data, identify the motion state of the mobile phone 100 during the signal power collection of the GNSS signal.
  • step S607 here is similar to step S408 in Figure 4.
  • the mobile phone 100 can obtain the navigation coordinate system based on the mobile phone 100 through the gyroscope sensor, and stabilize the measurement axis of the acceleration sensor in the navigation coordinate system.
  • the direction and attitude angle of the mobile phone 100 are given, and then the acceleration of the mobile phone 100 is measured through the acceleration sensor.
  • the speed of the mobile phone 100 can be obtained based on the integral operation during the acquisition period.
  • S608 Input the filtered data sequence of the signal power of multiple GNSS signals into the similarity measurement neural network corresponding to the motion state of the mobile phone 100, and obtain the mean value of the correlation coefficient output by the similarity measurement neural network.
  • the motion state of the mobile phone 100 can be divided into a static state and a moving state.
  • the mobile phone 100 can also store similarity measurement neural networks corresponding to the stationary state and the moving state respectively. The process of training the similarity measure neural network corresponding to the stationary state and the moving state will be introduced in detail below.
  • S609 Determine a preset threshold corresponding to the motion state according to the motion state of the mobile phone 100.
  • step S609 here is similar to step S409 in FIG. 4 .
  • the preset threshold corresponding to the stationary state may be 0.5
  • the preset threshold corresponding to the moving state may be 0.8.
  • S610 Compare the average correlation coefficient with the preset threshold corresponding to the motion state of the mobile phone 100 to determine whether the GNSS signal is a real signal or a spoofing signal.
  • the correlation coefficient is lower than the preset threshold, it means that the correlation between the GNSS signals collected by the mobile phone 100 is low, and the collected GNSS signals are determined to be real signals. If the correlation coefficient is higher than the preset threshold, it means that the correlation between the GNSS signals collected by the mobile phone 100 is low. If the correlation between GNSS signals is high, it is determined that the collected GNSS signal is a spoofing signal.
  • step S610 here is similar to step S410 in Figure 4. If the mobile phone 100 determines that the collected GNSS signal is a real signal, the mobile phone 100 can allow the application to call the positioning service to complete the function corresponding to the application; if the mobile phone 100 100 determines that the collected GNSS signal is a spoofing signal, and then executes step S611. The mobile phone 100 can feed back the detection result of the spoofing signal to the application, prompt the user who opens the application, or prohibit the application from calling positioning services.
  • S611 Identify the GNSS signal as a spoofing signal and feed it back to the application that calls the positioning service.
  • step S611 here is similar to step S411 in Figure 4. If the mobile phone 100 recognizes that the GNSS signal obtained by the positioning service is a spoofing signal, the mobile phone 100 can disable the GNSS positioning service and instead call other positioning services. Such as network positioning, and prompts the user in the user interface of the mobile phone 100 to re-verify the security of the GNSS positioning service.
  • S701 Obtain a data set of sequence data of signal power of real GNSS signals.
  • sequence data collection of the signal power of the GNSS signal is performed, and a data set corresponding to the stationary state and the moving state is constructed.
  • S702 Perform low-pass filtering on the data set to filter out high-frequency noise in the signal.
  • low-pass filtering can be performed on the data sequence of the signal power of the GNSS signals in the data set to remove noise with high frequency bands in the signal power.
  • S703 Use the spoofing signals collected in the stationary state and the moving state and the real GNSS signal data sets to conduct similarity measurement neural network training.
  • the training method of the similarity measurement neural network may include: collecting spoofing signals collected in the stationary state and moving state and real GNSS signals; during training, the spoofing signals collected in the stationary state and moving state and Real GNSS signals are input into the similarity measurement neural network, and feedback iteration and other methods are used for similarity measurement neural network training.
  • the input of the similarity measurement neural network here can be the spoofing signals collected in the stationary state and the moving state as well as the real GNSS signals.
  • the output of the similarity measurement neural network is the similarity matrix between the input multi-dimensional time series.
  • S704 Deploy the trained similarity measure neural network corresponding to the stationary state and the moving state on the mobile phone 100.
  • the similarity measurement neural network can be packaged into an apk format and installed in the operating system of mobile phone 100.
  • mobile phone 100 runs GNSS spoofing detection, it can be The collected GNSS signals are input to a similarity measure neural network deployed within the mobile phone 100 .
  • the GNSS signal here may be the GNSS signal used in the currently used positioning service process. It can be understood that the solution here can mean analyzing and calculating the GNSS signal used by the currently used positioning service.
  • S802 Track and record the fading data of GNSS signal reception strength over time.
  • the fading data here may be a data sequence that tracks the satellite signal according to the navigation satellite number corresponding to the satellite signal and obtains the signal power of the satellite signal within a preset time period.
  • S803 Determine whether the data collection time is greater than the preset time period.
  • the preset time period here can be set to, for example, 10 seconds. If the data collection time does not reach the preset time period, continue to execute step S802; if the data collection time reaches the preset time period, execute S804. , preprocess the collected satellite signals.
  • Step S804 here is similar to step S406 in FIG. 4 .
  • the mobile phone 100 can perform preprocessing such as low-pass filtering on multiple satellite signals to remove high-frequency noise in the satellite signals.
  • correlation measurement is performed on multiple preprocessed satellite signals, correlation coefficients between the multiple satellite signals are obtained, and the average correlation coefficient of the multiple correlation coefficients is obtained.
  • the method of measuring the correlation of satellite signals may be to calculate the correlation coefficient of the navigation satellite signal.
  • the correlation coefficient may include: Pearson correlation coefficient, Spearman correlation coefficient, Kendall correlation coefficient, etc.
  • S806 Determine whether the correlation coefficient is greater than the preset threshold.
  • the correlation coefficient if the correlation coefficient is lower than the preset threshold, it means that the collected satellite signal is a real signal; if the correlation coefficient is higher than the preset threshold, it is determined that the collected GNSS signal is a spoofing signal.
  • references in the specification to "one embodiment,” “an embodiment,” “an illustrative embodiment,” etc., mean that the described embodiment may include a particular feature, structure, or property, but that each embodiment may or need not include certain features, structures, or properties. characteristics, structure or properties. Furthermore, these phrases are not necessarily referring to the same embodiment. Furthermore, when particular features are described in connection with specific embodiments, the knowledge of those skilled in the art can influence the combination of these features with other embodiments, whether or not these embodiments are explicitly described.
  • phrases “includes,””has,” and “includes” are synonyms unless the context dictates otherwise.
  • Phrase “A/B” means “A or B”.
  • the phrase “A and/or B” means "(A), (B) or (A and B)”.
  • module may refer to, be a part of, or include: memory (shared, dedicated, or group) for running one or more software or firmware programs, an Application Specific Integrated Circuit (ASIC), Electronic circuits and/or processors (shared, dedicated, or group), combinational logic circuits, and/or other suitable components that provide the functionality described.
  • ASIC Application Specific Integrated Circuit

Landscapes

  • Engineering & Computer Science (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Position Fixing By Use Of Radio Waves (AREA)

Abstract

The present application relates to the technical fields of signal processing and interference prevention; and particularly relates to an electronic device and a positioning method therefor, and a medium. The positioning method comprises: in response to an electronic device starting a positioning service, acquiring a signal power change sequence of a plurality of satellite signals within a preset time period; on the basis of the signal power change sequence of the plurality of satellite signals, determining whether a fading feature between the plurality of satellite signals within the preset time period meets a positioning requirement; corresponding to fading features between the plurality of satellite signals within a plurality of preset time periods meeting the positioning requirement, acquiring a positioning result, which is generated on the basis of the plurality of satellite signals; and if the positioning requirement is not met, disabling a satellite positioning service and calling another positioning service, and giving an alarm prompt. By means of the positioning method provided in the present application, an electronic device can identify a spoofing attack of a satellite signal according to significantly different fading features that are present between satellite signals, which are acquired by means of different propagation channels corresponding to different navigation satellites, thereby solving the security problem in satellite navigation technology.

Description

电子设备及其定位方法和介质Electronic equipment and positioning methods and media thereof
本申请要求于2022年04月14日提交中国专利局、申请号为202210394155.2、申请名称为“电子设备及其定位方法和介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims priority to the Chinese patent application filed with the China Patent Office on April 14, 2022, with the application number 202210394155.2 and the application name "Electronic Equipment and Positioning Methods and Media Therefor", the entire content of which is incorporated into this application by reference. middle.
技术领域Technical field
本申请涉及信号处理及抗干扰技术领域,尤其涉及一种电子设备及其定位方法和介质。The present application relates to the technical fields of signal processing and anti-interference, and in particular to an electronic device and its positioning method and medium.
背景技术Background technique
全球卫星导航系统(Global Navigation Satellite Systems,GNSS)泛指所有的卫星导航系统,包括:美国的全球定位系统(Global Positioning System,GPS)、俄罗斯的全球卫星导航系统(Global Navigation Satellite System,Glonass)、欧洲的伽利略卫星导航系统(Galileo satellite navigation system,Galileo)、中国的北斗卫星导航系统等。GNSS可以提供定位、速度和时间服务(Position,Velocity and Time,PVT),广泛应用于车载或个人导航、飞机导航及着陆系统、输电网络、数字通信网络、精细农业、地质勘探等领域。Global Navigation Satellite Systems (GNSS) generally refers to all satellite navigation systems, including: the United States’ Global Positioning System (GPS), Russia’s Global Navigation Satellite System (Glonass), Europe's Galileo satellite navigation system (Galileo satellite navigation system, Galileo), China's Beidou satellite navigation system, etc. GNSS can provide positioning, velocity and time services (Position, Velocity and Time, PVT) and is widely used in vehicle or personal navigation, aircraft navigation and landing systems, power transmission networks, digital communication networks, precision agriculture, geological exploration and other fields.
由于到达地面的卫星信号很微弱,并且民用领域的卫星导航系统的认证信息、信号格式等公开易获取,因此,恶意的位置欺骗逐渐成为卫星导航系统面临的重要威胁。例如,欺骗设备可以通过转发经过处理的或者自主产生的与真实卫星信号相似的欺骗信号,阻断电子设备从卫星导航系统获取真实卫星信号,使电子设备接受欺骗信号,从而导致电子设备根据欺骗信号得到错误的PVT结果。这里的欺骗信号可以是欺骗设备生成的与真实卫星信号的认证信息、信号格式等相同但携带不同的PVT数据的信号。因此,需要一种欺骗信号的检测技术,保证电子设备能够排除欺骗信号,能够从卫星导航系统接收到真实卫星信号。Since the satellite signals reaching the ground are very weak, and the certification information and signal formats of civilian satellite navigation systems are public and easy to obtain, malicious location spoofing has gradually become an important threat to satellite navigation systems. For example, the spoofing device can block the electronic device from obtaining the real satellite signal from the satellite navigation system by forwarding a processed or autonomously generated spoofing signal that is similar to the real satellite signal, causing the electronic device to accept the spoofing signal, causing the electronic device to act according to the spoofing signal. Getting wrong PVT results. The spoofing signal here may be a signal generated by a spoofing device that has the same authentication information and signal format as the real satellite signal but carries different PVT data. Therefore, a spoofing signal detection technology is needed to ensure that electronic devices can eliminate spoofing signals and receive real satellite signals from satellite navigation systems.
发明内容Contents of the invention
本申请实施例提供一种电子设备及其定位方法和介质。Embodiments of the present application provide an electronic device and its positioning method and medium.
本申请的第一方面提供了一种定位方法,应用于电子设备,其特征在于,方法包括:The first aspect of this application provides a positioning method applied to electronic equipment, characterized in that the method includes:
响应于电子设备启动定位服务,获取预设时间段内多个卫星信号的信号功率变化序列;In response to the electronic device initiating the positioning service, obtain a signal power change sequence of multiple satellite signals within a preset time period;
基于多个卫星信号的信号功率变化序列,确定预设时间段内多个卫星信号的信号之间的衰落特征是否满足定位要求;Based on the signal power change sequence of multiple satellite signals, determine whether the fading characteristics between the signals of multiple satellite signals within the preset time period meet the positioning requirements;
对应于多个预设时间段内多个卫星信号的衰落特征满足定位要求,获取基于多个卫星信号生成的定位结果。Corresponding to the fading characteristics of multiple satellite signals in multiple preset time periods, the positioning requirements are met, and the positioning results generated based on the multiple satellite signals are obtained.
即在本申请的实施例中,这里的电子设备可以是手机,平板电脑等具有定位功能的终端设备。这里的定位服务可以是通过GPS实现定位的导航应用。这里的预设时间段可以是电子设备开启定位服务后持续获取卫星信号的时间段,这里的定位结果可以是定位服务对应的定 位结果,例如,导航服务对应的导航路线。电子设备可以采集预设时间段内的随时间变化的卫星信号,计算出各卫星信号功率序列的相关性系数,这里的相关性系数可以用于表示各卫星信号对应的衰落特征之间的相似性,将相关性系数与预设阈值进行比较,若各卫星信号对应的衰落特征之间的相关性系数小于预设阈值,则表示相关性系数较小,说明各卫星信号对应的衰落特征之间的相似性较低,可以确定卫星信号为真实信号;若各卫星信号对应的衰落特征之间的相关性系数大于预设阈值,则表示相关性系数较大,说明各组卫星信号对应的衰落特征之间的相似性较高,可以确定各卫星信号为欺骗信号。That is, in the embodiment of the present application, the electronic device here may be a terminal device with positioning function such as a mobile phone or a tablet computer. The positioning service here can be a navigation application that implements positioning through GPS. The preset time period here can be the time period during which the electronic device continues to obtain satellite signals after turning on the positioning service. The positioning result here can be the time period corresponding to the positioning service. bit results, for example, the navigation route corresponding to the navigation service. Electronic equipment can collect time-varying satellite signals within a preset time period and calculate the correlation coefficient of the power sequence of each satellite signal. The correlation coefficient here can be used to represent the similarity between the fading characteristics corresponding to each satellite signal. , compare the correlation coefficient with the preset threshold. If the correlation coefficient between the fading characteristics corresponding to each satellite signal is less than the preset threshold, it means that the correlation coefficient is small, indicating that the correlation between the fading characteristics corresponding to each satellite signal is If the similarity is low, the satellite signal can be determined to be a real signal; if the correlation coefficient between the fading characteristics corresponding to each satellite signal is greater than the preset threshold, it means that the correlation coefficient is large, indicating that the fading characteristics corresponding to each group of satellite signals are The similarity between them is high, and each satellite signal can be determined to be a spoofing signal.
通过本申请提供的定位方法,电子设备可以根据卫星导航系统中不同导航卫星的对应不同的传播信道获取的卫星信号存在显著差异的衰落特征来识别卫星信号欺骗攻击,有效解决了卫星导航技术中的安全问题,为基于定位的服务打造安全根基。Through the positioning method provided by this application, electronic devices can identify satellite signal spoofing attacks based on the significantly different fading characteristics of satellite signals acquired by different navigation satellites corresponding to different propagation channels in the satellite navigation system, effectively solving the problems in satellite navigation technology. Security issues to create a secure foundation for location-based services.
在上述第一方面的一种可能的实现中,获取预设时间段内多个卫星信号的信号功率变化序列,包括:In a possible implementation of the first aspect above, obtaining the signal power change sequence of multiple satellite signals within a preset time period includes:
识别预设时间段内定位服务使用的多个卫星信号对应的导航卫星编号;Identify the navigation satellite numbers corresponding to multiple satellite signals used by positioning services within a preset time period;
根据使用导航卫星编号在预设时间段内跟踪对多个卫星信号的信号功率获取信号的信号功率变化序列。A sequence of signal power changes of the signal is obtained based on tracking the signal power of multiple satellite signals within a preset time period using navigation satellite numbers.
在上述第一方面的一种可能的实现中,定位要求包括:In a possible implementation of the first aspect above, positioning requirements include:
预设时间段内各卫星信号的信号功率的衰落特征之间的相关性系数的均值低于预设阈值,其中,相关性系数用于表示多个卫星信号的信号功率变化序列中两个卫星信号的信号功率变化序列之间的衰落特征的相似性。The average value of the correlation coefficient between the fading characteristics of the signal power of each satellite signal within the preset time period is lower than the preset threshold, where the correlation coefficient is used to represent two satellite signals in the signal power change sequence of multiple satellite signals. The similarity of fading characteristics between signal power change sequences.
在上述第一方面的一种可能的实现中,预设阈值与电子设备的运动状态相关,其中,运动状态用于表示电子设备处于静止状态或者运动状态中的至少一种。In a possible implementation of the above first aspect, the preset threshold is related to a motion state of the electronic device, where the motion state is used to indicate that the electronic device is in at least one of a stationary state or a moving state.
即在本申请的实施例中,电子设备的定位服务可以获取至少四个不同的卫星信号,卫星信号可以是来自至少四个不同的导航卫星。这里的预设阈值可以是与电子设备是处于静止状态还是运动状态相关的,并对静止状态和移动状态设置不同的预设阈值。电子设备能够根据电子设备的当前状态将获取的卫星信号功率相关性系数与不同的预设阈值进行比较,更加精确地判断卫星信号是真实信号或者欺骗信号。That is, in the embodiment of the present application, the positioning service of the electronic device can obtain at least four different satellite signals, and the satellite signals can come from at least four different navigation satellites. The preset threshold here may be related to whether the electronic device is in a stationary state or a moving state, and different preset thresholds are set for the stationary state and the moving state. The electronic device can compare the acquired satellite signal power correlation coefficient with different preset thresholds based on the current status of the electronic device to more accurately determine whether the satellite signal is a real signal or a spoofed signal.
在上述第一方面的一种可能的实现中,通过皮尔逊相关系数、斯皮尔曼相关系数、和肯达尔相关系数和相似性度量神经网络模型中的至少一种获取所述相关性系数。In a possible implementation of the above first aspect, the correlation coefficient is obtained through at least one of Pearson correlation coefficient, Spearman correlation coefficient, Kendall correlation coefficient and similarity measure neural network model.
即在本申请的实施例中,电子设备可以使用相关性来度量卫星信号的信号功率对应的变化序列的衰落特征(也就是信号功率变化序列),具体的相关性度量的方法包括:通过相关性系数以及相似性度量神经网络。That is, in the embodiment of the present application, the electronic device can use correlation to measure the fading characteristics of the change sequence corresponding to the signal power of the satellite signal (that is, the signal power change sequence). The specific correlation measurement method includes: through correlation Coefficients and similarity measure neural networks.
在上述第一方面的一种可能的实现中,通过以下方式确定电子设备的运动状态:In a possible implementation of the first aspect above, the motion state of the electronic device is determined in the following manner:
通过电子设备的陀螺仪传感器、加速度传感器确定电子设备的速度;Determine the speed of the electronic device through its gyroscope sensor and acceleration sensor;
根据电子设备的速度与速度阈值的比较结果,确定电子设备的运动状态。According to the comparison result of the speed of the electronic device and the speed threshold, the motion state of the electronic device is determined.
在上述第一方面的一种可能的实现中,还包括:In a possible implementation of the first aspect above, it also includes:
对应于多个预设时间段内多个卫星信号的衰落特征不满足定位要求,提示用户定位服务异常。The fading characteristics corresponding to multiple satellite signals within multiple preset time periods do not meet the positioning requirements, prompting the user that the positioning service is abnormal.
在上述第一方面的一种可能的实现中,提示用户定位服务异常的方式包括下列中的至少 一种:In a possible implementation of the above first aspect, the method for prompting the user to locate the service abnormality includes at least one of the following: A sort of:
电子设备提示关闭定位服务;Electronic devices prompt to turn off location services;
电子设备提示定位服务接受的卫星信号错误;The electronic device prompts that the satellite signal received by the positioning service is incorrect;
电子设备提示将重新开启定位服务。The electronic device prompts that location services will be re-enabled.
本申请的第二方面提供了一种电子设备,其特征在于,包括:The second aspect of the present application provides an electronic device, which is characterized in that it includes:
处理器,用于执行前述第一方面提供的定位方法;以及A processor, configured to execute the positioning method provided in the first aspect; and
存储器,可以与处理器耦合或者解耦用于存储由处理器执行的指令。Memory, which may be coupled or decoupled from the processor, stores instructions for execution by the processor.
本申请的第三方面提供了一种计算机可读存储介质,其特征在于,计算机可读存储介质中包含有指令,当指令被电子设备的处理器执行时使电子设备实现前述第一方面提供的定位方法。A third aspect of the present application provides a computer-readable storage medium, which is characterized in that the computer-readable storage medium contains instructions, and when the instructions are executed by the processor of the electronic device, the electronic device enables the electronic device to implement the aforementioned method provided in the first aspect. Positioning method.
本申请的第四方面提供了一种计算机程序产品,其特征在于,包括:计算机可读存储介质,计算机可读存储介质包含用于执行前述第一方面提供的定位方法的计算机程序代码。A fourth aspect of the present application provides a computer program product, which is characterized in that it includes: a computer-readable storage medium, and the computer-readable storage medium contains computer program code for executing the positioning method provided in the first aspect.
附图说明Description of the drawings
图1根据本申请的实施例示出了一种电子设备接收卫星信号(GNSS信号)的场景示意图;Figure 1 shows a schematic diagram of a scenario in which an electronic device receives a satellite signal (GNSS signal) according to an embodiment of the present application;
图2根据本申请的实施例示出了一种电子设备接收卫星信号(GNSS信号)的衰落曲线的示意图;Figure 2 shows a schematic diagram of a fading curve of an electronic device receiving a satellite signal (GNSS signal) according to an embodiment of the present application;
图3根据本申请的实施例示出了一种电子设备的硬件结构示意图;Figure 3 shows a schematic diagram of the hardware structure of an electronic device according to an embodiment of the present application;
图4根据本申请的实施例示出了一种定位方法的流程示意图;Figure 4 shows a schematic flow chart of a positioning method according to an embodiment of the present application;
图5根据本申请的实施例示出了一种定位方法的示意图;Figure 5 shows a schematic diagram of a positioning method according to an embodiment of the present application;
图6根据本申请的实施例示出了一种定位方法的流程示意图;Figure 6 shows a schematic flow chart of a positioning method according to an embodiment of the present application;
图7根据本申请的实施例示出了一种定位方法的流程示意图;Figure 7 shows a schematic flow chart of a positioning method according to an embodiment of the present application;
图8根据本申请的实施例示出了一种定位方法的流程示意图。Figure 8 shows a schematic flowchart of a positioning method according to an embodiment of the present application.
具体实施方式Detailed ways
为使本申请的目的、技术方案和优点更加清楚,下面将结合附图对本申请的实施方式作进一步地详细描述。In order to make the purpose, technical solutions and advantages of the present application clearer, the embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
图1根据本申请的一些实施例示出了一种电子设备100从卫星导航系统200接受GNSS信号(也就是,卫星信号)以及从欺骗设备300接受欺骗信号的场景示意图。这里的欺骗设备300可以是产生与卫星导航系统200的GNSS信号相似的欺骗信号的电子设备。如图1所示,电子设备100正在运行PVT服务(例如,定位服务),PVT服务从卫星导航系统200接受真实的GNSS信号。这时,欺骗设备300可以产生与卫星导航系统200发送的真实的GNSS信号的认证信息、信号格式等相同但信号功率较大并且携带不同的PVT数据的欺骗信号实现对电子设备100的PVT服务的控制,完成对电子设备100欺骗攻击。欺骗设备300实施欺骗干扰的具体过程包括:欺骗设备300接受到真实的GNSS信号后,进而发送与真实的GNSS信号频率相似的高功率的欺骗信号,使正在跟踪处理真实的GNSS信号的电子设备100的跟踪环路失锁,也就是电子设备100处于不接收卫星导航系统200的GNSS信号的状态,然后 在电子设备100进入失锁重捕阶段时,由于欺骗信号与真实的GNSS信号相似且欺骗信号的功率高于真实的GNSS信号,因此电子设备100有可能会将功率高的欺骗信号误判为真实的GNSS信号,使电子设备100获取并持续接收欺骗信号。FIG. 1 shows a schematic diagram of a scenario in which an electronic device 100 receives a GNSS signal (that is, a satellite signal) from a satellite navigation system 200 and receives a spoofing signal from a spoofing device 300 according to some embodiments of the present application. The spoofing device 300 here may be an electronic device that generates a spoofing signal similar to the GNSS signal of the satellite navigation system 200 . As shown in FIG. 1 , the electronic device 100 is running a PVT service (eg, positioning service), and the PVT service receives real GNSS signals from the satellite navigation system 200 . At this time, the spoofing device 300 can generate a spoofing signal that has the same authentication information, signal format, etc. as the real GNSS signal sent by the satellite navigation system 200 but has a larger signal power and carries different PVT data to implement PVT services for the electronic device 100 Control and complete the spoofing attack on the electronic device 100. The specific process of the spoofing device 300 implementing spoofing interference includes: after receiving the real GNSS signal, the spoofing device 300 then sends a high-power spoofing signal with a frequency similar to the real GNSS signal, so that the electronic device 100 that is tracking and processing the real GNSS signal The tracking loop loses lock, that is, the electronic device 100 is in a state of not receiving the GNSS signal of the satellite navigation system 200, and then When the electronic device 100 enters the loss-of-lock and reacquisition phase, since the spoofing signal is similar to the real GNSS signal and the power of the spoofing signal is higher than the real GNSS signal, the electronic device 100 may misjudge the high-power spoofing signal as the real one. The GNSS signal enables the electronic device 100 to obtain and continue to receive the spoofed signal.
继续参考图1,可以看出,在电子设备100从卫星导航系统200接受真实的GNSS信号使用PVT服务的过程中,GNSS信号在传播过程中会受到大气层的影响,造成GNSS信号的电磁波幅度随时间产生快速不规则变化,也就是电磁波的快速衰落现象,这里的GNSS信号的电磁波幅度可以用GNSS信号功率的载噪比Carrier Noise Ratio,CNR)来表示。例如:在地球上空距地面50-100公里(kilometer,km)之间的电离层中,气体分子受到各种射线辐射电离,形成大量的等离子体,电离层可以对GNSS信号产生电离层闪烁,导致GNSS信号的电磁波幅度发生短周期的不规则变化。同时,GNSS信号在传播过程中还会受到环境温度、空气温度,气压等影响,使得GNSS信号产生折射,也会发生电磁波幅度的快速衰落。由于真实的GNSS信号的传播路径为不同的导航卫星到电子设备,传播过程中受到不同大气效应的影响,因此不同的GNSS信号功率(载噪比)存在不同的衰落特征;而对于GNSS欺骗信号,GNSS欺骗信号的传播路径为欺骗设备至电子设备,GNSS欺骗信号不会受到大气层的影响,信号传播路径相同,因此,欺骗设备300发送的各GNSS欺骗信号之间的衰落特征相似。Continuing to refer to Figure 1, it can be seen that when the electronic device 100 receives real GNSS signals from the satellite navigation system 200 and uses PVT services, the GNSS signals will be affected by the atmosphere during propagation, causing the electromagnetic wave amplitude of the GNSS signals to change over time. Rapid irregular changes occur, that is, the rapid fading of electromagnetic waves. The electromagnetic wave amplitude of the GNSS signal here can be represented by the Carrier Noise Ratio (CNR) of the GNSS signal power. For example: in the ionosphere above the earth between 50 and 100 kilometers (kilometer, km) from the ground, gas molecules are ionized by various rays, forming a large amount of plasma. The ionosphere can produce ionospheric scintillation on GNSS signals, causing The electromagnetic wave amplitude of the GNSS signal undergoes short-period irregular changes. At the same time, the GNSS signal will also be affected by ambient temperature, air temperature, air pressure, etc. during the propagation process, causing the GNSS signal to refract and rapid fading of the electromagnetic wave amplitude. Since the propagation paths of real GNSS signals are from different navigation satellites to electronic equipment, they are affected by different atmospheric effects during the propagation process. Therefore, different GNSS signal powers (carrier-to-noise ratios) have different fading characteristics; as for GNSS spoofing signals, The propagation path of the GNSS spoofing signal is from the spoofing device to the electronic device. The GNSS spoofing signal will not be affected by the atmosphere, and the signal propagation path is the same. Therefore, the fading characteristics of each GNSS spoofing signal sent by the spoofing device 300 are similar.
为了解决电子设备接收到欺骗设备发送的GNSS欺骗信号,导致电子设备产生错误的PVT结果,本申请实施例提供了一种定位方法,电子设备可以通过验证接收到的各GNSS信号的衰落特征,计算各GNSS信号之间的衰落特征的相似性,确定电子设备接收的GNSS信号是真实的GNSS信号还是GNSS欺骗信号,进而识别出GNSS欺骗攻击行为。In order to solve the problem that the electronic device receives the GNSS spoofing signal sent by the spoofing device, causing the electronic device to generate erroneous PVT results, embodiments of the present application provide a positioning method. The electronic device can calculate the fading characteristics of each received GNSS signal by verifying the fading characteristics. The similarity of the fading characteristics between various GNSS signals determines whether the GNSS signal received by the electronic device is a real GNSS signal or a GNSS spoofing signal, and then identifies GNSS spoofing attack behavior.
具体地,在本申请实施例提供的定位方法中,在电子设备100通过接收GNSS信号使用PVT服务的过程中;电子设备100首先识别当前PVT解算所采用的GNSS信号携带的导航卫星编号,即伪随机噪声(Pseudo Random Noise,PRN)的编号,即导航卫星PRN码,可以理解,这里的导航卫星PRN码是公开的。欺骗设备可以根据想要达成的PVT欺骗结果,并结合对应的星历数据(导航卫星所在位置),生成并发送与真实的GNSS信号相似的欺骗信号。Specifically, in the positioning method provided by the embodiment of the present application, when the electronic device 100 uses the PVT service by receiving GNSS signals; the electronic device 100 first identifies the navigation satellite number carried by the GNSS signal used in the current PVT solution, that is, The number of Pseudo Random Noise (PRN) is the navigation satellite PRN code. It can be understood that the navigation satellite PRN code here is public. The spoofing device can generate and send a spoofing signal similar to the real GNSS signal based on the desired PVT spoofing result and combined with the corresponding ephemeris data (the location of the navigation satellite).
电子设备100获取当前PVT服务采用卫星的编号(PRN码),依据PRN码在预设时间段内跟踪GNSS信号(卫星信号)的功率变化,进而获得GNSS信号对应的信号功率(即,载噪比)的数据序列(这里的信号功率的数据序列也可以称为信号功率变化序列)。以电子设备100使用定位服务为例,电子设备100需要获取至少四个不同的GNSS信号,如果GNSS信号为真实信号,则至少四个不同的GNSS信号可以是来自至少四个不同的导航卫星,如果GNSS信号为欺骗信号,则至少四个不同的GNSS信号可以是来自同一个或者多个欺骗设备的欺骗信号;电子设备100可以通过导航卫星编号(PRN码)跟踪每一个GNSS信号获得至少四组GNSS信号功率的数据序列。也就是,电子设备100可以采集预设时间段内的随时间变化的至少四组GNSS信号功率的数据序列,计算出各组GNSS信号功率之间的相关性系数,这里的相关性系数可以用于表示各组GNSS信号对应的衰落特征之间的相似性,将相关性系数与预设阈值进行比较,若各组GNSS信号对应的衰落特征之间的相关性系数小于预设阈值,则表示相关性系数较小,说明各GNSS信号对应的衰落特征之间的相似性较低,可以确定GNSS信号为真实信号;若各组GNSS信号对应的衰落特征之间的相关性系数大于预设阈值,则表示相关性系数较大,说明各组GNSS信号对应的衰落特征之间的相似性较高,可以确定GNSS 信号为欺骗信号。The electronic device 100 obtains the number (PRN code) of the satellite currently used in the PVT service, tracks the power change of the GNSS signal (satellite signal) within a preset time period according to the PRN code, and then obtains the signal power corresponding to the GNSS signal (i.e., carrier-to-noise ratio). ) data sequence (the signal power data sequence here can also be called the signal power change sequence). Taking the electronic device 100 using positioning services as an example, the electronic device 100 needs to obtain at least four different GNSS signals. If the GNSS signals are real signals, the at least four different GNSS signals can come from at least four different navigation satellites. If If the GNSS signal is a spoofing signal, then at least four different GNSS signals can be spoofing signals from the same or multiple spoofing devices; the electronic device 100 can track each GNSS signal through the navigation satellite number (PRN code) to obtain at least four sets of GNSS Data sequence of signal power. That is, the electronic device 100 can collect data sequences of at least four groups of GNSS signal powers that change with time within a preset time period, and calculate the correlation coefficient between the power of each group of GNSS signals. The correlation coefficient here can be used to Indicates the similarity between the fading characteristics corresponding to each group of GNSS signals. Compare the correlation coefficient with the preset threshold. If the correlation coefficient between the fading characteristics corresponding to each group of GNSS signals is less than the preset threshold, it indicates correlation. A small coefficient indicates that the similarity between the fading characteristics corresponding to each GNSS signal is low, and the GNSS signal can be determined to be a real signal; if the correlation coefficient between the fading characteristics corresponding to each group of GNSS signals is greater than the preset threshold, it means The larger the correlation coefficient, the higher the similarity between the fading characteristics corresponding to each group of GNSS signals, and the GNSS can be determined. The signal is a deceptive signal.
在本申请实施例中,为了实现更精准的检测,在电子设备100采集GNSS信号的期间,电子设备100还可以采集电子设备100的惯导数据,也就是电子设备100的速度和加速度数据,识别电子设备100采集GNSS信号期间,电子设备100是处于静止状态还是运动状态,并对静止状态和移动状态设置不同的预设阈值,使得电子设备100能够根据电子设备100的当前状态将获取的GNSS信号功率相关性系数与不同的预设阈值进行比较,更加精确地判断GNSS信号是真实信号或者欺骗信号。通过本申请实施例的定位方法,电子设备100可以根据卫星导航系统200中不同导航卫星的对应不同的传播信道获取的GNSS信号存在显著差异的特征来识别GNSS信号欺骗攻击,有效解决了卫星导航技术中的安全问题,为基于定位的服务(Location Based Service,LBS)打造安全根基。In the embodiment of the present application, in order to achieve more accurate detection, during the period when the electronic device 100 collects GNSS signals, the electronic device 100 can also collect the inertial navigation data of the electronic device 100, that is, the speed and acceleration data of the electronic device 100, and identify During the collection of GNSS signals by the electronic device 100, whether the electronic device 100 is in a stationary state or a moving state, and different preset thresholds are set for the stationary state and the moving state, so that the electronic device 100 can obtain the GNSS signals according to the current state of the electronic device 100. The power correlation coefficient is compared with different preset thresholds to more accurately determine whether the GNSS signal is a real signal or a spoofed signal. Through the positioning method of the embodiment of the present application, the electronic device 100 can identify GNSS signal spoofing attacks based on the significant differences in the GNSS signals obtained by different navigation satellites corresponding to different propagation channels in the satellite navigation system 200 , effectively solving the problem of satellite navigation technology. security issues, and create a security foundation for location-based services (Location Based Service, LBS).
图2根据本申请的一些实施例示出了一种电子设备100采集到的真实的GNSS信号和GNSS欺骗信号(伪信号)随时间变化的GNSS信号功率(载噪比)的数据序列的衰落曲线的示意图,图2中的数据序列包括:在电子设备100处于静止场景和行走场景(运动场景)下,电子设备100分别采集的真实的GNSS信号和GNSS欺骗信号的GNSS信号功率随时间变化的数据序列。从图2中的各组GNSS信号数据序列的变化趋势可以看出:对于伪信号(GNSS欺骗信号)来说,各GNSS信号功率(载噪比)的数据序列随时间变化的趋势高度一致;对于真实信号(真实的GNSS信号)来说,各GNSS信号功率(载噪比)的数据序列随时间变化的趋势一致性较低。此外,由于静止场景缺少因移动造成的距离变化所引起的GNSS信号功率(载噪比)变化分量,静止场景相对移动场景一致性差一点,也就是,GNSS信号功率(载噪比)之间的相似性会略差。FIG. 2 shows the fading curve of a data sequence of GNSS signal power (carrier-to-noise ratio) that changes with time for real GNSS signals and GNSS spoofing signals (pseudo signals) collected by an electronic device 100 according to some embodiments of the present application. Schematic diagram. The data sequence in Figure 2 includes: when the electronic device 100 is in a stationary scene and a walking scene (moving scene), the electronic device 100 collects the data sequence of the real GNSS signal and the GNSS spoofing signal as the GNSS signal power changes over time. . It can be seen from the changing trend of each group of GNSS signal data sequences in Figure 2: for false signals (GNSS spoofing signals), the data series of each GNSS signal power (carrier-to-noise ratio) have a highly consistent trend over time; for For real signals (real GNSS signals), the trend consistency of the data sequence of each GNSS signal power (carrier-to-noise ratio) over time is low. In addition, since the stationary scene lacks the component of the change in GNSS signal power (carrier-to-noise ratio) caused by the distance change caused by movement, the stationary scene is less consistent than the moving scene, that is, the GNSS signal power (carrier-to-noise ratio) is similar. Sex will be slightly worse.
可以理解,本申请的实施例中的电子设备可以是一种能够运行导航应用实现PVT服务的终端设备,例如,终端设备可以包括:车载设备、手机、平板电脑、笔记本电脑、掌上电脑、移动互联网设备(mobile internet device,MID)、可穿戴设备(例如包括:智能手表、智能手环、计步器等)、个人数字助理、便携式媒体播放器、导航设备、视频游戏设备、机顶盒、虚拟现实和/或增强现实设备、物联网设备、工业控制设备、流媒体客户端设备、电子书阅读设备以及其他设备。It can be understood that the electronic device in the embodiment of the present application may be a terminal device capable of running a navigation application to implement PVT services. For example, the terminal device may include: a vehicle-mounted device, a mobile phone, a tablet computer, a notebook computer, a handheld computer, and a mobile Internet Devices (mobile internet device, MID), wearable devices (for example: smart watches, smart bracelets, pedometers, etc.), personal digital assistants, portable media players, navigation devices, video game devices, set-top boxes, virtual reality and /or augmented reality devices, Internet of Things devices, industrial control devices, streaming media client devices, e-book reading devices, and other devices.
图3示出了根据本申请的实施例的电子设备100的结构示意图,电子设备100可以包括处理器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,显示屏194,以及用户标识模块(subscriber identification module,SIM)卡接口195等。其中传感器模块180可以包括压力传感器180A,陀螺仪传感器180B,气压传感器180C,磁传感器180D,加速度传感器180E,距离传感器180F,接近光传感器180G,指纹传感器180H,温度传感器180J,触摸传感器180K,环境光传感器180L,骨传导传感器180M等。Figure 3 shows a schematic structural diagram of an electronic device 100 according to an embodiment of the present application. The electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, and a universal serial bus (universal serial bus, USB) interface 130. , charging management module 140, power management module 141, battery 142, antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, audio module 170, speaker 170A, receiver 170B, microphone 170C, headphone interface 170D, sensor module 180 , button 190, motor 191, indicator 192, camera 193, display screen 194, and subscriber identification module (subscriber identification module, SIM) card interface 195, etc. The sensor module 180 may include a pressure sensor 180A, a gyro sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, and ambient light. Sensor 180L, bone conduction sensor 180M, etc.
可以理解的是,本发明实施例示意的结构并不构成对电子设备100的具体限定。在本申请另一些实施例中,电子设备100可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。图示的部件可以以硬件,软件或软件和硬件的组 合实现。It can be understood that the structure illustrated in the embodiment of the present invention does not constitute a specific limitation on the electronic device 100 . In other embodiments of the present application, the electronic device 100 may include more or fewer components than shown in the figures, or some components may be combined, some components may be separated, or some components may be arranged differently. The components illustrated may be presented as hardware, software, or a combination of software and hardware. realized together.
处理器110可以包括一个或多个处理单元,例如:处理器110可以包括应用处理器(AP),调制解调处理器,图形处理器(graphics processing unit,GPU),图像信号处理器(image signal processor,ISP),控制器,视频编解码器,数字信号处理器(digital signal processor,DSP),基带处理器(BP),和/或神经网络处理器(neural-network processing unit,NPU)等。其中,不同的处理单元可以是独立的器件,也可以集成在一个或多个处理器中。The processor 110 may include one or more processing units. For example, the processor 110 may include an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (image signal). processor, ISP), controller, video codec, digital signal processor (digital signal processor, DSP), baseband processor (BP), and/or neural network processor (neural-network processing unit, NPU), etc. Among them, different processing units can be independent devices or integrated in one or more processors.
在本申请的实施例中,电子设备100可以通过处理器110确定电子设备100的接收的各GNSS信号对应的GNSS信号功率(载噪比)的数据序列,并计算各GNSS信号的GNSS信号功率(载噪比)之间的相关性系数,确定GNSS信号为真实信号还是欺骗信号。In the embodiment of the present application, the electronic device 100 can determine the data sequence of the GNSS signal power (carrier-to-noise ratio) corresponding to each GNSS signal received by the electronic device 100 through the processor 110, and calculate the GNSS signal power ( The correlation coefficient between the carrier-to-noise ratio) determines whether the GNSS signal is a real signal or a spoofed signal.
处理器110中还可以设置存储器,用于存储指令和数据。在一些实施例中,处理器110中的存储器为高速缓冲存储器。该存储器可以保存处理器110刚用过或循环使用的指令或数据。如果处理器110需要再次使用该指令或数据,可从所述存储器中直接调用。避免了重复存取,减少了处理器110的等待时间,因而提高了系统的效率。The processor 110 may also be provided with a memory for storing instructions and data. In some embodiments, the memory in processor 110 is cache memory. This memory may hold instructions or data that have been recently used or recycled by processor 110 . If the processor 110 needs to use the instructions or data again, it can be called directly from the memory. Repeated access is avoided and the waiting time of the processor 110 is reduced, thus improving the efficiency of the system.
充电管理模块140用于从充电器接收充电输入。其中,充电器可以是无线充电器,也可以是有线充电器。在一些有线充电的实施例中,充电管理模块140可以通过USB接口130接收有线充电器的充电输入。The charging management module 140 is used to receive charging input from the charger. Among them, the charger can be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 may receive charging input from the wired charger through the USB interface 130 .
电源管理模块141用于连接电池142,充电管理模块140与处理器110。电源管理模块141接收电池142和/或充电管理模块140的输入,为处理器110,内部存储器121,显示屏194,摄像头193,和无线通信模块160等供电。电源管理模块141还可以用于监测电池容量,电池循环次数,电池健康状态(漏电,阻抗)等参数。The power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and/or the charging management module 140, and supplies power to the processor 110, the internal memory 121, the display screen 194, the camera 193, the wireless communication module 160, and the like. The power management module 141 can also be used to monitor battery capacity, battery cycle times, battery health status (leakage, impedance) and other parameters.
电子设备100的无线通信功能可以通过天线1,天线2,移动通信模块150,无线通信模块160,调制解调处理器以及基带处理器等实现。The wireless communication function of the electronic device 100 can be implemented through the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor and the baseband processor.
天线1和天线2用于发射和接收电磁波信号。电子设备100中的每个天线可用于覆盖单个或多个通信频带。不同的天线还可以复用,以提高天线的利用率。例如:可以将天线1复用为无线局域网的分集天线。在另外一些实施例中,天线可以和调谐开关结合使用。Antenna 1 and Antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in electronic device 100 may be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization. For example: Antenna 1 can be reused as a diversity antenna for a wireless LAN. In other embodiments, antennas may be used in conjunction with tuning switches.
移动通信模块150可以提供应用在电子设备100上的包括2G/3G/4G/5G等无线通信的解决方案。The mobile communication module 150 can provide solutions for wireless communication including 2G/3G/4G/5G applied on the electronic device 100 .
无线通信模块160可以提供应用在电子设备100上的包括无线局域网(wireless local area networks,WLAN)(如无线保真(wireless fidelity,Wi-Fi)网络),蓝牙(bluetooth,BT),全球导航卫星系统(global navigation satellite system,6NSS),调频(frequency modulation,FM),近距离无线通信技术(near field communication,NFC),红外技术(infrared,IR)等无线通信的解决方案。The wireless communication module 160 can provide applications on the electronic device 100 including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) network), Bluetooth (bluetooth, BT), and global navigation satellites. System (global navigation satellite system, 6NSS), frequency modulation (frequency modulation, FM), near field communication technology (near field communication, NFC), infrared technology (infrared, IR) and other wireless communication solutions.
电子设备100通过GPU,显示屏194,以及应用处理器等实现显示功能。GPU为图像处理的微处理器,连接显示屏194和应用处理器。GPU用于执行数学和几何计算,用于图形渲染。处理器110可包括一个或多个GPU,其执行程序指令以生成或改变显示信息。The electronic device 100 implements display functions through a GPU, a display screen 194, an application processor, and the like. The GPU is an image processing microprocessor and is connected to the display screen 194 and the application processor. GPUs are used to perform mathematical and geometric calculations for graphics rendering. Processor 110 may include one or more GPUs that execute program instructions to generate or alter display information.
显示屏194用于显示图像,视频等。显示屏194包括显示面板。在一些实施例中,电子设备100可以包括1个或N个显示屏194,N为大于1的正整数。 The display screen 194 is used to display images, videos, etc. Display 194 includes a display panel. In some embodiments, the electronic device 100 may include 1 or N display screens 194, where N is a positive integer greater than 1.
电子设备100可以通过ISP,摄像头193,视频编解码器,GPU,显示屏194以及应用处理器等实现拍摄功能。The electronic device 100 can implement the shooting function through an ISP, a camera 193, a video codec, a GPU, a display screen 194, an application processor, and the like.
摄像头193用于捕获静态图像或视频。在一些实施例中,电子设备100可以包括1个或N个摄像头193,N为大于1的正整数。Camera 193 is used to capture still images or video. In some embodiments, the electronic device 100 may include 1 or N cameras 193, where N is a positive integer greater than 1.
外部存储器接口120可以用于连接外部存储卡,例如MicroSD卡,实现扩展电子设备100的存储能力。外部存储卡通过外部存储器接口120与处理器110通信,实现数据存储功能。The external memory interface 120 can be used to connect an external memory card, such as a MicroSD card, to expand the storage capacity of the electronic device 100 . The external memory card communicates with the processor 110 through the external memory interface 120 to implement the data storage function.
内部存储器121可以用于存储计算机可执行程序代码,所述可执行程序代码包括指令。内部存储器121可以包括存储程序区和存储数据区。处理器110通过运行存储在内部存储器121的指令,和/或存储在设置于处理器中的存储器的指令,执行电子设备100的各种功能应用以及数据处理。Internal memory 121 may be used to store computer executable program code, which includes instructions. The internal memory 121 may include a program storage area and a data storage area. The processor 110 executes various functional applications and data processing of the electronic device 100 by executing instructions stored in the internal memory 121 and/or instructions stored in a memory provided in the processor.
电子设备100可以通过音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,以及应用处理器等实现音频功能。例如音乐播放,录音等。The electronic device 100 can implement audio functions through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone interface 170D, and the application processor. Such as music playback, recording, etc.
音频模块170用于将数字音频信息转换成模拟音频信号输出,也用于将模拟音频输入转换为数字音频信号。音频模块170还可以用于对音频信号编码和解码。在一些实施例中,音频模块170可以设置于处理器110中,或将音频模块170的部分功能模块设置于处理器110中。The audio module 170 is used to convert digital audio information into analog audio signal output, and is also used to convert analog audio input into digital audio signals. Audio module 170 may also be used to encode and decode audio signals. In some embodiments, the audio module 170 may be provided in the processor 110 , or some functional modules of the audio module 170 may be provided in the processor 110 .
扬声器170A,也称“喇叭”,用于将音频电信号转换为声音信号。电子设备100可以通过扬声器170A收听音乐,或收听免提通话。Speaker 170A, also called "speaker", is used to convert audio electrical signals into sound signals. The electronic device 100 can listen to music through the speaker 170A, or listen to hands-free calls.
受话器170B,也称“听筒”,用于将音频电信号转换成声音信号。当电子设备100接听电话或语音信息时,可以通过将受话器170B靠近人耳接听语音。Receiver 170B, also called "earpiece", is used to convert audio electrical signals into sound signals. When the electronic device 100 answers a call or a voice message, the voice can be heard by bringing the receiver 170B close to the human ear.
麦克风170C,也称“话筒”,“传声器”,用于将声音信号转换为电信号。当拨打电话或发送语音信息时,用户可以通过人嘴靠近麦克风170C发声,将声音信号输入到麦克风170C。电子设备100可以设置至少一个麦克风170C。在另一些实施例中,电子设备100可以设置两个麦克风170C,除了采集声音信号,还可以实现降噪功能。在另一些实施例中,电子设备100还可以设置三个,四个或更多麦克风170C,实现采集声音信号,降噪,还可以识别声音来源,实现定向录音功能等。Microphone 170C, also called "microphone" or "microphone", is used to convert sound signals into electrical signals. When making a call or sending a voice message, the user can speak close to the microphone 170C with the human mouth and input the sound signal to the microphone 170C. The electronic device 100 may be provided with at least one microphone 170C. In other embodiments, the electronic device 100 may be provided with two microphones 170C, which in addition to collecting sound signals, may also implement a noise reduction function. In other embodiments, the electronic device 100 can also be provided with three, four or more microphones 170C to collect sound signals, reduce noise, identify sound sources, and implement directional recording functions, etc.
耳机接口170D用于连接有线耳机。耳机接口170D可以是USB接口130,也可以是3.5mm的开放移动电子设备平台(open mobile terminal platform,OMTP)标准接口,美国蜂窝电信工业协会(cellular telecommunications industry association of the USA,CTIA)标准接口。The headphone interface 170D is used to connect wired headphones. The headphone interface 170D may be a USB interface 130, or may be a 3.5mm open mobile terminal platform (OMTP) standard interface, or a Cellular Telecommunications Industry Association of the USA (CTIA) standard interface.
压力传感器180A用于感受压力信号,可以将压力信号转换成电信号。在一些实施例中,压力传感器180A可以设置于显示屏194。The pressure sensor 180A is used to sense pressure signals and can convert the pressure signals into electrical signals. In some embodiments, pressure sensor 180A may be disposed on display screen 194 .
陀螺仪传感器180B可以用于确定电子设备100的运动姿态。The gyro sensor 180B may be used to determine the motion posture of the electronic device 100 .
气压传感器180C用于测量气压。在一些实施例中,电子设备100通过气压传感器180C测得的气压值计算海拔高度,辅助定位和导航。Air pressure sensor 180C is used to measure air pressure. In some embodiments, the electronic device 100 calculates the altitude through the air pressure value measured by the air pressure sensor 180C to assist positioning and navigation.
磁传感器180D包括霍尔传感器。Magnetic sensor 180D includes a Hall sensor.
加速度传感器180E可检测电子设备100在各个方向上(一般为三轴)加速度的大小。 The acceleration sensor 180E can detect the acceleration of the electronic device 100 in various directions (generally three axes).
距离传感器180F,用于测量距离。Distance sensor 180F for measuring distance.
接近光传感器180G可以包括例如发光二极管(LED)和光检测器,Proximity light sensor 180G may include, for example, a light emitting diode (LED) and a light detector,
环境光传感器180L用于感知环境光亮度。The ambient light sensor 180L is used to sense ambient light brightness.
指纹传感器180H用于采集指纹。Fingerprint sensor 180H is used to collect fingerprints.
温度传感器180J用于检测温度。Temperature sensor 180J is used to detect temperature.
触摸传感器180K,也称“触控器件”。触摸传感器180K可以设置于显示屏194,由触摸传感器180K与显示屏194组成触摸屏,也称“触控屏”。Touch sensor 180K, also known as "touch device". The touch sensor 180K can be disposed on the display screen 194. The touch sensor 180K and the display screen 194 form a touch screen, which is also called a "touch screen".
骨传导传感器180M可以获取振动信号。Bone conduction sensor 180M can acquire vibration signals.
按键190包括开机键,音量键等。按键190可以是机械按键。也可以是触摸式按键。电子设备100可以接收按键输入,产生与电子设备100的用户设置以及功能控制有关的键信号输入。The buttons 190 include a power button, a volume button, etc. Key 190 may be a mechanical key. It can also be a touch button. The electronic device 100 may receive key inputs and generate key signal inputs related to user settings and function control of the electronic device 100 .
马达191可以产生振动提示。马达191可以用于来电振动提示,也可以用于触摸振动反馈。The motor 191 can generate vibration prompts. The motor 191 can be used for vibration prompts for incoming calls and can also be used for touch vibration feedback.
指示器192可以是指示灯,可以用于指示充电状态,电量变化,也可以用于指示消息,未接来电,通知等。The indicator 192 may be an indicator light, which may be used to indicate charging status, power changes, or may be used to indicate messages, missed calls, notifications, etc.
SIM卡接口195用于连接SIM卡。SIM卡可以通过插入SIM卡接口195,或从SIM卡接口195拔出,实现和电子设备100的接触和分离。The SIM card interface 195 is used to connect a SIM card. The SIM card can be connected to or separated from the electronic device 100 by inserting it into the SIM card interface 195 or pulling it out from the SIM card interface 195 .
下面基于图3所示的电子设备100的硬件结构,通过图4对本申请的电子设备100的定位方法进行详细说明。Based on the hardware structure of the electronic device 100 shown in FIG. 3 , the positioning method of the electronic device 100 of the present application will be described in detail through FIG. 4 .
具体地,以电子设备100为手机100为例,本申请图4的定位方法可以通过手机100的处理器110执行相关程序来实现。如图4所示,根据本申请的一个具体实施方式提供的定位方法包括如下所示的步骤。Specifically, taking the electronic device 100 as a mobile phone 100 as an example, the positioning method in FIG. 4 of this application can be implemented by the processor 110 of the mobile phone 100 executing relevant programs. As shown in Figure 4, a positioning method provided according to a specific embodiment of the present application includes the following steps.
S401:调用定位服务或者开启定位服务安全检测,开始GNSS欺骗检测。S401: Call the positioning service or enable positioning service security detection to start GNSS spoofing detection.
在本申请实施例中,这里的定位服务可以是手机100安装的导航应用,用户可以点击导航应用的图标启动导航应用,导航应用通过调用手机100的定位服务,例如:手机100的GPS模块进行定位服务,在手机100检测到导航应用开始调用定位服务时,手机100可以开始GNSS欺骗检测。在另一些实施例中,用户也可以开启手机100的定位服务安全检测的功能,这里的定位服务安全检测可以是手机100的操作系统中设置的系统服务,在手机100检测到开启定位服务安全检测时,手机100可以开始GNSS欺骗检测。In the embodiment of the present application, the positioning service here can be a navigation application installed on the mobile phone 100. The user can click the icon of the navigation application to start the navigation application. The navigation application performs positioning by calling the positioning service of the mobile phone 100, for example: the GPS module of the mobile phone 100. service, when the mobile phone 100 detects that the navigation application starts to call the positioning service, the mobile phone 100 can start GNSS spoofing detection. In other embodiments, the user can also enable the location service security detection function of the mobile phone 100. The location service security detection here can be a system service set in the operating system of the mobile phone 100. When the mobile phone 100 detects that the location service security detection is enabled, At this time, the mobile phone 100 can start GNSS spoofing detection.
S402:识别当前使用定位服务过程中所采用的GNSS信号对应的导航卫星编号。S402: Identify the navigation satellite number corresponding to the GNSS signal currently used in the process of using the positioning service.
在本申请实施例中,这里的导航卫星编号可以是伪随机噪声码,即导航卫星PRN码。在手机100调用定位服务的过程中,手机100可以获取GNSS信号对应的导航卫星编号,也就是GNSS信号携带的导航卫星PRN码。可以理解,这里的导航卫星PRN码是公开的。欺骗设备可以根据想要达成的PVT欺骗结果,并结对应的星历数据,生成并发送与真实的GNSS信号相似的欺骗信号。In this embodiment of the present application, the navigation satellite number here may be a pseudo-random noise code, that is, a navigation satellite PRN code. When the mobile phone 100 calls the positioning service, the mobile phone 100 can obtain the navigation satellite number corresponding to the GNSS signal, which is the navigation satellite PRN code carried by the GNSS signal. It is understandable that the navigation satellite PRN codes here are public. The spoofing device can generate and send a spoofing signal similar to the real GNSS signal based on the desired PVT spoofing result and the corresponding ephemeris data.
可以理解,在手机100的导航应用调用定位服务的过程中,手机100需要从卫星导航系统200中获取至少四个不同的导航卫星的GNSS信号,也就是说,手机100也会同时识别至少四个不同的导航卫星编号。 It can be understood that when the navigation application of the mobile phone 100 calls the positioning service, the mobile phone 100 needs to obtain the GNSS signals of at least four different navigation satellites from the satellite navigation system 200. That is to say, the mobile phone 100 will also recognize at least four different navigation satellites at the same time. Different navigation satellite numbers.
S403:跟踪并采集与导航卫星编号对应的GNSS信号的信号功率的数据序列。S403: Track and collect the data sequence of the signal power of the GNSS signal corresponding to the navigation satellite number.
在本申请实施例中,在手机100的导航应用调用定位服务(PVT服务中的一种)的过程中,手机100需要从卫星导航系统200中获取至少四个不同的GNSS信号,也就是四组不同的GNSS信号的数据序列,手机100可以根据GNSS信号对应的导航卫星编号对至少四个不同的导航卫星的GNSS信号进行跟踪,在预设时间段内从至少四个不同的导航卫星获取至少四个GNSS信号的信号功率的数据序列。In the embodiment of the present application, when the navigation application of the mobile phone 100 calls the positioning service (one of the PVT services), the mobile phone 100 needs to obtain at least four different GNSS signals from the satellite navigation system 200, that is, four sets of For different GNSS signal data sequences, the mobile phone 100 can track the GNSS signals of at least four different navigation satellites according to the navigation satellite numbers corresponding to the GNSS signals, and obtain at least four GNSS signals from at least four different navigation satellites within a preset time period. Data sequence of signal power of GNSS signals.
可以理解,如果GNSS信号为真实信号,则至少四个不同的GNSS信号可以是来自至少四个不同的导航卫星,如果GNSS信号为欺骗信号,则至少四个不同的GNSS信号可以是来自同一个或者多个欺骗设备的欺骗信号。It can be understood that if the GNSS signal is a real signal, the at least four different GNSS signals may be from at least four different navigation satellites; if the GNSS signal is a spoofing signal, the at least four different GNSS signals may be from the same or Spoofing signals from multiple spoofed devices.
S404:在经过预设时间段进行数据采集后,获得多个GNSS信号的信号功率的数据序列。S404: After collecting data after a preset time period, obtain a data sequence of signal powers of multiple GNSS signals.
在本申请实施例中,这里的预设时间段可以设置为例如:10s。可以理解,预设时间段也可以采用其他时长,这里并不限制。In this embodiment of the present application, the preset time period here can be set to, for example, 10 seconds. It can be understood that the preset time period can also be of other lengths, and there is no limitation here.
S405:采集GNSS信号的同时,同步采集手机100的惯导数据。S405: While collecting GNSS signals, simultaneously collect the inertial navigation data of the mobile phone 100.
在本申请实施例中,这里的惯导数据可以是通过手机100的惯性测量单元(Inertial Measurement Unit,IMU)获取的数据,例如,惯导数据可以包括手机100的速度、加速度以及方向等。手机100的惯性测量单元可以包括手机100的陀螺仪传感器180B和加速度传感器180E,在手机100采集GNSS信号的同时,手机100可以通过陀螺仪传感器180B和加速度传感器180E采集手机100的速度、加速度以及方向等。In this embodiment of the present application, the inertial navigation data here may be data obtained through an inertial measurement unit (IMU) of the mobile phone 100. For example, the inertial navigation data may include the speed, acceleration, direction, etc. of the mobile phone 100. The inertial measurement unit of the mobile phone 100 may include the gyro sensor 180B and the acceleration sensor 180E of the mobile phone 100. While the mobile phone 100 collects GNSS signals, the mobile phone 100 may collect the speed, acceleration and direction of the mobile phone 100 through the gyro sensor 180B and the acceleration sensor 180E. wait.
S406:对多个GNSS信号的信号功率的数据序列进行低通滤波处理,去除高频噪声。S406: Perform low-pass filtering on the data sequences of signal powers of multiple GNSS signals to remove high-frequency noise.
在本申请实施例中,手机100可以对多个导航卫星的GNSS信号的信号功率的数据序列进行低通滤波,去除信号功率中频带高的噪声。In the embodiment of the present application, the mobile phone 100 can perform low-pass filtering on the data sequence of the signal power of the GNSS signals of multiple navigation satellites to remove noise with high signal power in the frequency band.
S407:对滤波后的多个GNSS信号的信号功率的数据序列进行相关性度量,获取多个导航卫星的GNSS信号的信号功率之间的相关性系数,并获得多个相关性系数的相关性系数均值。S407: Perform correlation measurement on the filtered data sequences of the signal powers of multiple GNSS signals, obtain the correlation coefficients between the signal powers of the GNSS signals of multiple navigation satellites, and obtain the correlation coefficients of multiple correlation coefficients mean.
在本申请实施例中,对GNSS信号的信号功率的数据序列进行相关性度量的方式可以是计算GNSS信号的信号功率的数据序列的相关性系数,相关性系数可以包括:皮尔逊相关系数、斯皮尔曼相关系数和肯达尔相关系数等。In the embodiment of the present application, the correlation measurement method for the data sequence of the signal power of the GNSS signal may be to calculate the correlation coefficient of the data sequence of the signal power of the GNSS signal. The correlation coefficient may include: Pearson correlation coefficient, Pillman correlation coefficient and Kendall correlation coefficient, etc.
以皮尔逊相关系数为例,皮尔逊相关系数用于量度两个变量之间的线性相关。皮尔逊相关系数具有+1和-1之间的值,其中1表示总正线性相关性,0表示非线性相关性,并且-1表示总负线性相关性。皮尔逊相关系数ρ对应的计算公式如下:
Take the Pearson correlation coefficient as an example. The Pearson correlation coefficient is used to measure the linear correlation between two variables. The Pearson correlation coefficient has a value between +1 and -1, where 1 represents a total positive linear correlation, 0 represents a nonlinear correlation, and -1 represents a total negative linear correlation. The calculation formula corresponding to the Pearson correlation coefficient ρ is as follows:
其中,X和Y分别表示多个GNSS信号的信号功率的数据序列中的任意两个信号功率,σX表示GNSS信号的信号功率X的标准差,cov表示两个GNSS信号的信号功率X与Y之间的协方差。Among them, X and Y respectively represent any two signal powers in the data sequence of the signal power of multiple GNSS signals, σ covariance between.
可以理解,在手机100的导航应用调用定位服务的过程中,手机100获取了至少四个GNSS信号的信号功率的数据序列,进而手机100可以获取至少四个GNSS信号的信号功之间的相关性系数。 It can be understood that in the process of calling the positioning service by the navigation application of the mobile phone 100, the mobile phone 100 obtains the data sequence of the signal power of at least four GNSS signals, and then the mobile phone 100 can obtain the correlation between the signal powers of at least four GNSS signals. coefficient.
可以理解,为了进一步确定GNSS信号之间的相关性,可以计算至少四个GNSS信号中两两信号之间的相关性系数均值,例如,以至少四个GNSS信号中的信号i和信号j为例,通过以下公式计算信号i和信号j的相关性系数均值。
It can be understood that in order to further determine the correlation between GNSS signals, the average correlation coefficient between pairs of at least four GNSS signals can be calculated, for example, taking signal i and signal j among at least four GNSS signals as an example. , calculate the average correlation coefficient of signal i and signal j through the following formula.
其中N代表采集的GNSS信号的数量。Where N represents the number of collected GNSS signals.
可以理解,上述公式可以保存在手机100的内部存储器中,在手机100的定位服务采集GNSS信号的同时,手机100可以根据保存的公式实时地对GNSS信号进行计算,以确定GNSS信号是真实信号还是欺骗信号。It can be understood that the above formula can be saved in the internal memory of the mobile phone 100. While the positioning service of the mobile phone 100 collects the GNSS signal, the mobile phone 100 can calculate the GNSS signal in real time according to the saved formula to determine whether the GNSS signal is a real signal or not. Spoofing signals.
在另一本申请实施例中,以GNSS信号的信号功率的数据序列的相关性系数为斯皮尔曼相关系数为例,斯皮尔曼相关系数用于利用两个GNSS信号的信号功率的秩次大小作线性相关分析,斯皮尔曼相关系数ρ对应的计算公式如下:
In another embodiment of the present application, taking the correlation coefficient of the data sequence of the signal power of the GNSS signal as the Spearman correlation coefficient as an example, the Spearman correlation coefficient is used to utilize the rank size of the signal power of the two GNSS signals. For linear correlation analysis, the calculation formula corresponding to the Spearman correlation coefficient ρ is as follows:
其中x′和y′代表采集的GNSS信号的秩。where x′ and y′ represent the ranks of the collected GNSS signals.
S408:基于同步采集的惯导数据,识别GNSS信号的信号功率采集期间手机100的运动状态。S408: Based on the synchronously collected inertial navigation data, identify the motion state of the mobile phone 100 during the signal power collection of the GNSS signal.
在本申请实施例中,手机100确定运动状态的过程可以包括:手机100可以通过陀螺仪传感器获得基于手机100的导航坐标系,并使加速度传感器的测量轴稳定在该导航坐标系中,并给出手机100的方向和姿态角,再通过加速度传感器测量手机100的加速度,根据对采集期间的积分运算可以得到手机100的速度。In the embodiment of the present application, the process of determining the motion state of the mobile phone 100 may include: the mobile phone 100 may obtain the navigation coordinate system based on the mobile phone 100 through the gyroscope sensor, stabilize the measurement axis of the acceleration sensor in the navigation coordinate system, and give The direction and attitude angle of the mobile phone 100 are obtained, and then the acceleration of the mobile phone 100 is measured through the acceleration sensor. The speed of the mobile phone 100 can be obtained based on the integral operation during the acquisition period.
可以理解,手机100可以将获得的速度与速度阈值进行比较,确定手机100的运动状态。例如,手机100的速度可以是2米/秒,若速度阈值为1米/秒,则手机100可以确定手机100处于移动状态;否则,确定手机100处于静止状态。It can be understood that the mobile phone 100 can compare the obtained speed with the speed threshold to determine the motion state of the mobile phone 100 . For example, the speed of the mobile phone 100 can be 2 meters/second. If the speed threshold is 1 meter/second, the mobile phone 100 can determine that the mobile phone 100 is in a moving state; otherwise, it can be determined that the mobile phone 100 is in a stationary state.
S409:根据手机100的运动状态确定与运动状态对应的预设阈值。S409: Determine a preset threshold corresponding to the motion state according to the motion state of the mobile phone 100.
在本申请实施例中,由于若手机100处于运动状态,则会影响步骤S407计算出的多个GNSS信号的信号功率之间的相关性系数,进而影响多个相关性系数的相关性系数均值。因此,可以结合步骤S408中识别出来的手机100的运动状态,设定与手机100的运动状态对应的预设阈值。例如:静止状态对应的预设阈值可以为0.5,移动状态对应的预设阈值可以为0.8。In this embodiment of the present application, if the mobile phone 100 is in motion, it will affect the correlation coefficient between the signal powers of the multiple GNSS signals calculated in step S407, thereby affecting the average correlation coefficient of the multiple correlation coefficients. Therefore, the preset threshold corresponding to the motion state of the mobile phone 100 can be set in combination with the motion state of the mobile phone 100 identified in step S408. For example: the preset threshold corresponding to the stationary state can be 0.5, and the preset threshold corresponding to the moving state can be 0.8.
S410:将相关性系数均值与手机100的运动状态对应的预设阈值进行比较,确定GNSS信号为真实信号还是欺骗信号。S410: Compare the average correlation coefficient with the preset threshold corresponding to the motion state of the mobile phone 100 to determine whether the GNSS signal is a real signal or a spoofing signal.
若相关性系数低于预设阈值,说明手机100采集的GNSS信号之间的相关性较低,则确定采集的GNSS信号为真实信号,若相关性系数高于预设阈值,说明手机100采集的GNSS信号之间的相关性较高,则确定采集的GNSS信号为欺骗信号。If the correlation coefficient is lower than the preset threshold, it means that the correlation between the GNSS signals collected by the mobile phone 100 is low, and the collected GNSS signals are determined to be real signals. If the correlation coefficient is higher than the preset threshold, it means that the correlation between the GNSS signals collected by the mobile phone 100 is low. If the correlation between GNSS signals is high, it is determined that the collected GNSS signal is a spoofing signal.
在本申请实施例中,若手机100确定采集的GNSS信号为真实信号则手机100可以允许应用程序调用定位服务,完成应用程序对应的功能;若手机100确定采集的GNSS信号为欺 骗信号,则执行步骤S411,手机100可以将欺骗信号的检测结果反馈给应用程序,提示打开应用程序的用户,或者,禁用GNSS定位服务,转而调用其他定位服务,如网络定位。In the embodiment of the present application, if the mobile phone 100 determines that the collected GNSS signal is a real signal, the mobile phone 100 can allow the application program to call the positioning service to complete the function corresponding to the application program; if the mobile phone 100 determines that the collected GNSS signal is a fraudulent signal, If the signal is spoofed, step S411 is executed. The mobile phone 100 can feed back the detection result of the spoofed signal to the application, prompt the user who opens the application, or disable the GNSS positioning service and instead call other positioning services, such as network positioning.
例如,手机100处于静止状态,若手机100通过步骤S407获得GNSS信号的相关性系数均值为0.0099,而静止状态对应的预设阈值可以为0.5,则手机100可以确定采集的GNSS信号为真实信号,若手机100通过步骤S407获得GNSS信号的相关性系数均值为0.6534,则手机100可以确定采集的GNSS信号为欺骗信号。同理,手机100处于移动状态,若手机100通过步骤S407获得GNSS信号的相关性系数均值为0.0385,而移动状态对应的预设阈值可以为0.8,则手机100可以确定采集的GNSS信号为真实信号,若手机100通过步骤S407获得GNSS信号的相关性系数均值为0.9015,则手机100可以确定采集的GNSS信号为欺骗信号。For example, the mobile phone 100 is in a stationary state. If the average correlation coefficient of the GNSS signal obtained by the mobile phone 100 through step S407 is 0.0099, and the preset threshold corresponding to the stationary state can be 0.5, then the mobile phone 100 can determine that the collected GNSS signal is a real signal. If the average value of the correlation coefficient of the GNSS signals obtained by the mobile phone 100 in step S407 is 0.6534, the mobile phone 100 can determine that the collected GNSS signals are spoofing signals. Similarly, the mobile phone 100 is in a moving state. If the average correlation coefficient of the GNSS signal obtained by the mobile phone 100 through step S407 is 0.0385, and the preset threshold corresponding to the moving state can be 0.8, then the mobile phone 100 can determine that the collected GNSS signal is a real signal. , if the average correlation coefficient of the GNSS signal obtained by the mobile phone 100 through step S407 is 0.9015, the mobile phone 100 can determine that the collected GNSS signal is a spoofing signal.
S411:识别出GNSS信号为欺骗信号,则反馈给调用定位服务的应用程序。S411: If the GNSS signal is identified as a spoofing signal, it will be fed back to the application that calls the positioning service.
在本申请实施例中,若手机100识别出定位服务获取的GNSS信号为欺骗信号,则手机100可以禁用GNSS定位服务(关闭定位服务,即关闭当前使用的定位服务),转而调用其他定位服务,如网络定位,并在手机100的用户界面中提示用户重新验证GNSS定位服务的安全性。在另一本申请实施例中,手机100还可以在屏幕中提示定位服务接受的卫星信号错误或者提示重新开启定位服务使得定位服务能够获取真实信号。In the embodiment of this application, if the mobile phone 100 recognizes that the GNSS signal obtained by the positioning service is a spoofing signal, the mobile phone 100 can disable the GNSS positioning service (turn off the positioning service, that is, turn off the currently used positioning service), and instead call other positioning services. , such as network positioning, and prompts the user in the user interface of the mobile phone 100 to re-verify the security of the GNSS positioning service. In another embodiment of the present application, the mobile phone 100 can also prompt on the screen that the satellite signal accepted by the positioning service is incorrect or prompt to restart the positioning service so that the positioning service can obtain the real signal.
如果手机100识别出GNSS信号为真实信号,则手机100可以正常使用定位服务(如:导航服务),并获取定位服务的定位结果,例如,以定位服务为导航服务为例,定位结果可以是导航服务提供的导航路线。再如,定位结果也可以是定位服务提供的地图位置。If the mobile phone 100 recognizes that the GNSS signal is a real signal, the mobile phone 100 can use the positioning service (such as navigation service) normally and obtain the positioning result of the positioning service. For example, taking the positioning service as a navigation service as an example, the positioning result can be navigation Navigation routes provided by the service. For another example, the positioning result may also be the map location provided by the positioning service.
可以理解,图4中描述的数值都是示例性的,在本申请实施例中,还可以采用其他数值,这里不做限定。It can be understood that the numerical values described in Figure 4 are exemplary. In the embodiment of the present application, other numerical values can also be used, and there is no limitation here.
可以看出,采用上述图4示出了的定位方法,当手机100需要调用定位服务时或者手机100检测到手机100的应用程序调用定位服务时,手机100可以自动启动欺骗信号检测,确保了手机100能够接受到真实的GNSS信号,保证了手机100使用定位服务的安全性。It can be seen that using the positioning method shown in Figure 4 above, when the mobile phone 100 needs to call the positioning service or when the mobile phone 100 detects that the application of the mobile phone 100 calls the positioning service, the mobile phone 100 can automatically start spoofing signal detection, ensuring that the mobile phone 100 100 can receive real GNSS signals, ensuring the safety of mobile phone 100 using positioning services.
下面通过图5和图6对另一本申请实施例的手机100的定位方法进行详细说明。The positioning method of the mobile phone 100 according to another embodiment of the present application will be described in detail below with reference to FIGS. 5 and 6 .
具体地,本申请图5的定位方法可以通过手机100的处理器110执行相关程序来实现。与图4所示的定位方法的不同之处在于,在图5所示的定位方法中,手机100的存储区域内可以保存有事先训练完成的相似性度量神经网络。当手机100调用定位服务后,在经过预设时间段采集与导航卫星编号对应的多个GNSS信号的信号功率的数据序列(即图5中的sat1至satN)以及手机100的运动状态后,将获得的多个导航卫星的GNSS信号的信号功率的数据序列输入与手机100的运动状态对应的相似性度量神经网络(CNN网络),获得相似性度量神经网络的输出结果,这里的输出结果可以是由多个导航卫星的GNSS信号的信号功率的数据序列得到的相似性矩阵;计算相似性矩阵获得相似性矩阵对应的相似性系数均值ccmean
Specifically, the positioning method in Figure 5 of this application can be implemented by the processor 110 of the mobile phone 100 executing relevant programs. The difference from the positioning method shown in FIG. 4 is that in the positioning method shown in FIG. 5 , the similarity measurement neural network that has been trained in advance can be stored in the storage area of the mobile phone 100 . When the mobile phone 100 calls the positioning service, after a preset time period, the data sequence of the signal power of multiple GNSS signals corresponding to the navigation satellite numbers (i.e., sat 1 to sat N in Figure 5) and the motion status of the mobile phone 100 are collected. , input the obtained data sequence of the signal power of the GNSS signals of multiple navigation satellites into the similarity measurement neural network (CNN network) corresponding to the motion state of the mobile phone 100, and obtain the output result of the similarity measurement neural network, the output result here It can be a similarity matrix obtained from the data sequence of the signal power of GNSS signals of multiple navigation satellites; calculate the similarity matrix to obtain the similarity coefficient mean cc mean corresponding to the similarity matrix,
将相似性系数均值与手机100的运动状态对应的预设阈值进行比较,判断手机100接收的GNSS信号为真实信号还是欺骗信号。Compare the mean value of the similarity coefficient with a preset threshold corresponding to the motion state of the mobile phone 100 to determine whether the GNSS signal received by the mobile phone 100 is a real signal or a spoofed signal.
如图6所示,根据本申请的一个具体实施方式提供的定位方法包括如下所示的步骤。 As shown in Figure 6, a positioning method provided according to a specific embodiment of the present application includes the following steps.
S601:调用定位服务或者开启定位服务安全检测,开始GNSS欺骗检测。S601: Call the positioning service or enable positioning service security detection to start GNSS spoofing detection.
在本申请实施例中,这里的步骤S601与图4的步骤S401相似,例如:手机100的GPS模块进行定位服务,在手机100检测到导航应用开始调用定位服务时,手机100可以开始GNSS欺骗检测。在另一本申请实施例,用户也可以开启手机100的定位服务安全检测的功能,这里的定位服务安全检测可以是手机100的操作系统中设置的系统服务,在手机100检测到开启定位服务安全检测时,手机100可以开始GNSS欺骗检测。In the embodiment of the present application, step S601 here is similar to step S401 in Figure 4. For example, the GPS module of the mobile phone 100 performs positioning services. When the mobile phone 100 detects that the navigation application starts to call the positioning service, the mobile phone 100 can start GNSS spoofing detection. . In another embodiment of the present application, the user can also enable the location service security detection function of the mobile phone 100. The location service security detection here can be a system service set in the operating system of the mobile phone 100. When the mobile phone 100 detects that the location service security is enabled, During detection, the mobile phone 100 can start GNSS spoofing detection.
S602:识别当前使用定位服务过程中所采用的GNSS信号对应的导航卫星编号。S602: Identify the navigation satellite number corresponding to the GNSS signal currently used in the process of using the positioning service.
在本申请实施例中,这里的步骤S602与图4的步骤S402相似,在手机100调用定位服务的过程中,手机100可以获取GNSS信号对应的导航卫星编号,也就是GNSS信号携带的导航卫星PRN码。In the embodiment of the present application, step S602 here is similar to step S402 in Figure 4. During the process of calling the positioning service by the mobile phone 100, the mobile phone 100 can obtain the navigation satellite number corresponding to the GNSS signal, that is, the navigation satellite PRN carried by the GNSS signal. code.
可以理解,在手机100的导航应用调用定位服务的过程中,手机100需要从卫星导航系统200中获取至少四个不同的导航卫星的GNSS信号,也就是说,手机100也会同时识别至少四个不同的导航卫星编号,即导航卫星PRN码。It can be understood that when the navigation application of the mobile phone 100 calls the positioning service, the mobile phone 100 needs to obtain the GNSS signals of at least four different navigation satellites from the satellite navigation system 200. That is to say, the mobile phone 100 will also recognize at least four different navigation satellites at the same time. Different navigation satellite numbers, namely navigation satellite PRN codes.
S603:跟踪并采集与导航卫星编号对应的GNSS信号的信号功率的数据序列。S603: Track and collect the data sequence of the signal power of the GNSS signal corresponding to the navigation satellite number.
在本申请实施例中,这里的步骤S603与图4的步骤S403相似,在手机100的导航应用调用定位服务的过程中,手机100需要获取至少四个不同的GNSS信号的信号功率的数据序列,也就是四组不同的GNSS信号的信号功率的数据序列。In the embodiment of the present application, step S603 here is similar to step S403 in Figure 4. In the process of calling the positioning service by the navigation application of the mobile phone 100, the mobile phone 100 needs to obtain data sequences of the signal power of at least four different GNSS signals. That is, the data sequence of the signal power of four different GNSS signals.
S604:在经过预设时间段进行数据采集后,获得多个GNSS信号的信号功率的数据序列。S604: After collecting data after a preset time period, obtain a data sequence of signal powers of multiple GNSS signals.
在本申请实施例中,这里的步骤S604与图4的步骤S404相似,这里的预设时间段可以设置为例如:10s。可以理解,预设时间段也可以采用其他时长,这里并不限制。In this embodiment of the present application, step S604 here is similar to step S404 in FIG. 4 , and the preset time period here can be set to, for example, 10 seconds. It can be understood that the preset time period can also be of other lengths, and there is no limitation here.
S605:采集GNSS信号的同时,同步采集手机100的惯导数据。S605: While collecting GNSS signals, simultaneously collect the inertial navigation data of the mobile phone 100.
在本申请实施例中,这里的步骤S605与图4的步骤S405相似,在手机100采集GNSS信号的同时,手机100可以通过陀螺仪传感器180B和加速度传感器180E采集手机100的速度、加速度以及方向等。In the embodiment of the present application, step S605 here is similar to step S405 in Figure 4. While the mobile phone 100 collects GNSS signals, the mobile phone 100 can collect the speed, acceleration, direction, etc. of the mobile phone 100 through the gyroscope sensor 180B and the acceleration sensor 180E. .
S606:对多个GNSS信号的信号功率的数据序列进行低通滤波处理,去除高频噪声。S606: Perform low-pass filtering on the data sequences of signal powers of multiple GNSS signals to remove high-frequency noise.
在本申请实施例中,这里的步骤S606与图4的步骤S406相似,手机100可以对多个GNSS信号的信号功率的数据序列进行低通滤波,去除信号功率中频带高的噪声。In the embodiment of the present application, step S606 here is similar to step S406 in FIG. 4 . The mobile phone 100 can perform low-pass filtering on the data sequence of the signal power of multiple GNSS signals to remove noise with high signal power in the frequency band.
S607:基于同步采集的惯导数据,识别GNSS信号的信号功率采集期间手机100的运动状态。S607: Based on the synchronously collected inertial navigation data, identify the motion state of the mobile phone 100 during the signal power collection of the GNSS signal.
在本申请实施例中,这里的步骤S607与图4的步骤S408相似,手机100可以通过陀螺仪传感器获得基于手机100的导航坐标系,并使加速度传感器的测量轴稳定在该导航坐标系中,并给出手机100的方向和姿态角,再通过加速度传感器测量手机100的加速度,根据对采集期间的积分运算可以得到手机100的速度。In the embodiment of the present application, step S607 here is similar to step S408 in Figure 4. The mobile phone 100 can obtain the navigation coordinate system based on the mobile phone 100 through the gyroscope sensor, and stabilize the measurement axis of the acceleration sensor in the navigation coordinate system. The direction and attitude angle of the mobile phone 100 are given, and then the acceleration of the mobile phone 100 is measured through the acceleration sensor. The speed of the mobile phone 100 can be obtained based on the integral operation during the acquisition period.
S608:将滤波后的多个GNSS信号的信号功率的数据序列输入与手机100的运动状态对应的相似性度量神经网络,获得相似性度量神经网络输出的相关性系数均值。S608: Input the filtered data sequence of the signal power of multiple GNSS signals into the similarity measurement neural network corresponding to the motion state of the mobile phone 100, and obtain the mean value of the correlation coefficient output by the similarity measurement neural network.
在本申请实施例中,手机100的运动状态可以分为静止状态和移动状态。相应的,手机100也可以保存有分别与静止状态和移动状态对应的相似性度量神经网络。下文将详细介绍训练静止状态和移动状态对应的相似性度量神经网络的过程。 In the embodiment of the present application, the motion state of the mobile phone 100 can be divided into a static state and a moving state. Correspondingly, the mobile phone 100 can also store similarity measurement neural networks corresponding to the stationary state and the moving state respectively. The process of training the similarity measure neural network corresponding to the stationary state and the moving state will be introduced in detail below.
S609:根据手机100的运动状态确定与运动状态对应的预设阈值。S609: Determine a preset threshold corresponding to the motion state according to the motion state of the mobile phone 100.
在本申请实施例中,这里的步骤S609与图4的步骤S409相似,例如:静止状态对应的预设阈值可以为0.5,移动状态对应的预设阈值可以为0.8。In this embodiment of the present application, step S609 here is similar to step S409 in FIG. 4 . For example, the preset threshold corresponding to the stationary state may be 0.5, and the preset threshold corresponding to the moving state may be 0.8.
S610:将相关性系数均值与手机100的运动状态对应的预设阈值进行比较,确定GNSS信号为真实信号还是欺骗信号。S610: Compare the average correlation coefficient with the preset threshold corresponding to the motion state of the mobile phone 100 to determine whether the GNSS signal is a real signal or a spoofing signal.
若相关性系数低于预设阈值,说明手机100采集的GNSS信号之间的相关性较低,则确定采集的GNSS信号为真实信号,若相关性系数高于预设阈值,说明手机100采集的GNSS信号之间的相关性较高,则确定采集的GNSS信号为欺骗信号。If the correlation coefficient is lower than the preset threshold, it means that the correlation between the GNSS signals collected by the mobile phone 100 is low, and the collected GNSS signals are determined to be real signals. If the correlation coefficient is higher than the preset threshold, it means that the correlation between the GNSS signals collected by the mobile phone 100 is low. If the correlation between GNSS signals is high, it is determined that the collected GNSS signal is a spoofing signal.
在本申请实施例中,这里的步骤S610与图4的步骤S410相似,若手机100确定采集的GNSS信号为真实信号则手机100可以允许应用程序调用定位服务,完成应用程序对应的功能;若手机100确定采集的GNSS信号为欺骗信号,则执行步骤S611,手机100可以将欺骗信号的检测结果反馈给应用程序,提示打开应用程序的用户,或者,禁止应用程序调用定位服务。In the embodiment of the present application, step S610 here is similar to step S410 in Figure 4. If the mobile phone 100 determines that the collected GNSS signal is a real signal, the mobile phone 100 can allow the application to call the positioning service to complete the function corresponding to the application; if the mobile phone 100 100 determines that the collected GNSS signal is a spoofing signal, and then executes step S611. The mobile phone 100 can feed back the detection result of the spoofing signal to the application, prompt the user who opens the application, or prohibit the application from calling positioning services.
S611:识别出GNSS信号为欺骗信号,反馈给调用定位服务的应用程序。S611: Identify the GNSS signal as a spoofing signal and feed it back to the application that calls the positioning service.
在本申请实施例中,这里的步骤S611与图4的步骤S411相似,若手机100识别出定位服务获取的GNSS信号为欺骗信号,则手机100可以禁用GNSS定位服务,转而调用其他定位服务,如网络定位,并在手机100的用户界面中提示用户重新验证GNSS定位服务的安全性。In the embodiment of the present application, step S611 here is similar to step S411 in Figure 4. If the mobile phone 100 recognizes that the GNSS signal obtained by the positioning service is a spoofing signal, the mobile phone 100 can disable the GNSS positioning service and instead call other positioning services. Such as network positioning, and prompts the user in the user interface of the mobile phone 100 to re-verify the security of the GNSS positioning service.
下面通过图7介绍图6的步骤S608中描述的训练静止状态和移动状态对应的相似性度量神经网络的过程,包括:The process of training the similarity measurement neural network corresponding to the static state and the moving state described in step S608 of Figure 6 is introduced below through Figure 7, including:
S701:获取真实的GNSS信号的信号功率的序列数据的数据集。S701: Obtain a data set of sequence data of signal power of real GNSS signals.
在本申请实施例中,分别在手机100处于静止状态和移动状态下时,进行GNSS信号的信号功率的序列数据采集,构建静止状态和移动状态对应的数据集。In the embodiment of the present application, when the mobile phone 100 is in the stationary state and the moving state, sequence data collection of the signal power of the GNSS signal is performed, and a data set corresponding to the stationary state and the moving state is constructed.
S702:对数据集进行低通滤波处理,滤除信号中的高频噪声。S702: Perform low-pass filtering on the data set to filter out high-frequency noise in the signal.
在本申请实施例中,可以对数据集内的GNSS信号的信号功率的数据序列进行低通滤波,去除信号功率中频带高的噪声。In the embodiment of the present application, low-pass filtering can be performed on the data sequence of the signal power of the GNSS signals in the data set to remove noise with high frequency bands in the signal power.
S703:分别利用静止状态和移动状态采集的欺骗信号以及真实的GNSS信号的数据集,进行相似性度量神经网络训练。S703: Use the spoofing signals collected in the stationary state and the moving state and the real GNSS signal data sets to conduct similarity measurement neural network training.
在本申请实施例中,这里的相似性度量神经网络的训练的方式可以包括:采集静止状态和移动状态采集的欺骗信号以及真实的GNSS信号;训练时将静止状态和移动状态采集的欺骗信号以及真实的GNSS信号输入相似性度量神经网络,并利用反馈迭代等方法进行相似性度量神经网络训练。这里的相似性度量神经网络的输入可以是静止状态采集和移动状态采集的欺骗信号以及真实的GNSS信号,相似性度量神经网络的输出是输入多维时间序列间的相似性矩阵。In the embodiment of the present application, the training method of the similarity measurement neural network may include: collecting spoofing signals collected in the stationary state and moving state and real GNSS signals; during training, the spoofing signals collected in the stationary state and moving state and Real GNSS signals are input into the similarity measurement neural network, and feedback iteration and other methods are used for similarity measurement neural network training. The input of the similarity measurement neural network here can be the spoofing signals collected in the stationary state and the moving state as well as the real GNSS signals. The output of the similarity measurement neural network is the similarity matrix between the input multi-dimensional time series.
S704:将训练完成的静止状态和移动状态对应的相似性度量神经网络部署于手机100。S704: Deploy the trained similarity measure neural network corresponding to the stationary state and the moving state on the mobile phone 100.
在本申请实施例中,以手机100的操作系统为安卓系统为例,可以将相似性度量神经网络打包成apk的格式安装在手机100的操作系统,在手机100运行GNSS欺骗检测时,可以将采集的GNSS信号输入已部署在手机100内的相似性度量神经网络。In the embodiment of this application, taking the operating system of mobile phone 100 as Android system as an example, the similarity measurement neural network can be packaged into an apk format and installed in the operating system of mobile phone 100. When mobile phone 100 runs GNSS spoofing detection, it can be The collected GNSS signals are input to a similarity measure neural network deployed within the mobile phone 100 .
在通过图4至图7介绍完本申请实施例提供的信号检测方法后,下面通过图8介绍本申 请实施例中另一种信号检测方法的实施方式,如图8所示,根据本申请的一个具体实施方式提供的定位方法包括如下所示的步骤。After introducing the signal detection method provided by the embodiment of the present application through Figures 4 to 7, the present application will be introduced below through Figure 8. Please implement another signal detection method in the embodiment, as shown in Figure 8. The positioning method provided according to a specific implementation of the present application includes the steps shown below.
S801:选择当前定位解算所采用的GNSS信号。S801: Select the GNSS signal used in the current positioning solution.
在本申请实施例中,这里的GNSS信号可以是,当前使用的定位服务过程中所采用的GNSS信号。可以理解,这里的解算可以表示解析计算当前使用的定位服务所使用的GNSS信号。In this embodiment of the present application, the GNSS signal here may be the GNSS signal used in the currently used positioning service process. It can be understood that the solution here can mean analyzing and calculating the GNSS signal used by the currently used positioning service.
S802:跟踪并记录GNSS信号接收强度随时间的衰落数据。S802: Track and record the fading data of GNSS signal reception strength over time.
在本申请实施例中,这里的衰落数据可以是,根据卫星信号对应的导航卫星编号对卫星信号进行跟踪,获取预设时间段内卫星信号的信号功率的数据序列。In this embodiment of the present application, the fading data here may be a data sequence that tracks the satellite signal according to the navigation satellite number corresponding to the satellite signal and obtains the signal power of the satellite signal within a preset time period.
S803:判断数据采集时间是否大于预设时间段。S803: Determine whether the data collection time is greater than the preset time period.
在本申请实施例中,这里的预设时间段可以设置为例如:10s,若数据采集时间未达到预设时间段,则继续执行步骤S802;若数据采集时间达到预设时间段,则执行S804,对采集的卫星信号进行预处理。In the embodiment of this application, the preset time period here can be set to, for example, 10 seconds. If the data collection time does not reach the preset time period, continue to execute step S802; if the data collection time reaches the preset time period, execute S804. , preprocess the collected satellite signals.
S804:数据预处理。S804: Data preprocessing.
这里的步骤S804与图4的步骤S406相似,手机100可以对多个卫星信号进行低通滤波等预处理,去除卫星信号中频带高的噪声。Step S804 here is similar to step S406 in FIG. 4 . The mobile phone 100 can perform preprocessing such as low-pass filtering on multiple satellite signals to remove high-frequency noise in the satellite signals.
S805:分析并量化时间序列相关性。S805: Analyze and quantify time series correlation.
在本申请实施例中,对预处理后的多个卫星信号进行相关性度量,获取多个卫星信号之间的相关性系数,并获得多个相关性系数的相关性系数均值。In the embodiment of the present application, correlation measurement is performed on multiple preprocessed satellite signals, correlation coefficients between the multiple satellite signals are obtained, and the average correlation coefficient of the multiple correlation coefficients is obtained.
在本申请实施例中,对卫星信号进行相关性度量的方式可以是计算导卫星信号的相关性系数,相关性系数可以包括:皮尔逊相关系数、斯皮尔曼相关系数和肯达尔相关系数等。In this embodiment of the present application, the method of measuring the correlation of satellite signals may be to calculate the correlation coefficient of the navigation satellite signal. The correlation coefficient may include: Pearson correlation coefficient, Spearman correlation coefficient, Kendall correlation coefficient, etc.
S806:判断相关性系数是否大于预设阈值。S806: Determine whether the correlation coefficient is greater than the preset threshold.
在本申请实施例中,若相关性系数低于预设阈值,说明采集的卫星信号为真实信号,若相关性系数高于预设阈值,则确定采集的GNSS信号为欺骗信号。In this embodiment of the present application, if the correlation coefficient is lower than the preset threshold, it means that the collected satellite signal is a real signal; if the correlation coefficient is higher than the preset threshold, it is determined that the collected GNSS signal is a spoofing signal.
应当理解的是,虽然在本文中可能使用了术语“第一”、“第二”等等来描述各个特征,但是这些特征不应当受这些术语限制。使用这些术语仅仅是为了进行区分,而不能理解为指示或暗示相对重要性。举例来说,在不背离示例性实施例的范围的情况下,第一特征可以被称为第二特征,并且类似地第二特征可以被称为第一特征。It should be understood that, although the terms "first," "second," etc. may be used herein to describe various features, these features should not be limited by these terms. These terms are used solely for purposes of distinction and are not to be construed as indicating or implying relative importance. For example, a first feature could be termed a second feature, and similarly a second feature could be termed a first feature, without departing from the scope of example embodiments.
此外,各种操作将以最有助于理解说明性实施例的方式被描述为多个彼此分离的操作;然而,描述的顺序不应被解释为暗示这些操作必须依赖描述的顺序,其中的许多操作可以被并行地、并发地或者同时实施。此外,各项操作的顺序也可以被重新安排。当所描述的操作完成时,所述处理可以被终止,但是还可以具有未包括在附图中的附加操作。所述处理可以对应于方法、函数、规程、子例程、子程序等等。Furthermore, various operations will be described as multiple discrete operations in a manner that is most helpful in understanding the illustrative embodiments; however, the order of description should not be construed to imply that these operations are necessarily dependent on the order of description, many of which Operations can be performed in parallel, concurrently, or simultaneously. Additionally, the order of operations can be rearranged. The process may be terminated when the described operations are completed, but may also have additional operations not included in the figures. The processing may correspond to a method, function, procedure, subroutine, subroutine, or the like.
说明书中对“一个实施例”,“实施例”,“说明性实施例”等的引用表示所描述的实施例可以包括特定特征、结构或性质,但是每个实施例也可能或不是必需包括特定的特征、结构或性质。而且,这些短语不一定是针对同一实施例。此外,当结合具体实施例描述特定特征,本领域技术人员的知识能够影响到这些特征与其他实施例的结合,无论这些实施例是否被明确描述。References in the specification to "one embodiment," "an embodiment," "an illustrative embodiment," etc., mean that the described embodiment may include a particular feature, structure, or property, but that each embodiment may or need not include certain features, structures, or properties. characteristics, structure or properties. Furthermore, these phrases are not necessarily referring to the same embodiment. Furthermore, when particular features are described in connection with specific embodiments, the knowledge of those skilled in the art can influence the combination of these features with other embodiments, whether or not these embodiments are explicitly described.
除非上下文另有规定,否则术语“包含”、“具有”和“包括”是同义词。短语“A/B” 表示“A或B”。短语“A和/或B”表示“(A)、(B)或(A和B)”。The terms "includes,""has," and "includes" are synonyms unless the context dictates otherwise. Phrase "A/B" means "A or B". The phrase "A and/or B" means "(A), (B) or (A and B)".
如本文所使用的,术语“模块”可以指代,作为其中的一部分,或者包括:用于运行一个或多个软件或固件程序的存储器(共享、专用或组),专用集成电路(ASIC),电子电路和/或处理器(共享、专用或组),组合逻辑电路,和/或提供所述功能的其他合适组件。As used herein, the term "module" may refer to, be a part of, or include: memory (shared, dedicated, or group) for running one or more software or firmware programs, an Application Specific Integrated Circuit (ASIC), Electronic circuits and/or processors (shared, dedicated, or group), combinational logic circuits, and/or other suitable components that provide the functionality described.
在附图中,可能以特定布置和/或顺序示出了一些结构或方法特征。然而,应当理解的是,这样的特定布置和/或排序不是必需的。而是,在一些实施例中,这些特征可以以不同于说明性附图中所示的方式和/或顺序来进行说明。另外,特定附图中所包含得结构或方法特征并不意味着所有实施例都需要包含这样的特征,在一些实施例中,可以不包含这些特征,或者可以将这些特征与其他特征进行组合。In the drawings, some structural or methodological features may be shown in specific arrangements and/or orders. However, it should be understood that such specific arrangement and/or ordering is not required. Rather, in some embodiments, the features may be illustrated in a manner and/or order different than that shown in the illustrative figures. In addition, the inclusion of structural or method features in a particular drawing does not mean that all embodiments need to include such features. In some embodiments, these features may not be included, or these features may be combined with other features.
上面结合附图对本申请实施例做了详细说明,但本申请技术方案的使用不仅仅局限于本专利实施例中提及的各种应用,各种结构和变型都可以参考本申请技术方案轻易地实施,以达到本文中提及的各种有益效果。在本领域普通技术人员所具备的知识范围内,在不脱离本申请宗旨的前提下做出的各种变化,均应归属于本申请专利涵盖范围。 The embodiments of the present application are described in detail above with reference to the accompanying drawings. However, the use of the technical solutions of the present application is not limited to the various applications mentioned in the embodiments of the present patent. Various structures and modifications can be easily made with reference to the technical solutions of the present application. implementation to achieve the various beneficial effects mentioned in this article. Various changes made within the scope of knowledge possessed by those of ordinary skill in the art without departing from the purpose of this application shall fall within the scope of the patent covered by this application.

Claims (11)

  1. 一种定位方法,应用于电子设备,其特征在于,所述方法包括:A positioning method applied to electronic equipment, characterized in that the method includes:
    响应于所述电子设备启动定位服务,获取预设时间段内多个卫星信号的信号功率变化序列;In response to the electronic device initiating the positioning service, obtain a signal power change sequence of multiple satellite signals within a preset time period;
    基于所述多个卫星信号的信号功率变化序列,确定所述预设时间段内所述多个卫星信号的信号之间的衰落特征是否满足定位要求;Based on the signal power change sequence of the multiple satellite signals, determine whether the fading characteristics between the signals of the multiple satellite signals within the preset time period meet the positioning requirements;
    对应于所述多个所述预设时间段内多个卫星信号的衰落特征满足所述定位要求,获取基于所述多个卫星信号生成的定位结果。Corresponding to the fading characteristics of multiple satellite signals within the multiple preset time periods meeting the positioning requirements, a positioning result generated based on the multiple satellite signals is obtained.
  2. 根据权利要求1所述的方法,其特征在于,获取预设时间段内多个卫星信号的信号功率变化序列,包括:The method according to claim 1, characterized in that, obtaining the signal power change sequence of multiple satellite signals within a preset time period includes:
    识别所述预设时间段内所述定位服务使用的所述多个卫星信号对应的导航卫星编号;Identify the navigation satellite numbers corresponding to the plurality of satellite signals used by the positioning service within the preset time period;
    根据所述导航卫星编号在所述预设时间段内跟踪所述多个卫星信号的信号功率变化,获取所述多个卫星信号的信号功率变化序列。Track the signal power changes of the multiple satellite signals within the preset time period according to the navigation satellite number, and obtain the signal power change sequence of the multiple satellite signals.
  3. 根据权利要求1所述的方法,其特征在于,所述定位要求包括:The method according to claim 1, characterized in that the positioning requirements include:
    所述预设时间段内各所述卫星信号的信号功率变化序列的衰落特征之间的相关性系数的均值低于预设阈值,其中,所述相关性系数用于表示所述多个卫星信号的信号功率变化序列中两个卫星信号的信号功率变化序列之间的衰落特征的相似性。The average value of the correlation coefficient between the fading characteristics of the signal power change sequence of each of the satellite signals within the preset time period is lower than a preset threshold, wherein the correlation coefficient is used to represent the multiple satellite signals The similarity of the fading characteristics between the signal power change sequences of the two satellite signals in the signal power change sequence.
  4. 根据权利要求3所述的方法,其特征在于,所述预设阈值与所述电子设备的运动状态相关,其中,所述运动状态用于表示所述电子设备处于静止状态或者运动状态中的至少一种。The method of claim 3, wherein the preset threshold is related to a motion state of the electronic device, wherein the motion state is used to indicate that the electronic device is at least in a static state or a moving state. A sort of.
  5. 根据权利要求4所述的方法,其特征在于,通过皮尔逊相关系数、斯皮尔曼相关系数、肯达尔相关系数和相似性度量神经网络模型中的至少一种获取所述相关性系数。The method according to claim 4, characterized in that the correlation coefficient is obtained through at least one of Pearson correlation coefficient, Spearman correlation coefficient, Kendall correlation coefficient and similarity measure neural network model.
  6. 根据权利要求4所述的方法,其特征在于,通过以下方式确定所述电子设备的运动状态:The method according to claim 4, characterized in that the motion state of the electronic device is determined in the following manner:
    通过所述电子设备的陀螺仪传感器、加速度传感器确定所述电子设备的速度;Determine the speed of the electronic device through the gyro sensor and acceleration sensor of the electronic device;
    根据所述电子设备的速度与速度阈值的比较结果,确定所述电子设备的运动状态。The motion state of the electronic device is determined according to a comparison result between the speed of the electronic device and a speed threshold.
  7. 根据权利要求1所述的方法,其特征在于,还包括:The method according to claim 1, further comprising:
    对应于所述多个所述预设时间段内多个卫星信号的衰落特征不满足所述定位要求,提示用户所述定位服务异常。Corresponding to the fading characteristics of multiple satellite signals within the multiple preset time periods that do not meet the positioning requirements, the user is prompted that the positioning service is abnormal.
  8. 根据权利要求7所述的方法,其特征在于,提示用户所述定位服务异常的方式包括下列中的至少一种: The method according to claim 7, wherein the method for prompting the user that the positioning service is abnormal includes at least one of the following:
    所述电子设备提示关闭所述定位服务;The electronic device prompts to turn off the positioning service;
    所述电子设备提示所述定位服务接受的卫星信号异常;The electronic device prompts that the satellite signal received by the positioning service is abnormal;
    所述电子设备提示将重新开启所述定位服务。The electronic device prompts to re-enable the positioning service.
  9. 一种电子设备,其特征在于,包括:An electronic device, characterized by including:
    处理器,用于执行权利要求1至8中任一项所述定位方法;以及A processor, configured to execute the positioning method according to any one of claims 1 to 8; and
    存储器,可以与处理器耦合或者解耦用于存储由所述处理器执行的指令。Memory, which may or may not be coupled to the processor, for storing instructions for execution by the processor.
  10. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质中包含有指令,当所述指令被电子设备的处理器执行时使电子设备实现权利要求1至8中任一项所述定位方法。A computer-readable storage medium, characterized in that the computer-readable storage medium contains instructions that, when executed by a processor of an electronic device, cause the electronic device to implement any one of claims 1 to 8. Describe the positioning method.
  11. 一种计算机程序产品,其特征在于,包括:计算机可读存储介质,所述计算机可读存储介质包含用于执行权利要求1至8中任一项所述定位方法的计算机程序代码。 A computer program product, characterized by comprising: a computer-readable storage medium containing computer program code for executing the positioning method according to any one of claims 1 to 8.
PCT/CN2023/087670 2022-04-14 2023-04-11 Electronic device and positioning method therefor, and medium WO2023198072A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210394155.2A CN116953735A (en) 2022-04-14 2022-04-14 Electronic device, positioning method thereof and medium
CN202210394155.2 2022-04-14

Publications (1)

Publication Number Publication Date
WO2023198072A1 true WO2023198072A1 (en) 2023-10-19

Family

ID=88328945

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/087670 WO2023198072A1 (en) 2022-04-14 2023-04-11 Electronic device and positioning method therefor, and medium

Country Status (2)

Country Link
CN (1) CN116953735A (en)
WO (1) WO2023198072A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10545246B1 (en) * 2016-07-08 2020-01-28 Interstate Electronics Corporation Global navigation satellite system spoofer identification technique based on carrier to noise ratio signatures
US20210109227A1 (en) * 2019-10-11 2021-04-15 Raytheon Systems Limited Global navigation satellite system (gnss) anti-spoofing techniques based on similarities of gain vectors
CN113447959A (en) * 2021-06-25 2021-09-28 中山大学 GNSS deception jamming detection method based on Doppler frequency and related device
US20220050213A1 (en) * 2018-09-21 2022-02-17 Septentrio N.V. System and Method for Detecting Spoofing of GNSS Signals

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10545246B1 (en) * 2016-07-08 2020-01-28 Interstate Electronics Corporation Global navigation satellite system spoofer identification technique based on carrier to noise ratio signatures
US20220050213A1 (en) * 2018-09-21 2022-02-17 Septentrio N.V. System and Method for Detecting Spoofing of GNSS Signals
US20210109227A1 (en) * 2019-10-11 2021-04-15 Raytheon Systems Limited Global navigation satellite system (gnss) anti-spoofing techniques based on similarities of gain vectors
CN113447959A (en) * 2021-06-25 2021-09-28 中山大学 GNSS deception jamming detection method based on Doppler frequency and related device

Also Published As

Publication number Publication date
CN116953735A (en) 2023-10-27

Similar Documents

Publication Publication Date Title
US20200112812A1 (en) Audio signal processing method, terminal and storage medium thereof
US11647352B2 (en) Head to headset rotation transform estimation for head pose tracking in spatial audio applications
CN111402913B (en) Noise reduction method, device, equipment and storage medium
CN109558837B (en) Face key point detection method, device and storage medium
CN113393856B (en) Pickup method and device and electronic equipment
WO2019154097A1 (en) Method, device and system for updating geomagnetic information
CN110941415B (en) Audio file processing method and device, electronic equipment and storage medium
EP4113961A1 (en) Voice call method and apparatus, electronic device, and computer readable storage medium
US11582573B2 (en) Disabling/re-enabling head tracking for distracted user of spatial audio application
US10725183B2 (en) GNSS multipath mitigation via pattern recognition
US9832587B1 (en) Assisted near-distance communication using binaural cues
CN109243488A (en) Audio-frequency detection, device and storage medium
CN112444829B (en) GNSS satellite selection method, GNSS satellite selection device, GNSS chip, GNSS satellite selection equipment and GNSS satellite selection storage medium
CN111447562A (en) Vehicle travel track analysis method and device and computer storage medium
WO2022057365A1 (en) Noise reduction method, terminal device, and computer readable storage medium
CN112001442B (en) Feature detection method, device, computer equipment and storage medium
WO2023198072A1 (en) Electronic device and positioning method therefor, and medium
CN109308265A (en) The method and apparatus for generating negative testing use-case
CN110737692A (en) data retrieval method, index database establishment method and device
CN114120950B (en) Human voice shielding method and electronic equipment
CN113432620B (en) Error estimation method and device, vehicle-mounted terminal and storage medium
CN113192531B (en) Method, terminal and storage medium for detecting whether audio is pure audio
CN115361636A (en) Sound signal adjusting method and device, terminal equipment and storage medium
US11360203B2 (en) Clock oscillator detection
CN113766385A (en) Earphone noise reduction method and device

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: 23787715

Country of ref document: EP

Kind code of ref document: A1