Abnormal injection information detection and elimination method and device, memory and storage medium
Detect anomalies in the ephemeris, time, and location information injected into the AGNSS technology through high-star identification and time accuracy identification methods, identify and clear this information, solve the problem of positioning equipment being unable to position normally under extreme circumstances, and ensure that positioning equipment of normal operation.
Patent Information
- Application Number
- CN202411478979.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-22
- Publication Date
- 2025-01-21
AI Technical Summary
In extreme cases, the ephemeris, time and position information injected by AGNSS technology may be incorrect, causing the positioning device to fail to detect abnormalities in time, resulting in positioning abnormalities or being unable to locate for a long time.
Determine whether there is abnormal injection information through the high-star identification method and time accuracy identification method, and identify and clear abnormal injection information. The high star identification method includes counting the number of visible stars and the invisible number of high stars to determine whether they exceed a specific threshold at the same time; the time accuracy identification method includes calculating the difference between the receiving system time and the injection time to determine whether it exceeds a specific threshold.
It can promptly detect and clear abnormal injection information to ensure the normal positioning function of positioning equipment.
Smart Images

Figure HDA0005096833670000011 
Figure HDA0005096833670000012 
Figure HDA0005096833670000021
Abstract
Description
Technical Field
[0001] The present invention relates to the field of satellite positioning technology, and in particular to a method, device, memory and storage medium for detecting and clearing abnormal injection information. Background Art
[0002] In application scenarios such as mobile phones and watches, AGNSS technology is often used to improve the positioning capabilities of positioning devices. AGNSS technology refers to injecting ephemeris, time, and location information into positioning devices to help positioning devices quickly locate and improve positioning capabilities in complex environments. However, in some extreme cases, the ephemeris, time, and location information injected by AGNSS technology may be incorrect. For example, a device in China is injected with the location of the United States, or the time of one day ago, or the wrong ephemeris. If the positioning device cannot detect the abnormality of the injected information in time, it will lead to positioning abnormalities, or even serious situations such as long-term inability to locate.
[0003] Therefore, a method, device, memory and storage medium for detecting and clearing abnormal injection information are provided to solve the above problems. Summary of the invention
[0004] The main purpose of the present invention is to solve the problem that in some extreme cases, the ephemeris, time and position information injected by AGNSS technology may be wrong in the prior art, such as the device in China is injected with the location of the United States, or the time of one day ago, or the wrong ephemeris. If the positioning device cannot detect the abnormality of the injected information in time, it will cause positioning abnormality, or even serious problems such as long-term inability to position.
[0005] A first aspect of the present invention provides a method for detecting and clearing abnormal injection information, the method comprising:
[0006] Determine whether there is an injection information anomaly by using a high star determination method or a time accuracy determination method;
[0007] If there is abnormal injection information, mark the injection information abnormality;
[0008] Clear the injection information anomaly that has been identified.
[0009] Furthermore, the high star identification method includes:
[0010] Statistical status information, wherein the statistical status information includes calculating the number of visible stars (satInViewCnt) and calculating the number of invisible high stars (satHighNotInViewCnt);
[0011] Determine whether satInViewCnt>TH1 and satHighNotInViewCnt>TH2 are both true. If so, it is judged as abnormal injection information; otherwise, it is judged as normal injection information;
[0012] The above two processes are traversed every second.
[0013] Furthermore, the specific process of calculating the number of visible stars satInViewCnt includes:
[0014] Traverse each star and obtain ephemeris information or almanac information;
[0015] Calculate the satellite position information through the ephemeris or almanac to obtain the receiver position information; calculate the satellite elevation angle information based on the receiver position information and the satellite position information;
[0016] Determine whether the elevation angle is greater than 0. If so, it is a visible star. Record this visible star and increase satInViewCnt by 1.
[0017] Furthermore, the specific process of calculating the number of high-star invisibles satHighNotInViewCnt includes:
[0018] Traverse each tracking channel information;
[0019] Determine whether the current traversed channel is in tracking state and whether the signal-to-noise ratio CN0 is greater than THCN0. If so, check whether the star is visible. If not,
[0020] satHighNotInViewCnt increases by one.
[0021] Furthermore, the time accuracy determination method specifically includes:
[0022] Get the receiving system time through the positioning device;
[0023] If the current time is the injection time, calculate the difference between the receiving system time and the injection time;
[0024] It is determined whether the difference is greater than TH3. If so, it is judged as abnormal injection.
[0025] Furthermore, clearing the identified injection information anomaly specifically includes:
[0026] Clear injected position information, clear injected time information and clear ephemeris information
[0027] A second aspect of the present invention provides a device for detecting and clearing abnormal injection information, comprising:
[0028] An abnormal injection information judgment module is used to judge whether there is an injection information abnormality through a high star judgment method or a time accuracy judgment method;
[0029] The abnormal injection information marking module is used to mark the abnormal injection information if there is abnormal injection information;
[0030] The abnormal injection information clearing module is used to clear the injection information anomalies that have been identified.
[0031] A third aspect of the present invention provides an electronic device, the electronic device comprising a memory and at least one processor, the memory storing instructions;
[0032] The at least one processor calls the instructions in the memory to enable the electronic device to execute the various steps of the abnormal injection information detection and clearing method as described above.
[0033] A fourth aspect of the present invention provides a computer-readable storage medium, on which instructions are stored, and when the instructions are executed by a processor, the various steps of the abnormal injection information detection and clearing method as described above are implemented.
[0034] In the technical solution of the present invention, abnormal injection is identified through high-star invisible identification and time accuracy identification, and the injection information is cleared in time, so as to ensure the normal positioning of the positioning device. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] Figure 1 A flowchart of a method for detecting and clearing abnormal injection information provided by an embodiment of the present invention;
[0036] Figure 2 A schematic diagram of the structure of a device for detecting and clearing abnormal injection information provided by an embodiment of the present invention;
[0037] Figure 3 A schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0038] The embodiment of the present invention provides a method for detecting and clearing abnormal injection information, including judging whether there is injection information abnormality through a high-star discrimination method or through a time accuracy discrimination method; if there is abnormal injection information, marking the injection information abnormality; clearing the marked injection information abnormality. The present invention solves the problem in the prior art that, in some extreme cases, the ephemeris, time, and position information injected through the AGNSS technology may be wrong, such as a device in China being injected with the location of the United States, or with the time of one day ago, or with wrong ephemeris. If the positioning device cannot detect the abnormality of the injected information in time, it will lead to abnormal positioning, or even serious problems such as long-term inability to locate.
[0039] The terms "first", "second", "third", "fourth", etc. (if any) in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments described herein can be implemented in an order other than that illustrated or described herein. In addition, the terms "including" or "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0040] For ease of understanding, the specific process of the embodiment of the present invention is described below. Figure 1 The first embodiment of the abnormal injection information detection and clearing method in the embodiment of the present invention includes:
[0041] Determine whether there is an injection information anomaly by using a high star determination method or a time accuracy determination method;
[0042] The high star discrimination method comprises:
[0043] Statistical status information, wherein the statistical status information includes calculating the number of visible stars (satInViewCnt) and calculating the number of invisible high stars (satHighNotInViewCnt);
[0044] Determine whether satInViewCnt>TH1 and satHighNotInViewCnt>TH2 are both true. If so, it is judged as abnormal injection information; otherwise, it is judged as normal injection information;
[0045] The above two processes are traversed every second.
[0046] The specific process of calculating the number of visible stars satInViewCnt includes:
[0047] Traverse each star and obtain ephemeris information or almanac information;
[0048] Calculate the satellite position information through the ephemeris or almanac to obtain the receiver position information; calculate the satellite elevation angle information based on the receiver position information and the satellite position information;
[0049] Determine whether the elevation angle is greater than 0. If so, it is a visible star. Record this visible star and increase satInViewCnt by 1.
[0050] The specific process of calculating the number of high-star invisible satHighNotInViewCnt includes:
[0051] Traverse each tracking channel information;
[0052] Determine whether the current traversed channel is in tracking state and whether the signal-to-noise ratio CN0 is greater than THCN0. If so, check whether the star is visible. If not,
[0053] satHighNotInViewCnt increases by one.
[0054] The time accuracy determination method specifically includes:
[0055] Get the receiving system time through the positioning device;
[0056] If the current time is the injection time, calculate the difference between the receiving system time and the injection time;
[0057] It is determined whether the difference is greater than TH3. If so, it is judged as abnormal injection.
[0058] If there is abnormal injection information, mark the injection information abnormality;
[0059] The marked injection information anomalies are cleared, specifically including clearing the injected position information, clearing the injected time information and clearing the ephemeris information.
[0060] The above describes the abnormal injection information detection and clearing method in the embodiment of the present invention. The following describes the abnormal injection information detection and clearing device in the embodiment of the present invention. Figure 2 , the abnormal injection information detection and removal device in the embodiment of the present invention includes:
[0061] The abnormal injection information judging module 201 is used to judge whether there is an injection information abnormality by a high star judging method or a time accuracy judging method;
[0062] The abnormal injection information marking module 202 is used to mark the abnormal injection information if there is abnormal injection information;
[0063] The abnormal injection information clearing module 203 is used to clear the injection information abnormalities that have been identified.
[0064] above Figure 2 The abnormal injection information detection and clearing device in the embodiment of the present invention is described in detail from the perspective of modular functional entities. The electronic device in the embodiment of the present invention is described in detail from the perspective of hardware processing.
[0065] Figure 37 is a schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. The electronic device 700 may have relatively large differences due to different configurations or performances, and may include one or more processors (central processing units, CPU) 710 (for example, one or more processors) and a memory 720, and one or more storage media 730 (for example, one or more mass storage devices) storing application programs 733 or data 732. Among them, the memory 720 and the storage medium 730 can be temporary storage or permanent storage. The program stored in the storage medium 730 may include one or more modules (not shown in the figure), and each module may include a series of instruction operations in the electronic device 700. Furthermore, the processor 710 can be configured to communicate with the storage medium 730 to execute a series of instruction operations in the storage medium 730 on the electronic device 700.
[0066] The electronic device 700 may also include one or more power supplies 740, one or more wired or wireless network interfaces 750, one or more input and output interfaces 750, and / or one or more operating systems 731, such as Windows Serve, Mac OS X, Unix, Linux, FreeBSD, etc. It will be appreciated by those skilled in the art that Figure 3 The structure of the electronic device shown does not constitute a limitation on the electronic device, and may include more or less components than shown in the figure, or combine some components, or arrange the components differently.
[0067] The present invention also provides a computer-readable storage medium, which may be a non-volatile computer-readable storage medium or a volatile computer-readable storage medium. Instructions are stored in the computer-readable storage medium. When the instructions are executed on a computer, the computer executes the steps of the abnormal injection information detection and clearing method.
[0068] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the above-described system, device, or unit can refer to the corresponding process in the aforementioned method embodiment and will not be repeated here.
[0069] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention is essentially or partly contributed to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk and other media that can store program code.
[0070] As described above, the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features thereof may be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A method for detecting and clearing abnormal injection information, characterized in that: The abnormal injection information detection and clearing method comprises: Determine whether there is an injection information anomaly by using a high star determination method or a time accuracy determination method; If there is abnormal injection information, mark the injection information abnormality; Clear the injection information anomaly that has been identified.
2. The abnormal injection information detection and clearing method according to claim 1, characterized in that: The high star discrimination method comprises: Statistical status information, wherein the statistical status information includes calculating the number of visible stars (satInViewCnt) and calculating the number of invisible high stars (satHighNotInViewCnt); Determine whether satInViewCnt>TH1 and satHighNotInViewCnt>TH2 are both true. If so, it is judged as abnormal injection information; otherwise, it is judged as normal injection information; The above two processes are traversed every second.
3. The abnormal injection information detection and clearing method according to claim 2 is characterized in that: The specific process of calculating the number of visible stars satInViewCnt includes: Traverse each star and obtain ephemeris information or almanac information; Calculate the satellite position information through the ephemeris or almanac to obtain the receiver position information; calculate the satellite elevation angle information based on the receiver position information and the satellite position information; Determine whether the elevation angle is greater than 0. If so, it is a visible star. Record this visible star and increase satInViewCnt by 1.
4. The abnormal injection information detection and clearing method according to claim 3 is characterized in that: The specific process of calculating the number of high-star invisible satHighNotInViewCnt includes: Traverse each tracking channel information; Determine whether the currently traversed channel is in tracking state and whether the signal-to-noise ratio CN0 is greater than THCN0. If so, check whether the star is visible. If not, add one to satHighNotInViewCnt.
5. The abnormal injection information detection and clearing method according to claim 4, characterized in that: The time accuracy determination method specifically includes: Get the receiving system time through the positioning device; If the current time is the injection time, calculate the difference between the receiving system time and the injection time; It is determined whether the difference is greater than TH3. If so, it is judged as abnormal injection.
6. The abnormal injection information detection and clearing method according to claim 5, characterized in that: The clearing of the identified injection information anomaly specifically includes: Clear the injected position information, clear the injected time information and clear the ephemeris information.
7. An abnormal injection information detection and clearing device, characterized in that: include: An abnormal injection information judgment module is used to judge whether there is an injection information abnormality through a high star judgment method or a time accuracy judgment method; The abnormal injection information marking module is used to mark the abnormal injection information if there is abnormal injection information; The abnormal injection information clearing module is used to clear the injection information anomalies that have been identified.
8. An electronic device, comprising a memory and at least one processor, wherein instructions are stored in the memory; The at least one processor calls the instruction in the memory so that the electronic device executes each step of the abnormal injection information detection and clearing method as described in any one of claims 1 to 7.
9. A computer-readable storage medium having instructions stored thereon, characterized in that: When the instructions are executed by the processor, the steps of the abnormal injection information detection and clearing method according to any one of claims 1 to 7 are implemented.