CN115015973A - GPS interference detection method, device, equipment and storage medium - Google Patents

GPS interference detection method, device, equipment and storage medium Download PDF

Info

Publication number
CN115015973A
CN115015973A CN202210946580.8A CN202210946580A CN115015973A CN 115015973 A CN115015973 A CN 115015973A CN 202210946580 A CN202210946580 A CN 202210946580A CN 115015973 A CN115015973 A CN 115015973A
Authority
CN
China
Prior art keywords
gps data
electronic equipment
interference
gps
detection result
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210946580.8A
Other languages
Chinese (zh)
Inventor
刘爽
程黎辉
关亚东
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Longcheer Electronics Huizhou Co Ltd
Original Assignee
Longcheer Electronics Huizhou Co Ltd
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 Longcheer Electronics Huizhou Co Ltd filed Critical Longcheer Electronics Huizhou Co Ltd
Priority to CN202210946580.8A priority Critical patent/CN115015973A/en
Publication of CN115015973A publication Critical patent/CN115015973A/en
Pending legal-status Critical Current

Links

Images

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
    • 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

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 application provides a GPS interference detection method, a device, equipment and a storage medium, wherein the method comprises the following steps: the method comprises the steps of acquiring GPS data of the electronic equipment, and generating a detection result according to the GPS data and preset target GPS data, wherein the detection result is used for indicating whether the electronic equipment has an interference problem. In the technical scheme, the process of capturing the log is replaced by acquiring the GPS data, so that the detection processing time is shortened, and the detection processing efficiency is improved. In addition, in the prior art, when the electronic equipment has a positioning problem, the electronic equipment needs to be returned to a factory for analysis by a software engineer, and a user cannot normally use the electronic equipment in an analysis stage. And in this application, if the electronic equipment goes wrong, can open real-time detection according to GPS data and target GPS data, need not artifical the intervention, saved the human cost, guaranteed user's normal use.

Description

GPS interference detection method, device, equipment and storage medium
Technical Field
The present application relates to the field of positioning technologies, and in particular, to a method, an apparatus, a device, and a storage medium for detecting interference of a GPS.
Background
With the development of the mobile internet, the Global Positioning System (GPS) has become one of the essential functions in mobile terminals and vehicles. The GPS can determine the current geographic position of the user according to the received positioning signal and provides navigation for the user according to the current geographic position and the destination, so that the user can quickly and conveniently arrive at the destination, and the life of the user is greatly facilitated.
Currently, a positioning signal is mainly received through an antenna in a device (such as a mobile terminal or a vehicle), however, the antenna receives the positioning signal and also receives noise, and when the positioning signal is submerged by the noise, a GPS is interfered, so that the positioning is slow or even impossible. In the prior art, the main step of detecting whether the GPS is interfered is that a software engineer grabs a log generated during the operation of the device and analyzes the log, thereby determining whether the GPS is interfered.
However, since the amount of logs generated during the operation of the device is very large, a lot of time is consumed for capturing the logs, and the problems of long detection processing time and low efficiency exist.
Disclosure of Invention
The application provides a GPS interference detection method, a GPS interference detection device, a GPS interference detection equipment and a GPS interference detection storage medium, which are used for solving the problems of long detection processing time and low efficiency in the prior art.
In a first aspect, an embodiment of the present application provides an interference detection method for a GPS, including:
acquiring GPS data of the electronic equipment, wherein the GPS data comprises satellite information, antenna information and crystal oscillator state information, the satellite information comprises a carrier-to-noise ratio, a pitch angle and an azimuth angle, and the antenna information comprises antenna gain and antenna signal amplitude;
and generating a detection result according to the GPS data and pre-configured target GPS data, wherein the detection result is used for indicating whether the electronic equipment has an interference problem.
In a possible design of the first aspect, the generating a detection result according to the GPS data and preconfigured target GPS data includes:
judging whether the GPS data is the same as the target GPS data;
if the interference problem exists, generating a first detection result, wherein the first detection result is used for indicating that the interference problem exists in the electronic equipment;
and if not, generating a second detection result, wherein the second detection result is used for indicating that the electronic equipment does not have the interference problem.
Optionally, the method further includes:
restarting the GPS of the electronic equipment or performing cold start on the electronic equipment when the first detection result is generated;
and outputting first reminding information when the second detection result is generated and the electronic equipment has a positioning problem, wherein the first reminding information is used for reminding a worker that the positioning problem is not caused by an interference problem.
Optionally, the method further includes:
after the GPS of the electronic equipment is restarted or the electronic equipment is cold started, the GPS data is obtained again, and whether the obtained GPS data is the same as the target GPS data or not is judged;
if the interference problem is different, outputting second reminding information, wherein the second reminding information is used for reminding the worker that the interference problem is solved;
and if the interference problem is the same as the interference problem, outputting third reminding information, wherein the third reminding information is used for reminding the staff that the interference problem cannot be solved by restarting the GPS or performing cold start on the electronic equipment.
In another possible design of the first aspect, before the acquiring the GPS data, the method further includes:
running a daemon process, wherein the daemon process is used for detecting whether the electronic equipment has an interference problem or not;
correspondingly, the method for acquiring the GPS data of the electronic equipment comprises the following steps:
and acquiring the GPS data through the daemon process.
In yet another possible design of the first aspect, before the acquiring the GPS data of the electronic device, the method further includes:
acquiring historical GPS data without interference and historical GPS data with interference;
and determining the target GPS data according to the historical GPS data without interference and the historical GPS data with interference.
In a second aspect, an embodiment of the present application provides an interference detection apparatus for a GPS, the apparatus including:
the system comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for acquiring GPS data of electronic equipment, the GPS data comprises satellite information, antenna information and crystal oscillator state information, the satellite information comprises a carrier-to-noise ratio, a pitch angle and an azimuth angle, and the antenna information comprises antenna gain and antenna signal amplitude;
and the processing module is used for generating a detection result according to the GPS data and pre-configured target GPS data, and the detection result is used for indicating whether the electronic equipment has an interference problem.
In a possible design of the second aspect, the processing module is specifically configured to:
judging whether the GPS data is the same as the target GPS data;
if the interference problem exists, generating a first detection result, wherein the first detection result is used for indicating that the interference problem exists in the electronic equipment;
and if not, generating a second detection result, wherein the second detection result is used for indicating that the electronic equipment does not have the interference problem.
Optionally, the processing module is further configured to:
when the first detection result is generated, restarting the GPS of the electronic equipment or carrying out cold start on the electronic equipment;
and outputting first reminding information when the second detection result is generated and the electronic equipment has a positioning problem, wherein the first reminding information is used for reminding a worker that the positioning problem is not caused by an interference problem.
Optionally, the processing module is further configured to:
after the GPS of the electronic equipment is restarted or the electronic equipment is cold started, the GPS data is obtained again, and whether the obtained GPS data is the same as the target GPS data or not is judged;
if the interference problem is different, outputting second reminding information, wherein the second reminding information is used for reminding the staff that the interference problem is solved;
and if the interference problem is the same as the interference problem, outputting third reminding information, wherein the third reminding information is used for reminding the staff that the interference problem cannot be solved by restarting the GPS or performing cold start on the electronic equipment.
In another possible design of the second aspect, before the acquiring the GPS data, the processing module is further configured to:
running a daemon process, wherein the daemon process is used for detecting whether the electronic equipment has an interference problem or not;
correspondingly, the obtaining module is specifically configured to:
and acquiring the GPS data through the daemon process.
In a further possible design of the second aspect, before the acquiring the GPS data of the electronic device, the acquiring module is further configured to acquire historical GPS data without interference and historical GPS data with interference;
the processing module is further configured to determine the target GPS data according to the historical GPS data without interference and the historical GPS data with interference.
In a third aspect, an embodiment of the present application provides an electronic device, including: a processor, a memory and computer program instructions stored on the memory and executable on the processor for implementing the method of the first aspect and each possible design when the processor executes the computer program instructions.
In a fourth aspect, embodiments of the present application may provide a computer-readable storage medium having stored therein computer-executable instructions for implementing the method provided by the first aspect and each possible design when executed by a processor.
In a fifth aspect, embodiments of the present application provide a computer program product comprising a computer program that, when executed by a processor, is configured to implement the method provided by the first aspect and each possible design.
The method, the device, the equipment and the storage medium for detecting the interference of the GPS provided by the embodiment of the application comprise the following steps: the method comprises the steps of acquiring GPS data of the electronic equipment, and generating a detection result according to the GPS data and preset target GPS data, wherein the detection result is used for indicating whether the electronic equipment has an interference problem. In the technical scheme, the process of capturing the log is replaced by acquiring the GPS data, so that the detection processing time is shortened, and the detection processing efficiency is improved. In addition, in the prior art, when the electronic equipment has a positioning problem, the electronic equipment needs to be returned to a factory for analysis by a software engineer, and a user cannot normally use the electronic equipment in an analysis stage. And in this application, if the electronic equipment goes wrong in location, can open real-time detection according to GPS data and target GPS data, need not artifical the intervention, saved the human cost, guaranteed user's normal use.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and together with the description, serve to explain the principles of the application.
Fig. 1 is an interface schematic diagram of a GPS interference detection method according to an embodiment of the present disclosure;
fig. 2 is a schematic flowchart of a first embodiment of a method for detecting interference of a GPS according to the present application;
fig. 3 is a schematic flowchart of a second method for detecting interference of a GPS according to an embodiment of the present disclosure;
fig. 4 is a schematic flowchart of a third embodiment of a method for detecting interference of a GPS according to the present application;
fig. 5 is a schematic structural diagram of an interference detection apparatus of a GPS according to an embodiment of the present disclosure;
fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
With the foregoing drawings in mind, certain embodiments of the disclosure have been shown and described in more detail below. These drawings and written description are not intended to limit the scope of the disclosed concepts in any way, but rather to illustrate the concepts of the disclosure to those skilled in the art by reference to specific embodiments.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Before introducing the embodiments of the present application, an application context of the embodiments of the present application is explained first:
in the automotive industry, positioning technology occupies a particularly important place. The positioning technology is provided for users to use by internally arranging a positioning technology related module in a Global Navigation Satellite System (GNSS) or externally hanging the positioning technology related module in a System On Chip (SOC), thereby providing convenience for the life of the users.
Currently, in order to better receive signals, many manufacturers use a high-gain antenna on the car to enhance the receiving capability. However, the antenna receives the effective signal (i.e., the positioning signal) and also receives noise, and the noise is amplified synchronously after the effective signal is amplified. When the noise submerges the effective signal, the GPS is interfered, so that the problems of slow positioning, losing lock and even incapability of positioning can occur. In the product development stage, especially after the product is shipped, when the vehicle machine has the above problems, the supplier may be complained by the front loading yard of the vehicle machine or the user, thereby affecting the image of the supplier and even bringing about serious economic loss.
In the prior art, the main step of detecting whether the GPS is interfered is that a software engineer grabs a log generated when a problem device operates, and analyzes the log, thereby determining whether the GPS is interfered. However, since the amount of logs generated during the operation of the device is very large, a lot of time is consumed for capturing the logs, and the problems of long detection processing time and low efficiency exist.
Therefore, according to the interference detection method, device, equipment and storage medium of the GPS, the electronic equipment acquires GPS data, the GPS data comprises three parts of information, namely satellite information, antenna information and crystal oscillator state information, so that a detection result can be generated according to the GPS data and the pre-configured target GPS data, and the detection result is used for indicating whether the electronic equipment has the interference problem or not, time is not consumed for capturing logs, manual intervention analysis is not needed, the efficiency of detection processing is improved, and the detection processing time is shortened.
For example, the interference detection method of the GPS provided in the embodiment of the present application may be applied to an interface schematic diagram shown in fig. 1. Fig. 1 is an interface schematic diagram of an interference detection method of a GPS according to an embodiment of the present disclosure, so as to solve the above technical problem.
As shown in fig. 1, the interface is displayed on a touch display screen of a mobile phone, the interface displays a map of an area where a start position and a destination are located, and displays a plurality of routes in the map for a user to select according to the start position, the destination and traffic information of each road in the map. (e.g., 3 routes, route 1, route 2, and route 3, respectively, as shown in FIG. 1). Meanwhile, road condition reference information is also displayed in the interface, and the road condition reference information comprises: starting location, destination, current geographic location (represented by the black circle in fig. 1), today's restricted travel information.
When the positioning function of the mobile phone is started, the GPS data of the mobile phone can be acquired, and whether the interference problem exists in the mobile phone is judged according to the GPS data and the pre-configured target GPS data, so that the normal work of the GPS is ensured by taking corresponding measures in time when the interference problem is determined, the positioning problem of the GPS caused by the interference is avoided, and the normal trip of a user is ensured.
The positioning problem may include the following:
(1) the current geographic position cannot be displayed in the map;
(2) the current geographic position in the map is abnormally changed (for example, within one second, the current geographic position is changed from the place A to the place C (not shown in fig. 1), the place A is far away from the place C, and the place A cannot reach the place C in one second by walking or riding a vehicle);
(3) the speed of displaying the current geographical position in the map is slow.
Optionally, the measure corresponding to the interference may be to restart the GPS of the mobile phone, or perform cold start on the mobile phone, or the like.
It can be understood that the execution main body in the embodiment of the present application may be a terminal device, for example, a tablet computer, a mobile phone, and the like, and may also be a car machine. Therefore, the present embodiment is explained by referring to the terminal device and the vehicle machine collectively as the electronic device, and it can be determined as the actual situation as to whether the electronic device is specifically the terminal device or the vehicle machine.
The technical solution of the present application will be described in detail below with reference to specific examples.
It should be noted that the following several specific embodiments may be combined with each other, and the same or similar concepts or processes may not be described in detail in some embodiments.
Fig. 2 is a schematic flowchart of a first embodiment of a method for detecting interference of a GPS according to an embodiment of the present disclosure. As shown in fig. 2, the interference detection method of the GPS may include the steps of:
s201, acquiring GPS data of the electronic equipment.
The application scenario of the embodiment of the application can be a use stage after the electronic device leaves a factory, namely, GPS data of the electronic device is obtained when a user uses the electronic device; the method can also be used in the research and development stage of the electronic equipment, namely, the GPS data of the electronic equipment is acquired in the research and development stage so as to verify or predict whether the electronic equipment has the interference problem, thereby ensuring the quality of the electronic equipment which leaves the factory.
Optionally, the GPS data of the electronic device may be obtained in real time or according to a preset frequency, and the GPS data of the electronic device may also be obtained when the electronic device has a positioning problem, which is not particularly limited in the embodiment of the present application.
Because there are many reasons causing the positioning problem of the electronic device, such as interference problem, software function conflict, antenna drop, hardware fault, satellite fault, etc., the reason causing the positioning problem can be further determined when the electronic device has the positioning problem, so that corresponding measures can be taken for processing. For example, when the cause is an interference problem, the problem can be solved by restarting the GPS of the electronic device or performing cold start on the electronic device, so that the normal operation of the GPS can be recovered in a short time; when the reason is other than the interference problem, the electronic device needs to be returned to the factory for repair or the satellite needs to be further inspected, and the processing period is long. Therefore, when the electronic equipment has a positioning problem, the GPS data is acquired, corresponding measures can be taken in time to process the electronic equipment, the electronic equipment is prevented from being influenced by a user, and the use experience of the user is guaranteed.
In one implementation, the GPS data may be acquired through a system interface of the electronic device.
The GPS data comprises satellite information, antenna information and crystal oscillator state information, the satellite information comprises a carrier-to-noise ratio, a pitch angle and an azimuth angle, and the antenna information comprises antenna gain and antenna signal amplitude.
Optionally, the satellite information may be obtained through a positioning satellite signal, and the crystal oscillator state information may include a crystal oscillator correction amplitude, where the crystal oscillator correction amplitude is a difference between crystal oscillator related data at adjacent times.
Optionally, the satellite information may further include the number of valid satellites and the number of satellites exceeding the preset satellite signal strength.
And S202, generating a detection result according to the GPS data and the preset target GPS data.
The detection result is used for indicating whether the electronic equipment has the interference problem or not, so that the electronic equipment can be timely processed when the interference problem exists.
Alternatively, the target GPS data may be determined from parametric data, experimental data, or historical GPS data provided by a chip manufacturer of the electronic device.
For example, experiments can be performed in an open area without any occlusion, the highest signal value of the satellite signal is determined, and the target satellite information is determined according to the obtained highest signal value. For example, the highest signal value typically corresponds to a carrier-to-noise ratio of 40dBm to 43 dBm.
For example, the target antenna gain may be determined according to a parameter of the antenna path, such as the target antenna gain may be a maximum gain of the antenna path. Optionally, the maximum gain of some chips can be automatically adjusted according to the environment.
For example, the target antenna signal amplitude and the target crystal oscillator state information may be determined according to parameter data provided by a chip manufacturer.
It should be appreciated that determining the target GPS based on historical GPS data may refer to the embodiment shown in fig. 3, and will not be described in detail herein.
Optionally, the target GPS data may be a specific numerical value or a numerical range, and may be determined according to an actual situation, which is not specifically limited in the embodiment of the present application.
Optionally, the target GPS data includes target satellite information, target antenna information, and target crystal oscillator state information, the target satellite information may include a target carrier-to-noise ratio, a target pitch angle, and a target azimuth angle, and the target antenna information includes a target antenna gain and a target antenna signal amplitude.
Optionally, the target crystal oscillator state information includes a target crystal oscillator correction amplitude, and the target satellite information may further include the number of target effective satellites and the number of target satellites exceeding the preset satellite signal strength.
Illustratively, the target carrier-to-noise ratio may be a carrier-to-noise ratio interval exceeding 50dBm, the target pitch angle and the target azimuth angle may be an angle interval smaller than 0 degrees, the target antenna gain may be a gain interval exceeding 40dBm, the target antenna signal amplitude may be an amplitude interval exceeding 300, and the target crystal oscillator correction amplitude may be an amplitude interval exceeding 1000.
For example, the number of target effective satellites may be 0, the number of target satellites may be 3, and the preset satellite signal strength is 50 dbm.
It should be understood that the target GPS data may also include other values, which may be determined according to actual situations, and this is not specifically limited in this embodiment of the present application.
According to the interference detection method of the GPS, the electronic equipment obtains the GPS data of the electronic equipment and generates a detection result according to the GPS data and the pre-configured target GPS data, and the detection result is used for indicating whether the electronic equipment has the interference problem or not. In the technical scheme, the process of capturing the log is replaced by acquiring the GPS data, so that the detection processing time is shortened, and the detection processing efficiency is improved. In addition, in the prior art, when the electronic equipment has a positioning problem, the electronic equipment needs to be returned to a factory for analysis by a software engineer, and a user cannot normally use the electronic equipment in an analysis stage. In the application, if the electronic equipment has a positioning problem, real-time detection is started according to the GPS data and the target GPS data, manual intervention is not needed, the labor cost is saved, and the normal use of a user is ensured.
Optionally, in some embodiments, the step S202 may be implemented by: judging whether the GPS data is the same as the target GPS data, if so, generating a first detection result, wherein the first detection result is used for indicating that the electronic equipment has an interference problem; and if not, generating a second detection result, wherein the second detection result is used for indicating that the electronic equipment has no interference problem.
That is, when the satellite information is equal to the target satellite information, the antenna information is equal to the target antenna information, and the crystal oscillator state information is equal to the target crystal oscillator state information, a first detection result is generated, and when any one of the information is not equal to the corresponding target information (if the satellite information is not equal to the target satellite information), a second detection result is generated.
It should be appreciated that where the target GPS data is a range of values, determining whether the GPS data is the same as the target GPS data may be accomplished by determining whether the GPS data is within the data range of the target GPS data.
In the embodiment, the detection result is generated by judging whether the GPS data is the same as the target GPS data, so that different processing modes are adopted according to different detection results subsequently, and the accuracy of subsequent processing on the interference problem is improved.
Optionally, in some embodiments, when the first detection result is generated, the GPS of the electronic device is restarted or the electronic device is cold started; when a second detection result is generated and the electronic equipment has a positioning problem, outputting first reminding information, wherein the first reminding information is used for reminding a worker that the positioning problem is not caused by an interference problem.
It should be understood that, when generating the first detection result, other existing processing manners may also be adopted to solve the interference problem, and the application does not limit the specific means for processing the interference.
Optionally, when the GPS of the electronic device cannot be restarted or the electronic device is subjected to cold start, fourth reminding information may be generated, where the fourth reminding information is used to remind a user to manually restart the GPS of the electronic device, or manually cold start the electronic device, or manually restart the electronic device.
Optionally, outputting the first reminding information may be implemented by:
(1) displaying the first reminding information in a display screen of the electronic equipment;
(2) and sending the first reminding information to terminal equipment associated with the staff.
In the above embodiment, the corresponding processing step is executed on the electronic device according to the detection result, so that the interference problem is solved in time by restarting the GPS or cold starting the electronic device when the interference exists, or the worker is notified when the non-interference problem exists, so that the worker can process the problem existing in the electronic device in time, and the timeliness of processing the problem is improved.
The existing method for solving the interference problem is mainly to power off and restart the electronic equipment, but the method is very inconvenient and the user experience is poor. The scheme solves the interference problem by restarting the GPS or cold starting electronic equipment, does not influence the normal use of the electronic equipment by a user, and ensures the use experience of the user.
Optionally, in some embodiments, after the GPS of the electronic device is restarted or the electronic device is cold started, the GPS data is reacquired, and it is determined whether the reacquired GPS data is the same as the target GPS data; if the first reminding information is different from the second reminding information, outputting second reminding information, wherein the second reminding information is used for reminding workers that the interference problem is solved; if the first reminding information is the same as the second reminding information, outputting third reminding information, wherein the third reminding information is used for reminding a worker that the interference problem cannot be solved by restarting the GPS or performing cold start on the electronic equipment.
In the embodiment of the application, after the GPS of the electronic equipment is restarted or the electronic equipment is cold started, the GPS data can be obtained again to verify whether the interference problem is solved or not, so that related workers are timely notified when the interference problem is not solved, and the influence on the normal use of a user is avoided.
The outputting of the second reminding information and/or the third reminding information can be realized by the following method:
(1) displaying the second reminding information and/or the third reminding information in a display screen of the electronic equipment;
(2) and sending the second reminding information and/or the third reminding information to terminal equipment associated with the staff.
Optionally, in some embodiments, before acquiring the GPS data of the electronic device, a daemon process may be run, where the daemon process is used to detect whether the electronic device has an interference problem. Accordingly, S201 may be implemented by: and acquiring GPS data through a daemon process.
In the above embodiment, since the interference problem is not a problem that necessarily occurs, it is possible to prevent the occurrence of interference by algorithmically resolving GPS data in the development stage. Meanwhile, the scheme can be integrated into a system daemon process, as long as the electronic equipment starts a positioning function, the radio frequency is started, the active antenna is powered on, and whether the electronic equipment has an interference problem or not can be checked through the system daemon process, so that the time for researching, developing and analyzing the problem is saved, and the timeliness of subsequent interference processing is guaranteed.
Optionally, fig. 3 is a schematic flowchart of a second embodiment of the interference detection method for a GPS according to the present application. As shown in fig. 3, based on any of the above embodiments, before acquiring GPS data, the method for detecting GPS interference may further include the following steps:
s301, historical GPS data in the absence of interference and historical GPS data in the presence of interference are obtained.
The historical GPS data corresponding to the electronic device when there is no interference and when there is interference, and the historical GPS data corresponding to other electronic devices of the same model as the electronic device when there is no interference and when there is interference, may be obtained.
S302, determining target GPS data according to historical GPS data without interference and historical GPS data with interference.
In one possible implementation, the value range of each piece of information in the GPS data without interference can be determined from historical GPS data without interference. Correspondingly, the numerical range of each information in the GPS data under the interference condition can be determined according to the historical GPS data under the interference condition, so that the target GPS data can be determined according to the two numerical ranges. Optionally, the value range of the target GPS data may be smaller than or equal to the value range of the GPS data in the presence of interference.
In the embodiment, the target GPS data is determined according to the historical GPS data without interference and the historical GPS data with interference, so that the accuracy of determining whether the electronic equipment has interference or not according to the target GPS data is improved.
Fig. 4 is a flowchart of a third method for detecting interference of a GPS according to an embodiment of the present disclosure. As shown in fig. 4, on the basis of any of the above embodiments, the interference detection method for GPS includes the following steps:
step 1, start.
And step 2, configuring target GPS data.
And 3, running a daemon process to monitor the GPS data in real time.
And 4, acquiring GPS data when a positioning problem exists.
And 5, generating a detection result according to the GPS data and the target GPS data.
And 6, finishing.
The following are embodiments of the apparatus of the present application that may be used to perform embodiments of the method of the present application. For details which are not disclosed in the embodiments of the apparatus of the present application, reference is made to the embodiments of the method of the present application.
Fig. 5 is a schematic structural diagram of an interference detection apparatus of a GPS according to an embodiment of the present application. As shown in fig. 5, the interference detecting apparatus for GPS includes:
the acquisition module 51 is configured to acquire GPS data of the electronic device, where the GPS data includes satellite information, antenna information, and crystal oscillator state information, the satellite information includes a carrier-to-noise ratio, a pitch angle, and an azimuth angle, and the antenna information includes antenna gain and antenna signal amplitude;
and the processing module 52 is configured to generate a detection result according to the GPS data and the preconfigured target GPS data, where the detection result is used to indicate whether the electronic device has an interference problem.
In one possible design of this embodiment of the present application, the processing module 52 is specifically configured to:
judging whether the GPS data is the same as the target GPS data;
if the first detection result is the same as the second detection result, generating a first detection result, wherein the first detection result is used for indicating that the electronic equipment has an interference problem;
and if not, generating a second detection result, wherein the second detection result is used for indicating that the electronic equipment does not have the interference problem.
Optionally, the processing module 52 is further configured to:
when the first detection result is generated, restarting a GPS of the electronic equipment or performing cold start on the electronic equipment;
when a second detection result is generated and the electronic equipment has a positioning problem, outputting first reminding information, wherein the first reminding information is used for reminding a worker that the positioning problem is not caused by an interference problem.
Optionally, the processing module 52 is further configured to:
after the GPS of the electronic equipment is restarted or the electronic equipment is cold started, the GPS data is obtained again, and whether the obtained GPS data is the same as the target GPS data or not is judged;
if the first reminding information is different from the second reminding information, outputting second reminding information, wherein the second reminding information is used for reminding workers that the interference problem is solved;
if the first reminding information is the same as the second reminding information, outputting third reminding information, wherein the third reminding information is used for reminding a worker that the interference problem cannot be solved by restarting the GPS or performing cold start on the electronic equipment.
In another possible design of the embodiment of the present application, before the acquiring the GPS data, the processing module 52 is further configured to:
running a daemon process, wherein the daemon process is used for detecting whether the electronic equipment has an interference problem or not;
correspondingly, the obtaining module 51 is specifically configured to:
and acquiring GPS data through a daemon process.
In yet another possible design of the embodiment of the present application, before acquiring the GPS data of the electronic device, the acquiring module 51 is further configured to acquire historical GPS data without interference and historical GPS data with interference;
the processing module 52 is further configured to determine target GPS data according to the historical GPS data without interference and the historical GPS data with interference.
The interference detection device for the GPS provided in the embodiment of the present application can be used to execute the interference detection method for the GPS in any of the above embodiments, and the implementation principle and the technical effect are similar, which are not described herein again.
It should be noted that the division of the modules of the above apparatus is only a logical division, and the actual implementation may be wholly or partially integrated into one physical entity, or may be physically separated. And these modules can be realized in the form of software called by processing element; or may be implemented entirely in hardware; and part of the modules can be realized in the form of calling software by the processing element, and part of the modules can be realized in the form of hardware. In addition, all or part of the modules can be integrated together or can be independently realized. The processing element described herein may be an integrated circuit having signal processing capabilities. In implementation, each step of the above method or each module above may be implemented by an integrated logic circuit of hardware in a processor element or an instruction in the form of software.
Fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present application. As shown in fig. 6, the electronic device may include: a processor 61, a memory 62 and computer program instructions stored on the memory 62 and executable on the processor 61, the processor 61 implementing the interference detection method of GPS provided by any of the foregoing embodiments when executing the computer program instructions.
Optionally, the above devices of the electronic device may be connected by a system bus.
The memory 62 may be a separate memory unit or a memory unit integrated into the processor. The number of processors is one or more.
Optionally, the electronic device may further include an interface for interacting with other devices.
It should be understood that the Processor 61 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of a method disclosed in connection with the present application may be embodied directly in a hardware processor, or in a combination of the hardware and software modules in the processor.
The system bus may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The system bus may be divided into an address bus, a data bus, a control bus, and the like. For ease of illustration, only one thick line is shown, but this is not intended to represent only one bus or type of bus. The memory may include a Random Access Memory (RAM) and may also include a non-volatile memory (NVM), such as at least one disk memory.
All or a portion of the steps of implementing the above-described method embodiments may be performed by hardware associated with program instructions. The aforementioned program may be stored in a readable memory. When executed, the program performs steps comprising the method embodiments described above; and the aforementioned memory (storage medium) includes: read-only memory (ROM), RAM, flash memory, hard disk, solid state disk, magnetic tape (magnetic tape), floppy disk (optical disc), and any combination thereof.
The electronic device provided in the embodiment of the present application may be configured to execute the interference detection method of the GPS provided in any one of the above method embodiments, and the implementation principle and the technical effect are similar, which are not described herein again.
An embodiment of the present application provides a computer-readable storage medium, where a computer-executable instruction is stored in the computer-readable storage medium, and when the computer-executable instruction runs on a computer, the computer is enabled to execute the above-mentioned interference detection method for a GPS.
The computer readable storage medium may be any type of volatile or non-volatile storage device or combination thereof, such as static random access memory, electrically erasable programmable read only memory, magnetic storage, flash memory, magnetic or optical disk. Readable storage media can be any available media that can be accessed by a general purpose or special purpose computer.
Alternatively, a readable storage medium may be coupled to the processor such that the processor can read information from, and write information to, the readable storage medium. Of course, the readable storage medium may also be an integral part of the processor. The processor and the readable storage medium may reside in an Application Specific Integrated Circuits (ASIC). Of course, the processor and the readable storage medium may also reside as discrete components in the apparatus.
Embodiments of the present application further provide a computer program product, where the computer program product includes a computer program, where the computer program is stored in a computer-readable storage medium, and at least one processor can read the computer program from the computer-readable storage medium, and when the computer program is executed by the at least one processor, the at least one processor can implement the above-mentioned interference detection method for GPS.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (10)

1. An interference detection method for a GPS, comprising:
acquiring GPS data of the electronic equipment, wherein the GPS data comprises satellite information, antenna information and crystal oscillator state information, the satellite information comprises a carrier-to-noise ratio, a pitch angle and an azimuth angle, and the antenna information comprises antenna gain and antenna signal amplitude;
and generating a detection result according to the GPS data and pre-configured target GPS data, wherein the detection result is used for indicating whether the electronic equipment has an interference problem.
2. The method of claim 1, wherein generating a detection result based on the GPS data and pre-configured target GPS data comprises:
judging whether the GPS data is the same as the target GPS data;
if the interference problem exists, generating a first detection result, wherein the first detection result is used for indicating that the interference problem exists in the electronic equipment;
and if not, generating a second detection result, wherein the second detection result is used for indicating that the electronic equipment does not have the interference problem.
3. The method of claim 2, further comprising:
restarting the GPS of the electronic equipment or performing cold start on the electronic equipment when the first detection result is generated;
and outputting first reminding information when the second detection result is generated and the electronic equipment has a positioning problem, wherein the first reminding information is used for reminding a worker that the positioning problem is not caused by the interference problem.
4. The method of claim 3, further comprising:
after the GPS of the electronic equipment is restarted or the electronic equipment is cold started, the GPS data is obtained again, and whether the obtained GPS data is the same as the target GPS data or not is judged;
if the interference problem is different, outputting second reminding information, wherein the second reminding information is used for reminding the worker that the interference problem is solved;
and if the interference problem is the same as the interference problem, outputting third reminding information, wherein the third reminding information is used for reminding the staff that the interference problem cannot be solved by restarting the GPS or performing cold start on the electronic equipment.
5. The method of any of claims 1 to 4, wherein prior to said acquiring GPS data, the method further comprises:
running a daemon process, wherein the daemon process is used for detecting whether the electronic equipment has an interference problem or not;
correspondingly, the method for acquiring the GPS data of the electronic equipment comprises the following steps:
and acquiring the GPS data through the daemon process.
6. The method of any of claims 1-4, wherein prior to the obtaining GPS data for the electronic device, the method further comprises:
acquiring historical GPS data without interference and historical GPS data with interference;
and determining the target GPS data according to the historical GPS data without interference and the historical GPS data with interference.
7. An interference detection apparatus for a GPS, the apparatus comprising:
the system comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for acquiring GPS data of electronic equipment, the GPS data comprises satellite information, antenna information and crystal oscillator state information, the satellite information comprises a carrier-to-noise ratio, a pitch angle and an azimuth angle, and the antenna information comprises antenna gain and antenna signal amplitude;
and the processing module is used for generating a detection result according to the GPS data and pre-configured target GPS data, and the detection result is used for indicating whether the electronic equipment has an interference problem.
8. An electronic device, comprising: processor, memory and computer program instructions stored on the memory and executable on the processor, characterized in that the processor, when executing the computer program instructions, is adapted to implement the interference detection method of GPS according to any of claims 1 to 6.
9. A computer-readable storage medium having stored therein computer-executable instructions for implementing the interference detection method for GPS according to any one of claims 1 to 6 when executed by a processor.
10. A computer program product comprising a computer program, characterized in that the computer program is adapted to be executed by a processor for implementing the interference detection method for GPS according to any of claims 1 to 6.
CN202210946580.8A 2022-08-09 2022-08-09 GPS interference detection method, device, equipment and storage medium Pending CN115015973A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210946580.8A CN115015973A (en) 2022-08-09 2022-08-09 GPS interference detection method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210946580.8A CN115015973A (en) 2022-08-09 2022-08-09 GPS interference detection method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN115015973A true CN115015973A (en) 2022-09-06

Family

ID=83065223

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210946580.8A Pending CN115015973A (en) 2022-08-09 2022-08-09 GPS interference detection method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115015973A (en)

Citations (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103837877A (en) * 2012-11-21 2014-06-04 安凯(广州)微电子技术有限公司 Method and device for satellite identification
CN106680839A (en) * 2016-12-26 2017-05-17 珠海德百祺科技有限公司 Satellite positioning interference detection method and apparatus
CN107219538A (en) * 2017-06-28 2017-09-29 江苏省测绘工程院 A kind of ionospheric scintillation monitoring system based on Beidou navigation
CN207867037U (en) * 2017-12-27 2018-09-14 深圳华大北斗科技有限公司 Satellite signal receiver and global position system
CN109283555A (en) * 2018-09-28 2019-01-29 西南电子技术研究所(中国电子科技集团公司第十研究所) It defends and leads Wave beam forming ways for inference prohibition
CN110046376A (en) * 2019-02-26 2019-07-23 中国西安卫星测控中心 A kind of Satellite Attitude Control System multi-state health evaluating method based on Bayesian network
CN110082790A (en) * 2019-06-26 2019-08-02 深圳市西博泰科电子有限公司 A kind of satellite the deception recognition methods, apparatus and system of facing moving terminal
CN209373124U (en) * 2018-09-27 2019-09-10 扬州宇安电子科技有限公司 Satellite navigation countermeasure set
CN111366950A (en) * 2020-05-31 2020-07-03 湖南跨线桥航天科技有限公司 Comprehensive detection method and system for satellite navigation suppression type interference and deception interference
CN112511692A (en) * 2020-11-30 2021-03-16 惠州Tcl移动通信有限公司 Anti-interference method and device, storage medium and mobile terminal
CN112954793A (en) * 2021-02-18 2021-06-11 Oppo广东移动通信有限公司 Positioning method, positioning device, terminal and storage medium
US20210266091A1 (en) * 2020-02-24 2021-08-26 Airbus Operations (S.A.S.) Method and a system for the automatic detection of a jamming of a satellite navigation system
CN113612005A (en) * 2021-07-20 2021-11-05 西安电子科技大学 4-element GPS anti-interference antenna array loaded with director and mobile communication system
CN114200490A (en) * 2021-12-10 2022-03-18 中电科星河北斗技术(西安)有限公司 Ionosphere scintillation multipath noise interference quantitative evaluation method and device
CN216449734U (en) * 2021-03-19 2022-05-06 南京固邦电子科技有限公司 Anti-interference radio frequency channel assembly of big dipper
CN114550504A (en) * 2022-01-10 2022-05-27 民航数据通信有限责任公司 GPS interference area identification and investigation method and device based on ADS-B data
CN114690211A (en) * 2020-12-29 2022-07-01 广州海格通信集团股份有限公司 Satellite signal anti-interference method, device and system

Patent Citations (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103837877A (en) * 2012-11-21 2014-06-04 安凯(广州)微电子技术有限公司 Method and device for satellite identification
CN106680839A (en) * 2016-12-26 2017-05-17 珠海德百祺科技有限公司 Satellite positioning interference detection method and apparatus
CN107219538A (en) * 2017-06-28 2017-09-29 江苏省测绘工程院 A kind of ionospheric scintillation monitoring system based on Beidou navigation
CN207867037U (en) * 2017-12-27 2018-09-14 深圳华大北斗科技有限公司 Satellite signal receiver and global position system
CN209373124U (en) * 2018-09-27 2019-09-10 扬州宇安电子科技有限公司 Satellite navigation countermeasure set
CN109283555A (en) * 2018-09-28 2019-01-29 西南电子技术研究所(中国电子科技集团公司第十研究所) It defends and leads Wave beam forming ways for inference prohibition
CN110046376A (en) * 2019-02-26 2019-07-23 中国西安卫星测控中心 A kind of Satellite Attitude Control System multi-state health evaluating method based on Bayesian network
CN110082790A (en) * 2019-06-26 2019-08-02 深圳市西博泰科电子有限公司 A kind of satellite the deception recognition methods, apparatus and system of facing moving terminal
US20210266091A1 (en) * 2020-02-24 2021-08-26 Airbus Operations (S.A.S.) Method and a system for the automatic detection of a jamming of a satellite navigation system
CN111366950A (en) * 2020-05-31 2020-07-03 湖南跨线桥航天科技有限公司 Comprehensive detection method and system for satellite navigation suppression type interference and deception interference
CN112511692A (en) * 2020-11-30 2021-03-16 惠州Tcl移动通信有限公司 Anti-interference method and device, storage medium and mobile terminal
CN114690211A (en) * 2020-12-29 2022-07-01 广州海格通信集团股份有限公司 Satellite signal anti-interference method, device and system
CN112954793A (en) * 2021-02-18 2021-06-11 Oppo广东移动通信有限公司 Positioning method, positioning device, terminal and storage medium
CN216449734U (en) * 2021-03-19 2022-05-06 南京固邦电子科技有限公司 Anti-interference radio frequency channel assembly of big dipper
CN113612005A (en) * 2021-07-20 2021-11-05 西安电子科技大学 4-element GPS anti-interference antenna array loaded with director and mobile communication system
CN114200490A (en) * 2021-12-10 2022-03-18 中电科星河北斗技术(西安)有限公司 Ionosphere scintillation multipath noise interference quantitative evaluation method and device
CN114550504A (en) * 2022-01-10 2022-05-27 民航数据通信有限责任公司 GPS interference area identification and investigation method and device based on ADS-B data

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
刘基余: "《全球导航卫星系统及其应用》", 31 July 2015, 测绘出版社 *
王一平 等: "《电磁波 传输·辐射·传播》", 31 January 2006, 西安电子科技大学出版社 *
高宪军: "《航空无线电导航系统》", 30 April 2007, 吉林科学技术出版社 *
魏泉苗: "《海洋观测业务培训教材》", 30 June 2015, 海洋出版社 *

Similar Documents

Publication Publication Date Title
US10339731B2 (en) In-vehicle unit and in-vehicle unit diagnosis system
CN109085619B (en) Positioning method and device of multimode GNSS system, storage medium and receiver
US20160306050A1 (en) Electronic device, positioning control method and storage medium
US11694485B2 (en) Information processing device, information processing method, mobile terminal, and storage medium
CN111527418B (en) Positioning device
CN110488330B (en) Vehicle positioning method and device, vehicle and computer readable storage medium
CN113791435B (en) GNSS signal abnormal value detection method and device, electronic equipment and storage medium
CN111708068A (en) Target object trajectory determination method and device, terminal equipment and storage medium
CN114296105A (en) Method, device, equipment and storage medium for determining positioning fault reason
CN107688189B (en) GPS longitude and latitude coordinate calibration method and device and mobile motion equipment
CN109765577B (en) Self-checking method, device, equipment and storage medium of GNSS receiver
CN114019782B (en) Method and device for taming navigation satellite clock of automatic driving domain controller
CN117171595A (en) Road generation method, device, equipment and storage medium
CN115015973A (en) GPS interference detection method, device, equipment and storage medium
CN110779522B (en) Positioning drift processing method and vehicle-mounted positioning terminal
CN115756934A (en) Application crash analysis method and device
JP4018448B2 (en) Navigation device, navigation system, and navigation method
US9877347B2 (en) Vehicular communication apparatus and reset guard function control program product
TWI664393B (en) Mobile mapping system and positioning terminal device
CN114488229A (en) Positioning accuracy determination method, positioning device, positioning equipment and storage medium
CN111326006B (en) Reminding method, reminding system, storage medium and vehicle-mounted terminal for lane navigation
US20220150688A1 (en) Control apparatus, control system, vehicle, and control method
US11874384B2 (en) Locator, accuracy evaluation system therefor, and positioning method
CN114236584A (en) Positioning method, positioning system, electronic device, storage medium, and program product
CN117724124B (en) Processing method and device of positioning signal, computer readable medium and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20220906

RJ01 Rejection of invention patent application after publication